SQL Quiz
10 questions · no time limit
0:00
DATA DEFINITION AND MANIPULATION
Question 1 of 10
No time limit
Current
Answered
Flagged
Not seen
PASSAGE
The table OrderLines has PRIMARY KEY (order_id, line_no) and UNIQUE (order_id, product_id). It currently contains (100, 1, 'P1'), (100, 2, 'P2'), and (101, 1, 'P1'), where the values are listed as (order_id, line_no, product_id).
Which row can be inserted without violating either constraint?
YOUR PROGRESS
10
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