instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_name_35 (
branding VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the brand of DXRE?
| SELECT branding FROM table_name_35 WHERE callsign = "dxre" | sql_create_context |
CREATE TABLE table_46113 (
"Model" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text
)
-- Using valid SQLite, answer the ... | SELECT "2005" FROM table_46113 WHERE "2006" = '126,511' | wikisql |
CREATE TABLE table_27094070_4 (
overall_gms VARCHAR,
overall_avg VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games had an average of 12796?
| SELECT COUNT(overall_gms) FROM table_27094070_4 WHERE overall_avg = 12796 | sql_create_context |
CREATE TABLE table_204_630 (
id number,
"no" number,
"date" text,
"race" text,
"track" text,
"winner" text,
"reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won the most ?
| SELECT "winner" FROM table_204_630 GROUP BY "winner" ORDER BY COUNT(*) DESC LIMIT 1 | squall |
CREATE TABLE band (
id number,
firstname text,
lastname text
)
CREATE TABLE vocals (
songid number,
bandmate number,
type text
)
CREATE TABLE albums (
aid number,
title text,
year number,
label text,
type text
)
CREATE TABLE tracklists (
albumid number,
position nu... | SELECT DISTINCT instrument FROM instruments | spider |
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER... | SELECT Sex, AVG(Age) FROM Student GROUP BY Sex | nvbench |
CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_DIRE_NM text,... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM, t_kc22.QTY, t_kc22.UNIVALENT, t_kc22.AMOUNT FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_ID = '51526647' AND t_kc21.IN_HOSP_DATE BETWEEN '2002-12-08' AND '2017-09-12' | css |
CREATE TABLE table_204_691 (
id number,
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was durrant a scorer between 19... | SELECT COUNT(*) FROM table_204_691 WHERE "scorers" = 'durrant' | squall |
CREATE TABLE table_73457 (
"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.
-- What w... | SELECT "Score" FROM table_73457 WHERE "High rebounds" = 'Brook Lopez (8)' | wikisql |
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 jybgb.BGRGH, jybgb.BGRXM FROM jybgb WHERE jybgb.JZLSH = '41739506482' GROUP BY jybgb.BGRGH HAVING COUNT(*) > 22 | css |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,... | SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =... | eicu |
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE cos... | SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT icustays.hadm_id FROM icustays WHERE icustays.icustay_id IN (SELECT inputevents_cv.icustay_id FROM inputevents_cv WHERE inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'ssc 30 pg' AND d_it... | mimic_iii |
CREATE TABLE table_28608 (
"Election number" real,
"Election date" text,
"District" text,
"Province" text,
"Took office" text,
"Left office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In how many district has a politician took office on 1844... | SELECT "District" FROM table_28608 WHERE "Took office" = '1844-10-14' | wikisql |
CREATE TABLE table_name_87 (
location VARCHAR,
began VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the location when began is before 1990 and the country is france?
| SELECT location FROM table_name_87 WHERE began < 1990 AND country = "france" | sql_create_context |
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
YQBH text... | (SELECT * FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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 AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGD... | css |
CREATE TABLE table_20340 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written By" text,
"Originalairdate" text,
"TV Broadcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode in the series is T... | SELECT "No. in series" FROM table_20340 WHERE "TV Broadcast" = 'S03E20' | wikisql |
CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZ... | SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM zzmzjzjlb JOIN jybgb JOIN jyjgzbb ON zzmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND zzmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE zzmzjzjlb.JZZDSM = '慢性牙周炎' AND jyjgzbb.JCZBDM = '261843' UNION SELECT jyjgzbb.CKZFWXX,... | css |
CREATE TABLE table_18638067_1 (
year__ceremony_ VARCHAR,
actor_actress VARCHAR,
category VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Teresa Wright nominated best supporting actress?
| SELECT year__ceremony_ FROM table_18638067_1 WHERE actor_actress = "Teresa Wright" AND category = "Best Supporting Actress" | sql_create_context |
CREATE TABLE table_68573 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When a school has authority of state and a decile greater than 1, what i... | SELECT "Roll" FROM table_68573 WHERE "Authority" = 'state' AND "Decile" > '1' | wikisql |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospita... | SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vte prophylaxis - low molecular weight heparin' AND STRFTIME('%y', treatment.treatmenttime) = '2103') AS t1 ... | eicu |
CREATE TABLE table_2618102_1 (
no_in_season INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least number in season for brad markowitz, william n. fordes & ren balcer
| SELECT MIN(no_in_season) FROM table_2618102_1 WHERE written_by = "Brad Markowitz, William N. Fordes & René Balcer" | sql_create_context |
CREATE TABLE table_27303975_3 (
copyright_information VARCHAR,
catalog_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the catalog number cal01 / 0091037137319?
| SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319" | sql_create_context |
CREATE TABLE table_8876 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score on february 16?
| SELECT "Score" FROM table_8876 WHERE "Date" = 'february 16' | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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 (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2139" AND procedures.long_title = "Other closed [endoscopic] biopsy of biliary duct or sphincter of Oddi" | mimicsql_data |
CREATE TABLE table_61587 (
"Year" real,
"Award" text,
"Category" text,
"Nominated" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the year of the Premios Carlos Gardel 2009 award?
| SELECT "Year" FROM table_61587 WHERE "Award" = 'premios carlos gardel 2009' | wikisql |
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE fare_basis (
fare_basis_code ... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, city AS CITY_0, city AS CITY_1, city AS CITY_2, city AS CITY_3, flight, flight_stop AS FLIGHT_STOP_0, flight_stop AS FLIGHT_STOP_1... | atis |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Pressure ulcer, lower back" AND lab."CATEGORY" = "Blood Gas" | mimicsql_data |
CREATE TABLE table_name_40 (
average VARCHAR,
career VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total average for 1990-1995, and goals less than 90?
| SELECT COUNT(average) FROM table_name_40 WHERE career = "1990-1995" AND goals < 90 | sql_create_context |
CREATE TABLE SportsInfo (
StuID INTEGER,
SportName VARCHAR(32),
HoursPerWeek INTEGER,
GamesPlayed INTEGER,
OnScholarship VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
... | SELECT LName, COUNT(LName) FROM SportsInfo AS T1 JOIN Student AS T2 ON T1.StuID = T2.StuID WHERE T1.OnScholarship = 'Y' GROUP BY LName ORDER BY LName DESC | nvbench |
CREATE TABLE candidate (
candidate_id number,
people_id number,
poll_source text,
date text,
support_rate number,
consider_rate number,
oppose_rate number,
unsure_rate number
)
CREATE TABLE people (
people_id number,
sex text,
name text,
date_of_birth text,
height nu... | SELECT AVG(height), AVG(weight) FROM people WHERE sex = 'M' | spider |
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
MED_DIRE_CD tex... | SELECT COUNT(*) FROM t_kc24 WHERE t_kc24.t_kc21_PERSON_NM = '韦新霁' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2005-11-27' AND '2012-04-21' AND t_kc24.MED_AMOUT <= 10 | css |
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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.short_title = "Await organ transplnt st" | mimicsql_data |
CREATE TABLE table_name_82 (
song_choice VARCHAR,
theme VARCHAR,
week__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the week # is listed as Hollywood, and the Theme is N/A, what song is listed?
| SELECT song_choice FROM table_name_82 WHERE theme = "n/a" AND week__number = "hollywood" | sql_create_context |
CREATE TABLE table_35282 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location for the year under 2010 and the year Hei Zhi Hong won silver?
| SELECT "Location" FROM table_35282 WHERE "Year" < '2010' AND "Silver" = 'hei zhi hong' | wikisql |
CREATE TABLE table_name_70 (
red_list INTEGER,
family VARCHAR,
species_authority VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Red List for the muridae family and species Authority of microtus pinetorum (le conte, 1830)?
| SELECT MAX(red_list) FROM table_name_70 WHERE family = "muridae" AND species_authority = "microtus pinetorum (le conte, 1830)" | sql_create_context |
CREATE TABLE table_train_114 (
"id" int,
"gender" string,
"systolic_blood_pressure_sbp" int,
"hgba1c" float,
"fasting_blood_glucose_fbg" float,
"cortical_stroke" bool,
"diastolic_blood_pressure_dbp" int,
"hypertension" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, a... | SELECT * FROM table_train_114 WHERE gender = 'female' AND age >= 75 | criteria2sql |
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmittime time,
... | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'electrolyte administration - potassium' AND DATETI... | eicu |
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 MAX(demographic.days_stay) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" | mimicsql_data |
CREATE TABLE table_75695 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of golds having a total of 1, bronzes of 0, and from West Germany?
| SELECT COUNT("Gold") FROM table_75695 WHERE "Total" = '1' AND "Bronze" < '1' AND "Nation" = 'west germany' | wikisql |
CREATE TABLE table_46304 (
"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.
-- What w... | SELECT "High rebounds" FROM table_46304 WHERE "Date" = 'february 6' | wikisql |
CREATE TABLE table_55446 (
"Name" text,
"Latitude" real,
"Longitude" real,
"Diameter (km)" real,
"Named after" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latitude for a crater with a diameter of 12.8 km and a longitude of 208?
| SELECT AVG("Latitude") FROM table_55446 WHERE "Diameter (km)" < '12.8' AND "Longitude" < '208' | wikisql |
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_... | SELECT DISTINCT ground_service.transport_type FROM city AS CITY_0, city AS CITY_1, ground_service WHERE CITY_0.city_name = 'OAKLAND' AND CITY_1.city_name = 'SAN FRANCISCO' AND ground_service.city_code = CITY_0.city_code AND ground_service.city_code = CITY_1.city_code | atis |
CREATE TABLE tags (
index number,
id number,
tag text
)
CREATE TABLE torrents (
groupname text,
totalsnatched number,
artist text,
groupyear number,
releasetype text,
groupid number,
id number
)
-- Using valid SQLite, answer the following questions for the tables provided abov... | SELECT groupname, artist FROM torrents | whatcdhiphop |
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE diagnosis (
diagnosisid number... | SELECT (SELECT lab.labresult FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '004-65311' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi... | eicu |
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_DIRE_CD text,
MED_DIRE_NM text,... | SELECT t_kc21.MED_SER_ORG_NO FROM t_kc21 WHERE t_kc21.PERSON_NM = '邹承天' GROUP BY t_kc21.MED_SER_ORG_NO ORDER BY COUNT(*) DESC | css |
CREATE TABLE Customers (
customer_id INTEGER,
payment_method_code VARCHAR(15),
customer_number VARCHAR(20),
customer_name VARCHAR(80),
customer_address VARCHAR(255),
customer_phone VARCHAR(80),
customer_email VARCHAR(80)
)
CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id... | SELECT date_from, COUNT(date_from) FROM Customer_Address_History AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id JOIN Addresses AS T3 ON T1.address_id = T3.address_id ORDER BY COUNT(date_from) | nvbench |
CREATE TABLE table_56821 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a Score in the final of 4 6, 3 6?
| SELECT "Date" FROM table_56821 WHERE "Score in the final" = '4–6, 3–6' | wikisql |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE bdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
K... | SELECT jyjgzbb.JCFF FROM hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH... | css |
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Please return me a histogra... | SELECT friend, age FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.friend WHERE T1.age > (SELECT AVG(age) FROM Person) ORDER BY age | nvbench |
CREATE TABLE table_2850912_8 (
position VARCHAR,
nhl_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many parts does detroit red wings person urban nordin play
| SELECT COUNT(position) FROM table_2850912_8 WHERE nhl_team = "Detroit Red Wings" AND player = "Urban Nordin" | sql_create_context |
CREATE TABLE table_43716 (
"Date" text,
"Venue" text,
"Opponents" text,
"Score" text,
"Comp" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game played on 2004-06-23?
| SELECT "Venue" FROM table_43716 WHERE "Date" = '2004-06-23' | 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 T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Manufacturer | nvbench |
CREATE TABLE Settlements (
Settlement_ID INTEGER,
Claim_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER,
Customer_Policy_ID INTEGER
)
CREATE TABLE Payments (
Payment_ID INTEGER,
Settlement_ID INTEGER,
Payment_Method_Code ... | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) ORDER BY COUNT(Date_Claim_Made) DESC | nvbench |
CREATE TABLE table_46499 (
"Railway" text,
"Builder" text,
"Built" real,
"Wheels" text,
"Location" text,
"ObjectNumber" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Railway has a Location of shildon, and an ObjectNumber of 1975-7022?
| SELECT "Railway" FROM table_46499 WHERE "Location" = 'shildon' AND "ObjectNumber" = '1975-7022' | wikisql |
CREATE TABLE table_name_70 (
second_member VARCHAR,
election VARCHAR,
second_party VARCHAR,
third_party VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the second member for the Second Party Liberal, and the Third Party Conservative, after the ... | SELECT second_member FROM table_name_70 WHERE second_party = "liberal" AND third_party = "conservative" AND election > 1841 | sql_create_context |
CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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,... | SELECT COUNT(*) FROM jybgb WHERE jybgb.YLJGDM = '4874392' AND jybgb.BGRQ BETWEEN '2006-01-26' AND '2013-01-28' | css |
CREATE TABLE table_48534 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Crowd" real,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What away team had a 103-94 score?
| SELECT "Away team" FROM table_48534 WHERE "Score" = '103-94' | wikisql |
CREATE TABLE table_name_68 (
kit_maker VARCHAR,
manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ron Jans is a manager of which kit maker?
| SELECT kit_maker FROM table_name_68 WHERE manager = "ron jans" | sql_create_context |
CREATE TABLE table_1566852_3 (
interview_subject VARCHAR,
centerfold_model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- IN THE ISSUE WHERE NICOLE NARAIN WAS THE CENTERFOLD MODEL, WHO WAS THE INTERVIEW SUBJECT?
| SELECT interview_subject FROM table_1566852_3 WHERE centerfold_model = "Nicole Narain" | sql_create_context |
CREATE TABLE table_204_548 (
id number,
"team" text,
"basic elements" number,
"tumbling" number,
"stunts" number,
"tosses" number,
"pyramids" number,
"deductions" number,
"total score" number,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables ... | SELECT COUNT("team") FROM table_204_548 WHERE "pyramids" > (SELECT "pyramids" FROM table_204_548 WHERE "team" = 'altas perp squad') | squall |
CREATE TABLE table_74078 (
"Salary range" text,
"Indians" text,
"Pakistanis" text,
"Nepalese" text,
"Working force of HK" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the salary range is 4,000-9,000, what is the Indians %?
| SELECT "Indians" FROM table_74078 WHERE "Salary range" = '4,000-9,000' | wikisql |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "62" AND demographic.days_stay > "6" | mimicsql_data |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2121" AND lab.label = "Hyaline Casts" | mimicsql_data |
CREATE TABLE table_23787 (
"Tournament" text,
"Also currently known as" text,
"City(s)" text,
"Country" text,
"Court surface" text,
"Tier IV in" text,
"Years" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tier IV year for the to... | SELECT "Tier IV in" FROM table_23787 WHERE "Tournament" = 'Tampa' | wikisql |
CREATE TABLE table_27225944_3 (
outgoing_manager VARCHAR,
manner_of_departure VARCHAR,
position_in_table VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the outgoing manager for mutual consent and position 16th
| SELECT outgoing_manager FROM table_27225944_3 WHERE manner_of_departure = "Mutual consent" AND position_in_table = "16th" | sql_create_context |
CREATE TABLE diagnoses (
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Panic disorder without agoraphobia" | mimicsql_data |
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
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,
admit_term int,
predicted_gradu... | SELECT DISTINCT course.department, course.name, course.number, semester.semester FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 100 AND 100 + 100 AND semester.semester IN ('SP', 'SU', 'SS') AND semester.semester_id = cou... | advising |
CREATE TABLE table_70396 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chassis used by the entrant Automobiles Gonfaronnaises Sportives scored 0 points?
| SELECT "Chassis" FROM table_70396 WHERE "Points" = '0' AND "Entrant" = 'automobiles gonfaronnaises sportives' | wikisql |
CREATE TABLE Timed_Status_of_Things (
thing_id INTEGER,
Date_and_Date DATETIME,
Status_of_Thing_Code CHAR(15)
)
CREATE TABLE Customer_Events (
Customer_Event_ID INTEGER,
customer_id INTEGER,
date_moved_in DATETIME,
property_id INTEGER,
resident_id INTEGER,
thing_id INTEGER
)
CREATE... | SELECT date_moved_in, COUNT(date_moved_in) FROM Customer_Events GROUP BY date_moved_in | nvbench |
CREATE TABLE Participates_in (
stuid INTEGER,
actid INTEGER
)
CREATE TABLE Activity (
actid INTEGER,
activity_name varchar(25)
)
CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Ra... | SELECT activity_name, COUNT(*) FROM Activity AS T1 JOIN Faculty_Participates_in AS T2 ON T1.actid = T2.actid GROUP BY T1.actid ORDER BY activity_name DESC | nvbench |
CREATE TABLE table_16682 (
"English Name" text,
"Japanese orthography" text,
"Pronouciation" text,
"abbreviation" text,
"Provider(IAI)" text,
"Foundation" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the abbreviation for the college pr... | SELECT "abbreviation" FROM table_16682 WHERE "Pronouciation" = 'Kōkū Daigakkō' | wikisql |
CREATE TABLE table_37900 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the First elected of california 3?
| SELECT "First elected" FROM table_37900 WHERE "District" = 'california 3' | wikisql |
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDispl... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%hyderabad%' ORDER BY Reputation DESC | sede |
CREATE TABLE table_2701851_3 (
title VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the production code is 201a?
| SELECT COUNT(title) FROM table_2701851_3 WHERE production_code = "201a" | sql_create_context |
CREATE TABLE table_name_90 (
shuji_kondo VARCHAR,
mazada VARCHAR,
ryuji_hijikata VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Shuji Kondo for MAZADA of X with Ryuji Hijikata of hijikata (14:24)
| SELECT shuji_kondo FROM table_name_90 WHERE mazada = "x" AND ryuji_hijikata = "hijikata (14:24)" | sql_create_context |
CREATE TABLE table_59772 (
"Year" real,
"Pick" text,
"Player" text,
"Position" text,
"Country" text,
"Previous team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Year is '1994'?
| SELECT "Country" FROM table_59772 WHERE "Year" = '1994' | wikisql |
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM text,
SHRGH ... | SELECT COUNT(*) FROM zyjzjlb WHERE JZKSDM = '700' AND RYDJSJ BETWEEN '2001-04-20' AND '2005-06-26' | css |
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
... | SELECT state, MIN(enr) FROM College GROUP BY state | nvbench |
CREATE TABLE table_name_83 (
pro_stock VARCHAR,
top_fuel VARCHAR,
funny_car VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won Pro Stock the year Tony Schumacher won Top Fuel and Tony Pedregon won Funny Car?
| SELECT pro_stock FROM table_name_83 WHERE top_fuel = "tony schumacher" AND funny_car = "tony pedregon" | sql_create_context |
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ tim... | SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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.BGDH = jyjgzbb.BGDH WHERE hz_info.RYBH = '... | css |
CREATE TABLE table_name_83 (
original_title VARCHAR,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original title of Madame Rosa?
| SELECT original_title FROM table_name_83 WHERE english_title = "madame rosa" | sql_create_context |
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 food_service (
meal_code text,
meal_number int,
compartment text,
meal_description... | 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, date_day, days, flight WHERE (((((flight.arrival_time < flight.departure_time) AND date_day.day_number = 23 AND date_day.month_number = 4 AND date_day.year = 1991 AND days.da... | atis |
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE... | SELECT PostId AS "post_link", COUNT(*) AS Count FROM PostHistory WHERE PostHistoryTypeId IN (10, 11) AND NOT JSON_EXTRACT_SCALAR(Text, '$.Voters4.Id') IS NULL GROUP BY PostId ORDER BY Count DESC, PostId LIMIT 100 | sede |
CREATE TABLE table_name_49 (
college_junior_club_team__league_ VARCHAR,
player VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the School/Junior/Club Group (Association) that has a Round bigger than 6, and a Pl... | SELECT college_junior_club_team__league_ FROM table_name_49 WHERE round > 6 AND position = "winger" AND player = "evgeny afanasiev" | sql_create_context |
CREATE TABLE table_37123 (
"S No" real,
"Opponent" text,
"Venue" text,
"Date" text,
"Match Performance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the number of people in sri lanka
| SELECT AVG("S No") FROM table_37123 WHERE "Opponent" = 'sri lanka' | wikisql |
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
d... | SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855) ORDER BY prescriptions.startdate DESC LIMIT 1 | mimic_iii |
CREATE TABLE table_10637 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team played at Princes Park?
| SELECT "Home team" FROM table_10637 WHERE "Venue" = 'princes park' | wikisql |
CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No... | SELECT Year, MAX(Score) FROM wine GROUP BY Year ORDER BY Year | nvbench |
CREATE TABLE table_name_37 (
total INTEGER,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total for the team with more than 2 golds and more than 0 bronze?
| SELECT SUM(total) FROM table_name_37 WHERE gold > 2 AND bronze > 0 | sql_create_context |
CREATE TABLE table_11677691_8 (
hometown VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is friendship collegiate charter school located
| SELECT hometown FROM table_11677691_8 WHERE school = "Friendship Collegiate Charter school" | sql_create_context |
CREATE TABLE table_1342451_13 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What political party for burton e. sweet?
| SELECT party FROM table_1342451_13 WHERE incumbent = "Burton E. Sweet" | sql_create_context |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime t... | SELECT allergy.drugname FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-28934')) AND DATETIME(allergy.allergytime) >= DATETIME(CURRENT_TIME(), '... | eicu |
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE medication (
medi... | SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-165214')) AND vitalperiodic.systemicmean < 112.... | eicu |
CREATE TABLE table_30356 (
"Late Old English (Anglian)" text,
"Early Middle English" text,
"Late Middle English" text,
"Early Modern English" text,
"Modern English" text,
"Example" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the examp... | SELECT "Example" FROM table_30356 WHERE "Early Modern English" = '( [x] → /f/) /ɔf/' | wikisql |
CREATE TABLE transactions (
transaction_id number,
investor_id number,
transaction_type_code text,
date_of_transaction time,
amount_of_transaction number,
share_count text,
other_details text
)
CREATE TABLE lots (
lot_id number,
investor_id number,
lot_details text
)
CREATE TAB... | SELECT T1.purchase_details FROM purchases AS T1 JOIN transactions AS T2 ON T1.purchase_transaction_id = T2.transaction_id WHERE T2.amount_of_transaction > 10000 | spider |
CREATE TABLE table_19294812_2 (
tie_no VARCHAR,
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tie no have team 1 as borac banja luka?
| SELECT tie_no FROM table_19294812_2 WHERE team_1 = "Borac Banja Luka" | sql_create_context |
CREATE TABLE table_203_865 (
id number,
"place" number,
"athlete" text,
"nation" text,
"best mark" text,
"throw 1" number,
"throw 2" number,
"throw 3" number,
"throw 4" number,
"throw 5" number,
"throw 6" number
)
-- Using valid SQLite, answer the following questions for th... | SELECT COUNT("athlete") FROM table_203_865 WHERE "nation" = 'soviet union' | squall |
CREATE TABLE table_21538523_1 (
shots INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest shots a glazing can handle?
| SELECT MIN(shots) FROM table_21538523_1 | sql_create_context |
CREATE TABLE table_name_31 (
winners VARCHAR,
years_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of winners when 1983 is the years won?
| SELECT COUNT(winners) FROM table_name_31 WHERE years_won = "1983" | sql_create_context |
CREATE TABLE table_name_97 (
score INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Jack Nicklaus's score after round 1?
| SELECT MIN(score) FROM table_name_97 WHERE player = "jack nicklaus" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.