Q:

Which of the following query finds the names of the sailors who have reserved at least one boat?

0

Which of the following query finds the names of the sailors who have reserved at least one boat?


  1. SELECT DISTINCT s.sname FROM sailors s, reserves r WHERE s.sid = r.sid;
  2. SELECT s.sname FROM sailors s, reserves r WHERE s.sid = r.sid;
  3. SELECT DISTINCT s.sname FROM sailors, reserves WHERE s.sid = r.sid;
  4. None of These

All Answers

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

 (a).SELECT DISTINCT s.sname FROM sailors s, reserves r WHERE s.sid = r.sid;

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

total answers (1)

This question belongs to these collections

Similar questions


need a help?


find thousands of online teachers now