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.
Tylko CREATE/ALTER/DROP — bez końcowego SELECT.
Zaloguj się, aby zobaczyć historię rozwiązań
Zaloguj sięZaloguj się, aby korzystać z Mentora AI
Zaloguj sięBrak schematu początkowego
To zadanie zaczyna się bez tabel — utworzysz je za pomocą CREATE TABLE.