Consecutive Available Seats
[]
['Create table If Not Exists Cinema (seat_id int primary key auto_increment, free bool)', 'Truncate table Cinema', "insert into Cinema (seat_id, free) values ('1', '1')", "insert into Cinema (seat_id, free) values ('2', '0')", "insert into Cinema (seat_id, free) values ('3', '1')", "insert into Cinema (seat_id, free) values ('4', '1')", "insert into Cinema (seat_id, free) values ('5', '1')"]
{"mysql": ["Create table If Not Exists Cinema (seat_id int primary key auto_increment, free bool)"], "mssql": ["Create table Cinema (seat_id int primary key, free BIT)"], "oraclesql": ["Create table Cinema (seat_id int primary key, free NUMBER(1))"], "database": true, "name": "consecutive_available_seats", "pythondata": ["Cinema = pd.DataFrame([], columns=['seat_id', 'free']).astype({'seat_id':'Int64', 'free':'int'})"], "postgresql": ["Create table If Not Exists Cinema (seat_id int, free int)\n"], "manual": false, "database_schema": {"Cinema": {"seat_id": "INT", "free": "BOOLEAN"}}}
{"mysql": ["MySQL", "<p><code>MySQL 8.0</code>.</p>"], "mssql": ["MS SQL Server", "<p><code>mssql server 2019</code>.</p>"], "oraclesql": ["Oracle", "<p><code>Oracle Sql 11.2</code>.</p>"], "pythondata": ["Pandas", "<p>Python 3.10 with Pandas 2.2.2 and NumPy 1.26.4</p>"], "postgresql": ["PostgreSQL", "<p>PostgreSQL 16</p>"]}
['Database']