text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_40 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the crowd size of the match featuring North Melbourne as the away team?
### Query: SELECT MIN(crowd) FROM table_name_40 WHERE away_team... |
### Context: CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE dual_carrier (
main_airline varchar,
... |
### 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,
... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC t... |
### 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 table_name_28 (
team VARCHAR,
recopa_sudamericana_1992 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has a Recopa Sudamericana 1992 of runner-up?
### Query: SELECT team FROM table_name_28 WHERE recopa_sudamericana_1992 ... |
### Context: CREATE TABLE table_19613 (
"Hand" text,
"1 credit" real,
"2 credits" real,
"3 credits" real,
"4 credits" real,
"5 credits" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the hand for 1 credit 200
### Query: SELECT "Hand" FROM ... |
### Context: CREATE TABLE table_name_51 (
pick INTEGER,
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was chuck morris, back, drafted?
### Query: SELECT MIN(pick) FROM table_name_51 WHERE position = "back" AND player = "ch... |
### Context: CREATE TABLE table_23281862_9 (
record VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record where aaron brooks (6) is high assists?
### Query: SELECT record FROM table_23281862_9 WHERE high_assists = "Aaron Br... |
### Context: CREATE TABLE table_10104 (
"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 is the score for the away team... |
### Context: CREATE TABLE table_name_71 (
winner VARCHAR,
week_of VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner in the week listed as 26 June 2 weeks, when the runner-up is Arantxa S nchez Vicario?
### Query: SELECT... |
### Context: CREATE TABLE table_11857 (
"Client" text,
"Windows" text,
"GNU/Linux" text,
"Mac OS X" text,
"Haiku" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which client had no GNU/Linux?
### Query: SELECT "Client" FROM table_11857 WHERE "GNU/L... |
### Context: CREATE TABLE table_name_89 (
grand_rapids__grr_ VARCHAR,
detroit__dtw_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the passenger fare for Grand Rapids, when the passenger fare for Detroit was $378.55?
### Query: SELECT grand_rapids_... |
### Context: CREATE TABLE table_name_4 (
density__hab__km²__ VARCHAR,
population_censo_2007_hab_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the density (hab/km ) with a population censo 2007(hab) of 336.293*?
### Query: SELECT density__hab__km²_... |
### Context: CREATE TABLE table_204_736 (
id number,
"party" text,
"candidate" text,
"votes" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which candidate of the citizens committee has the most votes ?
### Query: SELECT "candidate" FROM table_204_73... |
### Context: CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
C... |
### Context: CREATE TABLE table_4993 (
"Version" text,
"Length" text,
"Album" text,
"Remixed by" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Year that has an Album of Remixes?
### Query: SELECT SUM("Year"... |
### Context: CREATE TABLE table_70621 (
"Team" text,
"Truck(s)" text,
"Driver(s)" text,
"Primary Sponsor(s)" text,
"Owner(s)" text,
"Crew Chief" text,
"Rounds" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most number of rounds ... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments... |
### Context: CREATE TABLE table_56593 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what average grid has laps larger than 52 and contains the driver of andrea de adamich... |
### Context: CREATE TABLE table_name_11 (
debut VARCHAR,
position VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round was the debut of defender Stephen Laybutt?
### Query: SELECT debut FROM table_name_11 WHERE position = "defender" A... |
### Context: CREATE TABLE table_26493 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_203_491 (
id number,
"year" number,
"title" text,
"us hot 100" number,
"us modern rock" number,
"us mainstream rock" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the only single from ... |
### Context: CREATE TABLE table_33952 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Arkansas State's total pick number with an overal lower than 242?... |
### 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 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_... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE transfers (
row_id number,
subject_id nu... |
### Context: 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,
... |
### 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 mzb (
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 table_16306 (
"Village (German)" text,
"Village (Slovenian)" text,
"Number of people 1991" real,
"Percent of Slovenes 1991" text,
"Percent of Slovenes 1951" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the sloven... |
### Context: CREATE TABLE table_12960 (
"Year" real,
"Delegate" text,
"Hometown" text,
"Placement in Miss World" text,
"Other awards" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the latest year with a hometown of san carlos, pangasinan?
#... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
un... |
### Context: CREATE TABLE table_name_93 (
college VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College has a Name of hardy brown?
### Query: SELECT college FROM table_name_93 WHERE name = "hardy brown" |
### Context: CREATE TABLE table_71333 (
"Country" text,
"Currency" text,
"1 Euro =" real,
"1 USD =" real,
"Central bank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1USD= that has the Uruguayan Peso (uyu) and 1 Euro is greater than 25... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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,
r... |
### Context: CREATE TABLE table_name_98 (
score VARCHAR,
country VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Country is 'United States', and when Player is 'Raymond Floyd'?
### Query: SELECT score FROM table_name_9... |
### Context: CREATE TABLE table_12551 (
"Position" real,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### Context: CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE party_events (
Event_ID int,
Event_Nam... |
### Context: CREATE TABLE table_55505 (
"PRR Class" text,
"Builder\u2019s Model" text,
"Build date" text,
"Total produced" real,
"Wheel arrangement" text,
"Service" text,
"Power output" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who buil... |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE department (
dno number,
division text,
dname text,
room text,
building text,
dphone number
)
CREATE TABLE... |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE table_name_88 (
method VARCHAR,
round VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Round of 1, and a Record of 10 2 had what method?
### Query: SELECT method FROM table_name_88 WHERE round = "1" AND record = "... |
### Context: CREATE TABLE table_53568 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score June 22?
### Query: SELECT "Loss" FROM table_53568 WHERE "Date" = 'june 22' |
### Context: CREATE TABLE table_203_639 (
id number,
"year" text,
"number" text,
"name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long was w.b. kingsmill club president ?
### Query: SELECT "year" - "year" FROM table_203_639 WHERE "name" = 'w.b... |
### Context: CREATE TABLE table_1199219_2 (
successor VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many successors were seated in the New York 20th district?
### Query: SELECT COUNT(successor) FROM table_1199219_2 WHERE district = "N... |
### Context: CREATE TABLE table_7336 (
"Tournament" text,
"1986" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"Career SR" text,
"Career Win-Loss" text
)
-... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City t... |
### Context: CREATE TABLE table_name_48 (
height VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How tall is the player from Chicago, IL?
### Query: SELECT height FROM table_name_48 WHERE hometown = "chicago, il" |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
... |
### Context: CREATE TABLE table_32428 (
"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.
-- Who is the home side when the away ... |
### Context: CREATE TABLE table_65162 (
"HR no." text,
"HR name" text,
"CR no." real,
"LMS no." real,
"Built" text,
"Works" text,
"Withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the built date when the CR number is more tha... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### 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 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 jobs (
JOB_ID varchar(... |
### Context: CREATE TABLE table_name_78 (
european_cup VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which European Cup is in the 1990-91 season?
### Query: SELECT european_cup FROM table_name_78 WHERE season = "1990-91" |
### Context: CREATE TABLE table_name_1 (
attendance VARCHAR,
opponent VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Attendance for Opponent Boston Patriots and Week is greater than 14?
### Query: SELECT COUNT(attendance) FROM ... |
### Context: CREATE TABLE customers (
town_city VARCHAR,
customer_type_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city has the least number of customers whose type code is 'Good Credit Rating'?
### Query: SELECT town_city FROM customers WHERE... |
### Context: CREATE TABLE table_name_15 (
income_inequality_1994_2011__latest_available_ VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current income inequality for the country of Seychelles?
### Query: SELECT income_inequality... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_72852 (
"Game" real,
"Date" text,
"Opponent" text,
"Score/Time" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Arena/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### 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 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_67339 (
"Call sign" text,
"Frequency MHz" text,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me what is FCC info for harmony township, ... |
### Context: CREATE TABLE table_name_13 (
match VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the match number for Start Gniezno?
### Query: SELECT match FROM table_name_13 WHERE team = "start gniezno" |
### Context: CREATE TABLE Detention (
detention_id INTEGER,
detention_type_code VARCHAR(10),
teacher_id INTEGER,
datetime_detention_start DATETIME,
datetime_detention_end DATETIME,
detention_summary VARCHAR(255),
other_details VARCHAR(255)
)
CREATE TABLE Teachers (
teacher_id INTEGER,
... |
### Context: CREATE TABLE table_name_83 (
runs INTEGER,
name VARCHAR,
inns VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name of clem hill, and Inns larger than 126 has the lowest runs?
### Query: SELECT MIN(runs) FROM table_name_83 WHERE name = "clem ... |
### Context: CREATE TABLE table_name_44 (
time_retired VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Riccardo Patrese's time/retired?
### Query: SELECT time_retired FROM table_name_44 WHERE driver = "riccardo patrese" |
### Context: CREATE TABLE table_32225 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language is the moviein that is on UMP movies network through Sky serv... |
### Context: CREATE TABLE table_7105 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest top-5 of the tournament with less... |
### Context: CREATE TABLE table_41913 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"20 Questions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Centerfold model on 5-88?
### Query: SELECT "Cente... |
### Context: CREATE TABLE table_name_69 (
location_attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location and attendance when the record was 19-17?
### Query: SELECT location_attendance FROM table_name_69 WHERE recor... |
### Context: CREATE TABLE player (
Player VARCHAR,
Years_Played VARCHAR,
Team VARCHAR
)
CREATE TABLE team (
Team_id VARCHAR,
Name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the players and years played for players from team 'Columbus Cr... |
### Context: CREATE TABLE table_34160 (
"Tournament" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_name_77 (
conceded VARCHAR,
wins VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Conceded has Wins smaller than 3, and Points larger than 11?
### Query: SELECT COUNT(conceded) FROM table_name_77 WH... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_26820 (
"Rank" real,
"Senator" text,
"Date of birth" text,
"Entered Senate" text,
"Left Senate" text,
"State served" text,
"Party" text,
"Time since entry" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit te... |
### 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 PostTypes (
Id number,
Name text
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalD... |
### 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 table_30073089_2 (
date VARCHAR,
season VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for 2011 and position larger than 2.0
### Query: SELECT date FROM table_30073089_2 WHERE season = 2011 AND p... |
### Context: CREATE TABLE table_37387 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the segment c with episode less ... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_16751596_12 (
democrat VARCHAR,
lead_margin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the lead margin was 35, what were the Democrat: Vivian Davis Figures?
### Query: SELECT democrat AS :_vivian_davis_figures FROM t... |
### Context: CREATE TABLE table_203_28 (
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 did they participate in the olympic gam... |
### Context: CREATE TABLE table_name_74 (
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type of station for ESPN International Sports?
### Query: SELECT type FROM table_name_74 WHERE name = "espn international sports" |
### 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_13888 (
"Draw" real,
"Song" text,
"Artist" text,
"Points" real,
"Place" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place of the Song by Artist Rosie Hunter with a Draw of 1 or larger?
### Query: SELEC... |
### Context: CREATE TABLE table_name_47 (
draw INTEGER,
match INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of draws for teams with more than 10 matches?
### Query: SELECT AVG(draw) FROM table_name_47 WHERE match > 10 |
### Context: CREATE TABLE table_11621915_1 (
winner VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the winner with tournament value of kroger senior classic
### Query: SELECT winner FROM table_11621915_1 WHERE tournament = "Kroger... |
### 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... |
### Context: CREATE TABLE table_name_27 (
result VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result on week 1?
### Query: SELECT result FROM table_name_27 WHERE week = 1 |
### Context: CREATE TABLE table_12325 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did Trinidad and Tobago play?
### Query: SELECT "Place" FROM table_12325 WHERE "Country... |
### Context: CREATE TABLE table_55467 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the time/retired when the laps is less than 4?
### Query: SELECT "Time/Retire... |
### Context: CREATE TABLE table_name_67 (
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the laps for 3 grids
### Query: SELECT laps FROM table_name_67 WHERE grid = 3 |
### Context: CREATE TABLE table_17425749_1 (
colorado VARCHAR,
alaska VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the colorado when alaska is connecticut
### Query: SELECT colorado FROM table_17425749_1 WHERE alaska = "Connecticut" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.