#1131

Tickets with a restricted status

Design a tickets table where the status status may only be open, closed or pending — the database must reject any other value. Columns: id — primary key; status — required and only from that list.

Solo CREATE/ALTER/DROP — non serve un SELECT finale.

Il risultato della tua query apparirà qui

Nessuno schema iniziale

Questo esercizio parte senza tabelle — le creerai tu tramite CREATE TABLE.