#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.

Iba CREATE/ALTER/DROP — žiadny záverečný SELECT nie je potrebný.

Tu sa zobrazí výsledok vášho dotazu

Žiadna počiatočná schéma

Táto úloha začína bez tabuliek — vytvoríte ich pomocou CREATE TABLE.