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');
(A)
Tables involved:
sailors
— stores sailor information.boats
— stores boat information including colour.reserves
— relationship table showing which sailor reserved which boat and when.(E)
Query logic:
WHERE
clause joins the three tables using sailor ID and boat ID.'red'
or 'green'
.(I)
Key Point:
On a relation named Loan of a bank:
The surface integral \( \int_S x^2 \, dS \) over the upper hemisphere
\[ z = \sqrt{1 - x^2 - y^2} \]
with radius 1 is ..........