text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_203_754 (
id number,
"no." number,
"player" text,
"position" text,
"career" text,
"date no. retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- harry howell is before who
### Query: SELECT "player" FROM table... |
### Context: CREATE TABLE table_28752 (
"Episode number (Production number)" text,
"Title" text,
"Original air date" text,
"Total viewers on FX" text,
"Total viewers on FX+" text,
"Total viewers" text,
"Rank on channel" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_204_396 (
id number,
"country" text,
"masters" number,
"u.s. open" number,
"the open" number,
"pga" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many countries have produced the same nu... |
### Context: CREATE TABLE table_name_72 (
rank INTEGER,
gold VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the team with 0 gold and less than 0 silvers?
### Query: SELECT SUM(rank) FROM table_name_72 WHERE gold = 0 A... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_41101 (
"Administrative Panel" real,
"Agricultural Panel" real,
"Cultural and Educational Panel" real,
"Industrial and Commercial Panel" real,
"Labour Panel" real,
"National University of Ireland" real,
"University of Dublin" real,
"Nominated by the Taoise... |
### Context: CREATE TABLE table_29598261_1 (
last_school_college VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the school for chris mcnamara?
### Query: SELECT last_school_college FROM table_29598261_1 WHERE name = "Chris McNamara" |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE table_69122 (
"Place" real,
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of G... |
### Context: CREATE TABLE table_66277 (
"Date Released" text,
"Polling institute" text,
"Social Democratic" text,
"Socialist" text,
"Green-Communist" text,
"People's Party" text,
"Left Bloc" text,
"Lead" text
)
-- Using valid SQLite, answer the following questions for the tables provid... |
### Context: CREATE TABLE table_57778 (
"Rocket launch" text,
"Launch Date" text,
"Mission" text,
"Institutional authority" text,
"Launch Site" text,
"Outcomes" text,
"Derivatives" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Derivat... |
### Context: CREATE TABLE table_name_90 (
year_s__of_manufacture VARCHAR,
quantity VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Year(s) of manufacture has a Quantity larger than 39, and a Type of 1 c1 h2t?
### Query: SELECT year_s_... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_24232 (
"Competition" text,
"Round" text,
"Opponent" text,
"Result" text,
"Score" text,
"Home/Away" text,
"Venue" text,
"Attendance" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the... |
### Context: CREATE TABLE table_21422977_2 (
ministries VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ministries number when duration is 4 years, 4 days (1,465 days)?
### Query: SELECT ministries FROM table_21422977_2 WHERE du... |
### 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 table_31414 (
"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_62 (
total INTEGER,
coppa_italia VARCHAR,
champions_league VARCHAR,
serie_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total when the champions league was 0, the coppa italia was less than 0, and th... |
### Context: CREATE TABLE table_57365 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed By" text,
"Written By" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Boyd Hale's Julie gets Validated... |
### Context: CREATE TABLE visits (
visit_id number,
tourist_attraction_id number,
tourist_id number,
visit_date time,
visit_details text
)
CREATE TABLE visitors (
tourist_id number,
tourist_details text
)
CREATE TABLE tourist_attractions (
tourist_attraction_id number,
attraction_t... |
### Context: CREATE TABLE school (
Location VARCHAR,
School_ID VARCHAR
)
CREATE TABLE school_details (
Nickname VARCHAR,
School_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show locations and nicknames of schools.
### Query: SELECT T1.Location... |
### Context: CREATE TABLE table_name_78 (
visitor VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor when the score was 136 120?
### Query: SELECT visitor FROM table_name_78 WHERE score = "136–120" |
### 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 medication (
... |
### Context: CREATE TABLE management (
temporary_acting VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many acting statuses are there?
### Query: SELECT COUNT(DISTINCT temporary_acting) FROM management |
### Context: CREATE TABLE table_name_50 (
year VARCHAR,
player VARCHAR,
earnings__$_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years have a Player of joe durant, and Earnings ($) larger than 396,000?
### Query: SELECT COUNT(year) FROM tabl... |
### Context: CREATE TABLE table_20437 (
"Engine type" text,
"Scenario" text,
"SFC in lb/(lbf\u00b7h)" text,
"SFC in g/(kN\u00b7s)" text,
"Specific impulse (s)" real,
"Effective exhaust velocity (m/s)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_12 (
cover VARCHAR,
published VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)?
### Query: SELECT cover FROM table_name_12 WHERE published = "may 27, ... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_1979203_1 (
callsign VARCHAR,
branding VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many callsigns are for the branding telemundo 47
### Query: SELECT COUNT(callsign) FROM table_1979203_1 WHERE branding = "Telemundo 47" |
### Context: CREATE TABLE fgwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSUR... |
### Context: CREATE TABLE table_204_451 (
id number,
"component" text,
"model 01" text,
"model 01+" text,
"model 02" text,
"model e2" text,
"model 2+ (pre-production)" text,
"model 03 (china copy)" text
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalpe... |
### Context: CREATE TABLE table_name_91 (
overall VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall of the running back player?
### Query: SELECT overall FROM table_name_91 WHERE position = "running back" |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name tex... |
### Context: CREATE TABLE table_77354 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Dauphine" text,
"Ceased to be Dauphine" text,
"Death" text,
"Husband" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a birth of 16 august 140... |
### Context: CREATE TABLE table_name_17 (
date VARCHAR,
set_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the 21:12 Set 2?
### Query: SELECT date FROM table_name_17 WHERE set_2 = "21:12" |
### 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_24481478_1 (
attendance INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How man fans showed up to watch the game versus the raleigh-durham skyhawks?
### Query: SELECT MAX(attendance) FROM table_24481478_1 WHE... |
### Context: CREATE TABLE table_63249 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of attendance values for ties having an opponent of Middlesbrough and r... |
### Context: CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
end_station_id INTEGER,
bike_id INTEGER,
subscription_type TEXT,
zip_code INTEGER
)
CREATE TABLE weather (... |
### Context: CREATE TABLE table_44210 (
"Name of peak" text,
"Height (m)" real,
"Height (ft)" real,
"Prominence (m)" real,
"Prominence (ft)" real,
"Nearest Higher Neighbor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total height ... |
### Context: CREATE TABLE table_73258 (
"Name" text,
"Nationality" text,
"from" real,
"to" text,
"League Apps" real,
"League Goals" real,
"Finals Apps" real,
"Finals Goals" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_24590 (
"Year" text,
"MAAC" text,
"Overall" text,
"Regular Season Results" text,
"MAAC Tournament Result" text,
"NCAA Seed" text,
"NCAA Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the regular... |
### Context: CREATE TABLE table_name_10 (
studio_host VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Year of 2006-07 had what studio host?
### Query: SELECT studio_host FROM table_name_10 WHERE year = "2006-07" |
### Context: CREATE TABLE table_18204 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Status" text,
"Opponent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the opponents in Massachusetts5 district?
### Query:... |
### Context: CREATE TABLE table_25773116_2 (
location VARCHAR,
pole_position VARCHAR,
fastest_lap VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position?
### Query: S... |
### Context: CREATE TABLE table_name_8 (
r_51_o VARCHAR,
d_42_o VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which R 51 O value corresponds to a D 42 O value of r 19?
### Query: SELECT r_51_o FROM table_name_8 WHERE d_42_o = "r 19" |
### Context: CREATE TABLE table_32786 (
"Texas vs." text,
"Overall Record" text,
"at Austin" text,
"at Opponent's Venue" text,
"at Neutral Site" text,
"Last 5 Meetings" text,
"Last 10 Meetings" text,
"Current Streak" text
)
-- Using valid SQLite, answer the following questions for the ... |
### Context: CREATE TABLE table_33509 (
"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 smallest crowd at victo... |
### Context: CREATE TABLE table_name_27 (
rank INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank is the lowest one that has a Name of maribor cathedral?
### Query: SELECT MIN(rank) FROM table_name_27 WHERE name = "maribor cathedral" |
### Context: CREATE TABLE table_name_70 (
place INTEGER,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest rank of a rider whose time was 1:19.02.8?
### Query: SELECT MAX(place) FROM table_name_70 WHERE time = "1:19.02.8" |
### Context: CREATE TABLE table_31628 (
"Species" text,
"Lived when ( mya )" text,
"Lived where" text,
"Fossil record" text,
"Discovery / publication of name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the discovery/publication for red d... |
### Context: 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_locatio... |
### 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_1644857_2 (
stolen_ends VARCHAR,
country VARCHAR,
France VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times is a score for stolen ends recorded for France?
### Query: SELECT COUNT(stolen_ends) FROM table_164485... |
### Context: CREATE TABLE table_11127 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Competition with a Score of 1 0, and a Result with 3 0?
### Query: SELECT "Comp... |
### 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 table_71581 (
"Elector" text,
"Order" text,
"Title" text,
"Elevated" text,
"Elevator" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the Elevated category that has an Order of Cardinal-Bishop?
### Query: ... |
### Context: CREATE TABLE table_name_70 (
tyres VARCHAR,
class VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tires were in Class C in years before 1983?
### Query: SELECT tyres FROM table_name_70 WHERE class = "c" AND year < 1983 |
### Context: CREATE TABLE table_78943 (
"City" text,
"Country" text,
"Airport" text,
"IATA" text,
"ICAO" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Airport in Oslo?
### Query: SELECT "Airport" FROM table_78943 WHERE "City" = 'oslo' |
### Context: CREATE TABLE table_70011 (
"Date" text,
"City" text,
"Country" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Attendance has Mandalay Bay Resort
### Query: SELECT "Attendance" FROM table_70011 WHE... |
### Context: CREATE TABLE table_48965 (
"Team #1" text,
"Agg." text,
"Team #2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the first team when the second team was Kalise Gran Canaria?
### Query: SELECT "Te... |
### Context: CREATE TABLE table_name_74 (
ground VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ground of the Geelong Away team?
### Query: SELECT ground FROM table_name_74 WHERE away_team = "geelong" |
### Context: CREATE TABLE table_23799417_2 (
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rating if the rating/share (18-49) is 3.6?
### Query: SELECT rating FROM table_23799417_2 WHERE rating / SHARE(18 AS –49) = 3.6 |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id n... |
### 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_12169 (
"Tournament" text,
"2000" text,
"2001" text,
"2002" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text,
"Win %" text
)
-- Using valid SQLite, answer th... |
### 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_name_79 (
english_title VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Original title of / vozvrashcheniye had what English title?
### Query: SELECT english_title FROM table_name_79 WHERE original_titl... |
### Context: CREATE TABLE table_27700375_8 (
high_assists VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who got high assists for team @ Indiana?
### Query: SELECT high_assists FROM table_27700375_8 WHERE team = "@ Indiana" |
### Context: CREATE TABLE table_19373 (
"Tour" text,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the tour when mens singles is chen j... |
### Context: CREATE TABLE table_name_86 (
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Opponent has an Attendance that is 26,880?
### Query: SELECT opponent FROM table_name_86 WHERE attendance = "26,880" |
### 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 d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
ha... |
### Context: CREATE TABLE table_10749367_3 (
test_taker VARCHAR,
challenge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the challenge of night driving?
### Query: SELECT test_taker FROM table_10749367_3 WHERE challenge = "Night Driving" |
### Context: CREATE TABLE table_name_5 (
investing_dragon_s_ VARCHAR,
company_or_product_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the investing dragon for razzamataz
### Query: SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_pr... |
### Context: CREATE TABLE table_name_92 (
d_43 VARCHAR,
d_41 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D43 associated with a D41 of r 16?
### Query: SELECT d_43 FROM table_name_92 WHERE d_41 = "r 16" |
### Context: CREATE TABLE table_25225 (
"Rnd" real,
"Date" text,
"Length" text,
"Race Name" text,
"Track" text,
"Location" text,
"Pole Position" text,
"Winning Driver" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lengths did Phoen... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug t... |
### 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_18950570_2 (
live_births_per_year VARCHAR,
life_expectancy_females VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many live births per year are there in the period where the life expectancy for females is 73.3?
### Query:... |
### Context: CREATE TABLE table_1175233_1 (
communes VARCHAR,
chief_town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many communes have the chief town as dijon?
### Query: SELECT COUNT(communes) FROM table_1175233_1 WHERE chief_town = "Dijon" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
... |
### Context: CREATE TABLE table_68345 (
"Rank" real,
"Team" text,
"Country" text,
"Value ($M)" real,
"Debt as % of value" real,
"% change on year" text,
"Revenue ($M)" real,
"Operating income ($m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_204_146 (
id number,
"tie" number,
"home team" text,
"score" text,
"away team" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which match had the least in attendance ?
### Query: SELECT "home... |
### Context: CREATE TABLE table_name_77 (
rank VARCHAR,
athlete VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the athlete jin di and the total less than 118?
### Query: SELECT COUNT(rank) FROM table_name_77 WHERE athlet... |
### Context: CREATE TABLE table_5676 (
"County" text,
"Per capita income" text,
"Median household income" text,
"Median family income" text,
"Population" real,
"Number of households" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the county... |
### Context: CREATE TABLE table_5159 (
"Driver" text,
"Team" text,
"Laps" real,
"Time/Retired" text,
"Grid" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Points have a Team of rusport, and Laps of 45?
### Query: SELECT ... |
### 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 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 demographic (
subject_id 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 Regular_Order_Products (
regular_order_id INTEGER,
product_id INTEGER
)
CREATE TABLE Addresses (
address_id INTEGER,
address_details VARCHAR(80),
city VARCHAR(50),
zip_postcode VARCHAR(20),
state_province_county VARCHAR(50),
country VARCHAR(50)
)
CREATE TABLE ... |
### Context: CREATE TABLE table_203_612 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- does guam have a larger amount of bronze medals than... |
### Context: CREATE TABLE table_name_51 (
yards INTEGER,
avg VARCHAR,
player VARCHAR,
rec VARCHAR,
long VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Yards is the highest one that has a Rec smaller than 54, and a Long smaller than 5, and a... |
### Context: CREATE TABLE table_28677723_11 (
christer_tornell VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many for christer tornell where the total is 30?
### Query: SELECT COUNT(christer_tornell) FROM table_28677723_11 WHERE total = ... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharg... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.