Sail E0 Webinar
Question
Which of the following query finds the total rating of the sailors who have reserved boat "103"?
Options:
A .  SELECT SUM(s.rating) FROM sailors s, reserves r AND r.bid = 103;
B .  SELECT s.rating FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103
C .  c) SELECT COUNT(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103
D .  SELECT SUM(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103
Answer: Option D

Submit Your Solution Below and Earn Points !
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers