1. >AP PGECET
  2. >Computer Science & Information Technology
Found 3  QuestionsSET DEFAULT
Selected Filters
    AP PGECET Computer Science & Information Technol... SQL
Exams
Years
Subjects
Topics

List of top Computer Science & Information Technology Questions on SQL asked in AP PGECET

Based on the following schema,
sailors (sailor-id, sailpr-name, age):
boats (boat-id, boat-name, colour):
reserves (sailor id, boat id, day);
What does the following SQL query imply? 
SELECT S.sailor_name FROM sailors S, boats B, reserves R
WHERE S.sailor_id = R.sailor_id AND R.boat_id = B.boat_id
AND (B.colour = 'red' OR B.colour = 'green');

  • AP PGECET - 2024
  • AP PGECET
  • Computer Science & Information Technology
  • SQL

Based on the following schema,
sailors (sailor-id, sailpr-name, age):
boats (boat-id, boat-name, colour):
reserves (sailor id, boat id, day);
What does the following SQL query imply?
SELECT S.sailor_name FROM sailors S WHERE S.sailor_id IN
(SELECT R.sailor_id FROM reserves R WHERE R.boat_id >= 103);

  • AP PGECET - 2024
  • AP PGECET
  • Computer Science & Information Technology
  • SQL
Based on the following schema,
sailors (sailor-id, sailpr-name, age):
boats (boat-id, boat-name, colour):
reserves (sailor id, boat id, day);
Which of the following SQL queries returns all the ages of sailors whose names begin and end with ‘B’ and have at least three characters?
  • AP PGECET - 2024
  • AP PGECET
  • Computer Science & Information Technology
  • SQL