Q:

Which of the following query finds the total rating of the sailors who have reserved boat \"103\"?

belongs to collection: DBMS - SQL MCQ

0

Which of the following query finds the total rating of the sailors who have reserved boat "103"?


  1. SELECT SUM(s.rating) FROM sailors s, reserves r AND r.bid = 103;
  2. SELECT s.rating FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103
  3. c) SELECT COUNT(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103
  4. SELECT SUM(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

(d).SELECT SUM(s.rating) FROM sailors s, reserves r WHERE s.sid = r.sid AND r.bid = 103

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

DBMS - SQL MCQ

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now
The SELECT statement SELECT \'Hi\' FROM ... >>
<< Which of the following query finds the name of the...