DBMS_EXP7
DBMS_EXP7
Experiment No 7
Aim: - To perform Nested and complex queries on the given schema for specified system
Output:
1)Find the names of sailors who have reserved boat number 103
2) Find the sids of sailors who have reserves a red boat
3) Find the names of sailors who have reserved a red or green boat
4)Find the names of sailors who have reserved a red and green boat
5)Find the names of sailors who have reserved red boat but not green
6)Find all sids of sailors who have a rating of 10 or reserved boat 104 7)Find sailors
whose rating is better than horatio
8)Find the names of sailors who are older than the oldest sailor with a rating
of 10
9) for each red boat find the number of reservations for this boat
10) Find the names of sailors who have reserved all the boats