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.
Just CREATE/ALTER/DROP — no trailing SELECT needed.
Sign in to see submission history
Sign inSign in to use AI Mentor
Sign inNo starting schema
This task starts with no tables — you'll create them via CREATE TABLE.