Professional Documents
Culture Documents
Institute of Engineering & Management
Institute of Engineering & Management
INSTITUTE OF ENGINEERING
&
MANAGEMENT
SIGNATURE :
DATE :22/05/2021
1.Find names of sailors whose name begins and ends with B and has at least 3 characters.
2.Find names of sailors who have reserved a red boat or a green boat.
3.Find names of sailors who have reserved a red boat but not a green boat.
8.Find all records for the rating>some sailor name where sailor name like ‘Horatio’.
9.Find all records for the rating>all sailor names where sailor name like ‘Horatio’.
11.Find all records for the rating<all sailor name where sailor name like ‘Horatio’.
12.Find names of sailors whose rating is>10/20/30 using a multi row subquery operator.
13.Find names of sailors whose rating is>10/20/30 using a multi row subquery operator.
14.Find names of sailors whose rating is>10 & 20 & 30 using a multi row subquery operator.
16.Find the name of a sailor who is older than the oldest sailor of rating=10.
18.Find the name of each sailor who is eligible to vote for each rating level.
19.Find the age of the youngest sailor who is eligible to vote for each rating level with at least two such sailors.
20.Find the average age of sailor for each rating level with at least two such sailors.
22.Find those ratings for which the average age of sailors is the minimum over all rating.