(A)
Goal:
Retrieve the age of sailors whose sailor_name:
BB(E)
Pattern Breakdown:
The SQL pattern 'B_%B' means:
B → First character_ → At least one middle character% → Any number of characters after that (including 0)B → Ends with BSo, this ensures a minimum of 3 characters with correct beginning and ending.
(J)
Option Analysis:
Digital signatures provide ________.
A Session variable is created ________.
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');
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);