Date type value in the form '2003-12-31', range 1000-01-01 to 9999-12-31 (3 bytes)
mysql>
mysql> CREATE TABLE employee(
-> id INT,
-> startDate DATE
-> );
Query OK, 0 rows affected (0.00 sec)
mysql>
mysql> drop table employee;
Query OK, 0 rows affected (0.00 sec)
mysql>
Related examples in the same category