text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_98 (
score_in_the_final VARCHAR,
opponent_in_the_final VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score in The Final, when Opponent in The Final is 'John McEnroe', and when Championsh... |
### Context: CREATE TABLE table_55393 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the visitor team of the game where Buffalo was the home team?
### Query: SELECT "Visitor"... |
### Context: CREATE TABLE table_40713 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Language, when Content is Monoscopio?
### Q... |
### Context: CREATE TABLE table_17132 (
"Series #" real,
"Season #" real,
"Title" text,
"Director(s)" text,
"Writer(s)" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the dirctor for season 13?
### Query: SELECT... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE ... |
### Context: CREATE TABLE table_23314951_4 (
against VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the opponent is Kristian Pless, who was it against?
### Query: SELECT against FROM table_23314951_4 WHERE opponent = "Kristian Pless" |
### Context: CREATE TABLE table_77993 (
"Name" text,
"Location" text,
"Length in km (mi)" text,
"Year Completed" text,
"Line" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which line is the Geumjeong tunnel?
### Query: SELECT "Line" FROM table_779... |
### Context: CREATE TABLE table_203_274 (
id number,
"church name" text,
"address" text,
"community" text,
"school" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which church is listed below christ the king ?
### Query: SELECT "church name" FROM t... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
... |
### Context: CREATE TABLE table_3523 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many original artists were there for the Group Performanc... |
### Context: CREATE TABLE table_14286908_1 (
school VARCHAR,
year_of_last_win VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What the name of the school where the last win in 2007-08?
### Query: SELECT school FROM table_14286908_1 WHERE year_of_last_win = "... |
### Context: CREATE TABLE table_29982187_4 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what re the high assists for january 29?
### Query: SELECT high_assists FROM table_29982187_4 WHERE date = "January 29" |
### Context: CREATE TABLE table_69863 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the t o par for Ralph Guldahl?
### Query: SELECT "To par" FRO... |
### Context: CREATE TABLE table_1141 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the record with result being w 21 7
### Que... |
### Context: CREATE TABLE table_52522 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college has 41 picks?
### Query: SELECT "College" FROM table_52522 WHERE "Pick #"... |
### Context: CREATE TABLE table_name_41 (
round INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the sum of round for record of 6-3
### Query: SELECT SUM(round) FROM table_name_41 WHERE record = "6-3" |
### Context: CREATE TABLE table_59847 (
"Date" text,
"Ship" text,
"Nationality" text,
"Tonnage" real,
"Fate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the fate on 27 june 1942?
### Query: SELECT "Fate" FROM table_59847 WHERE "Date" = ... |
### Context: CREATE TABLE table_name_24 (
venue VARCHAR,
batsmen VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where were jamie cox & scott kremerskothen paired?
### Query: SELECT venue FROM table_name_24 WHERE batsmen = "jamie cox & scott kremerskothen" |
### 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 paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
... |
### Context: CREATE TABLE table_38004 (
"Unit" text,
"Russian" text,
"Ratio" text,
"Metric value" text,
"Avoirdupois value" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Russian has a Ratio of 40?
### Query: SELECT "Russian" FROM table_38004 ... |
### Context: CREATE TABLE table_4454 (
"Shipyard" text,
"Laid down" text,
"Launched" text,
"Commissioned" text,
"Fleet" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which shipyard has a fleet that was laid down on April 21, 1962... |
### Context: CREATE TABLE table_12688 (
"Season" text,
"GP/MP" text,
"Kills" real,
"K/Game" real,
"Errors" real,
"Total Attempts" real,
"Percentage" real,
"Assists" real,
"Service Aces" real,
"Digs" real,
"Solo Blocks" real,
"Block Assists" real,
"Total Blocks" real
)... |
### Context: CREATE TABLE party_host (
Party_ID int,
Host_ID int,
Is_Main_in_Charge bool
)
CREATE TABLE host (
Host_ID int,
Name text,
Nationality text,
Age text
)
CREATE TABLE party (
Party_ID int,
Party_Theme text,
Location text,
First_year text,
Last_year text,
N... |
### Context: CREATE TABLE table_49372 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Away Team is 'Liverpool'?
### Query: SELECT "Date" FROM table_49372 WH... |
### Context: CREATE TABLE table_name_5 (
elector VARCHAR,
elevated VARCHAR,
nationality VARCHAR,
elevator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Elector with a Nationality with roman, and an Elevator of urban iv, and an Elevated w... |
### Context: CREATE TABLE table_28852 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the candidates for new york 21
### Query: SELECT "Can... |
### 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 vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE treatmen... |
### Context: CREATE TABLE table_51822 (
"Name" text,
"Code" text,
"Capacity" text,
"Type" text,
"Power" text,
"Torque" text,
"Top speed" text,
"Combined consumption" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the combined con... |
### Context: CREATE TABLE table_73453 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ori... |
### Context: CREATE TABLE table_47309 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of gold medals when the silver is less than 0?
### ... |
### Context: CREATE TABLE table_203_555 (
id number,
"place" text,
"player" text,
"country" text,
"score" text,
"to par" number,
"money ($)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many players placed 4th ?
### Query: SELECT CO... |
### Context: CREATE TABLE table_name_76 (
away VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what place has the club of sevilla
### Query: SELECT away FROM table_name_76 WHERE club = "sevilla" |
### 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_71 (
rank INTEGER,
rider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have michael russell as the rider?
### Query: SELECT SUM(rank) FROM table_name_71 WHERE rider = "michael russell" |
### Context: CREATE TABLE Student_Course_Enrolment (
course_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many distinct courses are enrolled in by students?
### Query: SELECT COUNT(course_id) FROM Student_Course_Enrolment |
### Context: CREATE TABLE table_56093 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city is Jaffna Airport in?
### Query: SELECT "City" FROM table_56093 WHERE "Airport" = 'jaf... |
### Context: CREATE TABLE table_27722408_2 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the most assists and how many did they have on October 7?
### Query: SELECT high_assists FROM table_27722408_2 WHERE date = "Octob... |
### Context: CREATE TABLE table_70112 (
"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 is the city of license for the frequency 90.1 FM?
### ... |
### Context: CREATE TABLE table_57434 (
"Tournament" text,
"1984" text,
"1985" text,
"1986" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text
)
-- Using valid S... |
### Context: CREATE TABLE player (
Player_ID int,
Player text,
Years_Played text,
Total_WL text,
Singles_WL text,
Doubles_WL text,
Team int
)
CREATE TABLE country (
Country_id int,
Country_name text,
Capital text,
Official_native_language text
)
CREATE TABLE team (
Team... |
### Context: CREATE TABLE table_37669 (
"Pos." real,
"Mark" text,
"Athlete" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date was the position less than 4 at Piraeus?
### Query: SELECT "Date" FROM table_37669 W... |
### Context: CREATE TABLE table_54564 (
"Name" text,
"Current version" text,
"System" text,
"Platform" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a licence of gpl v2 and a current version of 0.9.9?
### Query: SELECT "Nam... |
### 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
... |
### 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 table_42224 (
"Former kingdom" text,
"Province" text,
"Hangul" text,
"Hanja" text,
"Capital" text,
"Modern equivalent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Hanja for the sakju province?
### Query:... |
### 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 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,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_56802 (
"Parties and voter communities" text,
"% 2006" real,
"Seats 2006" real,
"% 2001" real,
"Seats 2001" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of Seats 2006 held by the communiti... |
### Context: CREATE TABLE table_name_3 (
fixtures INTEGER,
clubs_involved VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 4 clubs are involved, what is the average number of fixtures?
### Query: SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involve... |
### Context: CREATE TABLE table_68850 (
"Year" text,
"Class" text,
"Games" real,
"Starts" real,
"Comp" real,
"Yards" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average number of starts Michael Henig had in a year when he had mor... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate tim... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE table_50234 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country with a t7 place and a 69-68-72=209 score?
### Query: SELECT "Country" FRO... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZ... |
### Context: CREATE TABLE table_name_52 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attended the game on August 12?
### Query: SELECT COUNT(attendance) FROM table_name_52 WHERE date = "august 12" |
### Context: CREATE TABLE table_18042031_16 (
against VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country did Gil play against on 21 23 september 2007?
### Query: SELECT against FROM table_18042031_16 WHERE date = "21–23 September 2007... |
### Context: CREATE TABLE table_3928 (
"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 above... |
### Context: CREATE TABLE table_45337 (
"Year" real,
"Domestic freight" real,
"Domestic mail" real,
"International freight" real,
"International mail" real,
"Total freight and mail" real,
"Change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_21649285_2 (
margin_of_victory VARCHAR,
no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Margin of victory on no. 4 was?
### Query: SELECT margin_of_victory FROM table_21649285_2 WHERE no = 4 |
### Context: 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,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE table_name_23 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Bronze has a Silver of 15, and a Total smaller than 54?
### Query: SELECT MIN(bronze) FROM table_name_23 WHERE silver = ... |
### Context: CREATE TABLE table_name_8 (
wins INTEGER,
position INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of wins of the team with a position less than 1?
### Query: SELECT MAX(wins) FROM table_name_8 WHERE position < 1 |
### 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 mzjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE table_42291 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings( $ )" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country is ranked more than 4?
### Query: SELECT "Country" FROM table_42291 ... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE icustays (
row_id ... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCoun... |
### Context: CREATE TABLE table_60731 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is To par, when Place is 'T5', and when Score is '70-68=138'?
### Query: SELECT "To par"... |
### Context: CREATE TABLE table_name_83 (
commodity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2005-05 production for milk?
### Query: SELECT 2004 AS _05 FROM table_name_83 WHERE commodity = "milk" |
### Context: CREATE TABLE table_204_638 (
id number,
"year" number,
"tournament" text,
"surface" text,
"round" text,
"winner" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last year where connors won ?
### Query:... |
### Context: CREATE TABLE table_40334 (
"Sport" text,
"Record" text,
"Nation \u2013 athlete(s)" text,
"Date" text,
"Time (seconds)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record for 23 january 2010, with a time smaller than 42.67... |
### Context: CREATE TABLE table_28979895_4 (
partner VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the parter for w/o
### Query: SELECT partner FROM table_28979895_4 WHERE score = "w/o" |
### Context: CREATE TABLE table_name_53 (
round VARCHAR,
record VARCHAR,
time VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Round(s), when Time is 'N/A', when Location is 'Alabama , United States', and w... |
### Context: CREATE TABLE table_79802 (
"Year" real,
"Stage" text,
"Category" text,
"Start" text,
"Finish" text,
"Leader at the summit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What category was in 1964?
### Query: SELECT "Category" FROM ... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jybgb (
BBCJBW text,... |
### Context: CREATE TABLE departments (
department_id number,
dept_store_id number,
department_name text
)
CREATE TABLE staff (
staff_id number,
staff_gender text,
staff_name text
)
CREATE TABLE products (
product_id number,
product_type_code text,
product_name text,
product_pr... |
### Context: CREATE TABLE table_14102379_4 (
attendance INTEGER,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the minimum attendance with stadium being cotton bowl
### Query: SELECT MIN(attendance) FROM table_14102379_4 WHERE stadium = "Co... |
### Context: CREATE TABLE table_11647327_2 (
married_filing_jointly_or_qualified_widow_er_ VARCHAR,
married_filing_separately VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the range of married filing jointly or qualified widower in which married fil... |
### Context: CREATE TABLE table_name_51 (
week_3_sept_8 VARCHAR,
week_2_sept_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed for the Week 3 Sept 8 that has a Week 2 Sept 2 of Florida State (2-0) (4)?
### Query: SELECT week_3_sept_8 FROM tabl... |
### Context: CREATE TABLE office_locations (
building_id number,
company_id number,
move_in_year number
)
CREATE TABLE buildings (
id number,
name text,
city text,
height number,
stories number,
status text
)
CREATE TABLE companies (
id number,
name text,
headquarters t... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE table_name_99 (
scored INTEGER,
draws VARCHAR,
position VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest points scored for the team with a position larger than 5, who had less than 4 wins and ... |
### Context: CREATE TABLE table_48618 (
"Date" text,
"Pos." text,
"Player" text,
"From club" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is From Club, when Player is 'Robinho'?
### Query: SELECT "From club" FROM table_4... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE 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 table_name_24 (
date VARCHAR,
leading_scorer VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date with a Leading scorer with maurice williams (25), and a Score with 102 105?
### Query: SELECT date FROM... |
### 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_53609 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the attendance at the home venue with result w 3-1?
### Query: SELECT MAX("Atten... |
### Context: CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
... |
### 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_72037 (
"Code Name" text,
"Function (figure)" text,
"Real Name" text,
"Birthplace" text,
"Serial number" text,
"Primary military speciality" text,
"Secondary military speciality" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_96 (
ihsaa_class VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which IHSAA Class has a Location of brazil?
### Query: SELECT ihsaa_class FROM table_name_96 WHERE location = "brazil" |
### Context: CREATE TABLE table_30664 (
"Couple" text,
"Style" text,
"Music" text,
"Trine Dehli Cleve" real,
"Tor Fl\u00f8ysvik" real,
"Karianne Gulliksen" real,
"Christer Tornell" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE table_name_84 (
round VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rounds were run in New South Wales?
### Query: SELECT COUNT(round) FROM table_name_84 WHERE state = "new south wales" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.