SQL Quiz
9 questions · no time limit
0:00
DATA QUALITY AND DEBUGGING
Question 1 of 9
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
A child table has a composite foreign key (region_id, account_id). Five rows contain these pairs: (1, 2), (1, NULL), (NULL, 2), (3, 4), and (NULL, NULL). The parent contains (1, 2) but not (3, 4). A key is incomplete if either component is NULL. An orphan must have both components present but no matching parent pair.
Which classification logic produces 33 incomplete keys and 11 orphan?
YOUR PROGRESS
9
QUESTIONS
Ready when you are
Answer in any order. Your progress shows here as you go.
QUESTIONS
KEYBOARD
Pick an answer ABCD
Next question ↵→
Previous ←
Flag for review F