image imagewidth (px) 156 1.54k | id stringlengths 19 19 | level int32 1 6 | level_name stringclasses 6
values | kind stringclasses 4
values | source_db stringclasses 139
values | sql stringlengths 125 2.85k | scene stringlengths 221 2.98k | num_tol_abs float32 0 40M | recall_only bool 1
class |
|---|---|---|---|---|---|---|---|---|---|
train_s000_L1_00000 | 1 | clean | table | manufactory_1 | CREATE TABLE products (
code INTEGER PRIMARY KEY,
name TEXT,
price INTEGER
);
INSERT INTO products (code, name, price) VALUES
(5, 'Monitor', 240),
(1, 'Hard drive', 240),
(6, 'DVD drive', 180),
(4, 'Floppy disk', 5),
(2, 'Memory', 120),
(11, 'DVD drive', 150),
(8, 'Printer', 270),
(3, 'ZIP drive', 150),
(7, 'CD d... | {"db_id": "manufactory_1", "tables": [{"name": "products", "columns": [{"name": "code", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "price", "type": "INTEGER"}], "rows": [[5, "Monitor", 240], [1, "Hard drive", 240], [6, "DVD drive", 180], [4, "Floppy disk", 5], [2, "Memory", 120], [11, "DVD drive", 1... | 0 | false | |
train_s000_L1_00001 | 1 | clean | table | station_weather | CREATE TABLE station (
id INTEGER PRIMARY KEY,
network_name TEXT,
services TEXT,
local_authority TEXT
);
INSERT INTO station (id, network_name, services, local_authority) VALUES
(7, 'Chalfont & Latimer', 'Metropolitan line and Chiltern Railways', 'Chiltern'),
(5, 'Carpenders Park', 'London Overground', 'Three R... | {"db_id": "station_weather", "tables": [{"name": "station", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "network_name", "type": "TEXT"}, {"name": "services", "type": "TEXT"}, {"name": "local_authority", "type": "TEXT"}], "rows": [[7, "Chalfont & Latimer", "Metropolitan line and Chiltern Railways", "Chiltern... | 0 | false | |
train_s000_L1_00002 | 1 | clean | table | university_basketball | CREATE TABLE basketball_match (
team_id INTEGER PRIMARY KEY,
school_id INTEGER,
team_name TEXT,
acc_home TEXT,
all_home TEXT
);
INSERT INTO basketball_match (team_id, school_id, team_name, acc_home, all_home) VALUES
(4, 5, 'Virginia Tech', '6–2', '14–3'),
(2, 2, 'Duke', '7–1', '15–1'),
(1, 1, 'North Carolina'... | {"db_id": "university_basketball", "tables": [{"name": "basketball_match", "columns": [{"name": "team_id", "type": "INTEGER"}, {"name": "school_id", "type": "INTEGER"}, {"name": "team_name", "type": "TEXT"}, {"name": "acc_home", "type": "TEXT"}, {"name": "all_home", "type": "TEXT"}], "rows": [[4, 5, "Virginia Tech", "6... | 0 | false | |
train_s000_L1_00003 | 1 | clean | table | customer_complaints | CREATE TABLE complaints (
complaint_id INTEGER,
product_id INTEGER,
customer_id INTEGER,
complaint_outcome_code TEXT,
date_complaint_closed TEXT,
staff_id INTEGER
);
INSERT INTO complaints (complaint_id, product_id, customer_id, complaint_outcome_code, date_complaint_closed, staff_id) VALUES
(6, 118, 114, '... | {"db_id": "customer_complaints", "tables": [{"name": "complaints", "columns": [{"name": "complaint_id", "type": "INTEGER"}, {"name": "product_id", "type": "INTEGER"}, {"name": "customer_id", "type": "INTEGER"}, {"name": "complaint_outcome_code", "type": "TEXT"}, {"name": "date_complaint_closed", "type": "TEXT"}, {"name... | 0 | false | |
train_s000_L1_00004 | 1 | clean | table | tracking_grants_for_research | CREATE TABLE organisations (
organisation_id INTEGER PRIMARY KEY,
organisation_type TEXT,
organisation_details TEXT
);
INSERT INTO organisations (organisation_id, organisation_type, organisation_details) VALUES
(2, 'RES', 'eius'),
(3, 'RES', 'impedit'),
(8, 'SPON', 'aperiam'),
(9, 'RES', 'a'); | {"db_id": "tracking_grants_for_research", "tables": [{"name": "organisations", "columns": [{"name": "organisation_id", "type": "INTEGER"}, {"name": "organisation_type", "type": "TEXT"}, {"name": "organisation_details", "type": "TEXT"}], "rows": [[2, "RES", "eius"], [3, "RES", "impedit"], [8, "SPON", "aperiam"], [9, "RE... | 0 | false | |
train_s000_L1_00005 | 1 | clean | table | hospital_1 | CREATE TABLE affiliated_with (
physician INTEGER,
department INTEGER,
primary_affiliation INTEGER
);
INSERT INTO affiliated_with (physician, department, primary_affiliation) VALUES
(8, 1, 1),
(6, 2, 1),
(9, 3, 1),
(2, 1, 1),
(1, 1, 1),
(7, 2, 1),
(5, 1, 1),
(3, 1, 0),
(7, 1, 0),
(4, 1, 1); | {"db_id": "hospital_1", "tables": [{"name": "affiliated_with", "columns": [{"name": "physician", "type": "INTEGER"}, {"name": "department", "type": "INTEGER"}, {"name": "primary_affiliation", "type": "INTEGER"}], "rows": [[8, 1, 1], [6, 2, 1], [9, 3, 1], [2, 1, 1], [1, 1, 1], [7, 2, 1], [5, 1, 1], [3, 1, 0], [7, 1, 0],... | 0 | false | |
train_s000_L1_00006 | 1 | clean | table | gas_company | CREATE TABLE station_company (
station_id INTEGER,
company_id INTEGER,
rank_of_the_year INTEGER
);
INSERT INTO station_company (station_id, company_id, rank_of_the_year) VALUES
(4, 1, 13),
(10, 10, 9),
(1, 3, 2),
(7, 9, 4),
(11, 1, 1),
(6, 6, 3); | {"db_id": "gas_company", "tables": [{"name": "station_company", "columns": [{"name": "station_id", "type": "INTEGER"}, {"name": "company_id", "type": "INTEGER"}, {"name": "rank_of_the_year", "type": "INTEGER"}], "rows": [[4, 1, 13], [10, 10, 9], [1, 3, 2], [7, 9, 4], [11, 1, 1], [6, 6, 3]], "primary_key": null}], "fore... | 0 | false | |
train_s000_L1_00007 | 1 | clean | table | school_player | CREATE TABLE school (
school_id INTEGER PRIMARY KEY,
school TEXT,
location TEXT,
enrollment INTEGER,
founded INTEGER,
day_or_boarding TEXT,
year_entered_competition INTEGER
);
INSERT INTO school (school_id, school, location, enrollment, founded, day_or_boarding, year_entered_competition) VALUES
(6, 'Waver... | {"db_id": "school_player", "tables": [{"name": "school", "columns": [{"name": "school_id", "type": "INTEGER"}, {"name": "school", "type": "TEXT"}, {"name": "location", "type": "TEXT"}, {"name": "enrollment", "type": "INTEGER"}, {"name": "founded", "type": "INTEGER"}, {"name": "day_or_boarding", "type": "TEXT"}, {"name"... | 0 | false | |
train_s000_L1_00008 | 1 | clean | table | twitter_1 | CREATE TABLE tweets (
id INTEGER PRIMARY KEY,
uid INTEGER,
createdate TEXT
);
INSERT INTO tweets (id, uid, createdate) VALUES
(7, 5, '2018-03-12 02:30:30'),
(1, 1, '2018-03-09 20:00:14'),
(4, 1, '2018-03-12 02:30:30'),
(6, 6, '2018-03-12 02:30:30'); | {"db_id": "twitter_1", "tables": [{"name": "tweets", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "uid", "type": "INTEGER"}, {"name": "createdate", "type": "TEXT"}], "rows": [[7, 5, "2018-03-12 02:30:30"], [1, 1, "2018-03-09 20:00:14"], [4, 1, "2018-03-12 02:30:30"], [6, 6, "2018-03-12 02:30:30"]], "primary_... | 0 | false | |
train_s000_L1_00009 | 1 | clean | table | music_1 | CREATE TABLE files (
artist_name TEXT,
file_size TEXT,
duration TEXT,
formats TEXT
);
INSERT INTO files (artist_name, file_size, duration, formats) VALUES
('Topu', '4.10 MB', '4:30', 'mp4'),
('Shrikanta', '3.78 MB', '3:45', 'mp4'),
('Farida', '3.69 MB', '4:12', 'mp4'),
('Prity', '4.12 MB', '2:56', 'mp3'),
('Enr... | {"db_id": "music_1", "tables": [{"name": "files", "columns": [{"name": "artist_name", "type": "TEXT"}, {"name": "file_size", "type": "TEXT"}, {"name": "duration", "type": "TEXT"}, {"name": "formats", "type": "TEXT"}], "rows": [["Topu", "4.10 MB", "4:30", "mp4"], ["Shrikanta", "3.78 MB", "3:45", "mp4"], ["Farida", "3.69... | 0 | false | |
train_s000_L1_00010 | 1 | clean | table | document_management | CREATE TABLE documents (
document_code INTEGER PRIMARY KEY,
document_structure_code INTEGER,
document_type_code TEXT
);
INSERT INTO documents (document_code, document_structure_code, document_type_code) VALUES
(349, 9, 'Book'),
(930, 9, 'CV'),
(706, 9, 'Advertisement'),
(961, 5, 'Advertisement'),
(465, 9, 'CV'),
... | {"db_id": "document_management", "tables": [{"name": "documents", "columns": [{"name": "document_code", "type": "INTEGER"}, {"name": "document_structure_code", "type": "INTEGER"}, {"name": "document_type_code", "type": "TEXT"}], "rows": [[349, 9, "Book"], [930, 9, "CV"], [706, 9, "Advertisement"], [961, 5, "Advertiseme... | 0 | false | |
train_s000_L1_00011 | 1 | clean | table | debate | CREATE TABLE debate (
debate_id INTEGER PRIMARY KEY,
date TEXT,
venue TEXT
);
INSERT INTO debate (debate_id, date, venue) VALUES
(5, 'January 12, 2017', 'Dubai , UAE'),
(3, 'August 3, 2015', 'Manama , Bahrain'),
(2, 'December 17, 2014', 'Doha , Qatar'),
(4, 'October 27, 2015', 'Manama , Bahrain'),
(6, 'January 21... | {"db_id": "debate", "tables": [{"name": "debate", "columns": [{"name": "debate_id", "type": "INTEGER"}, {"name": "date", "type": "TEXT"}, {"name": "venue", "type": "TEXT"}], "rows": [[5, "January 12, 2017", "Dubai , UAE"], [3, "August 3, 2015", "Manama , Bahrain"], [2, "December 17, 2014", "Doha , Qatar"], [4, "October... | 0 | false | |
train_s000_L1_00012 | 1 | clean | table | tracking_share_transactions | CREATE TABLE transactions (
investor_id INTEGER,
date_of_transaction TEXT,
share_count INTEGER
);
INSERT INTO transactions (investor_id, date_of_transaction, share_count) VALUES
(2, '1981-01-28 08:07:03', 1654756),
(7, '1990-12-02 09:03:38', 1522),
(19, '1997-12-30 05:05:40', 93191),
(3, '2002-04-07 20:28:37', NU... | {"db_id": "tracking_share_transactions", "tables": [{"name": "transactions", "columns": [{"name": "investor_id", "type": "INTEGER"}, {"name": "date_of_transaction", "type": "TEXT"}, {"name": "share_count", "type": "INTEGER"}], "rows": [[2, "1981-01-28 08:07:03", 1654756], [7, "1990-12-02 09:03:38", 1522], [19, "1997-12... | 0 | false | |
train_s000_L1_00013 | 1 | clean | table | chinook_1 | CREATE TABLE customer (
customer_id INTEGER PRIMARY KEY,
address TEXT,
city TEXT,
state TEXT,
phone TEXT,
email TEXT
);
INSERT INTO customer (customer_id, address, city, state, phone, email) VALUES
(16, '1600 Amphitheatre Parkway', 'Mountain View', 'CA', '+1 (650) 253-0000', 'fharris@google.com'),
(38, 'Bar... | {"db_id": "chinook_1", "tables": [{"name": "customer", "columns": [{"name": "customer_id", "type": "INTEGER"}, {"name": "address", "type": "TEXT"}, {"name": "city", "type": "TEXT"}, {"name": "state", "type": "TEXT"}, {"name": "phone", "type": "TEXT"}, {"name": "email", "type": "TEXT"}], "rows": [[16, "1600 Amphitheatre... | 0 | false | |
train_s000_L1_00014 | 1 | clean | table | wedding | CREATE TABLE church (
church_id INTEGER PRIMARY KEY,
organized_by TEXT,
open_date INTEGER
);
INSERT INTO church (church_id, organized_by, open_date) VALUES
(7, 'George M. Hinkle', 1840),
(9, 'William Law', 1844),
(4, 'Warren Parrish', 1837),
(2, '– Hoton', 1832),
(1, 'Wycam Clark', 1831),
(3, 'Ezra Booth', 1836),... | {"db_id": "wedding", "tables": [{"name": "church", "columns": [{"name": "church_id", "type": "INTEGER"}, {"name": "organized_by", "type": "TEXT"}, {"name": "open_date", "type": "INTEGER"}], "rows": [[7, "George M. Hinkle", 1840], [9, "William Law", 1844], [4, "Warren Parrish", 1837], [2, "– Hoton", 1832], [1, "Wycam Cl... | 0 | false | |
train_s000_L1_00015 | 1 | clean | table | allergy_1 | CREATE TABLE student (
lname TEXT,
fname TEXT,
age INTEGER,
sex TEXT,
major INTEGER,
advisor INTEGER,
city_code TEXT
);
INSERT INTO student (lname, fname, age, sex, major, advisor, city_code) VALUES
('Prater', 'Stacy', 18, 'F', 540, 7271, 'BAL'),
('Nelson', 'Jandy', 20, 'F', 600, 9172, 'BAL'),
('Schwartz'... | {"db_id": "allergy_1", "tables": [{"name": "student", "columns": [{"name": "lname", "type": "TEXT"}, {"name": "fname", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}, {"name": "sex", "type": "TEXT"}, {"name": "major", "type": "INTEGER"}, {"name": "advisor", "type": "INTEGER"}, {"name": "city_code", "type": "TEXT"}... | 0 | false | |
train_s000_L1_00016 | 1 | clean | table | device | CREATE TABLE stock (
shop_id INTEGER,
device_id INTEGER,
quantity INTEGER
);
INSERT INTO stock (shop_id, device_id, quantity) VALUES
(2, 6, 110),
(11, 6, 112),
(1, 4, 200),
(9, 4, 51),
(3, 6, 134),
(3, 4, 124),
(1, 6, 100),
(4, 6, 56); | {"db_id": "device", "tables": [{"name": "stock", "columns": [{"name": "shop_id", "type": "INTEGER"}, {"name": "device_id", "type": "INTEGER"}, {"name": "quantity", "type": "INTEGER"}], "rows": [[2, 6, 110], [11, 6, 112], [1, 4, 200], [9, 4, 51], [3, 6, 134], [3, 4, 124], [1, 6, 100], [4, 6, 56]], "primary_key": null}],... | 0 | false | |
train_s000_L1_00017 | 1 | clean | table | performance_attendance | CREATE TABLE performance (
date TEXT,
host TEXT,
location TEXT
);
INSERT INTO performance (date, host, location) VALUES
('February 4', 'New York Rangers', 'Madison Square Garden'),
('February 7', 'Pittsburgh Penguins', 'Verizon Center'),
('February 11', 'Ottawa Senators', 'Scotiabank Place'),
('February 2', 'Bost... | {"db_id": "performance_attendance", "tables": [{"name": "performance", "columns": [{"name": "date", "type": "TEXT"}, {"name": "host", "type": "TEXT"}, {"name": "location", "type": "TEXT"}], "rows": [["February 4", "New York Rangers", "Madison Square Garden"], ["February 7", "Pittsburgh Penguins", "Verizon Center"], ["F... | 0 | false | |
train_s000_L1_00018 | 1 | clean | table | dorm_1 | CREATE TABLE student (
fname TEXT,
age INTEGER,
major INTEGER,
advisor INTEGER,
city_code TEXT
);
INSERT INTO student (fname, age, major, advisor, city_code) VALUES
('Michael', 17, 540, 8722, 'PHL'),
('Arthur', 18, 600, 2192, 'WAS'),
('Michael', 20, 600, 1121, 'PIT'),
('Tracy', 19, 600, 7712, 'HKG'),
('Eric',... | {"db_id": "dorm_1", "tables": [{"name": "student", "columns": [{"name": "fname", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}, {"name": "major", "type": "INTEGER"}, {"name": "advisor", "type": "INTEGER"}, {"name": "city_code", "type": "TEXT"}], "rows": [["Michael", 17, 540, 8722, "PHL"], ["Arthur", 18, 600, 2192... | 0 | false | |
train_s000_L1_00019 | 1 | clean | table | climbing | CREATE TABLE mountain (
mountain_id INTEGER PRIMARY KEY,
name TEXT,
height INTEGER,
prominence INTEGER,
"range" TEXT,
country TEXT
);
INSERT INTO mountain (mountain_id, name, height, prominence, "range", country) VALUES
(6, 'Ngaliema / Mt Stanley (Savoia Pk)', 4977, 110, 'Rwenzori', 'Uganda'),
(7, 'Duwoni /... | {"db_id": "climbing", "tables": [{"name": "mountain", "columns": [{"name": "mountain_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "height", "type": "INTEGER"}, {"name": "prominence", "type": "INTEGER"}, {"name": "range", "type": "TEXT"}, {"name": "country", "type": "TEXT"}], "rows": [[6, "Ngaliem... | 0 | false | |
train_s000_L1_00020 | 1 | clean | table | aircraft | CREATE TABLE pilot (
pilot_id INTEGER PRIMARY KEY,
name TEXT,
age INTEGER
);
INSERT INTO pilot (pilot_id, name, age) VALUES
(1, 'Prof. Zackery Collins', 23),
(6, 'Elisha Hickle V', 37),
(2, 'Katheryn Gorczany IV', 20),
(7, 'Dr. Jade Bradtke V', 26),
(10, 'Maxwell Graham', 26),
(12, 'Baylee Steuber', 30); | {"db_id": "aircraft", "tables": [{"name": "pilot", "columns": [{"name": "pilot_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}], "rows": [[1, "Prof. Zackery Collins", 23], [6, "Elisha Hickle V", 37], [2, "Katheryn Gorczany IV", 20], [7, "Dr. Jade Bradtke V", 26], [10, "Maxw... | 0 | false | |
train_s000_L1_00021 | 1 | clean | table | tracking_grants_for_research | CREATE TABLE organisations (
organisation_id INTEGER PRIMARY KEY,
organisation_type TEXT,
organisation_details TEXT
);
INSERT INTO organisations (organisation_id, organisation_type, organisation_details) VALUES
(11, 'SPON', 'eveniet'),
(10, 'SPON', 'officiis'),
(5, 'SPON', 'tenetur'); | {"db_id": "tracking_grants_for_research", "tables": [{"name": "organisations", "columns": [{"name": "organisation_id", "type": "INTEGER"}, {"name": "organisation_type", "type": "TEXT"}, {"name": "organisation_details", "type": "TEXT"}], "rows": [[11, "SPON", "eveniet"], [10, "SPON", "officiis"], [5, "SPON", "tenetur"]]... | 0 | false | |
train_s000_L1_00022 | 1 | clean | table | customers_campaigns_ecommerce | CREATE TABLE mailshot_customers (
mailshot_id INTEGER,
customer_id INTEGER,
mailshot_customer_date TEXT
);
INSERT INTO mailshot_customers (mailshot_id, customer_id, mailshot_customer_date) VALUES
(15, 13, '2018-03-07 11:19:43'),
(10, 1, '2018-03-04 13:06:55'),
(18, 2, '2018-03-20 23:40:02'),
(15, 6, '2018-02-27 2... | {"db_id": "customers_campaigns_ecommerce", "tables": [{"name": "mailshot_customers", "columns": [{"name": "mailshot_id", "type": "INTEGER"}, {"name": "customer_id", "type": "INTEGER"}, {"name": "mailshot_customer_date", "type": "TEXT"}], "rows": [[15, 13, "2018-03-07 11:19:43"], [10, 1, "2018-03-04 13:06:55"], [18, 2, ... | 0 | false | |
train_s000_L1_00023 | 1 | clean | table | hospital_1 | CREATE TABLE affiliated_with (
physician INTEGER,
department INTEGER,
primary_affiliation INTEGER
);
INSERT INTO affiliated_with (physician, department, primary_affiliation) VALUES
(9, 3, 1),
(6, 2, 1),
(5, 1, 1),
(3, 2, 1),
(7, 1, 0),
(4, 1, 1),
(7, 2, 1),
(8, 1, 1),
(1, 1, 1),
(2, 1, 1); | {"db_id": "hospital_1", "tables": [{"name": "affiliated_with", "columns": [{"name": "physician", "type": "INTEGER"}, {"name": "department", "type": "INTEGER"}, {"name": "primary_affiliation", "type": "INTEGER"}], "rows": [[9, 3, 1], [6, 2, 1], [5, 1, 1], [3, 2, 1], [7, 1, 0], [4, 1, 1], [7, 2, 1], [8, 1, 1], [1, 1, 1],... | 0 | false | |
train_s000_L1_00024 | 1 | clean | table | store_1 | CREATE TABLE employees (
id INTEGER PRIMARY KEY,
address TEXT,
city TEXT,
state TEXT,
country TEXT
);
INSERT INTO employees (id, address, city, state, country) VALUES
(2, '825 8 Ave SW', 'Calgary', 'AB', 'Canada'),
(5, '7727B 41 Ave', 'Calgary', 'AB', 'Canada'),
(6, '5827 Bowness Road NW', 'Calgary', 'AB', 'C... | {"db_id": "store_1", "tables": [{"name": "employees", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "address", "type": "TEXT"}, {"name": "city", "type": "TEXT"}, {"name": "state", "type": "TEXT"}, {"name": "country", "type": "TEXT"}], "rows": [[2, "825 8 Ave SW", "Calgary", "AB", "Canada"], [5, "7727B 41 Ave"... | 0 | false | |
train_s000_L1_00025 | 1 | clean | table | school_player | CREATE TABLE school_details (
school_id INTEGER PRIMARY KEY,
nickname TEXT,
colors TEXT,
league TEXT,
class TEXT,
division TEXT
);
INSERT INTO school_details (school_id, nickname, colors, league, class, division) VALUES
(4, 'Raiders', 'Maroon and White', 'DSHA', 'Flight B', 'Division 3'),
(6, 'Silver Eagles... | {"db_id": "school_player", "tables": [{"name": "school_details", "columns": [{"name": "school_id", "type": "INTEGER"}, {"name": "nickname", "type": "TEXT"}, {"name": "colors", "type": "TEXT"}, {"name": "league", "type": "TEXT"}, {"name": "class", "type": "TEXT"}, {"name": "division", "type": "TEXT"}], "rows": [[4, "Rai... | 0 | false | |
train_s000_L1_00026 | 1 | clean | table | assets_maintenance | CREATE TABLE third_party_companies (
company_id INTEGER PRIMARY KEY,
company_type TEXT,
company_name TEXT,
other_company_details TEXT
);
INSERT INTO third_party_companies (company_id, company_type, company_name, other_company_details) VALUES
(12, 'Maintenance Contractor', 'Dicki, Erdman and Kris', 'Western Saha... | {"db_id": "assets_maintenance", "tables": [{"name": "third_party_companies", "columns": [{"name": "company_id", "type": "INTEGER"}, {"name": "company_type", "type": "TEXT"}, {"name": "company_name", "type": "TEXT"}, {"name": "other_company_details", "type": "TEXT"}], "rows": [[12, "Maintenance Contractor", "Dicki, Erdm... | 0 | false | |
train_s000_L1_00027 | 1 | clean | table | debate | CREATE TABLE debate (
date TEXT,
venue TEXT,
num_of_audience INTEGER
);
INSERT INTO debate (date, venue, num_of_audience) VALUES
('August 3, 2015', 'Manama , Bahrain', 90),
('January 21, 2017', 'Abu Dhabi , UAE', 159),
('January 12, 2017', 'Dubai , UAE', 313),
('December 17, 2014', 'Doha , Qatar', 134),
('October... | {"db_id": "debate", "tables": [{"name": "debate", "columns": [{"name": "date", "type": "TEXT"}, {"name": "venue", "type": "TEXT"}, {"name": "num_of_audience", "type": "INTEGER"}], "rows": [["August 3, 2015", "Manama , Bahrain", 90], ["January 21, 2017", "Abu Dhabi , UAE", 159], ["January 12, 2017", "Dubai , UAE", 313],... | 0 | false | |
train_s000_L1_00028 | 1 | clean | table | wrestler | CREATE TABLE elimination (
elimination_id INTEGER PRIMARY KEY,
wrestler_id INTEGER,
team TEXT,
eliminated_by TEXT,
time TEXT
);
INSERT INTO elimination (elimination_id, wrestler_id, team, eliminated_by, time) VALUES
(3, 4, 'Team Batista', 'Orton', '10:45'),
(5, 7, 'Team Batista', 'Henry', '14:22'),
(6, 9, 'Te... | {"db_id": "wrestler", "tables": [{"name": "elimination", "columns": [{"name": "elimination_id", "type": "INTEGER"}, {"name": "wrestler_id", "type": "INTEGER"}, {"name": "team", "type": "TEXT"}, {"name": "eliminated_by", "type": "TEXT"}, {"name": "time", "type": "TEXT"}], "rows": [[3, 4, "Team Batista", "Orton", "10:45"... | 0 | false | |
train_s000_L1_00029 | 1 | clean | table | station_weather | CREATE TABLE station (
id INTEGER PRIMARY KEY,
network_name TEXT,
services TEXT,
local_authority TEXT
);
INSERT INTO station (id, network_name, services, local_authority) VALUES
(11, 'Croxley', 'Metropolitan line', 'Three Rivers'),
(8, 'Chesham', 'Metropolitan line', 'Chiltern'),
(2, 'Bushey', 'London Overgroun... | {"db_id": "station_weather", "tables": [{"name": "station", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "network_name", "type": "TEXT"}, {"name": "services", "type": "TEXT"}, {"name": "local_authority", "type": "TEXT"}], "rows": [[11, "Croxley", "Metropolitan line", "Three Rivers"], [8, "Chesham", "Metropol... | 0 | false | |
train_s000_L1_00030 | 1 | clean | table | inn_1 | CREATE TABLE rooms (
room_id TEXT PRIMARY KEY,
beds INTEGER,
bed_type TEXT,
base_price INTEGER,
decor TEXT
);
INSERT INTO rooms (room_id, beds, bed_type, base_price, decor) VALUES
('FNA', 2, 'King', 250, 'traditional'),
('RTE', 2, 'Queen', 175, 'rustic'),
('MWC', 2, 'Double', 125, 'modern'); | {"db_id": "inn_1", "tables": [{"name": "rooms", "columns": [{"name": "room_id", "type": "TEXT"}, {"name": "beds", "type": "INTEGER"}, {"name": "bed_type", "type": "TEXT"}, {"name": "base_price", "type": "INTEGER"}, {"name": "decor", "type": "TEXT"}], "rows": [["FNA", 2, "King", 250, "traditional"], ["RTE", 2, "Queen", ... | 0 | false | |
train_s000_L1_00031 | 1 | clean | table | coffee_shop | CREATE TABLE shop (
address TEXT,
num_of_staff INTEGER,
score INTEGER
);
INSERT INTO shop (address, num_of_staff, score) VALUES
('2345 McGee Street', 425, 40),
('909 Walnut Street', 27, 32),
('1100 Main Street', 23, 30),
('909 Main Street', 28, 30); | {"db_id": "coffee_shop", "tables": [{"name": "shop", "columns": [{"name": "address", "type": "TEXT"}, {"name": "num_of_staff", "type": "INTEGER"}, {"name": "score", "type": "INTEGER"}], "rows": [["2345 McGee Street", 425, 40], ["909 Walnut Street", 27, 32], ["1100 Main Street", 23, 30], ["909 Main Street", 28, 30]], "p... | 0 | false | |
train_s000_L1_00032 | 1 | clean | table | browser_web | CREATE TABLE web_client_accelerator (
id INTEGER PRIMARY KEY,
name TEXT,
client TEXT
);
INSERT INTO web_client_accelerator (id, name, client) VALUES
(13, 'Propel', 'End User, ISP'),
(7, 'Heigh Speed', 'All'),
(16, 'Squid', 'user/ISP'),
(18, 'WinGate', 'All'),
(9, 'Nitro', 'End User, ISP'),
(8, 'Netfury', 'End Use... | {"db_id": "browser_web", "tables": [{"name": "web_client_accelerator", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "client", "type": "TEXT"}], "rows": [[13, "Propel", "End User, ISP"], [7, "Heigh Speed", "All"], [16, "Squid", "user/ISP"], [18, "WinGate", "All"], [9, "Nitro"... | 0 | false | |
train_s000_L1_00033 | 1 | clean | table | chinook_1 | CREATE TABLE album (
album_id INTEGER PRIMARY KEY,
title TEXT,
artist_id INTEGER
);
INSERT INTO album (album_id, title, artist_id) VALUES
(346, 'Mozart: Chamber Music', 274),
(25, 'Da Lama Ao Caos', 18),
(271, 'Revelations', 8),
(310, 'Prokofiev: Romeo & Juliet', 245),
(185, 'Greatest Hits I', 51),
(198, 'Santana... | {"db_id": "chinook_1", "tables": [{"name": "album", "columns": [{"name": "album_id", "type": "INTEGER"}, {"name": "title", "type": "TEXT"}, {"name": "artist_id", "type": "INTEGER"}], "rows": [[346, "Mozart: Chamber Music", 274], [25, "Da Lama Ao Caos", 18], [271, "Revelations", 8], [310, "Prokofiev: Romeo & Juliet", 24... | 0 | false | |
train_s000_L1_00034 | 1 | clean | table | company_office | CREATE TABLE companies (
id INTEGER PRIMARY KEY,
headquarters TEXT,
industry TEXT,
profits_billion REAL
);
INSERT INTO companies (id, headquarters, industry, profits_billion) VALUES
(8, 'USA', 'Conglomerate', 13.0),
(5, 'Netherlands', 'Oil and gas', 20.1),
(17, 'China', 'Banking', 15.6),
(3, 'USA', 'Conglomerat... | {"db_id": "company_office", "tables": [{"name": "companies", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "headquarters", "type": "TEXT"}, {"name": "industry", "type": "TEXT"}, {"name": "profits_billion", "type": "REAL"}], "rows": [[8, "USA", "Conglomerate", 13.0], [5, "Netherlands", "Oil and gas", 20.1], [1... | 0 | false | |
train_s000_L1_00035 | 1 | clean | table | university_basketball | CREATE TABLE university (
school_id INTEGER PRIMARY KEY,
school TEXT,
affiliation TEXT,
primary_conference TEXT
);
INSERT INTO university (school_id, school, affiliation, primary_conference) VALUES
(2, 'Lebanon Valley College', 'Private/Methodist', 'MAC Commonwealth Conference ( D-III )'),
(4, 'Rutgers Universi... | {"db_id": "university_basketball", "tables": [{"name": "university", "columns": [{"name": "school_id", "type": "INTEGER"}, {"name": "school", "type": "TEXT"}, {"name": "affiliation", "type": "TEXT"}, {"name": "primary_conference", "type": "TEXT"}], "rows": [[2, "Lebanon Valley College", "Private/Methodist", "MAC Common... | 0 | false | |
train_s000_L1_00036 | 1 | clean | table | cre_Doc_Control_Systems | CREATE TABLE documents_mailed (
document_id INTEGER,
mailed_to_address_id INTEGER,
mailing_date TEXT
);
INSERT INTO documents_mailed (document_id, mailed_to_address_id, mailing_date) VALUES
(2, 8, '1977-04-01 17:03:50'),
(20, 2, '2010-11-04 04:00:16'),
(12, 0, '1999-05-22 23:21:07'),
(13, 4, '1991-05-27 14:17:37'... | {"db_id": "cre_Doc_Control_Systems", "tables": [{"name": "documents_mailed", "columns": [{"name": "document_id", "type": "INTEGER"}, {"name": "mailed_to_address_id", "type": "INTEGER"}, {"name": "mailing_date", "type": "TEXT"}], "rows": [[2, 8, "1977-04-01 17:03:50"], [20, 2, "2010-11-04 04:00:16"], [12, 0, "1999-05-22... | 0 | false | |
train_s000_L1_00037 | 1 | clean | table | cre_Theme_park | CREATE TABLE visits (
visit_id INTEGER PRIMARY KEY,
tourist_attraction_id INTEGER,
tourist_id INTEGER,
visit_date TEXT
);
INSERT INTO visits (visit_id, tourist_attraction_id, tourist_id, visit_date) VALUES
(866, 8429, 545, '1971-12-16 06:41:26'),
(776, 8698, 513, '2010-10-04 01:34:12'),
(302, 6476, 377, '1990-0... | {"db_id": "cre_Theme_park", "tables": [{"name": "visits", "columns": [{"name": "visit_id", "type": "INTEGER"}, {"name": "tourist_attraction_id", "type": "INTEGER"}, {"name": "tourist_id", "type": "INTEGER"}, {"name": "visit_date", "type": "TEXT"}], "rows": [[866, 8429, 545, "1971-12-16 06:41:26"], [776, 8698, 513, "201... | 0 | false | |
train_s000_L1_00038 | 1 | clean | table | swimming | CREATE TABLE record (
id INTEGER,
swimmer_id INTEGER,
event_id INTEGER
);
INSERT INTO record (id, swimmer_id, event_id) VALUES
(10, 4, 1),
(12, 3, 5),
(6, 6, 3),
(2, 1, 2),
(11, 4, 2),
(8, 2, 1),
(4, 4, 3),
(1, 1, 1),
(3, 3, 3),
(7, 5, 3),
(5, 1, 3),
(13, 4, 4),
(9, 3, 1); | {"db_id": "swimming", "tables": [{"name": "record", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "swimmer_id", "type": "INTEGER"}, {"name": "event_id", "type": "INTEGER"}], "rows": [[10, 4, 1], [12, 3, 5], [6, 6, 3], [2, 1, 2], [11, 4, 2], [8, 2, 1], [4, 4, 3], [1, 1, 1], [3, 3, 3], [7, 5, 3], [5, 1, 3], [13... | 0 | false | |
train_s000_L1_00039 | 1 | clean | table | body_builder | CREATE TABLE body_builder (
snatch REAL,
clean_jerk REAL,
total REAL
);
INSERT INTO body_builder (snatch, clean_jerk, total) VALUES
(130.0, 162.5, 292.5),
(142.5, 175.0, 317.5),
(140.0, 175.0, 315.0),
(137.5, 175.0, 312.5),
(137.5, 177.5, 315.0); | {"db_id": "body_builder", "tables": [{"name": "body_builder", "columns": [{"name": "snatch", "type": "REAL"}, {"name": "clean_jerk", "type": "REAL"}, {"name": "total", "type": "REAL"}], "rows": [[130.0, 162.5, 292.5], [142.5, 175.0, 317.5], [140.0, 175.0, 315.0], [137.5, 175.0, 312.5], [137.5, 177.5, 315.0]], "primary_... | 0 | false | |
train_s000_L1_00040 | 1 | clean | table | browser_web | CREATE TABLE web_client_accelerator (
id INTEGER PRIMARY KEY,
name TEXT,
client TEXT
);
INSERT INTO web_client_accelerator (id, name, client) VALUES
(8, 'Netfury', 'End User, ISP'),
(16, 'Squid', 'user/ISP'),
(13, 'Propel', 'End User, ISP'),
(4, 'fasTun', 'All'),
(9, 'Nitro', 'End User, ISP'),
(15, 'RabbIT', 'ISP... | {"db_id": "browser_web", "tables": [{"name": "web_client_accelerator", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "client", "type": "TEXT"}], "rows": [[8, "Netfury", "End User, ISP"], [16, "Squid", "user/ISP"], [13, "Propel", "End User, ISP"], [4, "fasTun", "All"], [9, "Ni... | 0 | false | |
train_s000_L1_00041 | 1 | clean | table | swimming | CREATE TABLE event (
id INTEGER PRIMARY KEY,
name TEXT,
stadium_id INTEGER,
year INTEGER
);
INSERT INTO event (id, name, stadium_id, year) VALUES
(1, 'FINA', 1, 2016),
(4, 'World Junior', 3, 2013),
(2, 'Pacific', 10, 2011),
(6, 'European FINA', 8, 2017),
(5, 'IPC', 4, 2014),
(3, 'World Master', 2, 2012); | {"db_id": "swimming", "tables": [{"name": "event", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "stadium_id", "type": "INTEGER"}, {"name": "year", "type": "INTEGER"}], "rows": [[1, "FINA", 1, 2016], [4, "World Junior", 3, 2013], [2, "Pacific", 10, 2011], [6, "European FINA",... | 0 | false | |
train_s000_L2_00000 | 2 | styled | multi | network_2 | CREATE TABLE person_friend (
friend TEXT,
year INTEGER
);
CREATE TABLE person (
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
);
INSERT INTO person_friend (friend, year) VALUES
('Bob', 10),
('Dan', 12),
('Alice', 6),
('Zach', 5);
INSERT INTO person (age, city, gender, job) VALUES
(25, 'new york city', 'fema... | {"db_id": "network_2", "tables": [{"name": "person_friend", "columns": [{"name": "friend", "type": "TEXT"}, {"name": "year", "type": "INTEGER"}], "rows": [["Bob", 10], ["Dan", 12], ["Alice", 6], ["Zach", 5]], "primary_key": null}, {"name": "person", "columns": [{"name": "age", "type": "INTEGER"}, {"name": "city", "type... | 0 | false | |
train_s000_L2_00001 | 2 | styled | table | railway | CREATE TABLE railway (
railway_id INTEGER PRIMARY KEY,
railway TEXT,
builder TEXT,
built INTEGER
);
INSERT INTO railway (railway_id, railway, builder, built) VALUES
(5, 'GERSt', 'GER Stratford', 1904),
(6, 'GERHt', 'GER Hartford', 1905),
(1, 'SECR', 'SECR Ashford', 1901); | {"db_id": "railway", "tables": [{"name": "railway", "columns": [{"name": "railway_id", "type": "INTEGER"}, {"name": "railway", "type": "TEXT"}, {"name": "builder", "type": "TEXT"}, {"name": "built", "type": "INTEGER"}], "rows": [[5, "GERSt", "GER Stratford", 1904], [6, "GERHt", "GER Hartford", 1905], [1, "SECR", "SECR ... | 0 | false | |
train_s000_L2_00002 | 2 | styled | table | inn_1 | CREATE TABLE rooms (
room_id TEXT PRIMARY KEY,
room_name TEXT,
beds INTEGER,
bed_type TEXT,
base_price INTEGER
);
INSERT INTO rooms (room_id, room_name, beds, bed_type, base_price) VALUES
('AOB', 'Abscond or bolster', 2, 'Queen', 175),
('IBS', 'Interim but salutary', 1, 'King', 150),
('RTE', 'Riddle to exculp... | {"db_id": "inn_1", "tables": [{"name": "rooms", "columns": [{"name": "room_id", "type": "TEXT"}, {"name": "room_name", "type": "TEXT"}, {"name": "beds", "type": "INTEGER"}, {"name": "bed_type", "type": "TEXT"}, {"name": "base_price", "type": "INTEGER"}], "rows": [["AOB", "Abscond or bolster", 2, "Queen", 175], ["IBS", ... | 0 | false | |
train_s000_L2_00003 | 2 | styled | table | activity_1 | CREATE TABLE student (
stu_id INTEGER PRIMARY KEY,
lname TEXT,
fname TEXT,
age INTEGER,
sex TEXT,
advisor INTEGER,
city_code TEXT
);
INSERT INTO student (stu_id, lname, fname, age, sex, advisor, city_code) VALUES
(1003, 'Jones', 'Shiela', 21, 'F', 7792, 'WAS'),
(1019, 'Pang', 'Arthur', 18, 'M', 2192, 'WAS... | {"db_id": "activity_1", "tables": [{"name": "student", "columns": [{"name": "stu_id", "type": "INTEGER"}, {"name": "lname", "type": "TEXT"}, {"name": "fname", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}, {"name": "sex", "type": "TEXT"}, {"name": "advisor", "type": "INTEGER"}, {"name": "city_code", "type": "TEXT... | 0 | false | |
train_s000_L2_00004 | 2 | styled | multi | epinions_1 | CREATE TABLE item (
i_id INTEGER PRIMARY KEY,
title TEXT
);
CREATE TABLE review (
a_id INTEGER PRIMARY KEY,
u_id INTEGER,
rating INTEGER,
rank INTEGER
);
INSERT INTO item (i_id, title) VALUES
(7, 'cup'),
(5, 'comb'),
(3, 'shampoo'),
(4, 'avocado'),
(1, 'orange'),
(0, 'pear'),
(2, 'apple'),
(6, 'blue hoodie'... | {"db_id": "epinions_1", "tables": [{"name": "item", "columns": [{"name": "i_id", "type": "INTEGER"}, {"name": "title", "type": "TEXT"}], "rows": [[7, "cup"], [5, "comb"], [3, "shampoo"], [4, "avocado"], [1, "orange"], [0, "pear"], [2, "apple"], [6, "blue hoodie"]], "primary_key": "i_id"}, {"name": "review", "columns": ... | 0 | false | |
train_s000_L2_00005 | 2 | styled | table | product_catalog | CREATE TABLE catalog_contents_additional_attributes (
catalog_level_number INTEGER,
attribute_id INTEGER,
attribute_value INTEGER
);
INSERT INTO catalog_contents_additional_attributes (catalog_level_number, attribute_id, attribute_value) VALUES
(1, 3, 1),
(8, 4, 0),
(8, 4, 1),
(8, 3, 1),
(1, 4, 0),
(1, 1, 1),
(9,... | {"db_id": "product_catalog", "tables": [{"name": "catalog_contents_additional_attributes", "columns": [{"name": "catalog_level_number", "type": "INTEGER"}, {"name": "attribute_id", "type": "INTEGER"}, {"name": "attribute_value", "type": "INTEGER"}], "rows": [[1, 3, 1], [8, 4, 0], [8, 4, 1], [8, 3, 1], [1, 4, 0], [1, 1,... | 0 | false | |
train_s000_L2_00006 | 2 | styled | table | product_catalog | CREATE TABLE catalogs (
catalog_name TEXT,
date_of_publication TEXT,
date_of_latest_revision TEXT
);
INSERT INTO catalogs (catalog_name, date_of_publication, date_of_latest_revision) VALUES
('Sparkling Water', '2012-11-27 19:29:22', '2017-12-04 06:48:13'),
('Lemonade', '2012-11-27 19:29:22', '2017-12-04 06:48:13'... | {"db_id": "product_catalog", "tables": [{"name": "catalogs", "columns": [{"name": "catalog_name", "type": "TEXT"}, {"name": "date_of_publication", "type": "TEXT"}, {"name": "date_of_latest_revision", "type": "TEXT"}], "rows": [["Sparkling Water", "2012-11-27 19:29:22", "2017-12-04 06:48:13"], ["Lemonade", "2012-11-27 1... | 0 | false | |
train_s000_L2_00007 | 2 | styled | table | music_4 | CREATE TABLE music_festival (
id INTEGER PRIMARY KEY,
volume INTEGER,
result TEXT
);
INSERT INTO music_festival (id, volume, result) VALUES
(2, 2, 'Nominated'),
(3, 3, 'Awarded'),
(9, 9, 'Awarded'),
(6, 6, 'Nominated'),
(5, 5, 'Nominated'),
(7, 7, 'Nominated'),
(1, 1, 'Nominated'),
(8, 8, 'Nominated'),
(4, 4, 'Aw... | {"db_id": "music_4", "tables": [{"name": "music_festival", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "volume", "type": "INTEGER"}, {"name": "result", "type": "TEXT"}], "rows": [[2, 2, "Nominated"], [3, 3, "Awarded"], [9, 9, "Awarded"], [6, 6, "Nominated"], [5, 5, "Nominated"], [7, 7, "Nominated"], [1, 1, ... | 0 | false | |
train_s000_L2_00008 | 2 | styled | table | apartment_rentals | CREATE TABLE guests (
guest_id INTEGER PRIMARY KEY,
gender_code TEXT,
guest_first_name TEXT,
date_of_birth TEXT
);
INSERT INTO guests (guest_id, gender_code, guest_first_name, date_of_birth) VALUES
(6, 'Unknown', 'Josefina', '1978-03-08 04:43:04'),
(9, 'Female', 'Crystal', '1971-01-04 04:22:58'),
(13, 'Female',... | {"db_id": "apartment_rentals", "tables": [{"name": "guests", "columns": [{"name": "guest_id", "type": "INTEGER"}, {"name": "gender_code", "type": "TEXT"}, {"name": "guest_first_name", "type": "TEXT"}, {"name": "date_of_birth", "type": "TEXT"}], "rows": [[6, "Unknown", "Josefina", "1978-03-08 04:43:04"], [9, "Female", "... | 0 | false | |
train_s000_L2_00009 | 2 | styled | multi | gymnast | CREATE TABLE gymnast (
floor_exercise_points REAL,
pommel_horse_points REAL,
vault_points REAL,
total_points REAL
);
CREATE TABLE people (
age INTEGER,
hometown TEXT
);
INSERT INTO gymnast (floor_exercise_points, pommel_horse_points, vault_points, total_points) VALUES
(9.762, 9.325, 9.762, 57.436),
(9.687, ... | {"db_id": "gymnast", "tables": [{"name": "gymnast", "columns": [{"name": "floor_exercise_points", "type": "REAL"}, {"name": "pommel_horse_points", "type": "REAL"}, {"name": "vault_points", "type": "REAL"}, {"name": "total_points", "type": "REAL"}], "rows": [[9.762, 9.325, 9.762, 57.436], [9.687, 9.675, 9.537, 57.424], ... | 0 | false | |
train_s000_L2_00010 | 2 | styled | table | manufacturer | CREATE TABLE manufacturer (
manufacturer_id INTEGER PRIMARY KEY,
name TEXT,
num_of_factories INTEGER,
num_of_shops INTEGER
);
INSERT INTO manufacturer (manufacturer_id, name, num_of_factories, num_of_shops) VALUES
(4, 'Jiaju', 1, 35),
(1, 'Chevrolet House', 36, 8),
(2, 'IKEA', 21, 19),
(7, 'Tomorrow', 12, 4),
(... | {"db_id": "manufacturer", "tables": [{"name": "manufacturer", "columns": [{"name": "manufacturer_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "num_of_factories", "type": "INTEGER"}, {"name": "num_of_shops", "type": "INTEGER"}], "rows": [[4, "Jiaju", 1, 35], [1, "Chevrolet House", 36, 8], [2, "IKE... | 0 | false | |
train_s000_L2_00011 | 2 | styled | table | company_employee | CREATE TABLE company (
company_id INTEGER PRIMARY KEY,
headquarters TEXT,
profits_in_billion REAL,
assets_in_billion REAL
);
INSERT INTO company (company_id, headquarters, profits_in_billion, assets_in_billion) VALUES
(14, 'USA', 11.1, 1873.9),
(18, 'France', 15.9, 213.0),
(16, 'USA', 15.7, 193.4),
(6, 'UK', 16... | {"db_id": "company_employee", "tables": [{"name": "company", "columns": [{"name": "company_id", "type": "INTEGER"}, {"name": "headquarters", "type": "TEXT"}, {"name": "profits_in_billion", "type": "REAL"}, {"name": "assets_in_billion", "type": "REAL"}], "rows": [[14, "USA", 11.1, 1873.9], [18, "France", 15.9, 213.0], [... | 0 | false | |
train_s000_L2_00012 | 2 | styled | table | bike_1 | CREATE TABLE weather (
date TEXT,
mean_humidity INTEGER,
max_sea_level_pressure_inches REAL
);
INSERT INTO weather (date, mean_humidity, max_sea_level_pressure_inches) VALUES
('4/28/2014', 54, 30.25),
('12/27/2013', 64, 30.24),
('4/18/2014', 69, 29.97),
('10/24/2014', 71, 29.98); | {"db_id": "bike_1", "tables": [{"name": "weather", "columns": [{"name": "date", "type": "TEXT"}, {"name": "mean_humidity", "type": "INTEGER"}, {"name": "max_sea_level_pressure_inches", "type": "REAL"}], "rows": [["4/28/2014", 54, 30.25], ["12/27/2013", 64, 30.24], ["4/18/2014", 69, 29.97], ["10/24/2014", 71, 29.98]], "... | 0 | false | |
train_s000_L2_00013 | 2 | styled | table | party_people | CREATE TABLE party (
party_id INTEGER PRIMARY KEY,
minister TEXT,
took_office INTEGER,
left_office INTEGER,
region_id INTEGER,
party_name TEXT
);
INSERT INTO party (party_id, minister, took_office, left_office, region_id, party_name) VALUES
(2, 'Kojo Botsio (MP)', 1958, 1959, 2, 'Progress Party'),
(4, 'Imor... | {"db_id": "party_people", "tables": [{"name": "party", "columns": [{"name": "party_id", "type": "INTEGER"}, {"name": "minister", "type": "TEXT"}, {"name": "took_office", "type": "INTEGER"}, {"name": "left_office", "type": "INTEGER"}, {"name": "region_id", "type": "INTEGER"}, {"name": "party_name", "type": "TEXT"}], "ro... | 0 | false | |
train_s000_L2_00014 | 2 | styled | table | tracking_share_transactions | CREATE TABLE transactions (
transaction_id INTEGER PRIMARY KEY,
investor_id INTEGER,
date_of_transaction TEXT,
amount_of_transaction REAL,
share_count INTEGER
);
INSERT INTO transactions (transaction_id, investor_id, date_of_transaction, amount_of_transaction, share_count) VALUES
(8, 17, '2004-01-18 20:37:50'... | {"db_id": "tracking_share_transactions", "tables": [{"name": "transactions", "columns": [{"name": "transaction_id", "type": "INTEGER"}, {"name": "investor_id", "type": "INTEGER"}, {"name": "date_of_transaction", "type": "TEXT"}, {"name": "amount_of_transaction", "type": "REAL"}, {"name": "share_count", "type": "INTEGER... | 0 | false | |
train_s000_L2_00015 | 2 | styled | table | products_gen_characteristics | CREATE TABLE product_characteristics (
product_id INTEGER,
characteristic_id INTEGER,
product_characteristic_value TEXT
);
INSERT INTO product_characteristics (product_id, characteristic_id, product_characteristic_value) VALUES
(6, 15, 'high'),
(6, 10, 'high'),
(7, 12, 'low'),
(11, 6, 'low'),
(12, 2, 'high'),
(13... | {"db_id": "products_gen_characteristics", "tables": [{"name": "product_characteristics", "columns": [{"name": "product_id", "type": "INTEGER"}, {"name": "characteristic_id", "type": "INTEGER"}, {"name": "product_characteristic_value", "type": "TEXT"}], "rows": [[6, 15, "high"], [6, 10, "high"], [7, 12, "low"], [11, 6, ... | 0 | false | |
train_s000_L2_00016 | 2 | styled | table | loan_1 | CREATE TABLE loan (
loan_id INTEGER PRIMARY KEY,
loan_type TEXT,
cust_id INTEGER
);
INSERT INTO loan (loan_id, loan_type, cust_id) VALUES
(1, 'Mortgages', 1),
(3, 'Business', 3),
(2, 'Auto', 1); | {"db_id": "loan_1", "tables": [{"name": "loan", "columns": [{"name": "loan_id", "type": "INTEGER"}, {"name": "loan_type", "type": "TEXT"}, {"name": "cust_id", "type": "INTEGER"}], "rows": [[1, "Mortgages", 1], [3, "Business", 3], [2, "Auto", 1]], "primary_key": "loan_id"}], "foreign_keys": []} | 0 | false | |
train_s000_L2_00017 | 2 | styled | multi | aircraft | CREATE TABLE pilot (
pilot_id INTEGER PRIMARY KEY,
name TEXT
);
CREATE TABLE aircraft (
aircraft_id INTEGER PRIMARY KEY,
aircraft TEXT,
description TEXT,
max_gross_weight TEXT,
max_disk_loading TEXT
);
INSERT INTO pilot (pilot_id, name) VALUES
(5, 'Ellen Ledner III'),
(1, 'Prof. Zackery Collins'),
(12, 'B... | {"db_id": "aircraft", "tables": [{"name": "pilot", "columns": [{"name": "pilot_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}], "rows": [[5, "Ellen Ledner III"], [1, "Prof. Zackery Collins"], [12, "Baylee Steuber"], [11, "Blaise Muller"]], "primary_key": "pilot_id"}, {"name": "aircraft", "columns": [{"name":... | 0 | false | |
train_s000_L2_00018 | 2 | styled | table | cre_Theme_park | CREATE TABLE tourist_attractions (
attraction_type_code INTEGER,
how_to_get_there TEXT,
name TEXT
);
INSERT INTO tourist_attractions (attraction_type_code, how_to_get_there, name) VALUES
(3, 'shuttle', 'US museum'),
(9, 'walk', 'presidents hall'),
(6, 'walk', 'UK gallery'),
(9, 'walk', 'history gallery'),
(9, 'wa... | {"db_id": "cre_Theme_park", "tables": [{"name": "tourist_attractions", "columns": [{"name": "attraction_type_code", "type": "INTEGER"}, {"name": "how_to_get_there", "type": "TEXT"}, {"name": "name", "type": "TEXT"}], "rows": [[3, "shuttle", "US museum"], [9, "walk", "presidents hall"], [6, "walk", "UK gallery"], [9, "w... | 0 | false | |
train_s000_L2_00019 | 2 | styled | table | customers_and_addresses | CREATE TABLE customers (
customer_id INTEGER PRIMARY KEY,
payment_method TEXT,
customer_name TEXT,
date_became_customer TEXT
);
INSERT INTO customers (customer_id, payment_method, customer_name, date_became_customer) VALUES
(6, 'Cash', 'Maudie Kertzmann', '2018-02-26 11:57:47'),
(13, 'Credit Card', 'Miss Aliyah... | {"db_id": "customers_and_addresses", "tables": [{"name": "customers", "columns": [{"name": "customer_id", "type": "INTEGER"}, {"name": "payment_method", "type": "TEXT"}, {"name": "customer_name", "type": "TEXT"}, {"name": "date_became_customer", "type": "TEXT"}], "rows": [[6, "Cash", "Maudie Kertzmann", "2018-02-26 11:... | 0 | false | |
train_s000_L2_00020 | 2 | styled | table | game_1 | CREATE TABLE plays_games (
stu_id INTEGER,
game_id INTEGER,
hours_played INTEGER
);
INSERT INTO plays_games (stu_id, game_id, hours_played) VALUES
(1008, 3, 50),
(1032, 1, 47),
(1001, 1, 35),
(1032, 2, 10); | {"db_id": "game_1", "tables": [{"name": "plays_games", "columns": [{"name": "stu_id", "type": "INTEGER"}, {"name": "game_id", "type": "INTEGER"}, {"name": "hours_played", "type": "INTEGER"}], "rows": [[1008, 3, 50], [1032, 1, 47], [1001, 1, 35], [1032, 2, 10]], "primary_key": null}], "foreign_keys": []} | 0 | false | |
train_s000_L2_00021 | 2 | styled | multi | ship_1 | CREATE TABLE captain (
ship_id INTEGER,
age INTEGER,
class TEXT,
rank TEXT
);
CREATE TABLE ship (
name TEXT,
class TEXT,
flag TEXT
);
INSERT INTO captain (ship_id, age, class, rank) VALUES
(3, 38, 'Sloop-of-war', 'Commander, junior captain'),
(1, 40, 'Third-rate ship of the line', 'Midshipman'),
(5, 38, '... | {"db_id": "ship_1", "tables": [{"name": "captain", "columns": [{"name": "ship_id", "type": "INTEGER"}, {"name": "age", "type": "INTEGER"}, {"name": "class", "type": "TEXT"}, {"name": "rank", "type": "TEXT"}], "rows": [[3, 38, "Sloop-of-war", "Commander, junior captain"], [1, 40, "Third-rate ship of the line", "Midshipm... | 0 | false | |
train_s000_L2_00022 | 2 | styled | multi | machine_repair | CREATE TABLE repair_assignment (
technician_id INTEGER,
repair_id INTEGER,
machine_id INTEGER
);
CREATE TABLE machine (
machine_id INTEGER PRIMARY KEY,
class TEXT,
machine_series TEXT,
value_points INTEGER,
quality_rank INTEGER
);
INSERT INTO repair_assignment (technician_id, repair_id, machine_id) VALU... | {"db_id": "machine_repair", "tables": [{"name": "repair_assignment", "columns": [{"name": "technician_id", "type": "INTEGER"}, {"name": "repair_id", "type": "INTEGER"}, {"name": "machine_id", "type": "INTEGER"}], "rows": [[1, 4, 7], [1, 5, 6], [7, 2, 4], [5, 5, 2]], "primary_key": null}, {"name": "machine", "columns": ... | 0 | false | |
train_s000_L2_00023 | 2 | styled | table | race_track | CREATE TABLE race (
race_id INTEGER PRIMARY KEY,
name TEXT,
class TEXT,
date TEXT,
track_id INTEGER
);
INSERT INTO race (race_id, name, class, date, track_id) VALUES
(5, 'RumBum.com 250', 'DP/GT', 'May 17', 5),
(1, 'Rolex 24 At Daytona', 'DP/GT', 'January 26 January 27', 1),
(7, 'Sahlen''s Six Hours of the Gl... | {"db_id": "race_track", "tables": [{"name": "race", "columns": [{"name": "race_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "class", "type": "TEXT"}, {"name": "date", "type": "TEXT"}, {"name": "track_id", "type": "INTEGER"}], "rows": [[5, "RumBum.com 250", "DP/GT", "May 17", 5], [1, "Rolex 24 At ... | 0 | false | |
train_s000_L2_00024 | 2 | styled | multi | theme_gallery | CREATE TABLE exhibition_record (
exhibition_id INTEGER,
date TEXT,
attendance INTEGER
);
CREATE TABLE exhibition (
exhibition_id INTEGER PRIMARY KEY,
year INTEGER,
artist_id INTEGER,
ticket_price REAL
);
INSERT INTO exhibition_record (exhibition_id, date, attendance) VALUES
(3, 'February 19', 1233),
(1, '... | {"db_id": "theme_gallery", "tables": [{"name": "exhibition_record", "columns": [{"name": "exhibition_id", "type": "INTEGER"}, {"name": "date", "type": "TEXT"}, {"name": "attendance", "type": "INTEGER"}], "rows": [[3, "February 19", 1233], [1, "December 5", 1098], [3, "December 16", 1134], [2, "December 9", 1239], [4, "... | 0 | false | |
train_s000_L2_00025 | 2 | styled | table | match_season | CREATE TABLE country (
country_id INTEGER PRIMARY KEY,
country_name TEXT,
capital TEXT,
official_native_language TEXT
);
INSERT INTO country (country_id, country_name, capital, official_native_language) VALUES
(3, 'Iraq', 'Baghdad', 'Arabic ( Arabic script ) Kurdish'),
(1, 'Indonesia', 'Jakarta', 'Bahasa Indone... | {"db_id": "match_season", "tables": [{"name": "country", "columns": [{"name": "country_id", "type": "INTEGER"}, {"name": "country_name", "type": "TEXT"}, {"name": "capital", "type": "TEXT"}, {"name": "official_native_language", "type": "TEXT"}], "rows": [[3, "Iraq", "Baghdad", "Arabic ( Arabic script ) Kurdish"], [1, "... | 0 | false | |
train_s000_L2_00026 | 2 | styled | multi | station_weather | CREATE TABLE train (
id INTEGER PRIMARY KEY,
name TEXT,
origin TEXT,
destination TEXT,
interval TEXT
);
CREATE TABLE station (
id INTEGER PRIMARY KEY,
network_name TEXT,
services TEXT,
local_authority TEXT
);
INSERT INTO train (id, name, origin, destination, interval) VALUES
(5, 'Jayanthi Janatha Expr... | {"db_id": "station_weather", "tables": [{"name": "train", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "origin", "type": "TEXT"}, {"name": "destination", "type": "TEXT"}, {"name": "interval", "type": "TEXT"}], "rows": [[5, "Jayanthi Janatha Express", "Kanniyakumari", "Mumbai... | 0 | false | |
train_s000_L2_00027 | 2 | styled | table | game_1 | CREATE TABLE student (
stu_id INTEGER PRIMARY KEY,
lname TEXT,
fname TEXT,
age INTEGER
);
INSERT INTO student (stu_id, lname, fname, age) VALUES
(1001, 'Smith', 'Linda', 18),
(1018, 'Leighton', 'Michael', 20),
(1014, 'Norris', 'Charles', 18),
(1026, 'Pang', 'Eric', 19),
(1002, 'Kim', 'Tracy', 19),
(1016, 'Schwa... | {"db_id": "game_1", "tables": [{"name": "student", "columns": [{"name": "stu_id", "type": "INTEGER"}, {"name": "lname", "type": "TEXT"}, {"name": "fname", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}], "rows": [[1001, "Smith", "Linda", 18], [1018, "Leighton", "Michael", 20], [1014, "Norris", "Charles", 18], [102... | 0 | false | |
train_s000_L2_00028 | 2 | styled | table | aircraft | CREATE TABLE "match" (
round INTEGER PRIMARY KEY,
location TEXT,
country TEXT,
date TEXT,
fastest_qualifying TEXT,
winning_pilot INTEGER,
winning_aircraft INTEGER
);
INSERT INTO "match" (round, location, country, date, fastest_qualifying, winning_pilot, winning_aircraft) VALUES
(7, 'River Danube , Budapes... | {"db_id": "aircraft", "tables": [{"name": "match", "columns": [{"name": "round", "type": "INTEGER"}, {"name": "location", "type": "TEXT"}, {"name": "country", "type": "TEXT"}, {"name": "date", "type": "TEXT"}, {"name": "fastest_qualifying", "type": "TEXT"}, {"name": "winning_pilot", "type": "INTEGER"}, {"name": "winnin... | 0 | false | |
train_s000_L2_00029 | 2 | styled | multi | tracking_software_problems | CREATE TABLE product (
product_id INTEGER PRIMARY KEY,
product_details TEXT
);
CREATE TABLE staff (
staff_id INTEGER PRIMARY KEY,
staff_first_name TEXT,
staff_last_name TEXT
);
INSERT INTO product (product_id, product_details) VALUES
(2, 'q'),
(8, 'u'),
(5, 'q'),
(10, 'd');
INSERT INTO staff (staff_id, staff_... | {"db_id": "tracking_software_problems", "tables": [{"name": "product", "columns": [{"name": "product_id", "type": "INTEGER"}, {"name": "product_details", "type": "TEXT"}], "rows": [[2, "q"], [8, "u"], [5, "q"], [10, "d"]], "primary_key": "product_id"}, {"name": "staff", "columns": [{"name": "staff_id", "type": "INTEGER... | 0 | false | |
train_s000_L2_00030 | 2 | styled | table | university_basketball | CREATE TABLE basketball_match (
team_id INTEGER PRIMARY KEY,
team_name TEXT,
acc_percent TEXT,
acc_home TEXT,
all_games_percent REAL,
all_road TEXT,
all_neutral TEXT
);
INSERT INTO basketball_match (team_id, team_name, acc_percent, acc_home, all_games_percent, all_road, all_neutral) VALUES
(4, 'Virginia T... | {"db_id": "university_basketball", "tables": [{"name": "basketball_match", "columns": [{"name": "team_id", "type": "INTEGER"}, {"name": "team_name", "type": "TEXT"}, {"name": "acc_percent", "type": "TEXT"}, {"name": "acc_home", "type": "TEXT"}, {"name": "all_games_percent", "type": "REAL"}, {"name": "all_road", "type":... | 0 | false | |
train_s000_L2_00031 | 2 | styled | table | perpetrator | CREATE TABLE people (
name TEXT,
height REAL,
weight INTEGER,
home_town TEXT
);
INSERT INTO people (name, height, weight, home_town) VALUES
('Brent Boyd', 6.3, 185, 'Baton Rouge, LA'),
('John Danks', 6.6, 190, 'Beaver Dam, KY'),
('Jim Krivacs', 6.1, 160, 'Indianapolis, IN'),
('Henry Johnson', 6.6, 190, 'Los Ang... | {"db_id": "perpetrator", "tables": [{"name": "people", "columns": [{"name": "name", "type": "TEXT"}, {"name": "height", "type": "REAL"}, {"name": "weight", "type": "INTEGER"}, {"name": "home_town", "type": "TEXT"}], "rows": [["Brent Boyd", 6.3, 185, "Baton Rouge, LA"], ["John Danks", 6.6, 190, "Beaver Dam, KY"], ["Jim ... | 0 | false | |
train_s000_L2_00032 | 2 | styled | multi | station_weather | CREATE TABLE station (
id INTEGER PRIMARY KEY,
services TEXT
);
CREATE TABLE route (
train_id INTEGER,
station_id INTEGER
);
INSERT INTO station (id, services) VALUES
(7, 'Metropolitan line and Chiltern Railways'),
(1, 'Metropolitan line and Chiltern Railways'),
(6, 'c2c'),
(11, 'Metropolitan line');
INSERT INT... | {"db_id": "station_weather", "tables": [{"name": "station", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "services", "type": "TEXT"}], "rows": [[7, "Metropolitan line and Chiltern Railways"], [1, "Metropolitan line and Chiltern Railways"], [6, "c2c"], [11, "Metropolitan line"]], "primary_key": "id"}, {"name"... | 0 | false | |
train_s000_L2_00033 | 2 | styled | table | architecture | CREATE TABLE bridge (
id INTEGER PRIMARY KEY,
name TEXT,
length_meters INTEGER,
length_feet INTEGER
);
INSERT INTO bridge (id, name, length_meters, length_feet) VALUES
(9, 'Stevens Arch', 67, 220),
(2, 'Landscape Arch', 88, 290),
(10, 'Shipton''s Arch', 65, 212),
(5, 'Morning Glory Natural Bridge', 74, 243); | {"db_id": "architecture", "tables": [{"name": "bridge", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "length_meters", "type": "INTEGER"}, {"name": "length_feet", "type": "INTEGER"}], "rows": [[9, "Stevens Arch", 67, 220], [2, "Landscape Arch", 88, 290], [10, "Shipton's Arch"... | 0 | false | |
train_s000_L2_00034 | 2 | styled | multi | news_report | CREATE TABLE journalist (
journalist_id INTEGER PRIMARY KEY,
name TEXT,
nationality TEXT,
age INTEGER,
years_working INTEGER
);
CREATE TABLE news_report (
event_id INTEGER,
work_type TEXT
);
INSERT INTO journalist (journalist_id, name, nationality, age, years_working) VALUES
(4, 'Jackie Waring', 'England'... | {"db_id": "news_report", "tables": [{"name": "journalist", "columns": [{"name": "journalist_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "nationality", "type": "TEXT"}, {"name": "age", "type": "INTEGER"}, {"name": "years_working", "type": "INTEGER"}], "rows": [[4, "Jackie Waring", "England", 43, ... | 0 | false | |
train_s000_L2_00035 | 2 | styled | table | protein_institute | CREATE TABLE building (
building_id INTEGER PRIMARY KEY,
name TEXT,
years_as_tallest TEXT,
height_feet INTEGER,
floors INTEGER
);
INSERT INTO building (building_id, name, years_as_tallest, height_feet, floors) VALUES
(4, 'Park Tower', '1972–1981', 458, 36),
(1, 'Tampa City Hall', '1915–1926', 160, 10),
(6, 'B... | {"db_id": "protein_institute", "tables": [{"name": "building", "columns": [{"name": "building_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "years_as_tallest", "type": "TEXT"}, {"name": "height_feet", "type": "INTEGER"}, {"name": "floors", "type": "INTEGER"}], "rows": [[4, "Park Tower", "1972–1981... | 0 | false | |
train_s000_L2_00036 | 2 | styled | table | university_basketball | CREATE TABLE university (
location TEXT,
enrollment INTEGER,
primary_conference TEXT
);
INSERT INTO university (location, enrollment, primary_conference) VALUES
('Stony Brook, NY', 23997, 'America East Conference ( D-I )'),
('Kingston, RI', 19095, 'Atlantic 10 Conference ( D-I )'),
('New Brunswick, NJ', 56868, 'A... | {"db_id": "university_basketball", "tables": [{"name": "university", "columns": [{"name": "location", "type": "TEXT"}, {"name": "enrollment", "type": "INTEGER"}, {"name": "primary_conference", "type": "TEXT"}], "rows": [["Stony Brook, NY", 23997, "America East Conference ( D-I )"], ["Kingston, RI", 19095, "Atlantic 10 ... | 0 | false | |
train_s000_L2_00037 | 2 | styled | table | match_season | CREATE TABLE country (
country_id INTEGER PRIMARY KEY,
country_name TEXT,
capital TEXT
);
INSERT INTO country (country_id, country_name, capital) VALUES
(6, 'United States', 'Washington'),
(5, 'Isle of Man', 'Douglas'),
(3, 'Iraq', 'Baghdad'),
(2, 'Iran', 'Tehran'),
(1, 'Indonesia', 'Jakarta'),
(4, 'Ireland', 'Du... | {"db_id": "match_season", "tables": [{"name": "country", "columns": [{"name": "country_id", "type": "INTEGER"}, {"name": "country_name", "type": "TEXT"}, {"name": "capital", "type": "TEXT"}], "rows": [[6, "United States", "Washington"], [5, "Isle of Man", "Douglas"], [3, "Iraq", "Baghdad"], [2, "Iran", "Tehran"], [1, "... | 0 | false | |
train_s000_L2_00038 | 2 | styled | table | local_govt_mdm | CREATE TABLE cmi_cross_references (
cmi_cross_ref_id INTEGER PRIMARY KEY,
master_customer_id INTEGER,
source_system_code TEXT
);
INSERT INTO cmi_cross_references (cmi_cross_ref_id, master_customer_id, source_system_code) VALUES
(103, 9, 'Tax'),
(65, 9, 'Benefits'),
(2, 4, 'Rent'),
(41, 5, 'Benefits'),
(75, 5, 'El... | {"db_id": "local_govt_mdm", "tables": [{"name": "cmi_cross_references", "columns": [{"name": "cmi_cross_ref_id", "type": "INTEGER"}, {"name": "master_customer_id", "type": "INTEGER"}, {"name": "source_system_code", "type": "TEXT"}], "rows": [[103, 9, "Tax"], [65, 9, "Benefits"], [2, 4, "Rent"], [41, 5, "Benefits"], [75... | 0 | false | |
train_s000_L2_00039 | 2 | styled | table | news_report | CREATE TABLE event (
event_id INTEGER PRIMARY KEY,
date TEXT,
name TEXT
);
INSERT INTO event (event_id, date, name) VALUES
(1, '13 October 2008', 'Olympia Games Openning'),
(4, '20 June 2018', 'Global Awarding'),
(3, '7 October 2010', 'Public Debating'); | {"db_id": "news_report", "tables": [{"name": "event", "columns": [{"name": "event_id", "type": "INTEGER"}, {"name": "date", "type": "TEXT"}, {"name": "name", "type": "TEXT"}], "rows": [[1, "13 October 2008", "Olympia Games Openning"], [4, "20 June 2018", "Global Awarding"], [3, "7 October 2010", "Public Debating"]], "p... | 0 | false | |
train_s000_L2_00040 | 2 | styled | table | phone_1 | CREATE TABLE chip_model (
model_name TEXT PRIMARY KEY,
launch_year INTEGER,
ram_mi_b INTEGER,
rom_mi_b INTEGER,
slots TEXT,
bluetooth TEXT
);
INSERT INTO chip_model (model_name, launch_year, ram_mi_b, rom_mi_b, slots, bluetooth) VALUES
('X3 Basic', 2003, 32, 32, '1SD', 'No'),
('X5', 2002, 32, 32, '1CFII,1SD... | {"db_id": "phone_1", "tables": [{"name": "chip_model", "columns": [{"name": "model_name", "type": "TEXT"}, {"name": "launch_year", "type": "INTEGER"}, {"name": "ram_mi_b", "type": "INTEGER"}, {"name": "rom_mi_b", "type": "INTEGER"}, {"name": "slots", "type": "TEXT"}, {"name": "bluetooth", "type": "TEXT"}], "rows": [["X... | 0 | false | |
train_s000_L2_00041 | 2 | styled | multi | voter_2 | CREATE TABLE voting_record (
election_cycle TEXT,
president_vote INTEGER,
secretary_vote INTEGER,
treasurer_vote INTEGER,
class_president_vote INTEGER
);
CREATE TABLE student (
sex TEXT,
major INTEGER
);
INSERT INTO voting_record (election_cycle, president_vote, secretary_vote, treasurer_vote, class_presi... | {"db_id": "voter_2", "tables": [{"name": "voting_record", "columns": [{"name": "election_cycle", "type": "TEXT"}, {"name": "president_vote", "type": "INTEGER"}, {"name": "secretary_vote", "type": "INTEGER"}, {"name": "treasurer_vote", "type": "INTEGER"}, {"name": "class_president_vote", "type": "INTEGER"}], "rows": [["... | 0 | false | |
train_s000_L2_00042 | 2 | styled | table | climbing | CREATE TABLE climber (
country TEXT,
time TEXT,
points INTEGER
);
INSERT INTO climber (country, time, points) VALUES
('West Germany', '1:18.14.6', 5),
('West Germany', '1:21.35.6', 4),
('West Germany', '1:17.22.0', 6),
('United Kingdom', '1:25.40.6', 2),
('Switzerland', '1:17.16.0', 8),
('West Germany', '1:13.05.... | {"db_id": "climbing", "tables": [{"name": "climber", "columns": [{"name": "country", "type": "TEXT"}, {"name": "time", "type": "TEXT"}, {"name": "points", "type": "INTEGER"}], "rows": [["West Germany", "1:18.14.6", 5], ["West Germany", "1:21.35.6", 4], ["West Germany", "1:17.22.0", 6], ["United Kingdom", "1:25.40.6", 2... | 0 | false | |
train_s000_L2_00043 | 2 | styled | table | architecture | CREATE TABLE architect (
id INTEGER PRIMARY KEY,
nationality TEXT,
gender TEXT
);
INSERT INTO architect (id, nationality, gender) VALUES
(5, 'Swiss, French', 'male'),
(4, 'German, American', 'male'),
(3, 'Iraqi, British', 'female'),
(1, 'American', 'male'); | {"db_id": "architecture", "tables": [{"name": "architect", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "nationality", "type": "TEXT"}, {"name": "gender", "type": "TEXT"}], "rows": [[5, "Swiss, French", "male"], [4, "German, American", "male"], [3, "Iraqi, British", "female"], [1, "American", "male"]], "prim... | 0 | false | |
train_s000_L2_00044 | 2 | styled | table | solvency_ii | CREATE TABLE products (
product_id INTEGER PRIMARY KEY,
product_type_code TEXT,
product_name TEXT,
product_price REAL
);
INSERT INTO products (product_id, product_type_code, product_name, product_price) VALUES
(11, 'Electronics', 'Conference Equipments', 3289.47),
(6, 'Electronics', 'TV Equipments', 932.25),
(3... | {"db_id": "solvency_ii", "tables": [{"name": "products", "columns": [{"name": "product_id", "type": "INTEGER"}, {"name": "product_type_code", "type": "TEXT"}, {"name": "product_name", "type": "TEXT"}, {"name": "product_price", "type": "REAL"}], "rows": [[11, "Electronics", "Conference Equipments", 3289.47], [6, "Electr... | 0 | false | |
train_s000_L2_00045 | 2 | styled | table | customer_complaints | CREATE TABLE customers (
customer_type_code TEXT,
address_line_1 TEXT,
address_line_2 TEXT,
town_city TEXT,
state TEXT,
email_address TEXT
);
INSERT INTO customers (customer_type_code, address_line_1, address_line_2, town_city, state, email_address) VALUES
('Good Credit Rating', '1566 Ramona Overpass Apt. 4... | {"db_id": "customer_complaints", "tables": [{"name": "customers", "columns": [{"name": "customer_type_code", "type": "TEXT"}, {"name": "address_line_1", "type": "TEXT"}, {"name": "address_line_2", "type": "TEXT"}, {"name": "town_city", "type": "TEXT"}, {"name": "state", "type": "TEXT"}, {"name": "email_address", "type"... | 0 | false | |
train_s000_L2_00046 | 2 | styled | table | ship_mission | CREATE TABLE mission (
ship_id INTEGER,
code TEXT,
location TEXT
);
INSERT INTO mission (ship_id, code, location) VALUES
(6, 'VMV-5', 'Uusikaupunki , Finland'),
(8, 'VMV-7', 'Turku , Finland'),
(2, 'VMV-2', 'Germany'),
(3, 'VMV-3', 'Helsinki , Finland'); | {"db_id": "ship_mission", "tables": [{"name": "mission", "columns": [{"name": "ship_id", "type": "INTEGER"}, {"name": "code", "type": "TEXT"}, {"name": "location", "type": "TEXT"}], "rows": [[6, "VMV-5", "Uusikaupunki , Finland"], [8, "VMV-7", "Turku , Finland"], [2, "VMV-2", "Germany"], [3, "VMV-3", "Helsinki , Finlan... | 0 | false | |
train_s000_L2_00047 | 2 | styled | table | school_player | CREATE TABLE player (
player_id INTEGER PRIMARY KEY,
player TEXT,
position TEXT,
school_id INTEGER
);
INSERT INTO player (player_id, player, position, school_id) VALUES
(18, 'Ike Davis', 'First baseman', 4),
(5, 'Buster Posey', 'Catcher', 2),
(13, 'Brett Wallace', 'Third baseman', 5),
(17, 'David Cooper', 'Firs... | {"db_id": "school_player", "tables": [{"name": "player", "columns": [{"name": "player_id", "type": "INTEGER"}, {"name": "player", "type": "TEXT"}, {"name": "position", "type": "TEXT"}, {"name": "school_id", "type": "INTEGER"}], "rows": [[18, "Ike Davis", "First baseman", 4], [5, "Buster Posey", "Catcher", 2], [13, "Bre... | 0 | false | |
train_s000_L2_00048 | 2 | styled | table | soccer_1 | CREATE TABLE team (
team_fifa_api_id INTEGER,
team_long_name TEXT,
team_short_name TEXT
);
INSERT INTO team (team_fifa_api_id, team_long_name, team_short_name) VALUES
(111087, 'Podbeskidzie Bielsko-Biała', 'POD'),
(1862, 'FC Lausanne-Sports', 'LAU'),
(32, 'Bayer 04 Leverkusen', 'LEV'),
(15005, 'SV Zulte-Waregem',... | {"db_id": "soccer_1", "tables": [{"name": "team", "columns": [{"name": "team_fifa_api_id", "type": "INTEGER"}, {"name": "team_long_name", "type": "TEXT"}, {"name": "team_short_name", "type": "TEXT"}], "rows": [[111087, "Podbeskidzie Bielsko-Biała", "POD"], [1862, "FC Lausanne-Sports", "LAU"], [32, "Bayer 04 Leverkusen"... | 0 | false | |
train_s000_L2_00049 | 2 | styled | table | customers_card_transactions | CREATE TABLE customers_cards (
card_id INTEGER PRIMARY KEY,
customer_id INTEGER,
card_type_code TEXT,
card_number INTEGER,
date_valid_from TEXT,
date_valid_to TEXT,
other_card_details INTEGER
);
INSERT INTO customers_cards (card_id, customer_id, card_type_code, card_number, date_valid_from, date_valid_to,... | {"db_id": "customers_card_transactions", "tables": [{"name": "customers_cards", "columns": [{"name": "card_id", "type": "INTEGER"}, {"name": "customer_id", "type": "INTEGER"}, {"name": "card_type_code", "type": "TEXT"}, {"name": "card_number", "type": "INTEGER"}, {"name": "date_valid_from", "type": "TEXT"}, {"name": "d... | 0 | false | |
train_s000_L2_00050 | 2 | styled | table | entertainment_awards | CREATE TABLE nomination (
artwork_id INTEGER,
festival_id INTEGER,
result TEXT
);
INSERT INTO nomination (artwork_id, festival_id, result) VALUES
(4, 1, 'Won'),
(3, 1, 'Nominated'),
(8, 5, 'Nominated'); | {"db_id": "entertainment_awards", "tables": [{"name": "nomination", "columns": [{"name": "artwork_id", "type": "INTEGER"}, {"name": "festival_id", "type": "INTEGER"}, {"name": "result", "type": "TEXT"}], "rows": [[4, 1, "Won"], [3, 1, "Nominated"], [8, 5, "Nominated"]], "primary_key": null}], "foreign_keys": []} | 0 | false | |
train_s000_L2_00051 | 2 | styled | table | pilot_record | CREATE TABLE pilot_record (
pilot_id INTEGER,
aircraft_id INTEGER,
date TEXT
);
INSERT INTO pilot_record (pilot_id, aircraft_id, date) VALUES
(2, 1, '2004/01/04'),
(4, 2, '2007/01/04'),
(3, 6, '2006/01/04'),
(1, 5, '2008/01/04'),
(1, 4, '2005/01/04'),
(1, 1, '2003/01/04'); | {"db_id": "pilot_record", "tables": [{"name": "pilot_record", "columns": [{"name": "pilot_id", "type": "INTEGER"}, {"name": "aircraft_id", "type": "INTEGER"}, {"name": "date", "type": "TEXT"}], "rows": [[2, 1, "2004/01/04"], [4, 2, "2007/01/04"], [3, 6, "2006/01/04"], [1, 5, "2008/01/04"], [1, 4, "2005/01/04"], [1, 1, ... | 0 | false | |
train_s000_L2_00052 | 2 | styled | table | phone_market | CREATE TABLE phone (
name TEXT,
phone_id INTEGER PRIMARY KEY,
memory_in_g INTEGER,
price INTEGER
);
INSERT INTO phone (name, phone_id, memory_in_g, price) VALUES
('IPhone X', 3, 64, 1000),
('IPhone 6', 5, 128, 480),
('IPhone 6s', 2, 128, 699),
('IPhone 5s', 1, 32, 320),
('IPhone 7', 4, 16, 899); | {"db_id": "phone_market", "tables": [{"name": "phone", "columns": [{"name": "name", "type": "TEXT"}, {"name": "phone_id", "type": "INTEGER"}, {"name": "memory_in_g", "type": "INTEGER"}, {"name": "price", "type": "INTEGER"}], "rows": [["IPhone X", 3, 64, 1000], ["IPhone 6", 5, 128, 480], ["IPhone 6s", 2, 128, 699], ["IP... | 0 | false | |
train_s000_L2_00053 | 2 | styled | table | decoration_competition | CREATE TABLE college (
college_id INTEGER PRIMARY KEY,
name TEXT,
leader_name TEXT,
college_location TEXT
);
INSERT INTO college (college_id, name, leader_name, college_location) VALUES
(4, 'Edmonton School', 'Samir Chahine', 'McGill'),
(5, 'Toronto School', 'Roger Dunbrack', 'Western Ontario'),
(3, 'Calgary Sc... | {"db_id": "decoration_competition", "tables": [{"name": "college", "columns": [{"name": "college_id", "type": "INTEGER"}, {"name": "name", "type": "TEXT"}, {"name": "leader_name", "type": "TEXT"}, {"name": "college_location", "type": "TEXT"}], "rows": [[4, "Edmonton School", "Samir Chahine", "McGill"], [5, "Toronto Sch... | 0 | false | |
train_s000_L2_00054 | 2 | styled | table | entertainment_awards | CREATE TABLE nomination (
artwork_id INTEGER,
festival_id INTEGER,
result TEXT
);
INSERT INTO nomination (artwork_id, festival_id, result) VALUES
(4, 1, 'Won'),
(9, 5, 'Nominated'),
(8, 5, 'Nominated'),
(2, 2, 'Won'),
(1, 2, 'Nominated'),
(3, 1, 'Nominated'); | {"db_id": "entertainment_awards", "tables": [{"name": "nomination", "columns": [{"name": "artwork_id", "type": "INTEGER"}, {"name": "festival_id", "type": "INTEGER"}, {"name": "result", "type": "TEXT"}], "rows": [[4, 1, "Won"], [9, 5, "Nominated"], [8, 5, "Nominated"], [2, 2, "Won"], [1, 2, "Nominated"], [3, 1, "Nomina... | 0 | false | |
train_s000_L2_00055 | 2 | styled | table | hr_1 | CREATE TABLE job_history (
employee_id INTEGER,
end_date TEXT,
department_id INTEGER
);
INSERT INTO job_history (employee_id, end_date, department_id) VALUES
(176, '1998-12-31', 80),
(200, '1998-12-31', 90),
(0, '0000-00-00', 0),
(122, '1999-12-31', 50),
(114, '1999-12-31', 50),
(101, '1997-03-15', 110),
(101, '1... | {"db_id": "hr_1", "tables": [{"name": "job_history", "columns": [{"name": "employee_id", "type": "INTEGER"}, {"name": "end_date", "type": "TEXT"}, {"name": "department_id", "type": "INTEGER"}], "rows": [[176, "1998-12-31", 80], [200, "1998-12-31", 90], [0, "0000-00-00", 0], [122, "1999-12-31", 50], [114, "1999-12-31", ... | 0 | false | |
train_s000_L2_00056 | 2 | styled | table | hospital_1 | CREATE TABLE room (
block_floor INTEGER,
block_code INTEGER,
unavailable INTEGER
);
INSERT INTO room (block_floor, block_code, unavailable) VALUES
(2, 3, 0),
(3, 3, 0),
(1, 3, 0),
(1, 1, 0); | {"db_id": "hospital_1", "tables": [{"name": "room", "columns": [{"name": "block_floor", "type": "INTEGER"}, {"name": "block_code", "type": "INTEGER"}, {"name": "unavailable", "type": "INTEGER"}], "rows": [[2, 3, 0], [3, 3, 0], [1, 3, 0], [1, 1, 0]], "primary_key": null}], "foreign_keys": []} | 0 | false | |
train_s000_L2_00057 | 2 | styled | table | station_weather | CREATE TABLE station (
id INTEGER PRIMARY KEY,
network_name TEXT,
services TEXT,
local_authority TEXT
);
INSERT INTO station (id, network_name, services, local_authority) VALUES
(2, 'Bushey', 'London Overground and London Midland', 'Watford'),
(11, 'Croxley', 'Metropolitan line', 'Three Rivers'),
(7, 'Chalfont ... | {"db_id": "station_weather", "tables": [{"name": "station", "columns": [{"name": "id", "type": "INTEGER"}, {"name": "network_name", "type": "TEXT"}, {"name": "services", "type": "TEXT"}, {"name": "local_authority", "type": "TEXT"}], "rows": [[2, "Bushey", "London Overground and London Midland", "Watford"], [11, "Croxle... | 0 | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.