DBMS - IT C08 Practical List: Create Database and Write SQL Queries For The Following
DBMS - IT C08 Practical List: Create Database and Write SQL Queries For The Following
DBMS - IT C08 Practical List: Create Database and Write SQL Queries For The Following
By definition, pilots are those employees who are certified on at least one aircraft. An aircraft
can be used for any flight provided it has sufficient range. Pilots can pilot any flight provided
they are certified on an aircraft with sufficient range.
Problems
1. Find eid’s of pilots who are certified on some Boeing.
2. Find names of pilots who are certified on some Boeing.
3. Find aid’s of aircraft that can fly non-stop from LA to NY. Assume you don’t already know
the distance.
4. Find flno of flights that can be piloted by every pilot whose salary is over $100,000.
5. Find names of pilots who can operate planes with a range greater than 3,000 miles, but are
not certified on any Boeing.
6. Find eid of employee(s) with the highest salary.
7. Find eid of employee(s) with the second highest salary.
8. Find eid’s of employees certified on exactly three aircraft.