text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_10195 (
"Goal" real,
"Date" text,
"Venue" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day is miami the venue with 38 goals?
### Query: SELECT "Date" FROM table_10195 WHERE "... |
### Context: CREATE TABLE table_name_79 (
province VARCHAR,
party VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ken Wright of the National Party was from which province?
### Query: SELECT province FROM table_name_79 WHERE party = "nationa... |
### Context: CREATE TABLE table_62372 (
"1999/ 00" text,
"2000/ 01" text,
"2001/ 02" text,
"2002/ 03" text,
"2003/ 04" text,
"2004/ 05" text,
"2005/ 06" text,
"2006/ 07" text,
"2007/ 08" text,
"2008/ 09" text,
"2009/ 10" text,
"2010/ 11" text,
"2011/ 12" text,
"20... |
### Context: CREATE TABLE table_12120 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the 2nd leg when Belasica is team 2?
### Query: SELECT "2nd leg" FROM ... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm... |
### 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_1308 (
"Series #" real,
"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.
-- What was the tit... |
### 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 flight (
flno number,
origin text,
destination text,
distance number,
departure_date time,
arrival_date time,
price number,
aid number
)
CREATE TABLE employee (
eid number,
name text,
salary number
)
CREATE TABLE aircraft (
aid number,
name... |
### Context: CREATE TABLE table_27383390_4 (
team VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team with the date of vacancy 8 dec 2010?
### Query: SELECT team FROM table_27383390_4 WHERE date_of_vacancy = "8 Dec 2010" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE patients (... |
### Context: CREATE TABLE table_name_6 (
game INTEGER,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Game(s), when High Rebounds is 'Pierson (6)'?
### Query: SELECT SUM(game) FROM table_name_6 WHERE high_rebounds = "pierson... |
### 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 table_37649 (
"Commune" text,
"Area (km 2 )" real,
"2002 population" real,
"Density (km 2 )" real,
"Government website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the density that has an area smaller than 2,200.... |
### Context: CREATE TABLE table_name_40 (
Box VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the box score for the game where the away team was the sydney spirit?
### Query: SELECT Box AS score FROM table_name_40 WHERE away_team ... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity tex... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_56818 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine \u2020" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What engine did David Coulthard have in his... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_name_45 (
identifier VARCHAR,
power VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the identifier that has 50,000 watts of power?
### Query: SELECT identifier FROM table_name_45 WHERE power = "50,000 watts" |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_64220 (
"Event" text,
"Date" text,
"Location" text,
"Winning skip" text,
"Runner-up skip" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event did Patti Lank have the winning skip?
### Query: SELECT "Event" FROM... |
### 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_62 (
transfer_fee VARCHAR,
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT TRANSFER FEE HAS A TYPE OF TRANSFER FOR DOS SANTOS?
### Query: SELECT transfer_fee FROM table_name_62 WHERE type = "tr... |
### Context: CREATE TABLE table_35591 (
"Year" text,
"Winners" text,
"Score" text,
"Runner-up" text,
"Venue" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue of the match with a score of 33-22?
### Query: SELECT "Venue" FROM table_3... |
### Context: CREATE TABLE table_name_7 (
team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team did they play on March 11?
### Query: SELECT team FROM table_name_7 WHERE date = "march 11" |
### Context: CREATE TABLE table_38195 (
"Rank" real,
"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 highest floors with rank greater than 1 in Conrad Dubai?
### Query: SELECT MAX(... |
### Context: CREATE TABLE table_62528 (
"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 To par of 6?
### Query: SELECT "Place" FROM table_6252... |
### Context: CREATE TABLE table_name_87 (
d_48_√ VARCHAR,
d_46_√ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 48 with a D 46 with r 33 o?
### Query: SELECT d_48_√ FROM table_name_87 WHERE d_46_√ = "r 33 o" |
### Context: CREATE TABLE fgwyjzb (
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,
INSUR... |
### Context: CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Gue... |
### Context: CREATE TABLE buildings (
id int,
name text,
City text,
Height int,
Stories int,
Status text
)
CREATE TABLE Office_locations (
building_id int,
company_id int,
move_in_year int
)
CREATE TABLE Companies (
id int,
name text,
Headquarters text,
Industry tex... |
### Context: CREATE TABLE table_name_35 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the away team Chelsea?
### Query: SELECT score FROM table_name_35 WHERE away_team = "chelsea" |
### Context: CREATE TABLE table_47952 (
"Date" text,
"Region" text,
"Label" text,
"Catalogue" text,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Format is Vinyl, and when Label is Mercury?
### Query: SELECT "Date" FROM... |
### Context: CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
... |
### Context: CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE paperdataset (
paperid int,
data... |
### Context: CREATE TABLE table_name_35 (
example_code__huc_ INTEGER,
level VARCHAR,
example_name VARCHAR,
digits VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mean huc example code when the example name's lower snake, there are 6 digits... |
### Context: CREATE TABLE table_32738 (
"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 away team played when the home... |
### 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_24921 (
"School" text,
"Location" text,
"Team Name" text,
"Colors" text,
"Varsity Teams" real,
"NJCAA Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum possible NJCAA championships?... |
### Context: CREATE TABLE table_name_65 (
moving_to VARCHAR,
date_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the player loaned out on 27 november 2008 move to ?
### Query: SELECT moving_to FROM table_name_65 WHERE date_from = "27 november... |
### 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 table_name_39 (
points_jury VARCHAR,
dance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Points Jury for Dance pop?
### Query: SELECT points_jury FROM table_name_39 WHERE dance = "pop" |
### Context: CREATE TABLE table_name_37 (
final_rank VARCHAR,
rank_in_fs VARCHAR,
rank_in_sp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many skaters have a Rank in FS of 3, and a Rank in SP larger than 4?
### Query: SELECT COUNT(final_rank) FROM... |
### Context: CREATE TABLE Dorm (
dormid INTEGER,
dorm_name VARCHAR(20),
student_capacity INTEGER,
gender VARCHAR(1)
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Lives_in (
stuid IN... |
### Context: CREATE TABLE checking (
custid number,
balance number
)
CREATE TABLE accounts (
custid number,
name text
)
CREATE TABLE savings (
custid number,
balance number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the number of accounts ... |
### Context: CREATE TABLE table_name_54 (
pick__number INTEGER,
overall VARCHAR,
position VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Pick Number when the position was wide receiver, the college was Southern Miss with... |
### Context: CREATE TABLE table_19934 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of episode for phyllo... |
### 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 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_203_186 (
id number,
"painter" text,
"composition" number,
"drawing" number,
"color" number,
"expression" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which artists scored at least 16 for composition ?
### Qu... |
### Context: CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label... |
### Context: CREATE TABLE table_25486 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_21584646_10 (
champion VARCHAR,
runner_up VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many champions are shown for the runner-up of stefan edberg?
### Query: SELECT COUNT(champion) FROM table_21584646_10 WHERE runner_u... |
### Context: CREATE TABLE table_name_20 (
visitor VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which visitor has a Los Angeles home?
### Query: SELECT visitor FROM table_name_20 WHERE home = "los angeles" |
### Context: CREATE TABLE Movie (
mID int,
title text,
year int,
director text
)
CREATE TABLE Reviewer (
rID int,
name text
)
CREATE TABLE Rating (
rID int,
mID int,
stars int,
ratingDate date
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE table_76789 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College has a Position of ol, and a Pick # smaller than 32?
### Query: SELECT "Co... |
### Context: CREATE TABLE table_name_33 (
competition VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the competition when the score was 3-0?
### Query: SELECT competition FROM table_name_33 WHERE score = "3-0" |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_43562 (
"1946 Nos" text,
"1947 Nos" text,
"Date" real,
"Built at" text,
"LMS Nos" text,
"BR Nos" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 1947 Nos has a BR Nos of 48730-9?
### Query: SELECT "1947 Nos"... |
### Context: CREATE TABLE table_name_31 (
imed_avicenna_listed VARCHAR,
established VARCHAR,
degree VARCHAR,
regional_offshore VARCHAR,
country_territory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the imed/avicenna listed for a medica... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE offering_inst... |
### Context: CREATE TABLE table_75989 (
"Source" text,
"Date" text,
"Goberman" text,
"Loera" text,
"Merkley" text,
"Neville" text,
"Novick" text,
"Obrist" text,
"Other/ Undecided" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ... |
### Context: CREATE TABLE table_19102 (
"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, ans... |
### Context: CREATE TABLE table_name_86 (
date VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game when the record was 70-74?
### Query: SELECT date FROM table_name_86 WHERE record = "70-74" |
### Context: 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 semester (
semester_id int,
semester varchar,
year int
)
... |
### Context: CREATE TABLE table_name_35 (
yonguk VARCHAR,
halang VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Yonguk has a Halang of ran ?
### Query: SELECT yonguk FROM table_name_35 WHERE halang = "ran¹" |
### Context: CREATE TABLE table_15755 (
"Player" text,
"League" real,
"Scottish Cup" real,
"League Cup" real,
"Challenge Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Total with a League Cup greater than 0... |
### Context: CREATE TABLE table_56228 (
"D 50" text,
"D 49" text,
"D 48" text,
"D 47" text,
"D 46" text,
"D 45" text,
"D 44" text,
"D 43" text,
"D 42" text,
"D 41" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the D 42 w... |
### Context: CREATE TABLE table_58447 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of Competition of 2008 africa cup of nations?
### Query: SELECT "Date" FRO... |
### Context: CREATE TABLE table_796 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the candidates in the district of South Carolina 5?
... |
### Context: CREATE TABLE zyb (
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_name_76 (
name VARCHAR,
species_authority VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name for the species Authority of sigmodon hispidus say & ord, 1825?
### Query: SELECT name FROM table_name_76 WHERE species... |
### 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 table_13012165_1 (
maryland VARCHAR,
pennsylvania VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played in Maryland the same year that Deep Run Valley LL Hilltown played in Pennsylvania?
### Query: SELECT maryland FROM table_13... |
### Context: CREATE TABLE table_76772 (
"Name" text,
"Gain" real,
"Loss" real,
"Long" real,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much Gain has a Long of 29, and an Avg/G smaller than 33.7?
### Query: SELECT COUNT("Gain") FROM ... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_46431 (
"Club" text,
"Location" text,
"Current manager" text,
"Team captain" text,
"Stadium" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the team captain of the Guldensporen Stadion with... |
### Context: CREATE TABLE table_79744 (
"Name" text,
"Birth year and age" text,
"Net worth US$ (billions)" real,
"Citizenship" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the source of wealth of the person worth $17 billion?... |
### Context: 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,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_27712702_11 (
game INTEGER,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the game number where the record was 46 24?
### Query: SELECT MIN(game) FROM table_27712702_11 WHERE record = "46–24" |
### Context: CREATE TABLE table_25446 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the surface when the us open is the ch... |
### Context: CREATE TABLE table_name_62 (
silver INTEGER,
nation VARCHAR,
gold VARCHAR,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the most silver when bronze is more than 0, total is more than 1, gold is more th... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE table_46927 (
"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.
-- If the player is Corey Pavin when he had a To par of over 7, what was... |
### Context: CREATE TABLE table_name_29 (
release_date VARCHAR,
sspec_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the release date for the processor spec number SLBEQ(d0)?
### Query: SELECT release_date FROM table_name_29 WHERE sspec_number... |
### Context: CREATE TABLE Students (
first_name VARCHAR,
student_id VARCHAR
)
CREATE TABLE Student_Addresses (
student_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the id and first name of the student whose addresses have the highest avera... |
### Context: CREATE TABLE table_201_39 (
id number,
"no" number,
"title" text,
"directed by" text,
"released" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the last title that sid marcus directed ?
### Query: SELECT "title" FROM table_2... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_32 (
pick VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE TOTAL PICK FOR BOSTON COLLEGE?
### Query: SELECT COUNT(pick) FROM table_name_32 WHERE college = "boston college" |
### Context: CREATE TABLE Students (
student_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(40),
last_name VARCHAR(40),
cell_mobile_number VARCHAR(40),
email_address VARCHAR(40),
date_first_rental DATETIME,
date_left_university DATETIME,
other_student... |
### Context: CREATE TABLE table_75321 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Consort" text,
"Coronation" text,
"Ceased to be Consort" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date... |
### Context: CREATE TABLE table_name_12 (
date VARCHAR,
set_1 VARCHAR,
set_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the set 1 25 23, and a Set 3 of 25 14?
### Query: SELECT date FROM table_name_12 WHERE set_1 = "25–23" AND set_3 = ... |
### Context: CREATE TABLE table_31404 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight ( lb. )" real,
"Year" text,
"Hometown" text,
"Previous School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was player num... |
### Context: CREATE TABLE table_67242 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What entrant had a Maserati 250F chassis and fewer than 6 points before 1957?
### Query: SEL... |
### Context: CREATE TABLE table_64388 (
"Rank" real,
"Heat" real,
"Athlete" text,
"Country" text,
"Time" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the heat when the athlete is anita pistone?
### Query: SELECT SUM("Heat") FROM table_643... |
### Context: CREATE TABLE table_73084 (
"Episode title" text,
"Subject" text,
"Music by" text,
"Lyrics by" text,
"Performed by" text,
"First aired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When zachary sanders is the performer how many fir... |
### Context: CREATE TABLE table_2818164_5 (
production_code INTEGER,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production code for episode 96 in the series?
### Query: SELECT MIN(production_code) FROM table_2818164_5 WHERE no_i... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.