text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE countries (
country_name VARCHAR,
country_id VARCHAR
)
CREATE TABLE locations (
location_id VARCHAR,
country_id VARCHAR
)
CREATE TABLE departments (
department_id VARCHAR,
location_id VARCHAR
)
CREATE TABLE employees (
first_name VARCHAR,
last_name VARCHAR,
... |
### Context: CREATE TABLE files (
f_id number(10),
artist_name varchar2(50),
file_size varchar2(20),
duration varchar2(20),
formats varchar2(20)
)
CREATE TABLE genre (
g_name varchar2(20),
rating varchar2(10),
most_popular_in varchar2(50)
)
CREATE TABLE song (
song_name varchar2(50... |
### 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,
admissi... |
### Context: CREATE TABLE table_name_81 (
round INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has an Opponent of aleksandr pitchkounov?
### Query: SELECT MIN(round) FROM table_name_81 WHERE opponent = "aleksandr pitchkounov" |
### Context: CREATE TABLE table_name_78 (
points INTEGER,
lost INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which average Points has a Lost higher than 20?
### Query: SELECT AVG(points) FROM table_name_78 WHERE lost > 20 |
### Context: CREATE TABLE table_204_672 (
id number,
"year" number,
"title" text,
"label" text,
"uk singles chart" number,
"u.s. billboard hot 100 chart" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the top single on the us billboard ho... |
### Context: 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 ... |
### Context: CREATE TABLE table_62551 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What county placed t2 and scored 68-69-68-72=277?
### Query: SELECT "... |
### Context: CREATE TABLE table_train_11 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"active_infection" bool,
"heart_disease" bool,
"body_weight" float,
"septic_shock" bool,
"serum_aminotransferase_level_alt_ast" int,
"NOUSE" float
)
-- Using valid SQLite, answ... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
... |
### Context: CREATE TABLE table_50661 (
"Fin. Pos" text,
"Car No." text,
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
ha... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
in... |
### Context: CREATE TABLE table_204_622 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times has this competitor placed 5th or bett... |
### Context: CREATE TABLE table_171236_1 (
population VARCHAR,
census_ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the population for census ranking 782 of 5,008?
### Query: SELECT population FROM table_171236_1 WHERE census_ranking = "78... |
### Context: CREATE TABLE table_72465 (
"Name" text,
"First operational" text,
"Numeral system" text,
"Computing mechanism" text,
"Programming" text,
"Turing complete" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the computing mechanbei... |
### Context: CREATE TABLE table_204_243 (
id number,
"year" number,
"album" text,
"song" text,
"duration" text,
"artist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the most recent song on which they collaborated ?
### Query: SELECT ... |
### Context: CREATE TABLE table_78376 (
"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.
-- Where did Fitzroy play as the away ... |
### Context: CREATE TABLE table_80191 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA for Ringway Airport in the United Kingdom?
### Query: SELECT "IATA" FROM table_... |
### Context: CREATE TABLE table_name_45 (
home VARCHAR,
visitor VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team was the home team when Colorado was the visitor and the record became 26 15 9?
### Query: SELECT home FROM table_na... |
### Context: CREATE TABLE table_11793221_4 (
complement VARCHAR,
unit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of complement for 4th hanoverian brigade
### Query: SELECT COUNT(complement) FROM table_11793221_4 WHERE unit = "4th Hanover... |
### Context: CREATE TABLE table_37151 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who owns the station with the frequency FM 92.1?
### Query: SELECT "Owner" FROM table... |
### Context: CREATE TABLE manufacturer (
manufacturer_id number,
open_year number,
name text,
num_of_factories number,
num_of_shops number
)
CREATE TABLE furniture_manufacte (
manufacturer_id number,
furniture_id number,
price_in_dollar number
)
CREATE TABLE furniture (
furniture_i... |
### Context: 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
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_10556257_1 (
league_apps VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the league apps for season 1923-24?
### Query: SELECT league_apps FROM table_10556257_1 WHERE season = "1923-24" |
### Context: CREATE TABLE personfriend (
name text,
friend text,
year number
)
CREATE TABLE person (
name text,
age number,
city text,
gender text,
job text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of people whose age is ... |
### Context: CREATE TABLE table_name_62 (
rank INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank has a Player of matt ruth?
### Query: SELECT SUM(rank) FROM table_name_62 WHERE player = "matt ruth" |
### Context: CREATE TABLE Skills_Required_To_Fix (
part_fault_id INTEGER,
skill_id INTEGER
)
CREATE TABLE Maintenance_Contracts (
maintenance_contract_id INTEGER,
maintenance_contract_company_id INTEGER,
contract_start_date DATETIME,
contract_end_date DATETIME,
other_contract_details VARCHA... |
### Context: CREATE TABLE table_name_95 (
fleet_number_s_ VARCHAR,
class VARCHAR,
quantity_preserved VARCHAR,
quantity_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Fleet Number(s), when Quantity Preserved is '0', when Quantity Made is ... |
### 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 fzzmzjzjlb (
HXPLC n... |
### Context: CREATE TABLE events (
event_id number,
address_id number,
channel_id number,
event_type_code text,
finance_id number,
location_id number
)
CREATE TABLE locations (
location_id number,
other_details text
)
CREATE TABLE finances (
finance_id number,
other_details tex... |
### Context: CREATE TABLE table_36799 (
"Player" text,
"Attempts" real,
"Yards" real,
"Average" real,
"Long" real,
"Touchdowns" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Yards with an average of less than 4 and the long ... |
### Context: CREATE TABLE table_name_80 (
city VARCHAR,
host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city is the University of Montana located in?
### Query: SELECT city FROM table_name_80 WHERE host = "university of montana" |
### Context: 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
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### 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,
admissi... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intake... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE jobs (
job_id int,
job_... |
### Context: CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
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 tex... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE... |
### Context: CREATE TABLE table_23274514_7 (
team VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for 19-34
### Query: SELECT team FROM table_23274514_7 WHERE record = "19-34" |
### Context: 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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id... |
### Context: CREATE TABLE table_36894 (
"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.
-- What was the score of the game with a decision of Pee... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text... |
### Context: 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,
JY... |
### Context: CREATE TABLE table_name_66 (
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total round of the tight end position player?
### Query: SELECT COUNT(round) FROM table_name_66 WHERE position = "tight end" |
### Context: 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,
Ad... |
### Context: CREATE TABLE table_36766 (
"Rank" real,
"Airport" text,
"Code (IATA/ICAO)" text,
"Total Cargo (Metric Tonnes)" real,
"% Change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have a Code (IATA/ICAO) of ord/kord?
### Quer... |
### Context: CREATE TABLE table_name_56 (
road_team VARCHAR,
home_team VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the road team of game 6 with Philadelphia as the home team?
### Query: SELECT road_team FROM table_name_56 WHERE ... |
### Context: 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,
ME... |
### Context: CREATE TABLE table_204_879 (
id number,
"year" number,
"host / location" text,
"division i overall" text,
"division i undergraduate" text,
"division ii overall" text,
"division ii community college" text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_77828 (
"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.
-- What Away team got a team score of ... |
### Context: 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 (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops real,
Ranking int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier te... |
### Context: CREATE TABLE table_23473 (
"#" real,
"Title" text,
"Maneater" text,
"Television Premiere" text,
"DVD release" text,
"Writer" text,
"Director" text,
"Producer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total num... |
### Context: CREATE TABLE genre (
g_name varchar2(20),
rating varchar2(10),
most_popular_in varchar2(50)
)
CREATE TABLE artist (
artist_name varchar2(50),
country varchar2(20),
gender varchar2(20),
preferred_genre varchar2(50)
)
CREATE TABLE song (
song_name varchar2(50),
artist_na... |
### Context: CREATE TABLE table_72315 (
"Year" real,
"Population (Region total)" real,
"Population (Mareeba)" real,
"Population (Atherton)" real,
"Population (Herberton)" real,
"Population (Eacham)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tes... |
### Context: CREATE TABLE table_10217 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record occurred on April 3?
### Query: SE... |
### Context: CREATE TABLE table_name_90 (
player VARCHAR,
birth_date VARCHAR,
shirt_no VARCHAR,
nationality VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player that has a Nationality of Turkey, a Height smaller than 183, a ... |
### Context: 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 ... |
### Context: CREATE TABLE table_32159 (
"Region" text,
"Date" real,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the label for US region and catalog of 10008-2
### Query: SELECT "Label" FROM table_32... |
### Context: CREATE TABLE table_23556 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_7665 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Region with a Catalog of alca-487?
### Query: SELECT "Region" FROM table_7665 WHERE... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
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... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
... |
### Context: CREATE TABLE school_details (
school_id number,
nickname text,
colors text,
league text,
class text,
division text
)
CREATE TABLE school_performance (
school_id number,
school_year text,
class_a text,
class_aa text
)
CREATE TABLE school (
school_id number,
... |
### Context: CREATE TABLE table_name_64 (
events INTEGER,
wins VARCHAR,
cuts_made VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest events when wins is more than 0 and cuts made is more than 14?
### Query: SELECT MAX(events) FROM table_... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: 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
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_11431 (
"Average population (x 1000)" real,
"Live births" real,
"Deaths" text,
"Natural change" real,
"Crude birth rate (per 1000)" real,
"Crude death rate (per 1000)" real,
"Natural change (per 1000)" real
)
-- Using valid SQLite, answer the following quest... |
### Context: CREATE TABLE table_21223 (
"Province" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot Pct." real
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_9569 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the fight against Zaza Tkeshelas... |
### Context: CREATE TABLE table_name_15 (
record VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has chicago black hawks as the visitor and march 23 as the date?
### Query: SELECT record FROM table_name_15 WHERE... |
### Context: CREATE TABLE table_name_24 (
nationality VARCHAR,
ship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the nationality of the ship appam?
### Query: SELECT nationality FROM table_name_24 WHERE ship = "appam" |
### Context: CREATE TABLE table_test_21 (
"id" int,
"gender" string,
"systolic_blood_pressure_sbp" int,
"tachycardia" int,
"body_weight" float,
"renal_disease" bool,
"anaemia" bool,
"creatinine_clearance_cl" float,
"estimated_glomerular_filtration_rate_egfr" int,
"cardiogenic_sho... |
### Context: CREATE TABLE table_56714 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team that played against the v... |
### Context: CREATE TABLE table_33958 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date with a resulted score of 130-100?
### Query: SELECT "Dat... |
### Context: CREATE TABLE table_6913 (
"Name" text,
"Novelty" text,
"Status" text,
"Authors" text,
"Unit" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is varricchio's unit?
### Query: SELECT "Unit" FROM table_6913 WHERE ... |
### Context: 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... |
### Context: CREATE TABLE table_41289 (
"Team" text,
"City" text,
"State" text,
"Home venue" text,
"Capacity" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the State with a home venue of suwon sports complex?
### Query: SELECT "State" FROM... |
### Context: CREATE TABLE table_1341843_10 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was featured in the election of charles edward bennett redistricted from 2nd?
### Query: SELECT candidates FROM table_1341843_10 WH... |
### Context: CREATE TABLE table_13050822_2 (
leg VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of leg for ss17
### Query: SELECT COUNT(leg) FROM table_13050822_2 WHERE stage = "SS17" |
### Context: CREATE TABLE table_17188 (
"Country" text,
"Population" real,
"Area (km\u00b2)" real,
"GDP (nominal)" text,
"GDP per capita (nominal)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many countries has a gdp (nominal) of $29.9 billio... |
### Context: CREATE TABLE table_54672 (
"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.
-- How large was the crowd when Carlto... |
### Context: CREATE TABLE table_name_35 (
pick INTEGER,
position VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest pick when the position was OF with the Chicago White Sox?
### Query: SELECT MIN(pick) FROM table_name_35 WH... |
### 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,
reli... |
### Context: CREATE TABLE table_78553 (
"Year" real,
"54 holes" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which year is the highest for runner-up Steve Stricker?
### Query... |
### Context: CREATE TABLE table_79626 (
"Race" text,
"Dist (f)" real,
"Course" text,
"Class" text,
"Prize (\u00a3K)" real,
"Odds" text,
"Runners" real,
"Placing" real,
"Margin" text,
"Time" text,
"Jockey" text,
"Trainer" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_72232 (
"Country" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country had the swimsuit score 9.67?
### Query: SELECT "Country" FROM tab... |
### Context: CREATE TABLE table_203_187 (
id number,
"conference" text,
"bids" number,
"record" text,
"win %" number,
"quarterfinals" number,
"semifinals" number,
"final" number,
"champions" number
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE Ref_Incident_Type (
incident_type_description VARCHAR,
incident_type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the incident type description for the incident type with code 'VIOLENCE'?
### Query: SELECT incident_t... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE gyb (
CLINIC_ID 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,
INSU_TYPE... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE fzzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZT... |
### Context: CREATE TABLE table_62336 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date of Tie no 21?
### Query: SELECT "Date" FROM table_62336 WHERE "Tie no" =... |
### Context: CREATE TABLE table_204_204 (
id number,
"rank" number,
"heat" number,
"country" text,
"cyclists" text,
"result" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams finished in less than 45 ?
### Query:... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.