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.
Apenas CREATE/ALTER/DROP — não é preciso um SELECT no final.
Entre para ver seu histórico de envios
EntrarEntre para usar o AI Mentor
EntrarSem esquema inicial
Esta tarefa não inclui tabelas iniciais: você vai criá-las com CREATE TABLE.