The support team stores user support requests in a tickets table.
Create the table with these columns:
- id — an integer primary key;
- status — a required column of type TEXT.
The status column must allow only these values:
- open;
- closed;
- pending.
Add a database constraint that rejects any other status.
Solution requirement
Just CREATE/ALTER/DROP — no trailing SELECT needed.