I am new to MySQL and I created a table, but I am not exactly sure what is going on.
I have these lines:
mysql> CREATE TABLE tutorials_tbl(
-> tutorial_id INT NOT NULL AUTO_INCREMENT,
-> tutorial_title VARCHAR(100) NOT NULL,
-> tutorial_author VARCHAR(40) NOT NULL,
-> submission_date DATE,
-> PRIMARY KEY ( tutorial_id )
-> );
Obviously CREATE TABLE tutorials_tbl
creates a table named tutorials_tbl, but what is the purpose of the other lines?