Assignment 2 DBMS
Assignment 2 DBMS
ASSIGNMENT-2
Write the Algebra expression and Sql expression for the below queries considering
below data:
Si
No Questions CO Level
10 Find the names of sailors who have reserved all boats called Interlake ?
11 Find all sailors with a rating above 7 ? 2 L3
12 Find the names and ages of sailors with a rating above 7 ? 2 L3
13 Find the sailor name, boat id, and reservation date for each reservation ? 2 L3
14 Find the names of sailors who have reserved boat 103 ? 2 L3
15 Find the names of sailors who have reserved a red boat ? 2 L3
16 Find sailors who have reserved all boats ? 2 L3
17 Compute increments for the ratings of persons who have sailed two different boats on 2 L3
the same day ?
18 Find the ages of sailors whose name begins and ends with B and has at least three 2 L3
characters?