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

Díreach CREATE/ALTER/DROP — ní gá SELECT ina dhiaidh sin.

Beidh toradh d'iarratais le feiceáil anseo

Gan scéim tosaithe

Tosaíonn an tasc seo gan táblaí — cruthóidh tú iad le CREATE TABLE.