Mega Code Archive

 
Categories / MySQL / Table Index
 

More complex tables have multiple columns

mysql> mysql> CREATE TABLE t(     ->     id         INT NOT NULL,     ->     last_name  CHAR(30) NOT NULL,     ->     first_name CHAR(30) NOT NULL,     ->     d          DATE NOT NULL     -> ); Query OK, 0 rows affected (0.00 sec) mysql> mysql> drop table t; Query OK, 0 rows affected (0.00 sec)