text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
CREATE TABLE train_station (
Train_ID int,
Station_ID int
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Lo... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE... |
### Context: CREATE TABLE table_57342 (
"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 average rank of Great Britain when their total is over 4?
### Quer... |
### Context: CREATE TABLE table_812 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answe... |
### Context: CREATE TABLE table_54024 (
"Rank" real,
"Name" text,
"City" text,
"Height (m)" real,
"Height (ft)" real,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the lowest height (ft) for messeturm and more than 55 floors?
... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_43705 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest points on October 12, when the att... |
### Context: CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHA... |
### Context: CREATE TABLE table_40077 (
"Date" text,
"Cover model" text,
"Centerfold model" text,
"Interview subject" text,
"Pictorials" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Interview Subject on the Date when there were Pictori... |
### Context: CREATE TABLE table_62505 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the total of the player who won in 1979?
### Quer... |
### Context: CREATE TABLE table_name_72 (
accreditation_level VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the accreditation level for the approved (awarded 05.12.12) date?
### Query: SELECT accreditation_level FROM table_name_72 WHE... |
### Context: CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_5 (
pick__number INTEGER,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Before round 7, what is the greatest Pick # for a player that plays defensive tackle?
### Query: SELECT MAX(pick__numbe... |
### Context: CREATE TABLE endowment (
endowment_id int,
School_id int,
donator_name text,
amount real
)
CREATE TABLE School (
School_id text,
School_name text,
Location text,
Mascot text,
Enrollment int,
IHSAA_Class text,
IHSAA_Football_Class text,
County text
)
CREATE ... |
### Context: CREATE TABLE table_8366 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Record, when Game is greater than 55, and when Date is 'M... |
### Context: CREATE TABLE table_3592 (
"Team" text,
"Manager" text,
"Chairman" text,
"Team captain" text,
"Kit maker" text,
"Sponsor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the captain of Neil Warnock's team?
### Query: SELECT "T... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE flight_fare (
flight_id int,
far... |
### Context: CREATE TABLE table_18106841_1 (
members_of_parliament VARCHAR,
winners__percentage_votes VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the winners votes were 50.54% who were the members of parliment?
### Query: SELECT members_of_parliamen... |
### Context: CREATE TABLE table_20079931_4 (
highest_scoring_team VARCHAR,
circuit_location VARCHAR,
winning_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest scoring team in the round in Ring Knutstorp in which Polestar Racing is th... |
### Context: CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
d... |
### Context: CREATE TABLE table_27753492_2 (
mixed_doubles VARCHAR,
tour VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the mixed doubled on the tour korea super series?
### Query: SELECT mixed_doubles FROM table_27753492_2 WHERE tour = "Korea Super ... |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE transfers (
row_id number,
subject_id... |
### Context: CREATE TABLE gwyjzb (
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,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CR... |
### Context: CREATE TABLE table_204_630 (
id number,
"no" number,
"date" text,
"race" text,
"track" text,
"winner" text,
"reports" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is longer the carolina or kentucky race ?
### Query: SEL... |
### Context: CREATE TABLE table_name_13 (
cdt___5_utc_ VARCHAR,
pdt___7_utc_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time is CDT when PDT is 3:17 a.m.?
### Query: SELECT cdt___5_utc_ FROM table_name_13 WHERE pdt___7_utc_ = "3:17 a.m." |
### Context: CREATE TABLE table_25679 (
"Stage" real,
"Winner" text,
"General classification" text,
"Mountains classification" text,
"Points classification" text,
"Youth classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE table_name_47 (
region VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Region has a Catalog of crgd 86136?
### Query: SELECT region FROM table_name_47 WHERE catalog = "crgd 86136" |
### Context: CREATE TABLE table_name_24 (
pashto VARCHAR,
somali VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pashto word for the Somali word talaado?
### Query: SELECT pashto FROM table_name_24 WHERE somali = "talaado" |
### Context: CREATE TABLE table_65588 (
"Actor" text,
"Character" text,
"Soap Opera" text,
"Years" text,
"Duration" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years have claudia ruffo as the actor?
### Query: SELECT "Years" FROM table_6558... |
### 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_name_60 (
final VARCHAR,
run_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Final, when Run 3 is 1:57.41?
### Query: SELECT final FROM table_name_60 WHERE run_3 = "1:57.41" |
### Context: CREATE TABLE table_name_76 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which away team has a venue of Arden Street Oval?
### Query: SELECT away_team FROM table_name_76 WHERE venue = "arden street oval" |
### 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_DIRE_CD text,
MED_... |
### 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 cost (
... |
### Context: CREATE TABLE table_47989 (
"Year" real,
"Round" real,
"Pick" real,
"Player" text,
"NBA Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick number for Danny Green in a round less than 2?
### Query: SELECT COUNT("Pick")... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medicat... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
... |
### Context: CREATE TABLE Accounts (
account_id INTEGER,
customer_id INTEGER,
date_account_opened DATETIME,
account_name VARCHAR(50),
other_account_details VARCHAR(255)
)
CREATE TABLE Order_Items (
order_item_id INTEGER,
order_id INTEGER,
product_id INTEGER,
product_quantity VARCHAR... |
### Context: CREATE TABLE table_name_28 (
score VARCHAR,
opponent VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score from the game where Algeria is the opponent at Porto-Novo?
### Query: SELECT score FROM table_name_28 WH... |
### Context: CREATE TABLE table_name_58 (
location VARCHAR,
built VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Location of the Bridge Built in 1869?
### Query: SELECT location FROM table_name_58 WHERE built = "1869" |
### Context: CREATE TABLE table_2544694_3 (
indonesia_super_series_2008 VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00?
### Query: SELECT indonesia... |
### Context: CREATE TABLE table_name_9 (
status VARCHAR,
commissioned VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of the fleet that was commissioned on July 28, 1963?
### Query: SELECT status FROM table_name_9 WHERE commissioned = "jul... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### 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_86 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the score for 23 july 1992
### Query: SELECT score FROM table_name_86 WHERE date = "23 july 1992" |
### 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_80251 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player's original team are the Oakland Raiders?
### Query: SELECT "Player" FRO... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time... |
### Context: CREATE TABLE table_name_76 (
colliery VARCHAR,
death_toll VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Colliery has a Death toll of 7?
### Query: SELECT colliery FROM table_name_76 WHERE death_toll = 7 |
### Context: CREATE TABLE table_1634376_1 (
status VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status of vessel number K-223?
### Query: SELECT status FROM table_1634376_1 WHERE _number = "K-223" |
### Context: CREATE TABLE wdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE table_29650 (
"Season" real,
"Series" text,
"Team Name" text,
"Races" real,
"Poles" real,
"Wins" real,
"Podiums" real,
"F/Laps" real,
"Points" real,
"Final Placing" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE Photos (
Photo_ID INTEGER,
Tourist_Attraction_ID INTEGER,
Name VARCHAR(255),
Description VARCHAR(255),
Filename VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Theme_Parks (
Theme_Park_ID INTEGER,
Theme_Park_Details VARCHAR(255)
)
CREATE TABLE Hotels (... |
### 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 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 Faculty_Participates_in (
FacID INTEGER,
actid INTEGER
)
CREATE TABLE Participates_in (... |
### Context: CREATE TABLE table_name_12 (
result VARCHAR,
venue VARCHAR,
goal VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the game in Stuttgart, West Germany and a goal number of less than 9?
### Query: SELECT result FROM table... |
### Context: CREATE TABLE table_1683 (
"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 people (
Weight VARCHAR,
Height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight of the shortest person?
### Query: SELECT Weight FROM people ORDER BY Height LIMIT 1 |
### Context: CREATE TABLE table_77037 (
"Athlete" text,
"Event" text,
"100 m" real,
"400 m" real,
"110H" real,
"1500 m" text,
"Final" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 110H that the 1500m was 692 and the final was m... |
### Context: CREATE TABLE table_name_76 (
pick INTEGER,
player VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean pick when the play is Marc Lewis (lhp) and the round is less than 20?
### Query: SELECT AVG(pick) FROM table_na... |
### Context: CREATE TABLE table_name_51 (
opponent VARCHAR,
tournament VARCHAR,
surface VARCHAR,
outcome VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponent has a Surface of hardcourt, an Outcome of runner-up, and a Tournament of honolulu?
... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,... |
### Context: CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE table_name_26 (
points_for VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Points for has a Try bonus of 140?
### Query: SELECT points_for FROM table_name_26 WHERE try_bonus = "140" |
### Context: CREATE TABLE table_71432 (
"Country" text,
"Film title used in nomination" text,
"Language" text,
"Original title" text,
"Director" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the langauge for switzerland
### Query: SELECT "Lan... |
### Context: CREATE TABLE table_10722506_6 (
_number_of_bids VARCHAR,
conference VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of bids of the sun belt conference
### Query: SELECT COUNT(_number_of_bids) FROM table_10722506_6 WHERE con... |
### Context: CREATE TABLE cinema (
cinema_id number,
name text,
openning_year number,
capacity number,
location text
)
CREATE TABLE film (
film_id number,
rank_in_series number,
number_in_season number,
title text,
directed_by text,
original_air_date text,
production_cod... |
### Context: CREATE TABLE table_name_23 (
rank INTEGER,
gold VARCHAR,
total VARCHAR,
bronze VARCHAR,
silver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Rank with more than 0 bronze, 8 silver, and a total of 19, with less tha... |
### 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 zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZK... |
### Context: CREATE TABLE table_15796 (
"Tournament" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2006 when the 2010 is 27
### Query: ... |
### Context: CREATE TABLE table_name_33 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the game when the Indians ended up with a record of 55-51?
### Query: SELECT score FROM table_name_33 WHERE record = "55-51" |
### Context: CREATE TABLE table_12275551_1 (
mens_singles VARCHAR,
womens_singles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the mens singles when sayaka sato won the womens singles?
### Query: SELECT mens_singles FROM table_12275551_1 WHERE wom... |
### Context: CREATE TABLE table_name_15 (
original_artist VARCHAR,
week__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the Original artist when the week # is top 16 (8 men)?
### Query: SELECT original_artist FROM table_name_15 WH... |
### Context: CREATE TABLE gwyjzb (
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,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_21501565_1 (
order__number VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- With an original artist names Bette Midler, what is the order number?
### Query: SELECT COUNT(order__number) FROM table_215015... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name tex... |
### Context: CREATE TABLE table_21275 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many appointment dates... |
### Context: CREATE TABLE table_36915 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" real,
"Avg. Finish" real,
"Winnings" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_203_496 (
id number,
"pos" number,
"country" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- japan earned only 1 bronze metal in boxing during th... |
### 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 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_98 (
wins INTEGER,
played VARCHAR,
losses VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Wins have Losses smaller than 6, and a Position of 4, and Played larger than 9?
### Query: SELECT M... |
### Context: CREATE TABLE table_27218002_2 (
originalairdate VARCHAR,
ratings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the epiode that had 1.37 million as the rating originally air?
### Query: SELECT originalairdate FROM table_27218002_2... |
### Context: CREATE TABLE table_23374 (
"Year" text,
"Division" text,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When divisional semifinals are the playoffs what is the year?
... |
### Context: CREATE TABLE table_name_86 (
label VARCHAR,
date VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which label released the catalog Magik Muzik CD 07 on 28 March 2007?
### Query: SELECT label FROM table_name_86 WHERE date = "2... |
### Context: CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_P... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(1... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
co... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE certificate (
eid number(9,0),
aid number(9,0)
)
CREATE TABLE employee (
eid number(9,0),
name varchar2(30),
salary number(10,2)
)
CREATE TABLE flight (
flno number(4,0),
origin varchar2(20),
destination varchar2(20),
distance number(6,0),
departure_da... |
### Context: CREATE TABLE table_52523 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player plays for the college of manitoba?
### Query: SELECT "Player" FROM table_5... |
### 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_7679 (
"Driver" text,
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Engine, when the Chassis was Bugatti T51, and when the Entrant was a Priva... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_30442 (
"Stadium" text,
"Capacity" real,
"City" text,
"Country" text,
"Tenant" text,
"Opening" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the city for los angeles stadium
### Query: SELECT "City" FROM ta... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.