Created
April 14, 2019 02:56
-
-
Save kidino/8465603c869b6af274a40c9d52ad42a3 to your computer and use it in GitHub Desktop.
A small sample table for learning and practicing MySQL
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
CREATE TABLE teachers | |
(teacher_id INT AUTO_INCREMENT PRIMARY KEY, | |
formal_title VARCHAR(25), | |
name_first VARCHAR(100), | |
name_last VARCHAR(100), | |
email_address VARCHAR(255)); | |
INSERT INTO teachers | |
(formal_title, name_first, name_last, email_address) | |
VALUES | |
('Mr.', 'Russell', 'Dyer', 'russell@mylocal.test'), | |
('Mr.', 'Richard', 'Stringer', 'richard@mylocal.test'), | |
('Ms.', 'Rusty', 'Osborne', 'rusty@mylocal.test'), | |
('Ms.', 'Lexi', 'Hollar', 'alexandra@mylocal.test'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment