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.
Pieslēdzies, lai redzētu iesniegumu vēsturi
PieslēgtiesPieslēdzies, lai izmantotu AI mentoru
PieslēgtiesNav sākotnējās shēmas
Šis uzdevums sākas bez tabulām — tev tās jāizveido ar CREATE TABLE.