One group contains three loan rows with fine values 2, 5 and 5. What do COUNT(*) and SUM(fine) return for this group?
A Members row has member_id 8. A Loans row has member_id 8 and loan_id 92. For ON Members.member_id = Loans.member_id, why do these rows match?
An inner join on equal member IDs includes a member even when no loan has that member ID.
Circle one: True False
A query groups joined loans by member_id. Member ID 21, named Sam, has loans 71, 72 and 73. Its result shows member_id 21 and COUNT(*) 3. What does this row mean?
Members has IDs 4 and 5. Two Loans rows have member_id values 4 and NULL. An inner join tests equal member_id values. Which source rows have no match?
Members has 2 rows and Loans has 3 rows. A CROSS JOIN with no WHERE filter returns all 6 possible pairs.
Circle one: True False
A join of two 500-row tables returns 250,000 rows. You cannot see the query or the compared values. Which conclusion is justified by this count alone?
The librarian needs a loan count for every member, including zero. loan_id is never NULL in Loans. Which plan gives that result?