Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save spaceplesiosaur/a93ea785dc1faad41ead21bdd495ecfb to your computer and use it in GitHub Desktop.
Save spaceplesiosaur/a93ea785dc1faad41ead21bdd495ecfb to your computer and use it in GitHub Desktop.
create table equestria_votes (id int not null primary key auto_increment, county varchar(255), district int, candidate varchar(255), votes int);
insert into equestria_votes (county, district, candidate, votes) values
('Ponyville', 1, 'Princess Celestia', '15944'),
('Ponyville', 1, 'Princess Luna', '11921'),
('Cloudsdale', 1, 'Princess Celestia', '4573'),
('Cloudsdale', 1, 'Princess Luna', '6156'),
('Appleloosa', 1, 'Princess Celestia', '434'),
('Appleloosa', 1, 'Princess Luna', '1090'),
('Canterlot', 1, 'Princess Celestia', '3723'),
('Canterlot', 1, 'Princess Luna', '5245'),
('Manehatten', 1, 'Princess Celestia', '2343'),
('Manehatten', 1, 'Princess Luna', '2391');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment