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.
Jen CREATE/ALTER/DROP — závěrečný SELECT není potřeba.
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit seŽádné výchozí schéma
Tato úloha začíná bez tabulek — vytvoříte je pomocí CREATE TABLE.