Hi! Could we please enable some services and cookies to improve your experience and our website?
Online Sandbox for SQL and PHP: Write, Run, Test, and Share SQL Queries and PHP Code
create table halls (
id serial primary key,
name text,
seets_count int,
screen_type text check (screen_type in ('regular', 'stereo'))
);
insert into halls (name, seets_count, screen_type) values ('Blue', 25, 'regular');
insert into halls (name, seets_count, screen_type) values ('Gold', 15, '3d');
select * from halls;