instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellv... | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-120551') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-90 month') ORDER BY patient.unit... | eicu |
CREATE TABLE fgwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | SELECT COUNT(*) FROM gwyjzb JOIN t_kc22 ON gwyjzb.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE gwyjzb.PERSON_NM = '葛学民' AND t_kc22.STA_DATE BETWEEN '2006-06-26' AND '2007-10-24' AND t_kc22.MED_INV_ITEM_TYPE = '西药费' UNION SELECT COUNT(*) FROM fgwyjzb JOIN t_kc22 ON fgwyjzb.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE fgwyjz... | css |
CREATE TABLE table_train_227 (
"id" int,
"gender" string,
"diabetic" string,
"allergic_to_study_products" bool,
"hba1c" float,
"a1c" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- male 35 _ 70 years old
| SELECT * FROM table_train_227 WHERE gender = 'male' AND age >= 35 AND age <= 70 | criteria2sql |
CREATE TABLE table_name_40 (
week INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest week with the date of november 5, 1995?
| SELECT MAX(week) FROM table_name_40 WHERE date = "november 5, 1995" | sql_create_context |
CREATE TABLE table_14240688_1 (
playoffs VARCHAR,
open_cup VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the playoffs for 2nd round open cup
| SELECT playoffs FROM table_14240688_1 WHERE open_cup = "2nd Round" | sql_create_context |
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId numb... | SELECT * FROM Votes WHERE CreationDate >= '2014-05-01' AND CreationDate < '2014-10-01' AND NOT UserId IS NULL ORDER BY Id | sede |
CREATE TABLE table_name_46 (
constructor VARCHAR,
winning_driver VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the constructor when Jack Brabham was the driver at the Monaco Grand Prix?
| SELECT constructor FROM table_name_46 WHERE winning_driver = "jack brabham" AND race = "monaco grand prix" | sql_create_context |
CREATE TABLE table_22148 (
"English name" text,
"Thai name" text,
"Transcription" text,
"Color" text,
"Sanskrit word" text,
"Planet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which planet has the transcription of wan suk?
| SELECT "Planet" FROM table_22148 WHERE "Transcription" = 'wan suk' | wikisql |
CREATE TABLE table_4359 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average week on November 7, 1976 with an attendance less than 46,735?
| SELECT AVG("Week") FROM table_4359 WHERE "Date" = 'november 7, 1976' AND "Attendance" < '46,735' | wikisql |
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_... | SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'opn aortic valvulopla... | mimic_iii |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "67" AND demographic.days_stay > "34" | mimicsql_data |
CREATE TABLE table_1348246_3 (
mechanical VARCHAR,
regulating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What mechanical has lpm regulation?
| SELECT mechanical FROM table_1348246_3 WHERE regulating = "LPM" | sql_create_context |
CREATE TABLE table_60090 (
"Country" text,
"Region" text,
"FHFreepressreport" text,
"RWB Pressfreedomindex" text,
"Internetlists" text,
"ONIpoliticalfiltering" text,
"ONIsocialfiltering" text,
"ONIsecurityfiltering" text,
"ONItoolsfiltering" text
)
-- Using valid SQLite, answer the... | SELECT "Region" FROM table_60090 WHERE "Country" = 'laos' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.short_title = "Malig neo tongue NEC" | mimicsql_data |
CREATE TABLE table (
weight VARCHAR,
market_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the market name is Xperia U, what is the weight?
| SELECT weight FROM table WHERE market_name = "Xperia U" | sql_create_context |
CREATE TABLE table_name_24 (
points VARCHAR,
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Points has Wins larger than 0?
| SELECT COUNT(points) FROM table_name_24 WHERE wins > 0 | sql_create_context |
CREATE TABLE table_22595 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production cod... | SELECT "Production code" FROM table_22595 WHERE "No. in season" = '6' | wikisql |
CREATE TABLE table_77534 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visiting team at the game when the Canadiens had a rec... | SELECT "Visitor" FROM table_77534 WHERE "Record" = '30–19–9' | wikisql |
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varc... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, fare_basis, flight, flight_fare WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATLANTA' AND fare_basis.economy = 'YES' AND fare.fare_basi... | atis |
CREATE TABLE table_54442 (
"Party" text,
"Results 2004" text,
"CSA 5/14/09" text,
"Viavoice 5/15/09" text,
"Ifop- La Croix 5/15/09" text,
"Ipsos 5/16/09" text,
"OpinionWay 5/18/09" text,
"CSA 5/20/09" text,
"Ipsos 5/25/09" text,
"TNS-Sofres 5/26/09" text,
"OpinionWay 5/28/09"... | SELECT "Ipsos 5/16/09" FROM table_54442 WHERE "TNS-Sofres 5/28/09" = '2.5%' | wikisql |
CREATE TABLE table_name_78 (
name VARCHAR,
city VARCHAR,
years_as_tallest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the building that was the tallest from 1990 1997 in Frankfurt?
| SELECT name FROM table_name_78 WHERE city = "frankfurt" AND years_as_tallest = "1990–1997" | sql_create_context |
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'SALT LAKE CITY' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name =... | atis |
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
sc... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id INNER JOIN program_course ON program_course.course_id = course.course_id WHERE (area.area LIKE '%Synthesis and Characterization%' OR course.description LIKE '%Synthesis and Characterization%' O... | advising |
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | SELECT t_kc22.QTY * t_kc22.UNIVALENT FROM t_kc22 WHERE t_kc22.MED_EXP_DET_ID = '11391558299' | css |
CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE management (
department_ID int,
head_ID int,
tempor... | SELECT born_state, AVG(age) FROM head GROUP BY born_state ORDER BY born_state DESC | nvbench |
CREATE TABLE table_24619 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Final Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people were present at the July 10 game?
| SELECT "Attendance" FROM table_24619 WHERE "Date" = 'July 10' | wikisql |
CREATE TABLE table_7309 (
"Ballarat FL" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total wins does Ballarat FL of East point have when the against is greater tha... | SELECT COUNT("Wins") FROM table_7309 WHERE "Ballarat FL" = 'east point' AND "Against" > '1000' | wikisql |
CREATE TABLE artist (
artist_id number,
artist text,
age number,
famous_title text,
famous_release_date text
)
CREATE TABLE volume (
volume_id number,
volume_issue text,
issue_date text,
weeks_on_top number,
song text,
artist_id number
)
CREATE TABLE music_festival (
id... | SELECT issue_date FROM volume ORDER BY weeks_on_top LIMIT 1 | spider |
CREATE TABLE table_58849 (
"Year" real,
"Manufacturer" text,
"Start" real,
"Finish" real,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS THE FINISH NUMBER WITH A START SMALLER THAN 20 IN 1969?
| SELECT COUNT("Finish") FROM table_58849 WHERE "Start" < '20' AND "Year" = '1969' | wikisql |
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following questions for the... | SELECT Headquarter, COUNT(DISTINCT T1.Name) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code ORDER BY COUNT(DISTINCT T1.Name) DESC | nvbench |
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE requirement (... | SELECT DISTINCT department, description, number FROM course WHERE (department = 'ARABIC' AND number = 600) OR (department = 'ARABIC' AND number = 101) | advising |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodici... | SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-2498')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.cel... | eicu |
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following questions for the... | SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name | nvbench |
CREATE TABLE publication (
Book_ID VARCHAR,
Price INTEGER
)
CREATE TABLE book (
Writer VARCHAR,
Book_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show writers who have published a book with price more than 4000000.
| SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID = T2.Book_ID WHERE T2.Price > 4000000 | sql_create_context |
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admission_location t... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "URGENT" AND diagnoses.long_title = "Retained plastic fragments" | mimicsql_data |
CREATE TABLE table_9297 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank has a Total larger than 30, and a Bronze of 14?
| SELECT AVG("Rank") FROM table_9297 WHERE "Total" > '30' AND "Bronze" = '14' | wikisql |
CREATE TABLE table_69523 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many p... | SELECT "Points for" FROM table_69523 WHERE "Club" = 'bridgend athletic rfc' | wikisql |
CREATE TABLE table_name_36 (
school_club_team VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school did the linebacker who was drafted after round 8 come from?
| SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker" | sql_create_context |
CREATE TABLE table_17299 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How ma... | SELECT COUNT("Record") FROM table_17299 WHERE "Game" = '39' | wikisql |
CREATE TABLE table_14170 (
"Model number" text,
"sSpec number" text,
"Cores" text,
"Frequency" text,
"Turbo" text,
"L2 cache" text,
"L3 cache" text,
"GPU model" text,
"GPU frequency" text,
"Socket" text,
"I/O bus" text,
"Release date" text,
"Release price ( USD )" tex... | SELECT "Turbo" FROM table_14170 WHERE "L2 cache" = '4 × 256 kb' AND "Release date" = 'june 2013' AND "Model number" = 'core i7-4770s' | wikisql |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost numbe... | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | eicu |
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Games, School_ID FROM basketball_match ORDER BY School_ID DESC | nvbench |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtim... | SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t2.diagnosistime) > 1 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOI... | eicu |
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,... | SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.chartt... | mimic_iii |
CREATE TABLE table_12962773_12 (
player VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHat is the number for the player whose height is 2.01?
| SELECT COUNT(player) FROM table_12962773_12 WHERE height = "2.01" | sql_create_context |
CREATE TABLE table_56308 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tournament surface at Aptos?
| SELECT "Surface" FROM table_56308 WHERE "Tournament" = 'aptos' | wikisql |
CREATE TABLE table_43173 (
"Name" text,
"Position" text,
"Number" text,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season did School/Club Team, East have an Acquisition via of tr... | SELECT "Season" FROM table_43173 WHERE "Acquisition via" = 'trade' AND "School/Club Team" = 'east' | wikisql |
CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM, t_kc22.UNIVALENT FROM t_kc22 WHERE t_kc22.MED_CLINIC_ID IN (SELECT gwyjzb.MED_CLINIC_ID FROM gwyjzb WHERE gwyjzb.PERSON_ID = '74583279' AND gwyjzb.MED_SER_ORG_NO = '4072141' UNION SELECT fgwyjzb.MED_CLINIC_ID FROM fgwyjzb WHERE fgwyjzb.PERSON_ID = '74583279' AND fg... | css |
CREATE TABLE table_name_3 (
position VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player from Fort Lauderdale, Florida?
| SELECT position FROM table_name_3 WHERE hometown = "fort lauderdale, florida" | sql_create_context |
CREATE TABLE table_22285 (
"No. overall" real,
"No. in series" real,
"Title" text,
"Director" text,
"Writer" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote 'episode 10'?
| SELECT "Writer" FROM table_22285 WHERE "Title" = 'Episode 10' | wikisql |
CREATE TABLE table_name_65 (
call_sign VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What call sign is licensed in soledad, california?
| SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california" | sql_create_context |
CREATE TABLE table_848 (
"Rnd" real,
"Circuit" text,
"GTO Winning Team" text,
"GTU Winning Team" text,
"TO Winning Team" text,
"TU Winning Team" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what circuit was the GTU winni... | SELECT "Circuit" FROM table_848 WHERE "Rnd" = '5' AND "GTU Winning Team" = '#59 Brumos Porsche - Audi' | wikisql |
CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
J... | SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN person_info_hz_info JOIN person_info ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.... | css |
CREATE TABLE table_33089 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance on the bye week?
| SELECT "Attendance" FROM table_33089 WHERE "Date" = 'bye' | wikisql |
CREATE TABLE faculty (
lname VARCHAR,
rank VARCHAR
)
CREATE TABLE Faculty (
lname VARCHAR,
facID VARCHAR
)
CREATE TABLE activity (
activity_name VARCHAR
)
CREATE TABLE Faculty_participates_in (
facID VARCHAR,
actid VARCHAR
)
-- Using valid SQLite, answer the following questions for the ... | SELECT lname FROM faculty WHERE rank = 'Professor' EXCEPT SELECT DISTINCT T1.lname FROM faculty AS T1 JOIN Faculty_participates_in AS T2 ON T1.facID = T2.facID JOIN activity AS T3 ON T2.actid = T2.actid WHERE T3.activity_name = 'Canoeing' OR T3.activity_name = 'Kayaking' | sql_create_context |
CREATE TABLE table_name_49 (
seasons VARCHAR,
total_seasons VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the season that has fewer than 5 total seasons and is in Ottawa, Ontario?
| SELECT seasons FROM table_name_49 WHERE total_seasons < 5 AND city = "ottawa, ontario" | sql_create_context |
CREATE TABLE table_41567 (
"Year" real,
"January" real,
"February" real,
"March" real,
"April" real,
"June" real,
"July" real,
"August" real,
"September" real,
"October" real,
"November" real,
"December" real,
"Annual Additions(in millions)" real,
"Average Monthly... | SELECT COUNT("November") FROM table_41567 WHERE "February" > '8.53' AND "March" = '20.21' AND "September" < '7.9' | wikisql |
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following questions for the... | SELECT Headquarter, SUM(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY SUM(Manufacturer) DESC | nvbench |
CREATE TABLE table_15887683_5 (
language VARCHAR,
television_service VARCHAR,
n° VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language is Sky Cinema Passion television service n. 308?
| SELECT language FROM table_15887683_5 WHERE television_service = "Sky Cinema Passion" AND n° = "308" | sql_create_context |
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Road | nvbench |
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal... | SELECT JOB_ID, SUM(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY SUM(EMPLOYEE_ID) DESC | nvbench |
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
... | SELECT DISTINCT department, name, number FROM course WHERE (description LIKE '%Cinema and the Francophone World%' OR name LIKE '%Cinema and the Francophone World%') AND credits = 16 | advising |
CREATE TABLE mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
... | SELECT zyjybgb.SHRGH, zyjybgb.SHRXM FROM zyjybgb WHERE zyjybgb.BGDH = '19700369409' UNION SELECT mzjybgb.SHRGH, mzjybgb.SHRXM FROM mzjybgb WHERE mzjybgb.BGDH = '19700369409' | css |
CREATE TABLE table_15568886_14 (
proto_austronesian VARCHAR,
proto_oceanic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the proto-austrronesian for *pine, *papine
| SELECT proto_austronesian FROM table_15568886_14 WHERE proto_oceanic = "*pine, *papine" | sql_create_context |
CREATE TABLE airports (
apid number,
name text,
city text,
country text,
x number,
y number,
elevation number,
iata text,
icao text
)
CREATE TABLE airlines (
alid number,
name text,
iata text,
icao text,
callsign text,
country text,
active text
)
CREATE ... | SELECT country FROM airlines WHERE active = 'Y' GROUP BY country ORDER BY COUNT(*) DESC LIMIT 1 | spider |
CREATE TABLE table_20922 (
"Country" text,
"Region" text,
"Joined OPEC" real,
"Population (July 2012)" real,
"Area (km\u00b2)" real,
"Production ( bbl /day)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the minimum area in square kilo... | SELECT MIN("Area (km\u00b2)") FROM table_20922 WHERE "Production ( bbl /day)" = '3,200,000 (12th)' | wikisql |
CREATE TABLE table_35179 (
"Year" real,
"Title" text,
"Director" text,
"Writer" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What notes did the creature comforts film have?
| SELECT "Notes" FROM table_35179 WHERE "Title" = 'creature comforts' | wikisql |
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE chartevents... | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd... | mimic_iii |
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Accounts (
Account_ID INTEGER,
Statement_ID INTEGER,
Account_Details VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Desc... | SELECT Document_Date, COUNT(Document_Date) FROM Ref_Document_Types AS T1 JOIN Documents AS T2 ON T1.Document_Type_Code = T2.Document_Type_Code ORDER BY Document_Date DESC | nvbench |
CREATE TABLE table_name_54 (
name VARCHAR,
length_meters VARCHAR,
km_from_kingston VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Name, when Length Meters is greater than 66.4, and when Km From Kingston is 138.8?
| SELECT name FROM table_name_54 WHERE length_meters > 66.4 AND km_from_kingston = 138.8 | sql_create_context |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE microlab (
microlabid number,
... | SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'glucose-vitamin c 4-0.006 g po chew' AND patient.uniquepid = '003-7849' AND DATETIME(medication.drugstarttime) <= DATETIM... | eicu |
CREATE TABLE table_25689740_2 (
Ends VARCHAR,
pa VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is shown for ends lost when pa is 44?
| SELECT Ends AS lost FROM table_25689740_2 WHERE pa = 44 | sql_create_context |
CREATE TABLE albums (
id INTEGER,
title VARCHAR(160),
artist_id INTEGER
)
CREATE TABLE genres (
id INTEGER,
name VARCHAR(120)
)
CREATE TABLE employees (
id INTEGER,
last_name VARCHAR(20),
first_name VARCHAR(20),
title VARCHAR(30),
reports_to INTEGER,
birth_date TIMESTAMP,
... | SELECT T1.name, COUNT(*) FROM genres AS T1 JOIN tracks AS T2 ON T2.genre_id = T1.id GROUP BY T1.id ORDER BY COUNT(*) DESC LIMIT 5 | nvbench |
CREATE TABLE table_name_42 (
points INTEGER,
entrant VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Points that Peter Whitehead earned in a Ferrari 125?
| SELECT SUM(points) FROM table_name_42 WHERE entrant = "peter whitehead" AND chassis = "ferrari 125" | sql_create_context |
CREATE TABLE table_name_89 (
us_dance VARCHAR,
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the US dance when the year is more than 1985
| SELECT us_dance FROM table_name_89 WHERE year > 1985 | sql_create_context |
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId number
)
CRE... | WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", TagName, COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ... | sede |
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
JY... | SELECT COUNT(*) FROM person_info JOIN hz_info JOIN mzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE person_info.XM = '袁雅云' AND mzjzjlb.JZKSRQ BETWEEN '2001-04-21' AND '2019-08-21' AND mzjzjlb.YLJGDM = '3211067' | css |
CREATE TABLE school (
School_ID int,
Grade text,
School text,
Location text,
Type text
)
CREATE TABLE school_bus (
School_ID int,
Driver_ID int,
Years_Working int,
If_full_time bool
)
CREATE TABLE driver (
Driver_ID int,
Name text,
Party text,
Home_city text,
Ag... | SELECT Home_city, COUNT(Home_city) FROM driver GROUP BY Home_city ORDER BY Home_city DESC | nvbench |
CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
course_id INTEGER,
date_of_enrolment DATETIME,
date_of_completion DATETIME
)
CREATE TABLE Courses (
course_id INTEGER,
author_id INTEGER,
subject_id INTEGER,
course_name VARCHAR(120),
course_des... | SELECT date_test_taken, COUNT(date_test_taken) FROM Student_Tests_Taken WHERE test_result = "Pass" GROUP BY date_test_taken ORDER BY COUNT(date_test_taken) | nvbench |
CREATE TABLE table_47860 (
"Date" text,
"Time" text,
"Opponent" text,
"Site" text,
"City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the site where the game was held in the city of Delaware?
| SELECT "Site" FROM table_47860 WHERE "City" = 'delaware' | wikisql |
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREATE TABLE section (
course... | SELECT year, COUNT(*) FROM section GROUP BY semester ORDER BY year DESC | nvbench |
CREATE TABLE table_45573 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of To Par, when Player is 'Bob Rosburg'?
| SELECT SUM("To par") FROM table_45573 WHERE "Player" = 'bob rosburg' | wikisql |
CREATE TABLE table_74389 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of episo... | SELECT "Title" FROM table_74389 WHERE "No. in season" = '10' | wikisql |
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId nu... | SELECT Id AS "post_link", Tags FROM Posts WHERE Tags LIKE '<gimp>' AND NOT Title LIKE '%gimp%' | sede |
CREATE TABLE table_62056 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week were there 56,023 people in attendance?
| SELECT COUNT("Week") FROM table_62056 WHERE "Attendance" = '56,023' | wikisql |
CREATE TABLE table_204_609 (
id number,
"year" number,
"car" number,
"start" number,
"qual" number,
"rank" number,
"finish" number,
"laps" number,
"led" number,
"retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the... | SELECT COUNT(*) FROM table_204_609 WHERE "finish" < 10 | squall |
CREATE TABLE table_1805191_36 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were all the candidates in elections in which Steve Chabot was a candidate?
| SELECT candidates FROM table_1805191_36 WHERE incumbent = "Steve Chabot" | sql_create_context |
CREATE TABLE table_name_58 (
bronze INTEGER,
gold VARCHAR,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has?
| SELECT MIN(bronze) FROM table_name_58 WHERE silver = 9 AND total > 13 AND gold > 13 | sql_create_context |
CREATE TABLE table_48309 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Silver has a Rank of 1, and a Total smaller than 11?
| SELECT SUM("Silver") FROM table_48309 WHERE "Rank" = '1' AND "Total" < '11' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "BOTH EYES" | mimicsql_data |
CREATE TABLE table_name_5 (
crowd INTEGER,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest crowd number for the home team Richmond?
| SELECT MAX(crowd) FROM table_name_5 WHERE home_team = "richmond" | sql_create_context |
CREATE TABLE table_203_212 (
id number,
"#" number,
"district" text,
"land area (km2)" number,
"population\n(2010 census)" number,
"density (persons/km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many more people live in dennery than... | SELECT (SELECT "population\n(2010 census)" FROM table_203_212 WHERE "district" = 'dennery') - (SELECT "population\n(2010 census)" FROM table_203_212 WHERE "district" = 'forest reserve') | squall |
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmenti... | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age >= 60) AND STRFTIME('%y', medication.drugstarttime) >= '2101' GROUP BY medication.drugname) AS t1 W... | eicu |
CREATE TABLE table_name_81 (
digital_psip INTEGER,
call_sign VARCHAR,
broadcast_channel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Digital PSIP for channels over 29 with callsign CFTU-DT?
| SELECT MIN(digital_psip) FROM table_name_81 WHERE call_sign = "cftu-dt" AND broadcast_channel > 29 | sql_create_context |
CREATE TABLE table_68894 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent with record of 12-18
| SELECT "Opponent" FROM table_68894 WHERE "Record" = '12-18' | wikisql |
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admi... | SELECT COUNT(*) > 0 FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND NOT COURSEalias0.course_id IN... | advising |
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZDZZBM... | SELECT zyjzjlb.CYBQDM, zyjzjlb.CYBQMC, zyjzjlb.CYCWH FROM zyjzjlb WHERE zyjzjlb.JZLSH = '78308838010' | css |
CREATE TABLE table_name_59 (
points INTEGER,
entrant VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total amount of points that Christy has in the years before 1954?
| SELECT SUM(points) FROM table_name_59 WHERE entrant = "christy" AND year < 1954 | sql_create_context |
CREATE TABLE table_63508 (
"Total fat" text,
"Saturated fat" text,
"Monounsaturated fat" text,
"Polyunsaturated fat" text,
"Smoke point" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the saturated fat with 28g of polyunsaturated fat?
| SELECT "Saturated fat" FROM table_63508 WHERE "Polyunsaturated fat" = '28g' | wikisql |
CREATE TABLE table_23906 (
"School" text,
"Location(s)" text,
"Control" text,
"Type" text,
"Accreditation" text,
"Founded" text,
"Enrollment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the control type which was founded in 1818?
| SELECT "Control" FROM table_23906 WHERE "Founded" = '1818' | wikisql |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.