Created
April 5, 2013 13:04
-
-
Save telagraphic/5319132 to your computer and use it in GitHub Desktop.
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
mysql> create table workouts | |
-> ( | |
-> id INT NOT NULL AUTO_INCREMENT, | |
-> PRIMARY KEY (id), | |
-> date DATETIME NOT NULL, | |
-> reps INT NOT NULL, | |
-> notes VARCHAR(200) | |
-> ); | |
cant type this syntax: | |
insert into workouts values (now(), 10, 'good workout'); | |
have to declare columns: | |
insert into workouts (date, reps, notes) values (now(), 10, 'good workout'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment