1.
a) Create tables and insert records
Book(Book-id, Book_name, Author, Edition, Availability_status)
Member(Member_id, Member_name, Dept, Book_id, Borrow_date)
b) Set a foreign key relationship for tables on Book_id
c) List the books that are available.
2. A) Create table and insert records
Employee(Emp_no, Emp_name, Dept_no, DOJ, salary, incentive)
b) Specify a constraint using ALTER, that Emp_no should be the primary key
c) From the table find the employees who gets highest incentiv
3. a) Create table and insert records
Staff(Staff_id, Name, Date_of_join, Date_of_Ret, Dept, Desig)
Subject(Subject_code, Subject_Name, Staff_id)
b) Specify primary key, foreign key and not null constraint wherever required
c) Display the staff who gets retired.
4. a) Create a table with primary key and insert records
BANK(Cus-id,Cus_name,Br_no,Fd_no)
FD(FD_no,FD_amt)
b) Drop integrity Constraint and FD amount limit should be 100000
c) Update the FD amount with 5% increase.