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.
Samo CREATE/ALTER/DROP — bez završnog SELECT-a.
Prijavi se da vidiš povijest predaja
PrijavaPrijavi se da koristiš AI mentora
PrijavaNema početne sheme
Ovaj zadatak počinje bez tablica — stvorit ćeš ih pomoću CREATE TABLE.