text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int... |
### Context: CREATE TABLE table_name_9 (
att INTEGER,
yards VARCHAR,
comp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the player with yards less than 138, and Comp more than 0, what was the highest Att.?
### Query: SELECT MAX(att) FROM table_name... |
### Context: CREATE TABLE table_name_24 (
apps INTEGER,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the apps when the name is smith?
### Query: SELECT MIN(apps) FROM table_name_24 WHERE name = "smith" |
### Context: CREATE TABLE table_77379 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record for the St. Louis team?
... |
### Context: CREATE TABLE table_name_92 (
meet VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to meet that has a time 2:15.93
### Query: SELECT meet FROM table_name_92 WHERE time = "2:15.93" |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE SuggestedEdits (
Id... |
### Context: CREATE TABLE table_name_68 (
engine VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Engine has a Finish of 21?
### Query: SELECT engine FROM table_name_68 WHERE finish = "21" |
### Context: CREATE TABLE table_name_49 (
website VARCHAR,
head_coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Website of Head Coach Yuriy Korotkevich?
### Query: SELECT website FROM table_name_49 WHERE head_coach = "yuriy korotkevich" |
### 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_7040 (
"Year" real,
"Dates" text,
"Champion" text,
"Country" text,
"Score" text,
"Margin of victory" text,
"Tournament Location" text,
"Purse ( US$ )" real,
"Winner's share" real
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name 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 tex... |
### Context: CREATE TABLE table_44972 (
"Player" text,
"League" real,
"Title Playoff" real,
"Super Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Title Playoff, when Total is less than 3, and when League is grea... |
### Context: CREATE TABLE table_name_15 (
date VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was versmold?
### Query: SELECT date FROM table_name_15 WHERE tournament = "versmold" |
### Context: CREATE TABLE table_name_69 (
away_team VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the away team when the attendance was 206?
### Query: SELECT away_team FROM table_name_69 WHERE attendance = "206" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
... |
### Context: CREATE TABLE table_name_57 (
difference VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the difference of the team with 12 points?
### Query: SELECT difference FROM table_name_57 WHERE points = 12 |
### Context: CREATE TABLE table_name_50 (
date VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the total 25 45?
### Query: SELECT date FROM table_name_50 WHERE total = "25–45" |
### Context: CREATE TABLE table_34256 (
"Abbr." text,
"Name" text,
"Picture Coding Types" text,
"Chroma Format" text,
"Aspect Ratios" text,
"Scalable modes" text,
"Intra DC Precision" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Pictu... |
### 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_22893 (
"No." real,
"#" 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 tables provided above.
-- ... |
### Context: CREATE TABLE table_name_69 (
architecture VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Architecture was released on Release date 1988-05-27?
### Query: SELECT architecture FROM table_name_69 WHERE release_date = "1... |
### Context: CREATE TABLE table_name_35 (
new_returning_same_network VARCHAR,
returning VARCHAR,
show VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network returns april 3, and a Show of shop 'til you drop?
### Query: SELECT new_returning_same_ne... |
### Context: CREATE TABLE table_1342379_10 (
district VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many areas were in the election in 1912
### Query: SELECT COUNT(district) FROM table_1342379_10 WHERE first_elected = 1912 |
### Context: CREATE TABLE procedures (
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_... |
### Context: CREATE TABLE table_31272 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which MLS team picked player Jason Herrick?
### Query: SELECT "MLS team" FROM table... |
### Context: CREATE TABLE table_204_240 (
id number,
"name" text,
"current use" text,
"completed" text,
"namesake" text,
"info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was strosacker hall or presidents house made in 1965 ?
### Query: SEL... |
### Context: CREATE TABLE table_19985 (
"Stage" real,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Combination classification" text,
"Team classification" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_204_99 (
id number,
"#" number,
"club" text,
"winner" number,
"last win" number,
"runner-up" number,
"last losing final" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who has three wins ? malavan or homa ?
... |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
Ow... |
### Context: CREATE TABLE table_name_65 (
tone VARCHAR,
standard_thai VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tone has a Standard Thai at ?
### Query: SELECT tone FROM table_name_65 WHERE standard_thai = "ปลา" |
### Context: CREATE TABLE table_26302 (
"Vehicle code" text,
"Bore (mm)" text,
"Stroke (mm)" text,
"Capacity (cm 3 )" real,
"Compression ratio" text,
"Torque (N m)" real,
"Power (HP)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is th... |
### Context: CREATE TABLE table_26448179_4 (
title VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode watched by 3.2 million viewers?
### Query: SELECT title FROM table_26448179_4 WHERE us_viewers_... |
### Context: CREATE TABLE table_33206 (
"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 is the away team's score when ... |
### Context: CREATE TABLE table_72317 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How m... |
### Context: CREATE TABLE table_name_61 (
date VARCHAR,
city___state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date for the City/State of Sydney, New South Wales?
### Query: SELECT date FROM table_name_61 WHERE city___state = "sydney, new s... |
### Context: CREATE TABLE table_name_49 (
points INTEGER,
entrant VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of points for the Modena Team Spa after 1991?
### Query: SELECT MAX(points) FROM table_name_49 WHER... |
### Context: CREATE TABLE table_8810 (
"Date" text,
"Time ( GMT )" text,
"Serial" text,
"Apogee" text,
"Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time (GMT) for the 4A Serial?
### Query: SELECT "Time ( GMT )" FROM table_88... |
### Context: CREATE TABLE table_15887683_10 (
ppv VARCHAR,
television_service VARCHAR,
package_option VARCHAR,
dar VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the ppv for sky famiglia and dar 16:9 for mtv dance
### Query: SELECT ppv FROM tab... |
### Context: CREATE TABLE table_14367 (
"Title" text,
"Year" real,
"Platform" text,
"Developer" text,
"Publisher" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year when the publisher was argonaut games sierra entertainment
### Query: SEL... |
### Context: CREATE TABLE table_name_1 (
airing_date VARCHAR,
number_of_episodes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the airing date for the show with 62 episodes?
### Query: SELECT airing_date FROM table_name_1 WHERE number_of_episodes = ... |
### Context: CREATE TABLE table_name_83 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has charlton athletic as the away team?
### Query: SELECT score FROM table_name_83 WHERE away_team = "charlton athletic" |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locati... |
### Context: CREATE TABLE table_38323 (
"Event" text,
"Round" text,
"Result" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Opponent of andry laffita had what score?
### Query: SELECT "Score" FROM table_38323 WHERE "O... |
### Context: CREATE TABLE Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
Phone INTEGER,
Room VARCHAR(5),
Building VARCHAR(13)
)
CREATE TABLE Participates_in (... |
### 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_name_23 (
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the away team's score against Hawthorn?
### Query: SELECT away_team AS score FROM table_name_23 WHERE away_team = "hawthorn" |
### Context: CREATE TABLE table_name_64 (
qual VARCHAR,
finish VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What qual had a finish of 16 in 1968?
### Query: SELECT qual FROM table_name_64 WHERE finish = "16" AND year = "1968" |
### Context: CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
... |
### Context: CREATE TABLE table_name_20 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What away team played Collingwood?
### Query: SELECT away_team FROM table_name_20 WHERE home_team = "collingwood" |
### Context: CREATE TABLE table_name_31 (
podiums INTEGER,
wins VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Podiums with 0 as wins, and a season later than 1985?
### Query: SELECT MAX(podiums) FROM table_name_31 WH... |
### Context: CREATE TABLE qtb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE table_27008 (
"Artist/Band" text,
"Song" text,
"Disney affiliated" text,
"Released" real,
"US exclusive" text,
"EU exclusive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the us exclusive for miley cyrus
### Que... |
### Context: CREATE TABLE table_44091 (
"Usage" text,
"Class" text,
"Performance" text,
"Performance test" text,
"Particulate size approaching 100% retention" text,
"Test Standard" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Performance... |
### Context: CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
buil... |
### Context: CREATE TABLE table_name_37 (
extra VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the extra result of the 4th game?
### Query: SELECT extra FROM table_name_37 WHERE result = "4th" |
### Context: CREATE TABLE table_63702 (
"Year" real,
"Baden" text,
"W\u00fcrttemberg" text,
"Nordbayern" text,
"S\u00fcdbayern" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the S dbayern in 1928?
### Query: SELECT "S\u00fcdbayern" FROM tab... |
### Context: CREATE TABLE table_44638 (
"Heat" real,
"Lane" real,
"Name" text,
"Country" text,
"Mark" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country had the runner abubaker kaki khamis in lane 5?
### Query: SELECT "Country" FROM table_... |
### Context: CREATE TABLE table_name_68 (
date VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the dage of catalog asw 28033?
### Query: SELECT date FROM table_name_68 WHERE catalog = "asw 28033" |
### Context: CREATE TABLE table_name_6 (
name VARCHAR,
death VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name with a death in 2001?
### Query: SELECT name FROM table_name_6 WHERE death = "2001" |
### Context: CREATE TABLE architect (
id text,
name text,
nationality text,
gender text
)
CREATE TABLE mill (
architect_id number,
id number,
location text,
name text,
type text,
built_year number,
notes text
)
CREATE TABLE bridge (
architect_id number,
id number,
... |
### 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_62029 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Party, when Results is 'Re-Elected', and when District is 'Louisiana 5'?
... |
### 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 table_name_11 (
regulatory_citation VARCHAR,
standard VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the regulatory citation when the standard is 15 g/m ?
### Query: SELECT regulatory_citation FROM table_name_11 WHERE stand... |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_c... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment t... |
### Context: CREATE TABLE table_name_29 (
rank VARCHAR,
code__iata_icao_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many ranks have a Code (IATA/ICAO) of ord/kord?
### Query: SELECT COUNT(rank) FROM table_name_29 WHERE code__iata_icao_ = "ord/kord" |
### Context: CREATE TABLE table_name_86 (
score_in_final VARCHAR,
partnering VARCHAR,
opponents_in_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score of the game against shingo kunieda maikel scheffers when robin ammerlaan was ... |
### 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 lab (
... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
... |
### Context: CREATE TABLE 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 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 plays_games (
stuid number,
gameid number,
hours_played number
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE video_games (
gameid number,
gname text,
gtype text
... |
### Context: CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
... |
### 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 manufacturers (
name VARCHAR,
headquarter VARCHAR,
revenue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find all manufacturers' names and their headquarters, sorted by the ones with highest revenue first.
### Query: SELECT na... |
### Context: CREATE TABLE table_name_88 (
label VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the label on the United States?
### Query: SELECT label FROM table_name_88 WHERE country = "united states" |
### Context: CREATE TABLE table_name_1 (
league_goals INTEGER,
league_apps VARCHAR,
fa_cup_goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest league goals when the league apps is 1 and the fa cup goals is more than 0?
### Query: SEL... |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE city (
city_co... |
### Context: CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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,
I... |
### Context: CREATE TABLE table_name_19 (
win__percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the win percentage for the 2012 of olympic games?
### Query: SELECT win__percentage FROM table_name_19 WHERE 2012 = "olympic games" |
### Context: CREATE TABLE table_name_66 (
lost VARCHAR,
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games lost associated with under 14 played?
### Query: SELECT COUNT(lost) FROM table_name_66 WHERE played < 14 |
### Context: CREATE TABLE table_name_8 (
score VARCHAR,
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the score on april 27 with visitor of buffalo
### Query: SELECT score FROM table_name_8 WHERE visitor = "buffalo" AND da... |
### Context: CREATE TABLE table_name_10 (
location VARCHAR,
game VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location before game 44, and a 20-16 record?
### Query: SELECT location FROM table_name_10 WHERE game < 44 AND re... |
### Context: CREATE TABLE table_2687 (
"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_41925 (
"Round" text,
"Opposition" text,
"First leg" text,
"Second leg" text,
"Aggregate score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first leg score in the match against Twente?
### Query: SELE... |
### Context: CREATE TABLE table_60507 (
"Date" text,
"Opponent" text,
"Score" text,
"Site/Stadium" text,
"Loss" text,
"Save" text,
"Attendance" real,
"Overall Record" text,
"NCAAT Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE qtb (
CLINIC_ID text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_26961951_4 (
us_viewers__million_ VARCHAR,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers in millions did the Alison McDonald episode get?
### Query: SELECT us_viewers__million_ FROM table_26961951... |
### Context: CREATE TABLE table_78574 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Place of england with a Score larger than 66?
### Query: SELECT "Place" FROM table_7... |
### Context: CREATE TABLE table_8294 (
"LB&SC Number" real,
"Built" text,
"S.R. Number" real,
"Withdrawal" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the withdrawal when the lb&sc number is less than 16 and the s.r. number ... |
### Context: CREATE TABLE table_18957 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many c... |
### Context: CREATE TABLE table_name_12 (
grid VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many grids for heinz-harald frentzen with 61 laps?
### Query: SELECT COUNT(grid) FROM table_name_12 WHERE laps = 61 AND drive... |
### Context: CREATE TABLE table_15781170_3 (
original_air_date VARCHAR,
poll_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the original air dates when scientology isthe poll winner?
### Query: SELECT original_air_date FROM table_15781170_3 ... |
### Context: CREATE TABLE table_79020 (
"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 place of the player with a 66-68-70=204 score?
### Query: SELECT "Place" FROM tab... |
### Context: CREATE TABLE table_203_164 (
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.
-- which opponents scored no goals ?
###... |
### Context: CREATE TABLE table_69438 (
"Rank" real,
"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 total Gold with a Bronze smaller than 7, a Total of 1, a Nation of ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.