text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_2140071_10 (
season VARCHAR,
premier_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the season for august 16, 2010
### Query: SELECT season FROM table_2140071_10 WHERE premier_date = "August 16, 2010" |
### Context: CREATE TABLE table_name_13 (
played INTEGER,
lost VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Played has a Lost smaller than 3, and a Drawn smaller than 0?
### Query: SELECT AVG(played) FROM table_name_13 WHERE lost <... |
### Context: CREATE TABLE table_9516 (
"Party" text,
"Leader" text,
"Seats" text,
"% of seats" text,
"First Pref votes" text,
"% FPv" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the First Pref Votes for the % FPv of 0.06?
### Query: ... |
### Context: CREATE TABLE table_77106 (
"Tournament" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term var... |
### Context: CREATE TABLE Customers (
customer_id INTEGER,
payment_method VARCHAR(15),
customer_name VARCHAR(80),
date_became_customer DATETIME,
other_customer_details VARCHAR(255)
)
CREATE TABLE Customer_Orders (
order_id INTEGER,
customer_id INTEGER,
order_status VARCHAR(15),
orde... |
### Context: CREATE TABLE table_name_45 (
time INTEGER,
athlete VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the athlete muna lee lowest time?
### Query: SELECT MIN(time) FROM table_name_45 WHERE athlete = "muna lee" |
### Context: CREATE TABLE table_name_93 (
combined VARCHAR,
overall VARCHAR,
slalom VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the combined of 2 overalls and 5 slaloms?
### Query: SELECT combined FROM table_name_93 WHERE overall = "2" AND sl... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_I... |
### Context: CREATE TABLE table_name_40 (
alternate_title_translation VARCHAR,
series_premiere VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the alternate title/translation of the series that premiered on December 12, 2006?
### Query: SELECT altern... |
### Context: CREATE TABLE table_28964 (
"Detailed Family Information" text,
"From" real,
"To" real,
"Anchor" real,
"Orientation" text,
"Conserved in Mus Musculus" text,
"Matrix Sim" text,
"Sequence" text,
"Occurrence" real
)
-- Using valid SQLite, answer the following questions for... |
### Context: CREATE TABLE table_63273 (
"Rank" real,
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the nationality is united states, and the time is 58.06, and the heat is l... |
### Context: CREATE TABLE table_21535453_1 (
source VARCHAR,
terry_mcauliffe VARCHAR,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the source of the poll that gave McAuliffe 30% on June 8?
### Query: SELECT source FROM tabl... |
### Context: CREATE TABLE table_54539 (
"Pick #" real,
"Player" text,
"Nationality" text,
"Position" text,
"League from" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is Steven Anthony?
### Query: SELECT "Nationality" FROM table_5... |
### Context: CREATE TABLE table_27316 (
"Region" text,
"Preschool (0\u20135 years)" text,
"Primary (6\u201313 years)" text,
"Secondary (14\u201317 years)" text,
"Tertiary (18\u201324 years)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE ... |
### Context: CREATE TABLE table_38331 (
"Year" text,
"Coach" text,
"Crew" text,
"Record" text,
"Win %" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year's crew is varsity 8+ when the record is 7-3?
### Query: SELECT "Year" FROM table_38331 ... |
### Context: CREATE TABLE table_name_37 (
visitor VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What visitor has February 11 as the date?
### Query: SELECT visitor FROM table_name_37 WHERE date = "february 11" |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
... |
### Context: CREATE TABLE products (
product_id VARCHAR
)
CREATE TABLE Order_items (
product_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many products were not included in any order?
### Query: SELECT COUNT(*) FROM products WHERE NOT product_id I... |
### Context: CREATE TABLE table_12062 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the most laps with a grid of 20?
### Query: SELECT MAX("Laps") FROM table_120... |
### Context: CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_time int,
departure_airline text,... |
### Context: CREATE TABLE table_24538587_11 (
i_o_bus VARCHAR,
brand_name__list_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the i/o bus for the brand name Core i3-21xx?
### Query: SELECT i_o_bus FROM table_24538587_11 WHERE brand_name__list_ = "... |
### Context: CREATE TABLE table_54822 (
"Rank" text,
"Name" text,
"Height m (ft)" text,
"Floors" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the building housing more than 101 floors, that was built after 2006?
#... |
### Context: CREATE TABLE table_name_34 (
against INTEGER,
losses VARCHAR,
byes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of against when they had 14 losses and more than 0 byes?
### Query: SELECT SUM(against) FROM table_na... |
### Context: CREATE TABLE table_name_13 (
score VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did the golfer from Australia score?
### Query: SELECT score FROM table_name_13 WHERE country = "australia" |
### 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 table_name_98 (
_number_of_bids VARCHAR,
conference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many bids does Atlantic 10 have?
### Query: SELECT _number_of_bids FROM table_name_98 WHERE conference = "atlantic 10" |
### Context: CREATE TABLE table_45484 (
"Year" real,
"Australian Open" text,
"French Open" text,
"Wimbledon" text,
"US Open" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of years Andy Murray was at Wimbledon?
### Query: S... |
### Context: CREATE TABLE table_name_64 (
laps INTEGER,
constructor VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least number of laps for the constructor Ferrari and where the grid number was less than 4?
### Query: SELECT MI... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
... |
### Context: CREATE TABLE table_1208 (
"Episode No." text,
"Episode Title" text,
"UK Broadcast Date" text,
"Presenter" text,
"Countries Visited" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number is presented by Ben Okri ?
### Query... |
### Context: CREATE TABLE table_51322 (
"Episode" text,
"Air Date" text,
"Timeslot (EST)" text,
"Season" real,
"Rating" real,
"Share" real,
"18\u201349" real,
"Viewers (m)" real,
"Rank (#)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_2668264_8 (
candidates VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the candidates for election that had a result of a retired jacksonian gain?
### Query: SELECT candidates FROM table_2668264_8 WHER... |
### 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_39340 (
"Season" real,
"Winner" text,
"Score" text,
"Runner-up" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Runner-up that has a Season less than 2005?
### Query: SELECT "Runner-up" FROM t... |
### Context: CREATE TABLE table_66527 (
"Airing date" text,
"English title (Chinese title)" text,
"Number of episodes" real,
"Theme song (T) Sub-theme song (ST)" text,
"Genre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Airing date has a Nu... |
### 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_name_11 (
date_of_birth VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the birth date for Mervyn Dillon?
### Query: SELECT date_of_birth FROM table_name_11 WHERE player = "mervyn dillon" |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE outputevents (
row_id number,
subjec... |
### Context: CREATE TABLE table_15352 (
"Media market name" text,
"Callsign" text,
"Analog" text,
"Digital" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the analog type for cw on digital 26?
### Query: SELECT "Analog" ... |
### Context: CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
)
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
-- Using valid SQLite, answer the following quest... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
char... |
### 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 table_56456 (
"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.
-- Which home team scored 18.11 (119)?... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID ... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
... |
### 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 labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug t... |
### Context: CREATE TABLE table_59207 (
"Rider" text,
"Bike" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Rider which has a Time of +59.304?
### Query: SELECT "Rider" FROM table_59207 WHERE "Time" =... |
### 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 hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug t... |
### 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_13981 (
"Draw" real,
"Language" text,
"Artist" text,
"Song" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points does catcat have with more th... |
### Context: CREATE TABLE table_name_23 (
bowling VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the bowling score of season 1907?
### Query: SELECT bowling FROM table_name_23 WHERE season = "1907" |
### Context: CREATE TABLE table_name_27 (
position VARCHAR,
competition VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Competition of world championships, and a Year larger than 1997?
### Query: SELECT position FROM ta... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE program (
program_id int,
n... |
### Context: CREATE TABLE table_name_19 (
height__cm_ VARCHAR,
jersey__number VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?
### Query: SELECT COUNT(h... |
### Context: CREATE TABLE table_7716 (
"Season" real,
"Overall" real,
"Slalom" text,
"Super G" real,
"Downhill" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Super G, when Season is later than 1996?
### Que... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Ad... |
### Context: CREATE TABLE table_16884579_1 (
seasons_and_winners VARCHAR,
premiere VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the seasons and winners that airs 28 january 2007
### Query: SELECT seasons_and_winners FROM table_16884579_1 WHERE premie... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_name_35 (
score VARCHAR,
december VARCHAR,
points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has Points larger than 46, and a Game smaller than 35, and a December of 21?
### Query: SELECT... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE diagnoses_icd (
row_id number,
... |
### Context: CREATE TABLE table_203_358 (
id number,
"pos." number,
"athlete" text,
"run 1" number,
"run 2" number,
"total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did it take for jan urfer to complete run 2 ?
### Query: SELECT ... |
### Context: CREATE TABLE table_39366 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game has an opponent of Phoenix Coyotes and was before Dec 9?
### Query: SELECT AVG("... |
### 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_13079788_3 (
date VARCHAR,
gt3_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the date for gt3 winner oliver bryant matt harris
### Query: SELECT date FROM table_13079788_3 WHERE gt3_winner = "Oliver Bryan... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,... |
### Context: CREATE TABLE table_name_31 (
original_nfl_team VARCHAR,
pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Original NFL team of the CB Player?
### Query: SELECT original_nfl_team FROM table_name_31 WHERE pos = "cb" |
### Context: CREATE TABLE table_68651 (
"Tournament" text,
"2003" text,
"2007" text,
"2008" text,
"2009" text,
"2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 value with 2r in 2011 and 2r in 2008?
### Query: SELECT "2007"... |
### Context: CREATE TABLE table_204_53 (
id number,
"date" text,
"result" text,
"opponent" text,
"event" text,
"location" text,
"method" text,
"round" number,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many matches wer... |
### Context: CREATE TABLE table_203_860 (
id number,
"rank" number,
"city" text,
"population (2011)" number,
"population (2001)" number,
"state/territory" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is ranked before delhi ?
### Query: SE... |
### 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_name_58 (
percent_of_mass VARCHAR,
molecules VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the perfect of mass when the molecules is 1.74e14*?
### Query: SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1... |
### Context: CREATE TABLE table_name_49 (
tournament VARCHAR,
winning_score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament had a Winning score of 6 (73-68-72-69=282)?
### Query: SELECT tournament FROM table_name_49 WHERE winning_score = –6(7... |
### Context: CREATE TABLE table_name_93 (
lost INTEGER,
against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Lost with Against smaller than 25, and Played smaller than 1?
### Query: SELECT AVG(lost) FROM table_name_93 WHERE... |
### Context: CREATE TABLE Catalog_Contents_Additional_Attributes (
catalog_entry_id VARCHAR,
catalog_level_number VARCHAR
)
CREATE TABLE Catalog_Contents (
catalog_entry_name VARCHAR,
catalog_entry_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- F... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers tex... |
### Context: CREATE TABLE table_30247 (
"No." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many produ... |
### Context: CREATE TABLE table_name_95 (
opponent VARCHAR,
loss VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Loss of wilcox, and a Date of jun 18 had what opponent?
### Query: SELECT opponent FROM table_name_95 WHERE loss = "wilcox" AND... |
### Context: CREATE TABLE table_2618113_1 (
directed_by VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed k0122?
### Query: SELECT directed_by FROM table_2618113_1 WHERE production_code = "K0122" |
### 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 mzjzjlb (
HXPLC numb... |
### Context: CREATE TABLE table_11703336_1 (
link_abilities VARCHAR,
predecessors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the link abilities when the predecessors is ti-85?
### Query: SELECT link_abilities FROM table_11703336_1 WHERE predeces... |
### Context: CREATE TABLE table_14816 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the finish with less than 200 laps in 1953?
### Query: SELECT "Finish" FR... |
### Context: CREATE TABLE table_7187 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Result with a Venue that is n?
### Query: SELECT "Result" FROM table_7187 WHER... |
### Context: CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE writes (
p... |
### Context: CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE company (
Company_ID in... |
### Context: CREATE TABLE table_name_33 (
tournament VARCHAR,
partner VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament did Silva Partner with Nicole Thijssen with Opponent in the final Nina Bratchikova & Frede... |
### Context: CREATE TABLE table_name_72 (
goals_conceded INTEGER,
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the games played are smaller than 18, what are the lowest goals conceded?
### Query: SELECT MIN(goals_conceded) FROM table_name_72 WHE... |
### Context: CREATE TABLE table_name_91 (
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total medal count for the nation that has 5 gold?
### Query: SELECT total FROM table_name_91 WHERE gold = "5" |
### Context: CREATE TABLE table_59964 (
"Week 1" text,
"Week 2" text,
"Week 3" text,
"Week 4" text,
"Week 5" text,
"Week 6" text,
"Week 7" text,
"Week 8" text,
"Week 9" text,
"Week 10 FINAL" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE Projects (
Code Char(4),
Name Char(50),
Hours int
)
CREATE TABLE AssignedTo (
Scientist int,
Project char(4)
)
CREATE TABLE Scientists (
SSN int,
Name Char(30)
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are th... |
### 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 table_24575 (
"Train No." text,
"Train Name" text,
"Destination" text,
"Category" text,
"Frequency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many destinations have a weekly frequency and are named AC Express?
###... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.