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

Tikai CREATE/ALTER/DROP — noslēdzošais SELECT nav nepieciešams.

Tava vaicājuma rezultāts parādīsies šeit

Nav sākotnējās shēmas

Šis uzdevums sākas bez tabulām — tev tās jāizveido ar CREATE TABLE.