A.
Create the 3 tables as shown in Slide 1 - Note that Red colour is Primary Key and
Green Colour is Foreign key
Eg
1. Customers
2. Orders
3. Products
b. Display structure of the 3 tables
c. Enter the data as mentioned in the slide in the
3 tables
d. Write command to display emp_id,
emp_name, gender for employees drawing salary
> 15,00,000
e. Write command to display data for all Female
employees
f. Add data for mgr_id = 3 in branch table
considering the relevant,appropriate and logical
data
g. Change the NULL value of mgr_id to 104 for
emp_id 101
h. Display the data in Client table grouped by
branch_id
I. Display male employees who salary >10,00,000
j. Do an inner join on table Employee and Branch
using the relevant field