#1045

Line Items Need Orders

Design the order_lines table for order line items. It needs id as the primary key, required order_id referencing orders(id), and required qty; the database must not allow a line item for a missing order.

Само CREATE/ALTER/DROP — без нужда от завършващ SELECT.

Резултатът от заявката ти ще се покаже тук

Няма начална схема

Тази задача започва без таблици — ще ги създадеш чрез CREATE TABLE.