text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
C... |
### Context: CREATE TABLE table_34274 (
"Year" text,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Women's doubles the year ... |
### Context: CREATE TABLE Addresses (
address_id INTEGER,
address_details VARCHAR(255)
)
CREATE TABLE Product_Suppliers (
product_id INTEGER,
supplier_id INTEGER,
date_supplied_from DATETIME,
date_supplied_to DATETIME,
total_amount_purchased VARCHAR(80),
total_value_purchased DECIMAL(19... |
### 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 authors (
authid number,
lname text,
fname text
)
CREATE TABLE authorship (
authid number,
instid number,
paperid number,
authorder number
)
CREATE TABLE papers (
paperid number,
title text
)
CREATE TABLE inst (
instid number,
name text,
count... |
### Context: CREATE TABLE table_name_98 (
date VARCHAR,
crowd INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the game with 36,766 fans?
### Query: SELECT date FROM table_name_98 WHERE crowd > 36 OFFSET 766 |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE area (
course_id int,
area varchar
... |
### Context: CREATE TABLE gyb (
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_37695 (
"Rank" text,
"Urban sub-area" text,
"Population" text,
"Status" text,
"Council area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which urban sub-area has a population of 16,140?
### Query: SELECT "Urban su... |
### Context: CREATE TABLE table_name_51 (
ethernet_ports VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ethernet ports of the u10 appliance?
### Query: SELECT ethernet_ports FROM table_name_51 WHERE name = "u10" |
### Context: CREATE TABLE table_name_6 (
lost INTEGER,
draw VARCHAR,
matches VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the losses that a match score larger than 26, a points score of 62, and a draw greater than... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTasks... |
### Context: CREATE TABLE table_name_43 (
wins VARCHAR,
team VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many wins does Benelli have before 1962?
### Query: SELECT COUNT(wins) FROM table_name_43 WHERE team = "benelli" AND year < 196... |
### Context: CREATE TABLE Person (
name varchar(20),
age INTEGER,
city TEXT,
gender TEXT,
job TEXT
)
CREATE TABLE PersonFriend (
name varchar(20),
friend varchar(20),
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has friend... |
### Context: CREATE TABLE table_name_15 (
moving_to VARCHAR,
nat VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the nationality of Arg Esp moving to?
### Query: SELECT moving_to FROM table_name_15 WHERE nat = "arg esp" |
### Context: CREATE TABLE table_65816 (
"Event" text,
"Time" text,
"Nationality" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Meet of the Event with a Time of 7:55.02?
### Query: SELECT "... |
### Context: CREATE TABLE table_20081 (
"No. in season" real,
"No. disc" 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.
-- Which number episode of season 6 was the title... |
### Context: CREATE TABLE table_43894 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Date" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Ground, when Away Team is S... |
### 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 d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid numbe... |
### 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_name_10 (
date VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the match with a winning score of 7 (67-72-69-69=277)?
### Query: SELECT date FROM table_name_10 WHERE winning_score = ... |
### Context: CREATE TABLE table_27948565_1 (
round VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of rounds for brno
### Query: SELECT COUNT(round) FROM table_27948565_1 WHERE circuit = "Brno" |
### Context: CREATE TABLE table_14797 (
"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 aggregate for the match with a team 2 of Hafia FC?
### Query: SELECT "Agg." FRO... |
### Context: CREATE TABLE table_name_94 (
score VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a To par of +1, and a Player of masashi ozaki?
### Query: SELECT score FROM table_name_94 WHERE to_par = "+1" ... |
### Context: CREATE TABLE table_56884 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean number of laps for the constructor Ferrari when the time/retired was ... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
... |
### 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_44 (
opponent VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the opponent of game 75?
### Query: SELECT opponent FROM table_name_44 WHERE game = 75 |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE table_50011 (
"Tournament" text,
"Wins" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of events when the tournament was U.S. Open and the... |
### Context: CREATE TABLE table_name_93 (
year VARCHAR,
league VARCHAR,
league_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the malaysia premier league get a position of 8/12?
### Query: SELECT year FROM table_name_93 WHERE leag... |
### 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_55548 (
"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 were in attendance when th... |
### 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_18621 (
"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.
-- how many party with dbeingtrict being alabama 6
### Query:... |
### Context: CREATE TABLE table_27781212_1 (
position INTEGER,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum position with 31 points?
### Query: SELECT MIN(position) FROM table_27781212_1 WHERE points = 31 |
### Context: CREATE TABLE table_train_54 (
"id" int,
"organ_transplantation" bool,
"severe_sepsis" bool,
"systolic_blood_pressure_sbp" int,
"hiv_infection" bool,
"thrombocytopenia" float,
"sepsis" bool,
"hypotension" bool,
"burn_injury" int,
"septic_shock" bool,
"age" float,
... |
### Context: CREATE TABLE table_name_92 (
rank VARCHAR,
points VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the total number of Rank that has the Points larger than 99, and the Club of barcelona?
### Query: SELECT COUNT(r... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time... |
### Context: CREATE TABLE table_55399 (
"Ship's name" text,
"Date entered service" text,
"Date withdrawn" text,
"Tonnage" real,
"Type of Ship" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the sum of tonnage when the type of ship is twin sc... |
### Context: CREATE TABLE table_26108 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title ... |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### 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 table_73296 (
"Expression" text,
"Y = 2008" text,
"Y = 2009" text,
"Y = 2010" text,
"Y = 2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the y = 2009 when the expression is month = floor ((d + e + 114) / 31)?
... |
### 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_name_27 (
operating_system_version VARCHAR,
memory___ram__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which operating system has 1GB (mobile ddr) memory (RAM)?
### Query: SELECT operating_system_version FROM table_name_27... |
### Context: CREATE TABLE table_228439_4 (
district VARCHAR,
successor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district is Samuel A. Bridges ( D ) assigned to as a successor?
### Query: SELECT district FROM table_228439_4 WHERE successor = "Samu... |
### Context: CREATE TABLE table_name_15 (
rank INTEGER,
gold VARCHAR,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of a country with less than 13 bronze medals, a total of 11 medals, and more than 4 go... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
... |
### Context: CREATE TABLE table_24463 (
"Category" text,
"Sub-category" text,
"Cab size" text,
"Drive wheels" text,
"Capacity (litres)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of cab size for 4 medium tanker
### Query: SELECT... |
### 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_64 (
game INTEGER,
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Score of 118 114, and a Record of 8 1 is what lowest game?
### Query: SELECT MIN(game) FROM table_name_64 WHERE score = "118–114... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE table_13668 (
"Title" text,
"Director" text,
"Writer" text,
"Original airdate" text,
"Prod. Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode with production code 40811-005?
### Query: SELECT "D... |
### Context: CREATE TABLE table_name_52 (
name VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the title of marquis?
### Query: SELECT name FROM table_name_52 WHERE title = "marquis" |
### 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 mountain (
mountain_id number,
name text,
height number,
prominence number,
range text,
country text
)
CREATE TABLE climber (
climber_id number,
name text,
country text,
time text,
points number,
mountain_id number
)
-- Using valid SQLite, ans... |
### Context: CREATE TABLE table_15772 (
"Year" text,
"Men's singles" text,
"Women's singles" text,
"Men's doubles" text,
"Women's doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Men's doubles when there ... |
### Context: CREATE TABLE table_15778392_1 (
song_choice VARCHAR,
week__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT WAS HER SONG CHOICE WHEN THE WEEK WAS TOP 10?
### Query: SELECT song_choice FROM table_15778392_1 WHERE week__number = "Top 10... |
### Context: CREATE TABLE table_37578 (
"Name" text,
"Style" text,
"Opened" real,
"Manufacturer" text,
"Themed Area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Themed Area has a Name of troublesome trucks runaway coaster?
### Query: SELEC... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
... |
### Context: CREATE TABLE table_name_6 (
player VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has 1299 goals?
### Query: SELECT player FROM table_name_6 WHERE goals = "1299" |
### Context: CREATE TABLE table_1181375_1 (
notes VARCHAR,
withdrawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the notes where withdrawn is 1956 57
### Query: SELECT notes FROM table_1181375_1 WHERE withdrawn = "1956–57" |
### Context: CREATE TABLE table_61756 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_20 (
total INTEGER,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winning total from 1976?
### Query: SELECT MAX(total) FROM table_name_20 WHERE year_s__won = "1976" |
### Context: CREATE TABLE table_2312 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country is the contestant from Chihuahua from?
### Quer... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREAT... |
### Context: CREATE TABLE table_77512 (
"Name" text,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Home Town" text,
"High School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Home Town with a Name with rob cunnin... |
### Context: CREATE TABLE table_15683 (
"County" text,
"Kerry%" text,
"Kerry#" real,
"Bush%" text,
"Bush#" real,
"Others%" text,
"Others#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value Others% when the value Others# is gre... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
... |
### Context: CREATE TABLE table_name_14 (
grüne VARCHAR,
rettö VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percent did GR NE get in Tyrol where RETT got 0.6%?
### Query: SELECT grüne FROM table_name_14 WHERE rettö = "0.6%" AND sta... |
### Context: CREATE TABLE table_name_98 (
region__year_ VARCHAR,
no_2 VARCHAR,
no_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what region and year was Jacob the number 2 name and Ryan the number 10 name?
### Query: SELECT region__year_ FROM tab... |
### Context: CREATE TABLE table_76193 (
"Team" text,
"Sets+" real,
"Sets\u2013" real,
"Points+" real,
"Points\u2013" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Sets+ number for Valeriano All s Menorca when the Sets- number wa... |
### Context: CREATE TABLE table_name_1 (
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par, when the Score is 68-71-69=208?
### Query: SELECT to_par FROM table_name_1 WHERE score = 68 - 71 - 69 = 208 |
### Context: CREATE TABLE table_name_24 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for 30 january 2013
### Query: SELECT score FROM table_name_24 WHERE date = "30 january 2013" |
### Context: CREATE TABLE table_32500 (
"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 was Fitzroy's score when they ... |
### Context: CREATE TABLE table_29484 (
"Pos" real,
"Grid" real,
"Car" real,
"Driver" text,
"Constructor" text,
"Manufacturer" text,
"Laps" real,
"Laps Led" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the m... |
### Context: CREATE TABLE table_59478 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the tie number of the away game for Ashford Town (Middx)?
### Query: SELEC... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_11622924_1 (
purse__$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much was the prize in the tournament where the winning score was 289 (9)?
### Query: SELECT purse__$__ FROM table_11622924_1 WHERE scor... |
### Context: CREATE TABLE table_74236 (
"Song title" text,
"Artist" text,
"Show" text,
"Difficulty" real,
"Effort" real,
"Year" real,
"Dancers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many shows were in 1994?
### Query: SELECT CO... |
### Context: CREATE TABLE table_45763 (
"Year" text,
"Model" text,
"Engine Type / Cyl." text,
"Power bhp (kW)" text,
"Wheelbase in" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the engine type with a wheelbase of 127 inches in 1915?
### Q... |
### Context: CREATE TABLE table_53049 (
"Raion (district) or City" text,
"Total" text,
"Ukrainians" text,
"Moldovans" text,
"Bessarabian Bulgarians" text,
"Russians" text,
"Gagauzians" text,
"Other ethnic groups\u00b2" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE table_2168295_1 (
area__km²_ INTEGER,
headquarters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the headquarters is Bharatpur, what is the maximum area?
### Query: SELECT MAX(area__km²_) FROM table_2168295_1 WHERE headquarters... |
### 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_name_79 (
date VARCHAR,
opponent VARCHAR,
stadium VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Date has a Stadium of giants stadium, and a Week smaller than 13, and an Opponent of seattle seahawks... |
### Context: CREATE TABLE table_65810 (
"Airing date" text,
"English title (Chinese title)" text,
"Number of episodes" real,
"Genre" text,
"Official website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the airing date of Armed Reaction wit... |
### Context: CREATE TABLE table_name_1 (
crowd INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the lowest crowd size at MCG?
### Query: SELECT MIN(crowd) FROM table_name_1 WHERE venue = "mcg" |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### 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_47 (
time_retired VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time/Retired for laps higher than 52 on a grid larger than 21?
### Query: SELECT time_retired FROM table_name_4... |
### Context: CREATE TABLE table_21063459_1 (
opponent VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the team play against in the game that resulted with a loss?
### Query: SELECT opponent FROM table_21063459_1 WHERE result = "Loss" |
### Context: CREATE TABLE table_name_43 (
country VARCHAR,
director_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Country has a Director of 2007?
### Query: SELECT country FROM table_name_43 WHERE director_s_ = "2007" |
### Context: CREATE TABLE table_name_50 (
competition VARCHAR,
date VARCHAR,
result VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Result of w, and a Score of 2-0, and a Date of may 9, 1954?
### Query: SELECT c... |
### Context: CREATE TABLE table_41255 (
"Advocate # 1" text,
"Advocate # 2" text,
"Root of All Evil" text,
"Poll winner" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Root of All Evil with an Original air date ... |
### Context: CREATE TABLE table_name_82 (
game VARCHAR,
year VARCHAR,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was before 2010 and was a role-playing game?
### Query: SELECT game FROM table_name_82 WHERE year < 2010 AND genre = "ro... |
### Context: CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE table_name_82 (
wins INTEGER,
points VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Points of 26, and a Rank smaller than 27 had what sum of wins?
### Query: SELECT SUM(wins) FROM table_name_82 WHERE points = 26 A... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.