Professional Documents
Culture Documents
Reg.No.=21MCA0015
Sub=Database Technologies
Exercise-I:
1) Insert the data given above in both employee, department and
project tables.
insert into Employee values ('John', 'B', 'Smith', 123456789 ,'1955-01-09', '731
Fondren,Houston, TX', 'M', 30000 ,'333445555', 5);
3)Display Employee name along with his SSN and Supervisor SSN.
select First_Name , Mid_Name ,Last_Name , SSN_Number ,Supervisor_SSN from
employee;
Exercise- II:
ALTERING EXISTING TABLES AND ADDING CONSTRAINTS:
Employee Table: