text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_54458 (
"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.
-- Which home team plays at VFL Park?
... |
### Context: CREATE TABLE table_37059 (
"Player" text,
"Team" text,
"Score" text,
"Versus" text,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team played against zimbabwe in 1999?
### Query: SELECT "Team" FROM table_37059 WHERE "Year"... |
### Context: CREATE TABLE table_name_75 (
total_votes INTEGER,
_number_of_seats_won INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the average Total votes that has the # of seats won smaller than 0?
### Query: SELECT AVG(total_votes) FROM ta... |
### 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 table_name_74 (
name VARCHAR,
ofsted_number VARCHAR,
type VARCHAR,
dcsf_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller t... |
### Context: CREATE TABLE table_48148 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game in February 10, 2009 ha... |
### Context: CREATE TABLE table_65306 (
"World record" text,
"Snatch" text,
"Chen Yanqing ( CHN )" text,
"111kg" text,
"Doha , Qatar" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for Chen Yanqing (CHN) when Doha, Qatar is ?
### Query: ... |
### Context: CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREATE TABLE teaches... |
### Context: CREATE TABLE table_25830834_2 (
written_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode with the production code 2j5153?
### Query: SELECT written_by FROM table_25830834_2 WHERE production_code =... |
### Context: CREATE TABLE table_57017 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the course on 13 may?
### Query: SELECT "Course" FROM table_57017 WHERE "Date" = '13 ... |
### 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_6974 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent of the 3:00 time?
### Query: SELECT ... |
### Context: CREATE TABLE table_17813 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, ans... |
### Context: CREATE TABLE table_204_125 (
id number,
"state" text,
"type" text,
"name" text,
"title" text,
"royal house" text,
"from" text,
"to" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was king right before kang ?
### Query: ... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
aller... |
### Context: CREATE TABLE table_34784 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent that anke huber played against in the leipzig to... |
### 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_2076490_1 (
founded VARCHAR,
enrollment__2005_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year is the founding year, for the school that had an enrollment in 2005 of 963?
### Query: SELECT founded FROM table_2076490_... |
### 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 patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_name_63 (
year INTEGER,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year when Call of Duty 4: Modern Warfare was the game?
### Query: SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE ground_service (
city_code text,
... |
### Context: CREATE TABLE table_33013 (
"Rank" real,
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"100m" real,
"150m" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What lane is David Carry in heat 1?
### Quer... |
### Context: CREATE TABLE Rating (
mID VARCHAR,
stars INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the average rating star for each movie that received at least 2 ratings.
### Query: SELECT mID, AVG(stars) FROM Rating GROUP BY mID HAVING COUNT(*) >= ... |
### Context: CREATE TABLE table_27986200_3 (
aggregate_score VARCHAR,
proceed_to_quarter_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the aggregate score for Montauban?
### Query: SELECT aggregate_score FROM table_27986200_3 WHERE proceed_t... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
... |
### Context: CREATE TABLE table_14156 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Genre has a Developer(s) of naughty dog?
### Query: SELECT "Genre" FROM table_14... |
### Context: CREATE TABLE table_46493 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"TV Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of week 11?
### Query: SELECT "Result" FROM table_46493 WHERE "Week" = '1... |
### Context: CREATE TABLE table_19598014_2 (
gt2_winning_team VARCHAR,
lmp2_winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the gt2 winning team where lmp2 winning team and butch leitzinger marino franchitti ben devlin
### Query: SELECT gt2... |
### 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_name_8 (
opponent VARCHAR,
event VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has an Event of king of the cage: shock and awe?
### Query: SELECT opponent FROM table_name_8 WHERE event = "king of the cage: sho... |
### Context: CREATE TABLE table_73199 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"Television order" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who directed s01e13
... |
### 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 product_characteristics (
product_id number,
characteristic_id number,
product_characteristic_value text
)
CREATE TABLE characteristics (
characteristic_id number,
characteristic_type_code text,
characteristic_data_type text,
characteristic_name text,
other_cha... |
### Context: CREATE TABLE table_203_538 (
id number,
"flight" text,
"date" text,
"payload nickname" text,
"payload" text,
"orbit" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the earliest date of a flight ?
### Que... |
### Context: CREATE TABLE table_20630 (
"#" real,
"Date" text,
"at/vs." text,
"Opponent" text,
"Score" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number for new england blazers
### Query: ... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar... |
### 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 table_12609 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of electorates (... |
### Context: CREATE TABLE table_name_6 (
week_12_nov_16 VARCHAR,
week_3_sept_14 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week 12 opponent for the year that had a week 3 opponent of South Florida (3-0)?
### Query: SELECT week_12_nov_16 FROM... |
### Context: CREATE TABLE table_22834834_3 (
surface VARCHAR,
score_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which surfaces have the final score of 6 1, 6 7 (2 7) , 7 6 (7 5) , 7 6 (10 8)?
### Query: SELECT surface FROM table_22834834_3 W... |
### 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_name_32 (
boxscore VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which box score has an Attendance of 54,773?
### Query: SELECT boxscore FROM table_name_32 WHERE attendance = "54,773" |
### Context: CREATE TABLE table_12407546_2 (
running VARCHAR,
athlete VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the numberof running wiht pamela zapata?
### Query: SELECT COUNT(running) FROM table_12407546_2 WHERE athlete = "Pamela Zapata" |
### Context: CREATE TABLE table_name_22 (
holmenkollen VARCHAR,
country VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Holmenkollen has a Country of norway, and a Winner of tom sandberg?
### Query: SELECT holmenkollen FROM table_na... |
### Context: CREATE TABLE table_7115 (
"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 Taoisea... |
### Context: CREATE TABLE table_68960 (
"Episode" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the singer with the top 8?
### Query: SELECT "Result"... |
### Context: CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Nu... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREAT... |
### Context: CREATE TABLE table_name_3 (
name VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had a total of 116 (22)?
### Query: SELECT name FROM table_name_3 WHERE total = "116 (22)" |
### Context: CREATE TABLE table_79265 (
"Constructor" text,
"Chassis" text,
"Starts" real,
"Finishes" real,
"Wins" real,
"Podiums" real,
"Stage wins" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number ... |
### Context: CREATE TABLE table_name_15 (
wins INTEGER,
byes INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest wins with less than 2 Byes?
### Query: SELECT MIN(wins) FROM table_name_15 WHERE byes < 2 |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE trip (
id I... |
### 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 TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE PostHistory (
Id number,
... |
### 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 CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_52574 (
"Player" text,
"Tries" text,
"Conv" text,
"Pens" text,
"Drop" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pens has 1 tries and matt alexander as a player with conv o... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEdi... |
### Context: CREATE TABLE table_22970 (
"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_name_96 (
no9 VARCHAR,
no7 VARCHAR,
final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was number 9 that had a number 7 of Joana and a Final of Pedro?
### Query: SELECT no9 FROM table_name_96 WHERE no7 = "joana" AND... |
### Context: CREATE TABLE table_name_57 (
score VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the Burnley Home game?
### Query: SELECT score FROM table_name_57 WHERE home_team = "burnley" |
### Context: CREATE TABLE table_1139087_2 (
grand_prix VARCHAR,
constructor VARCHAR,
fastest_lap VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many events did nigel mansell drive the fastest and a mclaren - honda win?
### Query: SELECT COUNT(grand_... |
### 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_93 (
director VARCHAR,
release_date VARCHAR,
characters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What director has 2004-03-31 as the release date, with daffy (as duck dodgers) as the character?
### Query: SELEC... |
### Context: CREATE TABLE table_16387653_1 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the maximum crowd size against St Kilda?
### Query: SELECT MAX(crowd) FROM table_16387653_1 WHERE away_team = "St Kilda" |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_t... |
### Context: CREATE TABLE table_name_78 (
league_cup_goals INTEGER,
position VARCHAR,
total_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average league cup goals when the position is df and total goals is more than 4?
### Query: SELE... |
### Context: CREATE TABLE Performers (
Performer_ID INTEGER,
Address_ID INTEGER,
Customer_Name VARCHAR(255),
Customer_Phone VARCHAR(255),
Customer_Email_Address VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Customer_Orders (
Order_ID INTEGER,
Customer_ID INTEGER,
Store_ID ... |
### Context: CREATE TABLE table_name_18 (
player VARCHAR,
jersey_number_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player wears the number 2 on his jersey?
### Query: SELECT player FROM table_name_18 WHERE jersey_number_s_ = "2" |
### Context: CREATE TABLE table_20792 (
"product" text,
"dimensions (mm)" text,
"dpi" real,
"pages per minute (color)" real,
"max page size" text,
"interface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the dpi for the scanner with a ... |
### Context: CREATE TABLE table_49863 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date were Perth Wildcats the away team?
#... |
### Context: CREATE TABLE country (
Country_id int,
Country_name text,
Capital text,
Official_native_language text
)
CREATE TABLE team (
Team_id int,
Name text
)
CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles... |
### Context: CREATE TABLE table_27441210_12 (
weeks_at__number1 INTEGER,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks was K.Maro at #1?
### Query: SELECT MAX(weeks_at__number1) FROM table_27441210_12 WHERE artist = "K.Maro" |
### Context: CREATE TABLE table_35328 (
"Year" real,
"Film" text,
"Role" text,
"Producer/Director" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Producer/Director of Fear Beneath?
### Query: SELECT "Producer/Director" FRO... |
### Context: CREATE TABLE table_name_26 (
overall VARCHAR,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of overall values with a safety position in a round greater than 1?
### Query: SELECT COUNT(overall) FROM... |
### Context: CREATE TABLE table_25477 (
"Date" text,
"Location" text,
"Opponent" text,
"Irish Points" real,
"Opp. Points" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the irish points for 23-1 record
### Query: SELECT "Iri... |
### Context: CREATE TABLE table_43381 (
"Name" text,
"Processor" text,
"Hard Drive" text,
"Ethernet Ports" text,
"Dimensions" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ethernet ports of the u150 appliance?
### Query: SELECT "Ethern... |
### Context: CREATE TABLE table_48770 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country, when Place is 'T4', and when Player is 'Scott Simpson'?
### Query: SELEC... |
### Context: CREATE TABLE table_75536 (
"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 the lowest Round with Overall of 247 and pick less than 41?
### ... |
### 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 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 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_38501 (
"Week" real,
"Date" text,
"Opponent" text,
"Location" text,
"Time ( ET )" text,
"Result" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time was the game during week 5?
### Query: ... |
### Context: CREATE TABLE table_204_266 (
id number,
"#" number,
"event year" number,
"season" text,
"flag bearer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of summer olympics on the list .
### Query: SELECT COUNT(*) FROM ta... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE month (
month_number int,
month_name text
)
... |
### Context: CREATE TABLE table_name_13 (
number INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Number, when Position is Forward?
### Query: SELECT AVG(number) FROM table_name_13 WHERE position = "forward" |
### 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 climber (
Climber_ID int,
Name text,
Country text,
Time text,
Points real,
Mountain_ID int
)
CREATE TABLE mountain (
Mountain_ID int,
Name text,
Height real,
Prominence real,
Range text,
Country text
)
-- Using valid SQLite, answer the followi... |
### Context: CREATE TABLE table_66624 (
"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 Class has the Identifier fo CBFX-FM-2?
### Query: SELE... |
### 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_33847 (
"Number (map)" real,
"Borough" text,
"Population Canada 2011 Census" real,
"Area in km\u00b2" real,
"Density per km\u00b2" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much #s have an Area in km larger t... |
### Context: CREATE TABLE table_204_105 (
id number,
"#" number,
"name" text,
"height" text,
"weight (lbs.)" number,
"position" text,
"class" text,
"hometown" text,
"previous team(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wh... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid n... |
### 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_44 (
silver VARCHAR,
nation VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times is the nation listed as united states with the total more than 1?
### Query: SELECT COUNT(silver) FROM table_na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.