Professional Documents
Culture Documents
Lab 1 Create Table, Insert and Drop
Lab 1 Create Table, Insert and Drop
ENGINEERING
COURSE: Database Systems CODE: DRC1123
TOPIC: Create Table, Insert and Drop
/1
ASSESSMENT: Lab Sheet NUM: 1 DURATION: 2 hours
0
MATRIC NUM: _______________________________ IC NUM: ________________________________
Name DataType
--------------------------------------------------------------------------------------------------------------------------
STD_NAME VARCHAR (20)
STD_ID VARCHAR (8)
STD_IC INT
STD_COURSE VARCHAR (30)
STD_DATEOFBIRTH DATE
STD_ADDRESS VARCHAR (40)
In your database create a table called STUDENTS_INFO based on the table above.
Drop the date of birth column from STUDENT_INFO table and show the SQL
command.
Drop the address column from STUDENT_INFO table and show the SQL command.
Shows the SQL command to add the date of birth column on the STUDENT_INFO
table.
Shows the SQL command to add the address column on the STUDENT_INFO table.