Skip to content

Commit 7bb21c5

Browse files
authored
Update Adding-Comment-to-Table-Columns-in-MySQL.sql
1 parent f62a50a commit 7bb21c5

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
--Adding Teachers Table with Comments to University database
22
CREATE TABLE Teachers (
33
teacher_id INT NOT NULL COMMENT 'Unique identifier for each teacher',
4-
first_name VARCHAR(50) COMMENT 'Teacher's first name',
5-
last_name VARCHAR(50) COMMENT 'Teacher's last name',
4+
first_name VARCHAR(50) COMMENT 'first name of the teacher',
5+
last_name VARCHAR(50) COMMENT 'last name of the teacher',
66
department_id INT COMMENT 'Department id describing where the teacher belongs to',
7-
hire_date DATE COMMENT 'Teacher's hiring date'
8-
);
7+
hire_date DATE COMMENT 'the date the teacher was hired'
8+
);

0 commit comments

Comments
 (0)