Question DB-REL-0060
MediumA table is created with PRIMARY KEY (order_id, line_no). Which pair of rows can both be inserted?
- A.
(NULL, 1) and (102, 1)
- B.
(101, NULL) and (101, 2)
- C.
Sign up free to see the answer and a step-by-step explanation.
Popular companies
Prepare company by company
Hiring pattern, syllabus, past questions and mocks for each company.
All companiesPractice by subject
Relational Model and Keys question
A table is created with PRIMARY KEY (order_id, line_no). Which pair of rows can both be inserted?
(NULL, 1) and (102, 1)
(101, NULL) and (101, 2)
Sign up free to see the answer and a step-by-step explanation.
(101, 1) and (101, 1)
(101, 1) and (101, 2)