VL2023240101055 Ast01
VL2023240101055 Ast01
ASSESSMENT - 1
Due Date: 22.05.2023
Exercise-I:
Create the student schema as follows
Exercise-II:
Consider the following schema:
Table Name: Employee
1. Insert the data given above in both employee, department and project tables.
3. Display Employee name along with his SSN and Supervisor SSN.
Aim: To know how the constraints are used to make table is consistent.
Exercise – 3:
Exercise – 4:
5
2. Insert the following data into their respective tables:
6
OPERATORS IN SQL
7
Jennifer S Wallace 564 20-JUN-1983 Chennai F 43000 123 2
John B Smith 678 09-JAN-1987 Madurai M 30000 124 1
Ramesh K Narayan 234 15-SEP-1985 Bangalore M 38000 124 3
Rahul S Ram 555 10-OCT-1973 Vellore M 50000 533 3
8
10.Display the department details in ascending order of department number.
11.Display all the MgrSSN and MgrStartDate as ManagerSSN and Manager_DOJ.
12.Display all the male employees with SSN and salary