Question DB-REL-0072
HardA foreign key column order_id in LineItem references Orders(id) with ON DELETE CASCADE. An order with 5 line items is deleted. How many rows are deleted in all?
- A.
5
- B.
0
- C.
1
- D.
6
Sign up free to see the answer and a step-by-step explanation.