-
Notifications
You must be signed in to change notification settings - Fork 55
Expand file tree
/
Copy pathexercise6.sql
More file actions
19 lines (15 loc) · 869 Bytes
/
exercise6.sql
File metadata and controls
19 lines (15 loc) · 869 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
mysql> Alter Table Users Add column Birthday DATE;
Query OK, 0 rows affected (0.03 sec)
Records: 0 Duplicates: 0 Warnings: 0
mysql> describe Users;
+-----------+--------------+------+-----+---------+----------------+
| Field | Type | Null | Key | Default | Extra |
+-----------+--------------+------+-----+---------+----------------+
| UserID | int | NO | PRI | NULL | auto_increment |
| LastName | varchar(255) | YES | | NULL | |
| FirstName | varchar(255) | YES | | NULL | |
| Address | varchar(255) | YES | | NULL | |
| City | varchar(255) | YES | | NULL | |
| Birthday | date | YES | | NULL | |
+-----------+--------------+------+-----+---------+----------------+
6 rows in set (0.00 sec)