text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_64801 (
"School (IHSAA ID#)" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text,
"Year Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did the scho... |
### Context: CREATE TABLE table_name_65 (
tournament VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tournament had a final score of 6 3, 6 2?
### Query: SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, ... |
### Context: CREATE TABLE table_9219 (
"Tournament" text,
"Surface" text,
"Week" text,
"Winner and score" text,
"Finalist" text,
"Semifinalists" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the winner and score for finalist s bastien gr... |
### Context: CREATE TABLE Staff (
staff_id INTEGER,
staff_name VARCHAR(255),
gender VARCHAR(1),
other_staff_details VARCHAR(255)
)
CREATE TABLE Skills (
skill_id INTEGER,
skill_code VARCHAR(20),
skill_description VARCHAR(255)
)
CREATE TABLE Third_Party_Companies (
company_id INTEGER,
... |
### Context: CREATE TABLE table_name_33 (
winner VARCHAR,
result VARCHAR,
loser VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Winner, when the Loser is the Baltimore Colts, when the Location is Schaefer Stadium, and when... |
### 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 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 match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_number number,
draft_class text,
college text
)
CREATE TABLE player (
player_id number,
player text,
years_played text,
total_wl text,
singles_... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE txmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTM... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 numbe... |
### Context: CREATE TABLE table_29096 (
"Series #" real,
"Episode #" real,
"Title" text,
"Director" text,
"Writer" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The director of the episode with the title 'The Sky is Fal... |
### Context: CREATE TABLE table_203_168 (
id number,
"team name" text,
"leagues" text,
"base" text,
"year started" text,
"year ended" text,
"notable riders" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the next team to end after t... |
### Context: CREATE TABLE campuses (
id VARCHAR,
campus VARCHAR
)
CREATE TABLE faculty (
campus VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many faculty lines are there in 'San Francisco State University' in year 2004?
### Quer... |
### Context: CREATE TABLE table_51412 (
"Year" real,
"Film" text,
"Role" text,
"Leading Man" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What director directed the role of shelby barret wyatt in 1935?
### Query: SELECT "Director... |
### 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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
ch... |
### Context: CREATE TABLE table_27764201_2 (
game_site VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did the Centurions play the Rhein Fire?
### Query: SELECT COUNT(game_site) FROM table_27764201_2 WHERE opponent = "Rhein F... |
### 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 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 hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
J... |
### 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_name_32 (
home_team VARCHAR,
crowd INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when the home team had a crowd larger than 21,188?
### Query: SELECT home_team AS score FROM table_name_32 WHERE crowd > 21 ... |
### Context: CREATE TABLE table_45054 (
"Season" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real,
"Fastest Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of poles when the fastest laps are less tha... |
### Context: CREATE TABLE table_name_43 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to know the average crowd for away team of melbourne
### Query: SELECT AVG(crowd) FROM table_name_43 WHERE away_team = "melbourne" |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
Mar... |
### Context: CREATE TABLE table_203_789 (
id number,
"season" text,
"team" text,
"country" text,
"division" number,
"apps" number,
"goals" number,
"assists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in which season was there a tot... |
### Context: CREATE TABLE table_name_45 (
tier INTEGER,
postseason VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of tiers for the postseason of semifinalist?
### Query: SELECT SUM(tier) FROM table_name_45 WHERE postseason = "semifi... |
### Context: CREATE TABLE table_26495 (
"Administrative division" text,
"Area (km\u00b2) 2011**" text,
"Population 2001 Census (Adjusted)" real,
"Population 2011 Census (Adjusted)" real,
"Population density (/km\u00b2 2011)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_9068 (
"Name" text,
"Height" text,
"Weight" real,
"Position" text,
"Bats/Throws" text,
"Class" text,
"Hometown/Highschool" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did kyle mckenzie play?
... |
### Context: CREATE TABLE table_1243601_1 (
regular_season VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the regular season listing in 2007?
### Query: SELECT regular_season FROM table_1243601_1 WHERE year = "2007" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### Context: CREATE TABLE table_204_763 (
id number,
"county" text,
"km" number,
"intersecting road" text,
"notes" text,
"coordinates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last intersecting road on the chart ?
### Query: S... |
### Context: CREATE TABLE table_name_23 (
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game with an attendance of 20,874 fans?
### Query: SELECT date FROM table_name_23 WHERE attendance = "20,874" |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
... |
### Context: CREATE TABLE Teachers (
teacher_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
gender VARCHAR(1),
cell_mobile_number VARCHAR(40),
email_address VARCHAR(40),
other_details VARCHAR(255)
)
CREATE TABLE Ref_Address_Ty... |
### 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 lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE table_28003 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production code of th... |
### Context: CREATE TABLE table_name_13 (
bronze INTEGER,
nation VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of bronze for the United States with more than 1 silver?
### Query: SELECT MAX(bronze) FROM table_... |
### Context: CREATE TABLE table_name_56 (
location VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location of the tournament held in Spain?
### Query: SELECT location FROM table_name_56 WHERE country = "spain" |
### Context: CREATE TABLE table_203_60 (
id number,
"outcome" text,
"no." number,
"date" text,
"championship" text,
"surface" text,
"opponent in the final" text,
"score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which m... |
### 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_54201 (
"Date" text,
"Competition" text,
"Venue" text,
"Result" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What outcome has a score of 12-22?
### Query: SELECT "Result" FROM table_54201 WHERE "Score... |
### Context: CREATE TABLE table_60894 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when To par is '1', and when Player is 'Seve Ballesteros'?
### Query: ... |
### Context: CREATE TABLE LANGUAGE (
name VARCHAR,
language_id VARCHAR
)
CREATE TABLE film (
language_id VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which language does the film AIRPORT POLLOCK use? List the language name.
### Que... |
### 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_61010 (
"2006" real,
"2007" real,
"2008" real,
"2009" real,
"2010" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 2008s have 6.9 as a 2006, with a 2007 less than 7.1?
### Query: SELECT COUNT("2008") FROM tab... |
### Context: CREATE TABLE table_66115 (
"School" text,
"Location" text,
"Mascot" text,
"# / County" text,
"Enrollment" real,
"IHSAA Class / Football/Soccer" text,
"Year Joined" real,
"Previous Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provi... |
### Context: CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paperdataset (
paperid int,
dataseti... |
### Context: CREATE TABLE table_name_98 (
model_number VARCHAR,
gpu_frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the model number for the GPU and 320 mhz?
### Query: SELECT model_number FROM table_name_98 WHERE gpu_frequency = "320 mhz" |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeo... |
### Context: CREATE TABLE table_name_82 (
surface VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What surface was the match on November 6, 1982 played on?
### Query: SELECT surface FROM table_name_82 WHERE date = "november 6, 1982" |
### Context: CREATE TABLE table_name_66 (
date VARCHAR,
race_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the I Dessau Autobahnspinne race?
### Query: SELECT date FROM table_name_66 WHERE race_name = "i dessau autobahnspinne" |
### 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_70752 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points when equipe ligier gauloises blondes is the entrant?
### Query: S... |
### Context: CREATE TABLE table_46428 (
"Finished" real,
"Time/ Behind" text,
"Post" real,
"Horse" text,
"Jockey" text,
"Trainer" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jockey, when Post is 12?
### Query: SELEC... |
### Context: CREATE TABLE table_17764 (
"Model Number" text,
"Clock Speed" text,
"L2" text,
"L3" text,
"FSB Speed" text,
"Multiplier" text,
"Cores" real,
"Threads per core" real,
"Voltage" text,
"TDP (W)" text,
"Socket" text,
"Release Date" text,
"Price ( USD )" text
... |
### Context: CREATE TABLE table_name_97 (
pick INTEGER,
round VARCHAR,
position VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what round smaller than 10, was the center les studdard picked in?
### Query: SELECT MIN(pick) FROM table... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time... |
### Context: CREATE TABLE table_74494 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team does Jimmy Frazelle play on?
### Query: SELECT "MLS team" FROM table_7449... |
### 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_203_750 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- number of different teams listed on th... |
### Context: CREATE TABLE table_name_96 (
nation VARCHAR,
silver VARCHAR,
total VARCHAR,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nation has a Gold larger than 0, and a Bronze smaller than 2, and a Total larger th... |
### 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_1342331_18 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What candidate is in Louisiana 6?
### Query: SELECT candidates FROM table_1342331_18 WHERE district = "Louisiana 6" |
### Context: CREATE TABLE table_34898 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the first elected date for the incumbent in the South Carolina 4 district?... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TAB... |
### Context: CREATE TABLE table_239 (
"Power Source" text,
"Number of Generators" real,
"Power Capacity (GW)" text,
"% of total Capacity" text,
"Capacity factor" text,
"Annual Energy (billion kWh)" text,
"% of annual production" text
)
-- Using valid SQLite, answer the following questions ... |
### Context: CREATE TABLE table_10147 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what circuit was the iii Reims Grand Prix held?
### Que... |
### Context: CREATE TABLE table_name_61 (
partner VARCHAR,
outcome VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which partners were runner-up in the tournament in Mons, Belgium?
### Query: SELECT partner FROM table_name_61 WHERE ou... |
### Context: CREATE TABLE table_name_55 (
song VARCHAR,
total_points VARCHAR,
jury__points_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the song with more than 9 points and 44 (11) jury (points)?
### Query: SELECT song FROM table_name_55 WHER... |
### Context: CREATE TABLE city (
Status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different statuses do cities have?
### Query: SELECT COUNT(DISTINCT Status) FROM city |
### Context: CREATE TABLE table_name_97 (
time VARCHAR,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was valentino rossi's rider time?
### Query: SELECT time FROM table_name_97 WHERE rider = "valentino rossi" |
### Context: CREATE TABLE table_name_42 (
result VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result on week 6?
### Query: SELECT result FROM table_name_42 WHERE week = 6 |
### Context: CREATE TABLE table_764 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the Tennessee 3 district incumbent first elected?
#... |
### Context: CREATE TABLE table_20236726_2 (
serial_no VARCHAR,
wd_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of serial number for 24 wd no
### Query: SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = 24 |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE... |
### Context: CREATE TABLE table_1463383_1 (
social_democratic VARCHAR,
socialist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Socialist is at 46.1%, what are all percentages for social democratic?
### Query: SELECT social_democratic FROM table_1463383_... |
### Context: CREATE TABLE table_204_567 (
id number,
"team" text,
"location" text,
"stadium" text,
"capacity" number,
"manager" text,
"captain" text,
"kit manufacturer" text,
"shirt sponsor" text
)
-- 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 Votes (
Id number,
PostId number,
... |
### Context: CREATE TABLE tryout (
pid number,
cname text,
ppos text,
decision text
)
CREATE TABLE player (
pid number,
pname text,
ycard text,
hs number
)
CREATE TABLE college (
cname text,
state text,
enr number
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE table_62984 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Distance" text,
"Time" text,
"Purse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the purse in 2003, which had a ... |
### Context: CREATE TABLE table_30308 (
"Year Location" text,
"Mens Singles" text,
"Womens Singles" text,
"Mens Doubles" text,
"Womens Doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is listed under womens singles when year location is 1... |
### Context: CREATE TABLE table_18600760_19 (
township VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how is called the township where the latitude is 47.377790
### Query: SELECT township FROM table_18600760_19 WHERE latitude = "47.377790" |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### 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 jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE table_204_71 (
id number,
"rank" number,
"heat" number,
"name" text,
"nationality" text,
"time" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many women from england were ranked in top 14 in the h... |
### Context: CREATE TABLE procedures (
name VARCHAR,
cost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the three most expensive procedures.
### Query: SELECT name FROM procedures ORDER BY cost LIMIT 3 |
### Context: CREATE TABLE table_48963 (
"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.
-- What was the 1st leg score for the team with an Agg score of 151-134?
### Query: SELECT "1... |
### Context: CREATE TABLE table_66420 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location of the game with a score of 113-106?
### ... |
### Context: CREATE TABLE table_37290 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"10:00" text,
"10:30" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 7:30 has an 8:00 of movies & specials?
### Query: SELECT "7:... |
### Context: CREATE TABLE phone_market (
Market_ID int,
Phone_ID text,
Num_of_stock int
)
CREATE TABLE phone (
Name text,
Phone_ID int,
Memory_in_G int,
Carrier text,
Price real
)
CREATE TABLE market (
Market_ID int,
District text,
Num_of_employees int,
Num_of_shops rea... |
### Context: CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Nu... |
### Context: CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
market_value_billion text
)
CREATE TABLE buildings (
id number,
name text,
city text,
height number,
sto... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE Department_Stores (
dept_store_id INTEGER,
dept_store_chain_id INTEGER,
store_name VARCHAR(80),
store_address VARCHAR(255),
store_phone VARCHAR(80),
store_email VARCHAR(80)
)
CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTEGER,
date_fr... |
### Context: CREATE TABLE table_2342078_6 (
original_airdate VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the airdate for the episode written by howard ostroff
### Query: SELECT original_airdate FROM table_2342078_6 WHERE written_... |
### Context: CREATE TABLE table_4835 (
"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 many people at Arden Street Oval... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.