Last active
August 29, 2015 14:02
-
-
Save MikaAK/4ab71f44700fd45f1349 to your computer and use it in GitHub Desktop.
Contacts Database
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DROP TABLE | |
IF EXISTS contacts; | |
CREATE TABLE contacts ( | |
id serial NOT NULL PRIMARY KEY, | |
firstname varchar(40) NOT NULL, | |
lastname varchar(40) NOT NULL, | |
email varchar(40) NOT NULL | |
); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Bill', 'Turner', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Will', 'Turner', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Sam', 'Turley', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Jillian', 'Carmichal', 'Jilmichal'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Nixon', 'Samuel', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Nany', 'Bobbins', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Nancy', 'Pansy', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Clark', 'McAsshole', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Baby', 'Spice', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('Dr', 'Evil', '[email protected]'); | |
INSERT INTO contacts (firstname, lastname, email) | |
VALUES ('John', 'Snow', '[email protected]'); | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment