text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_26996293_3 (
cfl_team VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many CFL teams drafted someone from mount allison college?
### Query: SELECT COUNT(cfl_team) FROM table_26996293_3 WHERE college = "Mou... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_65419 (
"Branding" text,
"Call-Sign" text,
"Frequency" text,
"Power (kw)" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the location when the branding is 1116 DXAS Zamboanga?
### Query: SELEC... |
### Context: CREATE TABLE table_name_33 (
points INTEGER,
extra_points VARCHAR,
field_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had a points average with 0 extra points and 0 field goals?
### Query: SELECT AVG(points) FROM table_name_33 W... |
### Context: CREATE TABLE table_name_79 (
share_of_seats VARCHAR,
european_election__uk_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Share of seats has a European election (UK) of 2009?
### Query: SELECT share_of_seats FROM table_name_79 WHERE euro... |
### Context: CREATE TABLE table_name_7 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date held the match at the City Stadium, Georgetown?
### Query: SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown" |
### Context: CREATE TABLE table_72197 (
"Target" text,
"Target Code (Allied)" text,
"Luftwaffe unit (wing)" text,
"Allied forces" text,
"Effect on Allied Squadrons (according to official figures)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which... |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Apa... |
### Context: CREATE TABLE table_name_24 (
team VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team had 10 Labs and the Driver was Alex Yoong?
### Query: SELECT team FROM table_name_24 WHERE laps = 10 AND driver = "alex... |
### Context: CREATE TABLE table_35500 (
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at Spartan Stadium when San Jose was the Home team?
### Query: SELECT "... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
va... |
### Context: CREATE TABLE table_48673 (
"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 abov... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_64785 (
"Rank" real,
"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 sum of the bronze medals when there were less than 8 total medals, ... |
### Context: CREATE TABLE sampledata15 (
sample_pk number,
state text,
year text,
month text,
day text,
site text,
commod text,
source_id text,
variety text,
origin text,
country text,
disttype text,
commtype text,
claim text,
quantity number,
growst text,... |
### Context: CREATE TABLE table_name_23 (
silver VARCHAR,
gold VARCHAR,
bronze VARCHAR,
total VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is the total less than 15, rank less than 5, bronze is 4 and gold smaller th... |
### Context: CREATE TABLE Accounts (
account_id INTEGER,
customer_id INTEGER,
date_account_opened DATETIME,
account_name VARCHAR(50),
other_account_details VARCHAR(255)
)
CREATE TABLE Orders (
order_id INTEGER,
customer_id INTEGER,
date_order_placed DATETIME,
order_details VARCHAR(2... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE ref_colors (
color_code text,
color_description text
)
CREATE TABLE products (
product_id number,
color_code text,
product_category_code text,
product_name text,
typical_buying_price text,
typical_selling_price text,
product_description text,
other_prod... |
### Context: CREATE TABLE table_name_59 (
semi_finalist__number2 VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Semi-Finalist #2 in 2007?
### Query: SELECT semi_finalist__number2 FROM table_name_59 WHERE year = "2007" |
### Context: CREATE TABLE table_30288 (
"Religion" text,
"Births" real,
"Conversions" text,
"New adherents per year" real,
"Growth rate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of new adherents per year for confucianism
### Q... |
### 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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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_name_48 (
rank VARCHAR,
studio VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of ranks that had vestron as the studio?
### Query: SELECT COUNT(rank) FROM table_name_48 WHERE studio = "vestron" |
### Context: CREATE TABLE table_14650162_1 (
pick__number VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many picks played Tight end?
### Query: SELECT COUNT(pick__number) FROM table_14650162_1 WHERE position = "Tight End" |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
h... |
### Context: CREATE TABLE table_36704 (
"Conference" text,
"Division" text,
"Team" text,
"City" text,
"Home Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Division does the City being jacksonville, florida belong to?
### Query: SELEC... |
### Context: CREATE TABLE table_29565541_2 (
stolen_ends INTEGER,
l VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 5 is the l what is the lowest amount of stolen ends?
### Query: SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5 |
### Context: CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
medicine_id int,
interaction_type text
)
CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine (
id int,
name text,
... |
### Context: CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
year int
)
CREATE TABLE domain_keyword (
did int,
kid int
)
CREATE TABLE conference (
cid int,
homepage varchar,
name varchar
)
... |
### Context: CREATE TABLE table_name_41 (
world_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the 123kg of the Total world record?
### Query: SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total" |
### 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 jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: 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... |
### 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 table_name_38 (
result VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game that was played on february 27, 2000?
### Query: SELECT result FROM table_name_38 WHERE date = "february 27, 2000" |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_41820 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the visitor when the record is 2-1?
###... |
### 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 CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnon... |
### Context: CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
)
CREATE TABLE climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
)
-- Using valid SQLite, answer the followi... |
### Context: CREATE TABLE table_7216 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of points ... |
### Context: CREATE TABLE table_name_36 (
damage__millions_usd__ VARCHAR,
min_press___mbar__ VARCHAR,
deaths VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cost of 972 Min Press caused 52 death?
### Query: SELECT damage__millions_usd__ FROM ... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
... |
### 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_5682 (
"Gauge" text,
"Railway" text,
"Class" text,
"Works no." text,
"Year" text,
"Builder" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which railway has a class of 250 and year 1936?
### Query: SELECT "Railwa... |
### Context: CREATE TABLE table_25800134_2 (
writer_s_ VARCHAR,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are all the writers of episodes in season 24?
### Query: SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24 |
### Context: CREATE TABLE table_26473176_1 (
series VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 'series' were in the 12th 'position?
### Query: SELECT COUNT(series) FROM table_26473176_1 WHERE position = "12th" |
### Context: CREATE TABLE table_26591434_1 (
ratings__kansai_ VARCHAR,
original_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ratings for the original air date may 25, 2010 22.00 - 22.54?
### Query: SELECT ratings__kansai_ FROM table_26... |
### Context: CREATE TABLE table_29135051_3 (
guest_s_ VARCHAR,
ratings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who guest starred on the episode with a 1.44m rating
### Query: SELECT guest_s_ FROM table_29135051_3 WHERE ratings = "1.44m" |
### Context: CREATE TABLE table_11545282_7 (
years_for_jazz VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years did Paul Griffin play for the Jazz?
### Query: SELECT COUNT(years_for_jazz) FROM table_11545282_7 WHERE player = "Paul ... |
### Context: CREATE TABLE table_name_4 (
genre VARCHAR,
type VARCHAR,
developer_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of 3D game did Valve Corporation release?
### Query: SELECT genre FROM table_name_4 WHERE type = "3d" AND develop... |
### Context: CREATE TABLE table_16799784_8 (
year_named INTEGER,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was the feature at a 33.3S latitude named?
### Query: SELECT MAX(year_named) FROM table_16799784_8 WHERE latitude = "33.3S" |
### Context: CREATE TABLE table_204_443 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"game site" text,
"attendance" number,
"bye" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- total number of attendees at the... |
### Context: CREATE TABLE table_name_62 (
type VARCHAR,
position VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the type when the position is ambassador and the location is rabat?
### Query: SELECT type FROM table_name_62 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 prescriptions (
subject_id text... |
### Context: CREATE TABLE table_name_16 (
country VARCHAR,
olympics VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country in the 2008 summer olympics is vadim devyatovskiy from?
### Query: SELECT country FROM table_name_16 WHERE oly... |
### Context: CREATE TABLE table_204_100 (
id number,
"date" text,
"name of ship" text,
"nationality" text,
"tonnage" number,
"fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference in tonnage between the heaviest and the lig... |
### Context: CREATE TABLE table_name_43 (
opponents VARCHAR,
partner VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the opponents for mashona washington november 21, 2009
### Query: SELECT opponents FROM table_name_43 WHERE partner... |
### Context: CREATE TABLE table_name_28 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the away team when the home team is sydney spirit?
### Query: SELECT away_team FROM table_name_28 WHERE home_team = "sydney spirit" |
### Context: CREATE TABLE table_66474 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What power has A as the class, and 93.7 as the frequency?
#... |
### Context: CREATE TABLE table_name_13 (
australian_marquee VARCHAR,
captain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Australian Marquee team is Michael Beauchamp a captain of?
### Query: SELECT australian_marquee FROM table_name_13 WHERE captai... |
### Context: CREATE TABLE table_1480455_1 (
population__2005_ VARCHAR,
population_density___km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of population in the year 2005 where the population density 35.9 (/km 2)?
### Query: S... |
### Context: CREATE TABLE table_204_576 (
id number,
"year" number,
"best" text,
"location" text,
"date" text,
"world rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which location has the best time other than brussels ?
### Query: SELECT ... |
### 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_31057 (
"Episode" real,
"Airdate" text,
"Iron Chef" text,
"Challenger" text,
"Theme Ingredient" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the episode air when guy grossi won?
###... |
### Context: CREATE TABLE table_28262 (
"AB - Angry boar" text,
"B - Bishop" text,
"BA - Running Bear" text,
"BB - Blind Bear" text,
"BC - Beast Cadet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is b - bishop where ab - angry boar is vw - v... |
### Context: CREATE TABLE culture_company (
company_name text,
type text,
incorporated_in text,
group_equity_shareholding number,
book_club_id text,
movie_id text
)
CREATE TABLE movie (
movie_id number,
title text,
year number,
director text,
budget_million number,
gross... |
### Context: CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER
)
CREATE TABLE Customer_Policies (
Policy_ID INTEGER,
Customer_ID INTEGER,
Policy_Type_Code CHAR(15),
Start_Date ... |
### Context: CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
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 t... |
### Context: CREATE TABLE table_1997759_1 (
location VARCHAR,
last_flew VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- at what location is the last flew on 11 june 2000
### Query: SELECT location FROM table_1997759_1 WHERE last_flew = "11 June 2000" |
### Context: CREATE TABLE table_189598_7 (
population_density__per_km²_ VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When buffalo narrows is the name how many measurements of population density per kilometer squared are there?
### Query: SEL... |
### Context: CREATE TABLE table_25375093_1 (
season VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the season for position 4th
### Query: SELECT COUNT(season) FROM table_25375093_1 WHERE position = "4th" |
### 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_name_37 (
score VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game with 1,125 people in attendance?
### Query: SELECT score FROM table_name_37 WHERE attendance = "1,125" |
### Context: CREATE TABLE table_name_69 (
nominee_s_ VARCHAR,
year VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nominees won before year 2005?
### Query: SELECT nominee_s_ FROM table_name_69 WHERE year < 2005 AND result = "won" |
### Context: CREATE TABLE table_name_18 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponent, when Date is 8 April 1999?
### Query: SELECT opponent FROM table_name_18 WHERE date = "8 april 1999" |
### Context: CREATE TABLE table_name_44 (
player VARCHAR,
to_par VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player from Spain that has a +2 to par?
### Query: SELECT player FROM table_name_44 WHERE to_par = "+2" AND count... |
### Context: CREATE TABLE table_65764 (
"Ship name" text,
"Year built" real,
"Length" text,
"Crew" real,
"Guests" real,
"Staterooms" real,
"Comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total for guests with a ship nam... |
### Context: CREATE TABLE table_name_60 (
venue VARCHAR,
runs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During runs 332, what was the venue?
### Query: SELECT venue FROM table_name_60 WHERE runs = "332" |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dos... |
### Context: CREATE TABLE table_name_17 (
zone_2008 VARCHAR,
services VARCHAR,
station VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Zone 2008 has Services of greater anglia, and a Station of cheshunt?
### Query: SELECT zone_2008 FROM table_name_... |
### 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 qtb (
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_40166 (
"School" text,
"Location" text,
"Enrolment" real,
"Founded" real,
"Denomination" text,
"Boys/Girls" text,
"Day/Boarding" text,
"Year Entered Competition" real,
"School Colors" text
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_name_14 (
theme VARCHAR,
year VARCHAR,
issue_price VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What theme is associated with a year before 2006 and Issue Price of $25.22?
### Query: SELECT theme FROM table_name_14 WHER... |
### Context: CREATE TABLE table_79078 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Venue, when Status is 'Test Match', and when Against is '12'?
### Query: SELEC... |
### Context: CREATE TABLE table_328 (
"Player" text,
"No.(s)" text,
"Height in Ft." text,
"Position" text,
"Years for Rockets" text,
"School/Club Team/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player attended Loyola Marymount?... |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_43253 (
"Tournament" 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,
"2012" text
)
-- Using valid SQLite, answer the... |
### 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_35312 (
"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 abov... |
### Context: CREATE TABLE table_name_23 (
rating VARCHAR,
viewers__households_in_millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the rating of the season that had 18.17 million household viewers?
### Query: SELECT rating FROM table_name_23... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
... |
### Context: CREATE TABLE table_22871239_5 (
high_rebounds VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many high rebound catagories are listed for game number 5?
### Query: SELECT COUNT(high_rebounds) FROM table_22871239_5 WHERE _num... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### 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_42284 (
"Tournament" 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,
"2012" text
)
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.