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

Doar CREATE/ALTER/DROP — nu este nevoie de un SELECT la final.

Rezultatul interogării tale va apărea aici

Fără schemă inițială

Această problemă începe fără tabele — le vei crea prin CREATE TABLE.