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.
Endast CREATE/ALTER/DROP — ingen avslutande SELECT behövs.
Logga in för att se historik över inskick
Logga inLogga in för att använda AI-mentorn
Logga inInget startschema
Den här uppgiften börjar utan tabeller — du skapar dem med CREATE TABLE.