1. Design a front-end for the case-study chosen for the assignment-1.(eg.
VB, PHP, etc,)
2. Consider the below databases and solve the queries listed by using relational algebra and SQL. Sailors Database Sailors( sid, sname, rating, age) Boats(bid, bname,color) Reserves(sid,bid,day) Sample Queries: Find the names of sailors who have reserved at least two different boats Find the sids of silors with age over 20 who have not reserved a red boat Find the names of sailors who have reserved all boats Find the names of sailors who have reserved all boats called Interlake Find all sailors with a rating above 7
Flight Database
Flights(flno, from, to, distance, departs, arrives, price)
Aircraft(aid, aname, cruisingrange) Certified(eid, aid) Employees(eid, ename, salary) Sample Queries: Find the names of aircraft such that all pilots certified to operate them earn more than $80,000. Find the names of pilots whose salary is less than the price of the cheapest route from Los Angeles to Honolulu. For all aircraft with cruisingrange over 1000 miles, find the name of the aircraft and the average salary of all pilots certified for this aircraft. Find the names of pilots certified for some Boeing aircraft. Find the aids of all aircraft that can be used on routes from Los Angeles to Chicago. 3. Implement the above databases and solve queries using the backend database tool which is been installed with respect to assignment-1.