text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_203_652 (
id number,
"goal" 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.
-- which type of competition was liste... |
### 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_9734 (
"Season" text,
"Winner" text,
"Prize" text,
"Runner-Up" text,
"3rd place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Prize, when Winner is 'John Shaw'?
### Query: SELECT "Prize" FROM table_9734 WHE... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_204_227 (
id number,
"week" number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on which date did the bombers score the least points ?
##... |
### Context: CREATE TABLE table_1341453_37 (
first_elected INTEGER,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the incumbent Sherrod Brown first elected?
### Query: SELECT MAX(first_elected) FROM table_1341453_37 WHERE incumbent = "Sh... |
### Context: CREATE TABLE table_76482 (
"Model" text,
"Sensor Size" text,
"Resolution" text,
"Active Pixels" text,
"Display" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the resolution of the camera that has 6726 x 5040 pixels and a model ... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts te... |
### Context: CREATE TABLE table_13434 (
"Non-dictatorship" text,
"Pareto efficiency" text,
"Majority" text,
"Monotone" text,
"Consistency & Participation" text,
"Condorcet" text,
"Condorcet loser" text,
"Clone independence" text,
"Reversal symmetry" text
)
-- Using valid SQLite, an... |
### Context: CREATE TABLE table_name_95 (
frequency_mhz VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what frequency does W233AG broadcast?
### Query: SELECT COUNT(frequency_mhz) FROM table_name_95 WHERE call_sign = "w233ag" |
### Context: CREATE TABLE table_name_41 (
position VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which position has a time of 1:45:53:00?
### Query: SELECT position FROM table_name_41 WHERE time = "1:45:53:00" |
### 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 basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE table_75212 (
"Year" text,
"Channel" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Courtside reporter" text,
"Studio host" text,
"Studio analysts" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Colo... |
### Context: CREATE TABLE table_70287 (
"Date" text,
"Venue" text,
"Score [A ]" text,
"Competition" text,
"Att." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score [A] of the match on 19 September 1998?
### Query: SELECT "Score [A ]" ... |
### Context: CREATE TABLE table_204_114 (
id number,
"pos" text,
"rider" text,
"manufacturer" text,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which rider earned only 2 points ?
### Query: ... |
### Context: CREATE TABLE table_29743928_4 (
games VARCHAR,
years VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 2010 is the year what is the game?
### Query: SELECT games FROM table_29743928_4 WHERE years = "2010" |
### Context: CREATE TABLE table_52240 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent during the UFC 90... |
### Context: CREATE TABLE table_68394 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue when the score is 1 goal, and the date is August 27, 1980?
### Query: SEL... |
### Context: CREATE TABLE table_name_18 (
runs VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runs happened in 2013?
### Query: SELECT runs FROM table_name_18 WHERE year = "2013" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
... |
### Context: CREATE TABLE table_name_87 (
number_of_bearers_2008 INTEGER,
surname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Highest Number of Bearers 2008, when Surname is Jacobsen?
### Query: SELECT MAX(number_of_bearers_2008) FROM table_name_... |
### Context: CREATE TABLE table_13876 (
"Lane" real,
"Athlete" text,
"Nationality" text,
"Time" real,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the greatest lane that David Payne was in when he ran longer than 13.17?
### Query:... |
### 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_name_9 (
writer VARCHAR,
actual_title VARCHAR,
artist VARCHAR,
issue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actu... |
### Context: CREATE TABLE table_name_3 (
birth_date VARCHAR,
weight__kg_ VARCHAR,
world_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the birth date when the weight (kg) is 100 and the world rank is 2?
### Query: SELECT birth_date FROM tab... |
### Context: CREATE TABLE table_name_88 (
year INTEGER,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT YEAR HAS A BRONZE OF VALENTIN NOVIKOV?
### Query: SELECT AVG(year) FROM table_name_88 WHERE bronze = "valentin novikov" |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE table_74636 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game played on 16 August 2006?
### Query: SELECT "Score" FROM tab... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
A... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_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 VISITS (
Tourist_Attraction_ID VARCHAR
)
CREATE TABLE Tourist_Attractions (
Name VARCHAR,
Tourist_Attraction_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the names and ids of tourist attractions that are visited at mo... |
### Context: CREATE TABLE table_name_66 (
date_of_birth VARCHAR,
begin_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?
### Qu... |
### 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 dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
ho... |
### Context: CREATE TABLE table_name_68 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number in attendance for may 1
### Query: SELECT COUNT(attendance) FROM table_name_68 WHERE date = "may 1" |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE... |
### Context: CREATE TABLE table_22334 (
"Eliminated" real,
"Wrestler" text,
"Entered" real,
"Eliminated by" text,
"Method of elimination" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many entered the match with a time of 14:42... |
### Context: CREATE TABLE table_54431 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has a 1 February 1982 birthday and more than 16 caps?
### Q... |
### 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 ftxmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM tex... |
### Context: CREATE TABLE table_203_829 (
id number,
"event" text,
"record" text,
"athlete(s)" text,
"date" text,
"time (s)" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date of the last event listed ?
### Query: SELECT "date" F... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
C... |
### Context: CREATE TABLE table_204_261 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the last nation on the list ?
### Query: SE... |
### Context: CREATE TABLE table_name_72 (
favorable INTEGER,
date VARCHAR,
unfavorable VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the lowest favorable on 1954 June and more unfavorable than 45?
### Query: SELECT MIN(favorable) FROM table_na... |
### Context: CREATE TABLE table_59491 (
"Name" text,
"Position" text,
"League Apps" text,
"League Goals" real,
"FA Cup Apps" text,
"FA Cup Goals" real,
"League Cup Apps" text,
"League Cup Goals" real,
"Total Apps" text,
"Total Goals" real
)
-- Using valid SQLite, answer the fol... |
### Context: CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE table_62204 (
"Date From" text,
"Date To" text,
"Pos." text,
"Name" text,
"Moving To" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was febian brandy loaned out until, when was loaned out on 2 february 2009.?
### Que... |
### Context: CREATE TABLE table_12962773_14 (
year_born INTEGER,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the player born who is 2.02m tall?
### Query: SELECT MAX(year_born) FROM table_12962773_14 WHERE height = "2.02" |
### Context: CREATE TABLE table_2079 (
"Year" real,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race Time" text,
"Average Speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_7 (
d_42 VARCHAR,
d_43 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the D 42 with D 43 of d 14
### Query: SELECT d_42 FROM table_name_7 WHERE d_43 = "d 14" |
### Context: CREATE TABLE table_27854 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whe... |
### Context: CREATE TABLE table_name_31 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the French Open tournament had 2r in 2012, what was it in 2010?
### Query: SELECT 2010 FROM table_name_31 WHERE 2012 = "2r" AND tournament = "french open" |
### Context: CREATE TABLE table_40145 (
"Value" text,
"\u20ac equiv." text,
"Diameter" text,
"Weight" text,
"Composition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value of the coin weighing 10.5 g and made of cupronickel?
### Quer... |
### Context: CREATE TABLE table_22883210_11 (
high_points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 5 is the game who has the highest amount of points?
### Query: SELECT high_points FROM table_22883210_11 WHERE game = 5 |
### Context: CREATE TABLE table_name_10 (
year_built VARCHAR,
class VARCHAR,
number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the class 253 larger than 18 built?
### Query: SELECT year_built FROM table_name_10 WHERE class = "class 253... |
### Context: CREATE TABLE table_name_5 (
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did billy andrade to par?
### Query: SELECT to_par FROM table_name_5 WHERE player = "billy andrade" |
### Context: CREATE TABLE follows (
f1 int(11),
f2 int(11)
)
CREATE TABLE user_profiles (
uid int(11),
name varchar(255),
email varchar(255),
partitionid int(11),
followers int(11)
)
CREATE TABLE tweets (
id bigint(20),
uid int(11),
text char(140),
createdate datetime
)
-... |
### Context: CREATE TABLE table_7649 (
"Week" real,
"Date" text,
"Opponent" text,
"Game Site" text,
"Final Score" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Record with a Game Site that is jo... |
### Context: CREATE TABLE table_name_61 (
points INTEGER,
driver VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest points total scored by Dan Clarke in a grid higher than 10?
### Query: SELECT MAX(points) FROM table_name_6... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress tex... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE wdmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### 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_71025 (
"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.
-- When Keey has 58.1% what % does Bush have?
### Query: ... |
### Context: CREATE TABLE table_28521 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_56566 (
"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 home team played the away team... |
### Context: CREATE TABLE table_204_54 (
id number,
"pondicherry assembly" text,
"duration" text,
"name of m.l.a." text,
"party affiliation" text,
"election year" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- the last winner of the twelfth po... |
### 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_25556 (
"No." real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Rank (week)" real,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List... |
### Context: CREATE TABLE table_204_913 (
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.
-- how many times was laos the opponent ?... |
### Context: CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_n... |
### Context: CREATE TABLE table_18378 (
"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 first elected when the party was republican an... |
### Context: CREATE TABLE table_name_80 (
qual_2 VARCHAR,
team VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Ryan Hunter-Reay of the Herdez Competition's Qual 2 time?
### Query: SELECT qual_2 FROM table_name_80 WHERE team = "herde... |
### 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 dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_st... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_11677691_3 (
player VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player's hometown is Roebuck, South Carolina?
### Query: SELECT player FROM table_11677691_3 WHERE hometown = "Roebuck, South Carolina" |
### Context: CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
... |
### Context: CREATE TABLE table_1059743_2 (
member_association VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many countries earned 177.2 points?
### Query: SELECT COUNT(member_association) FROM table_1059743_2 WHERE points = "177.2" |
### Context: CREATE TABLE table_47653 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_61 (
final_round VARCHAR,
weight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What final round had a weight of 245?
### Query: SELECT final_round FROM table_name_61 WHERE weight = 245 |
### Context: CREATE TABLE table_59364 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What label is in CD format in Australia?
### Query: SELECT "Label" FROM table_59364 WHERE "For... |
### 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_5258 (
"Episode" real,
"Title" text,
"Airdate (Canada)" text,
"Airdate (USA)" text,
"CBS airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the CBS airdate of the episode with a number under 70 with a USA... |
### Context: CREATE TABLE table_name_25 (
circuit VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the circuit for round 18
### Query: SELECT circuit FROM table_name_25 WHERE round = 18 |
### Context: CREATE TABLE table_34472 (
"Rank" real,
"Player" text,
"Country" text,
"Earnings ( $ )" real,
"Events" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Rank of 5?
### Query: SELECT "Country" FROM tabl... |
### 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 hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
K... |
### Context: CREATE TABLE table_name_94 (
drawn VARCHAR,
losing_bonus VARCHAR,
played VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the club that had 453 points against, losing bonus of 5 and played of 22, what is the dra... |
### Context: CREATE TABLE table_name_61 (
wins VARCHAR,
ballarat_fl VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many total wins does Ballarat FL of East point have when the against is greater than 1000?
### Query: SELECT COUNT(wi... |
### Context: CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Comments (
Id number,
Pos... |
### Context: CREATE TABLE table_name_83 (
tournament VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tournament, when the Opponent is Patricia Mayr-Achleitner?
### Query: SELECT tournament FROM table_name_83 WHERE opponent = "pa... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### Context: CREATE TABLE table_name_83 (
try_bonus VARCHAR,
drawn VARCHAR,
points_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What try bonus drew 0 and scored 427 points for?
### Query: SELECT try_bonus FROM table_name_83 WHERE drawn = "0" AND p... |
### 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_40956 (
"Position" text,
"Jersey number" real,
"Name v t e" text,
"Height (cm)" real,
"Weight (kg)" real,
"Birthplace" text,
"1995-96 team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average H... |
### Context: CREATE TABLE table_11613 (
"Type" text,
"Model" text,
"Tuner" text,
"Host Interface" text,
"Digital" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the digital for tuner of thomson dtt75105
### Query: SELECT "Digital" FROM tabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.