You are on page 1of 2

Tasks to complete

1. Practice the MySQL Table Exercise discussed during the last lecture.

2. Try to run those commands we have learned on those Tables.

3. Write a SQL statement to create a table job_history including columns


employee_id, start_date, end_date, job_id and department_id and make sure
that, the employee_id column does not contain any duplicate value at the
time of insertion.

4. Create a table called "project" which contains the following data:

Empno ProjectID Projectname budget


15 1 Interface Design 10000
17 2 E-Commerce Solution 20000
19 3 Advertising 50000

5. Create these following tables :

Table 1 Employee

Table 2 Student
Table 3 Stuff

Table 4: Resident

You might also like