Professional Documents
Culture Documents
Database Fundamental (TIS 1101) Tutorial 5: Student
Database Fundamental (TIS 1101) Tutorial 5: Student
Database Fundamental (TIS 1101) Tutorial 5: Student
Tutorial 5
Q1. Write the SQL statement to create this table. You should determine the
appropriate data types from the data given. (You may add your own data to this
set if you like)
STUDENT
Student_id Student_Name Major Age
10000 Jamal Economy 21
15000 Putih Communication 19
20000 Bakar Economy 25
25000 Gibson Management 24
35000 Rohaya Computer Sc 20
40000 Remi <null> 19
Q2. What is the command to enter the data into the table. Give an example of the
command baased on table above.
Q3. Jamal has changed his major to Mathematic. Write the SQL update statement to
reflect the changes in the table.
Q5. Write the SQL statement to add a new column named Faculty to the table.