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.
Jen CREATE/ALTER/DROP — závěrečný SELECT není potřeba.
Přihlaste se, abyste viděli historii odevzdání
Přihlásit sePřihlaste se, abyste mohli použít AI mentora
Přihlásit seŽádné výchozí schéma
Tato úloha začíná bez tabulek — vytvoříte je pomocí CREATE TABLE.