text stringlengths 197 8.39k |
|---|
### 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_35904 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was Patty Sheehan Runner(s)-up?
### Query: SELECT "Da... |
### Context: CREATE TABLE table_61785 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum grid when there was more than 22 laps?
### Query: SELECT MIN("Grid") FROM table_6... |
### Context: CREATE TABLE table_name_14 (
gold INTEGER,
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Gold, when Total is less than 1?
### Query: SELECT SUM(gold) FROM table_name_14 WHERE total < 1 |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,... |
### Context: CREATE TABLE table_622 (
"Leg" text,
"Stage" text,
"Time (EEST)" text,
"Name" text,
"Length" text,
"Winner" text,
"Time" text,
"Avg. spd." text,
"Rally leader" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the n... |
### Context: CREATE TABLE table_19948664_1 (
index__year_ VARCHAR,
author___editor___source VARCHAR,
ranking_la__2_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What index was created by the United Nations (UNDP) and reached 2nd place in the LA Ranking... |
### Context: CREATE TABLE submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
-- Using valid SQLite... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### Context: CREATE TABLE table_name_66 (
date VARCHAR,
versus VARCHAR,
wicket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the game against South Africa and 2nd wickets?
### Query: SELECT date FROM table_name_66 WHERE versus = "so... |
### Context: CREATE TABLE table_55464 (
"Class" text,
"Wheels" text,
"Date" text,
"Builder" text,
"No. Built" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Builder has a Class of Terrier?
### Query: SELECT "Builder" FROM table_55464 WHERE "C... |
### Context: CREATE TABLE table_204_865 (
id number,
"date" text,
"tournament" text,
"winner" text,
"purse ($)" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the previous tournament winner before andres romero at the sep... |
### Context: CREATE TABLE table_74960 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has an Opponent of melanie south?
### Query: SELECT "Sco... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
s... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_name_84 (
album VARCHAR,
label VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Album has a Label of tumbleweed 1014?
### Query: SELECT album FROM table_name_84 WHERE label = "tumbleweed 1014" |
### Context: CREATE TABLE table_name_51 (
name VARCHAR,
round VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name had more than 5 rounds and was a defensive end?
### Query: SELECT name FROM table_name_51 WHERE round > 5 AND posit... |
### Context: CREATE TABLE table_name_58 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the away team score at corio oval?
### Query: SELECT away_team AS score FROM table_name_58 WHERE venue = "corio oval" |
### 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 jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### Context: CREATE TABLE table_27700530_15 (
series VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the series record at after game 3?
### Query: SELECT series FROM table_27700530_15 WHERE game = 3 |
### Context: CREATE TABLE table_17532 (
"Number" real,
"Name" text,
"Titles" text,
"Date" text,
"Opponent" text,
"Result" text,
"Defenses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many opponents fought on 1982-12-03?
### Query: SE... |
### Context: CREATE TABLE table_38458 (
"Model" text,
"Min. capacity (mAh)" text,
"Typ. capacity (mAh)" text,
"Capacity after first day" text,
"After 1 year" text,
"After 2 years" text,
"After 3 years" text,
"After 5 years" text
)
-- Using valid SQLite, answer the following questions f... |
### 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_17861265_1 (
written_by VARCHAR,
us_viewers__million_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the episode writer when the viewers reached 3.03 million in the US?
### Query: SELECT written_by FROM table_17861265... |
### Context: CREATE TABLE table_65576 (
"School" text,
"Location" text,
"Mascot" text,
"Size" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class of the schoo... |
### Context: CREATE TABLE table_63314 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school is in Ligonier?
### Query: SELECT "School" FRO... |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
C... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
... |
### Context: CREATE TABLE table_44519 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Nationality, when College/Junior/Club Team (League) ... |
### Context: CREATE TABLE table_name_4 (
player VARCHAR,
club_province VARCHAR,
caps VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Ulster player has fewer than 49 caps and plays the wing position?
### Query: SELECT player FR... |
### Context: CREATE TABLE table_77252 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the margin of victory when the runner-up is amy alcott and ... |
### Context: CREATE TABLE table_17325937_8 (
high_assists VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many assists were made in the game against San Antonio?
### Query: SELECT COUNT(high_assists) FROM table_17325937_8 WHERE team = "San ... |
### Context: CREATE TABLE table_204_634 (
id number,
"tour" number,
"official title" text,
"venue" text,
"city" text,
"date\nstart" text,
"date\nfinish" text,
"prize money\nusd" number,
"report" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_name_27 (
away_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which away team that had a tie of 7?
### Query: SELECT away_team FROM table_name_27 WHERE tie_no = "7" |
### Context: CREATE TABLE table_37723 (
"Season" text,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of wins when h... |
### Context: CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
CREATE TABLE Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
)
-- Using valid S... |
### Context: CREATE TABLE table_name_15 (
no_7 VARCHAR,
no_4 VARCHAR,
no_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is No. 7, when No. 4 is Madison, and when No. 10 is Amelia?
### Query: SELECT no_7 FROM table_name_15 WHERE no_4 = "madison" ... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
... |
### 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_50880 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Grid with a time of +1:19.905, and less than 20 laps?
### Query: SELECT M... |
### Context: CREATE TABLE table_204_639 (
id number,
"poll company" text,
"source" text,
"publication date" text,
"psuv" number,
"opposition" number,
"undecided" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many different poll compan... |
### 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_2 (
_m__best_ VARCHAR,
_fairest VARCHAR,
president VARCHAR,
_m__coach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the (M) Best & Fairest when ray kaduck was president and richard keane was coach?
### Q... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
Belong... |
### Context: CREATE TABLE table_66164 (
"Rank:" real,
"Premier:" text,
"Party:" text,
"Assumed Office:" text,
"Left Office:" text,
"TOTAL Time in Office:" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the premier when the assumed office... |
### Context: CREATE TABLE table_44113 (
"Year" real,
"Regional GVA" real,
"Agriculture" real,
"Industry" real,
"Services" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Services, when Year is greater than 2003, when Industry is g... |
### Context: CREATE TABLE ref_service_types (
service_type_code text,
parent_service_type_code text,
service_type_description text
)
CREATE TABLE performers (
performer_id number,
address_id number,
customer_name text,
customer_phone text,
customer_email_address text,
other_details ... |
### Context: CREATE TABLE table_22815568_6 (
status VARCHAR,
poverty_rate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status if the poverty rate is 11.4%?
### Query: SELECT status FROM table_22815568_6 WHERE poverty_rate = "11.4%" |
### Context: CREATE TABLE table_1889 (
"No. in series" 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.
-- Name ... |
### Context: CREATE TABLE table_5625 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has a Method of decision (unanimous), and an... |
### 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_name_87 (
goals VARCHAR,
apps VARCHAR,
club VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals did he score with under 26 appearances for werder bremen?
### Query: SELECT COUNT(goals) FROM table_name_87 WHERE a... |
### Context: CREATE TABLE table_39732 (
"Code" text,
"Years" text,
"Displacement (bore x stroke)/Type" text,
"Power@rpm" text,
"torque@rpm" text,
"Compression (:1)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Code of 1.6 duratec ti-vct, and a... |
### Context: CREATE TABLE table_42157 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Points" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Wins in the Year with more than 16 Races?
### Qu... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
... |
### 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 captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic ... |
### Context: CREATE TABLE table_name_36 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 value with 1r in 2009 and 2r in 2011 at the Tournament of Wimbledon?
### Query: SELECT 2007 FROM table_name_36 WHERE 2009 = "1r" AND 2011 = "2r"... |
### Context: CREATE TABLE table_name_58 (
starts INTEGER,
money_list_rank VARCHAR,
top_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?
#... |
### Context: CREATE TABLE table_name_47 (
mccain_number INTEGER,
obama_number VARCHAR,
others_percentage VARCHAR,
mccain_percentage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of votes for McCain in a county that voted 1... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
Suggested... |
### Context: CREATE TABLE table_name_61 (
total INTEGER,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest total with a t12 finish?
### Query: SELECT MAX(total) FROM table_name_61 WHERE finish = "t12" |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### 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_1 (
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many to par for Greg Norman?
### Query: SELECT to_par FROM table_name_1 WHERE player = "greg norman" |
### Context: CREATE TABLE table_23248940_9 (
high_assists VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the most high assists during the game played on February 6?
### Query: SELECT high_assists FROM table_23248940_9 WHERE date = "Feb... |
### 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_51289 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the laps are 31 and the constructor was honda, what's the sum of all grid values?... |
### Context: CREATE TABLE table_29126507_1 (
date VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did Fitzroy play as the home team?
### Query: SELECT date FROM table_29126507_1 WHERE home_team = "Fitzroy" |
### Context: CREATE TABLE broadcast (
channel_id number,
program_id number,
time_of_day text
)
CREATE TABLE channel (
channel_id number,
name text,
owner text,
share_in_percent number,
rating_in_percent number
)
CREATE TABLE broadcast_share (
channel_id number,
program_id numbe... |
### 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 table_48285 (
"Athlete" text,
"Event" text,
"Swim (1.5km)" text,
"Trans 1" text,
"Bike (40km)" text,
"Trans 2" text,
"Run (10km)" text,
"Total Time" text,
"Rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
s... |
### 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 table_65157 (
"Rank" real,
"Athlete" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which athlete had a rank of 6 and notes of sc/d?
### Query: SELECT "Athlete" FROM table_65157 W... |
### Context: CREATE TABLE table_26397277_3 (
brand__to_ VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the brand for pick number 15
### Query: SELECT brand__to_ FROM table_26397277_3 WHERE pick__number = 15 |
### Context: CREATE TABLE table_name_33 (
school_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 02-03, when School Year is % Learning In Latvian?
### Query: SELECT 02 AS _03 FROM table_name_33 WHERE school_year = "% learning in latvian" |
### Context: CREATE TABLE table_name_85 (
score VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the game attended by 25,034?
### Query: SELECT score FROM table_name_85 WHERE attendance = "25,034" |
### Context: CREATE TABLE table_1204 (
"No" real,
"Date" text,
"Round" text,
"Circuit" text,
"Pole Position" text,
"Fastest Lap" text,
"Race Winner" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people won in No.... |
### Context: CREATE TABLE movie (
movie_id int,
Title text,
Year int,
Director text,
Budget_million real,
Gross_worldwide int
)
CREATE TABLE book_club (
book_club_id int,
Year int,
Author_or_Editor text,
Book_Title text,
Publisher text,
Category text,
Result text
)
... |
### Context: CREATE TABLE table_name_5 (
tyre VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tyre for the united states grand prix?
### Query: SELECT tyre FROM table_name_5 WHERE race = "united states grand prix" |
### Context: CREATE TABLE table_name_87 (
loser VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the loser of the fight against antonio silva?
### Query: SELECT loser FROM table_name_87 WHERE winner = "antonio silva" |
### Context: CREATE TABLE table_70363 (
"Rank" text,
"Margin" text,
"Club" text,
"Opponent" text,
"Year" text,
"Round" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which round has a margin of 178?
### Query: SELECT "Round" F... |
### Context: CREATE TABLE table_68028 (
"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 on 6 February 2008?
### Query: SELECT "Score" FROM table_68028 WHERE "Da... |
### 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 table_4692 (
"Played" real,
"Lost" real,
"Drawn" real,
"Tries" real,
"Points" real,
"% Won" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tries for the player whose number is greater than 2 and losses are smal... |
### Context: CREATE TABLE table_22914 (
"Fiscal year" real,
"2-car sets" real,
"3-car sets" real,
"4-car sets" real,
"6-car sets" real,
"8-car sets" real,
"Total vehicles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 4 car sets fo... |
### Context: CREATE TABLE table_29728596_2 (
competition VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the competitions when the away team was fk kozara gradiska?
### Query: SELECT competition FROM table_29728596_2 WHERE away_t... |
### Context: CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE cinema (
Cinema_ID int,
Name text,
Openning_year int,
Capacity int,
Location text
)
CREATE T... |
### Context: CREATE TABLE table_name_98 (
surface VARCHAR,
semifinalists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Surface has a Semifinalist of stefan edberg thomas muster?
### Query: SELECT surface FROM table_name_98 WHERE semifinalists = "stef... |
### Context: CREATE TABLE table_name_32 (
winner VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who won on 29 may?
### Query: SELECT winner FROM table_name_32 WHERE date = "29 may" |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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 ... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_N... |
### 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 d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob ... |
### 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_204_143 (
id number,
"national park" text,
"region" text,
"land area (km2)" number,
"established" number,
"visitation (2009)" number,
"coordinates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which of finla... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.