text stringlengths 197 8.39k |
|---|
### 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_21002034_7 (
_number INTEGER,
air_date_netherlands_yyyy_mm_dd VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number for air date 2009/12/29
### Query: SELECT MAX(_number) FROM table_21002034_7 WHERE air_date_net... |
### 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_name_26 (
score VARCHAR,
partnering VARCHAR,
opponents_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Partnering is 'Alexander Waske', and when Opponents In The Final is 'Rafael Nadal Barto... |
### Context: CREATE TABLE table_name_49 (
country VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Score of 79-68-74=212?
### Query: SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 212 |
### Context: CREATE TABLE table_name_11 (
year INTEGER,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest Year with the Region of Southeast?
### Query: SELECT MAX(year) FROM table_name_11 WHERE region = "southeast" |
### Context: CREATE TABLE table_21607058_1 (
wed_3_june VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the time and speed for the rider ranked in 12 on Wed, June 3?
### Query: SELECT wed_3_june FROM table_21607058_1 WHERE rank = 12 |
### Context: CREATE TABLE table_79716 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Gold has a Rank smaller than 5, and a Bronze of 20?
### Query: SELECT AV... |
### Context: CREATE TABLE table_11019 (
"Year" real,
"Award" text,
"Category" text,
"Work" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the latest year for the distinguished performance?
### Query: SELECT MAX("Year") FROM t... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE table_15051 (
"Film" text,
"Director(s)" text,
"Producer(s)" text,
"Writer(s)" text,
"Recipient" text,
"Date" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which producer worked for Animus Films LTD?
... |
### Context: CREATE TABLE table_name_27 (
points VARCHAR,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points did the Tyrrell Racing Organisation have?
### Query: SELECT points FROM table_name_27 WHERE entrant = "tyrrell racing organisati... |
### Context: CREATE TABLE actor (
Actor_ID int,
Name text,
Musical_ID int,
Character text,
Duration text,
age int
)
CREATE TABLE musical (
Musical_ID int,
Name text,
Year int,
Award text,
Category text,
Nominee text,
Result text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_41200 (
"Year" real,
"Competition" text,
"Club" text,
"Nation" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Nation with 2012 as the year, and a Competition of preseason, and a Result of w ... |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE table_9033 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on 19/08/2012?
### Query: SELECT "Score" FROM tabl... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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,
r... |
### Context: CREATE TABLE table_13557843_7 (
high_assists VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many high assbeingts with score being l 90 98 (ot)
### Query: SELECT COUNT(high_assists) FROM table_13557843_7 WHERE score = "L 90–98... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
d... |
### Context: CREATE TABLE table_name_16 (
gdp_per_capita__nominal_ VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the GDP (nominal) with Population of 5,125,693?
### Query: SELECT gdp_per_capita__nominal_ FROM table_name_16 WHERE... |
### Context: CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE table_test_8 (
"id" int,
"anemia" bool,
"intra_aortic_balloon_pump_iabp" bool,
"systolic_blood_pressure_sbp" int,
"intravenous_pressors" bool,
"fever" bool,
"hemoglobin_a1c_hba1c" float,
"heart_disease" bool,
"vasopressors" bool,
"renal_disease" bool,
... |
### Context: CREATE TABLE teaches (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREAT... |
### Context: CREATE TABLE table_13454 (
"Rank" text,
"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 medal total when there is 2 gold medals, and Brazil (BRA) is the na... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime... |
### Context: CREATE TABLE table_16773 (
"Race Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the report of Mike Hawthorn's winning race?
### Q... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
... |
### Context: CREATE TABLE table_25776 (
"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 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_21110 (
"Rank" real,
"Company" text,
"Headquarters" text,
"Industry" text,
"Sales (billion $)" text,
"Profits (billion $)" text,
"Assets (billion $)" text,
"Market Value (billion $)" text
)
-- Using valid SQLite, answer the following questions for the ta... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_64270 (
"Period" text,
"Internet Explorer" text,
"Chrome" text,
"Firefox" text,
"Safari" text,
"Opera" text,
"Other Mozilla" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What internet explorer has 7.89% as t... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_tr... |
### Context: CREATE TABLE table_name_83 (
gold INTEGER,
nation VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Gold has a Nation of south korea (kor), and Bronze smaller than 65?
### Query: SELECT AVG(gold) FROM table_name_83 WHERE ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_62 (
type VARCHAR,
averaging_time VARCHAR,
standard VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the type when the averaging time is 1-hour and the standard is 0.12 ppm (235 g/m )?
### Query: SELECT type FR... |
### Context: CREATE TABLE table_29468 (
"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.
-- Who was the outgoing manag... |
### Context: CREATE TABLE table_43163 (
"Rank" real,
"Name" text,
"S-League" text,
"Singapore Cup" text,
"Singapore League Cup" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Rank that when the Singapore Cup is 0... |
### Context: CREATE TABLE table_1300525_1 (
population VARCHAR,
pinyin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people live in the district who's capital is h ngf ng xi n?
### Query: SELECT population FROM table_1300525_1 WHERE pinyin = "Héng... |
### Context: CREATE TABLE table_41886 (
"Month, year" text,
"Sunk by U-Boat" real,
"Sunk by aircraft" real,
"Sunk by warship or raider" real,
"Sunk by mines" real,
"German submarines lost" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is t... |
### Context: CREATE TABLE table_22580 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE table_name_23 (
elevated VARCHAR,
elector VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Elevated has an Elector of matteo orsini rosso?
### Query: SELECT elevated FROM table_name_23 WHERE elector = "matteo orsini rosso" |
### Context: CREATE TABLE table_17522 (
"Round" real,
"Date" text,
"Grand Prix" text,
"Circuit" text,
"125cc winner" text,
"250cc winner" text,
"MotoGP winner" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Moto... |
### Context: CREATE TABLE table_204_696 (
id number,
"issue" number,
"volume" number,
"title" text,
"main feature story" text,
"first/early appearance story/stories" text,
"release date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what wa... |
### Context: CREATE TABLE table_14780 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Catalog number for the region of Japan?
### Query: SELECT "Catalog" FROM table_147... |
### Context: CREATE TABLE table_52994 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Competition has a Venue of Seoul, and Result of 4-1?
### Query: SELECT "Competition" ... |
### Context: CREATE TABLE table_17908 (
"Year" real,
"Delaware" text,
"Maryland" text,
"New Jersey" text,
"New York" text,
"Pennsylvania" text,
"Washington, D.C." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What teams played in Washington... |
### Context: CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName ... |
### Context: CREATE TABLE table_57193 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which surface had Yew-Ming Si as a partner?
### Query:... |
### Context: CREATE TABLE table_name_97 (
city VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What city was in 1889?
### Query: SELECT city FROM table_name_97 WHERE year = 1889 |
### Context: CREATE TABLE Participants_in_Events (
Event_ID INTEGER,
Participant_ID INTEGER
)
CREATE TABLE Participants (
Participant_ID INTEGER,
Participant_Type_Code CHAR(15),
Participant_Details VARCHAR(255)
)
CREATE TABLE Events (
Event_ID INTEGER,
Service_ID INTEGER,
Event_Details... |
### Context: CREATE TABLE table_14254 (
"Rank" text,
"Province" text,
"Population (2011)" real,
"Area (km\u00b2)" real,
"Density (per km\u00b2)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the least density (per km ) when the rank is 5 an... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE 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 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_name_28 (
budget VARCHAR,
worldwide VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE BUDGET WHEN THE WORLDWIDE BOX OFFICE IS $363,398,565?
### Query: SELECT budget FROM table_name_28 WHERE worldwide = "$363,398,565" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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,
JS... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
Creatio... |
### Context: CREATE TABLE table_17096 (
"Year" text,
"Player" text,
"School" text,
"Hometown" text,
"College" text,
"NBA Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the college for the player who's school is camden high school?... |
### 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_203_803 (
id number,
"draw" number,
"country" text,
"language" text,
"artist" text,
"song" text,
"english translation" text,
"place" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- wh... |
### Context: CREATE TABLE table_62975 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average Top-25, that has an Events that'... |
### Context: CREATE TABLE table_18138132_2 (
function VARCHAR,
release_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What functions were released on 2011-06-23?
### Query: SELECT function FROM table_18138132_2 WHERE release_date = "2011-06-23" |
### 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_23777640_1 (
other VARCHAR,
gn_divisions VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many figures for Other in the district where the GN division is 95?
### Query: SELECT COUNT(other) FROM table_23777640_1 WHERE gn_div... |
### Context: CREATE TABLE Sportsinfo (
StuID VARCHAR,
major VARCHAR,
onscholarship VARCHAR
)
CREATE TABLE Student (
StuID VARCHAR,
major VARCHAR,
onscholarship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show student ids who are on schola... |
### Context: CREATE TABLE table_name_85 (
area__km²_ VARCHAR,
capital VARCHAR,
population__2005_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many regions have a capital of matanzas and a 2005 population under 670427?
### Query: SELECT COUNT(area_... |
### 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 wdmzjzjlb (
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 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_32913 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is footscray's away team score... |
### Context: CREATE TABLE table_22053239_1 (
written_by VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many of the writers had 5.35 viewers?
### Query: SELECT COUNT(written_by) FROM table_22053239_1 WHERE us_viewers__milli... |
### Context: CREATE TABLE table_14342480_15 (
extra_points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of extra points?
### Query: SELECT MAX(extra_points) FROM table_14342480_15 |
### Context: CREATE TABLE orders (
customer_id VARCHAR,
order_status VARCHAR
)
CREATE TABLE customers (
customer_name VARCHAR,
customer_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the name of all the distinct customers who have orders wit... |
### Context: CREATE TABLE table_58757 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Height if the weight is kg (lb), the club is Sainte-foy and t... |
### 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 jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE table_21052 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ho... |
### Context: CREATE TABLE table_13512105_3 (
fastest_lap VARCHAR,
most_laps_led VARCHAR,
pole_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who else along with scott dixon and graham rahal drove with the most speed
### Query: SELECT fastest_la... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayNa... |
### Context: CREATE TABLE table_62428 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To Par of the player with a t8 Finish?
### Query: SELECT... |
### 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_14 (
place VARCHAR,
player VARCHAR,
score VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When Bunky Henry of the United States scored higher than 68 and his To par was e, what was his place?
### Q... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_name_72 (
prom__m_ INTEGER,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of Prom in M for Peak great knoutberry hill?
### Query: SELECT SUM(prom__m_) FROM table_name_72 WHERE peak = "great knoutberry ... |
### Context: CREATE TABLE table_13056 (
"Year" real,
"Song" text,
"Film" text,
"Co-Singer" text,
"Composer" text,
"Lyricist" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What co-singer has sukhwinder singh as the composer?
### Query: SELECT "... |
### 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 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_43 (
mls_cup INTEGER,
other VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which MLS Cup has another larger than 9, and a Total smaller than 72?
### Query: SELECT AVG(mls_cup) FROM table_name_43 WHERE ... |
### Context: CREATE TABLE country (
country_id number,
country_name text,
capital text,
official_native_language text
)
CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_number number,
draft_class text,
college... |
### 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 ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionD... |
### Context: CREATE TABLE table_74558 (
"Year" real,
"Tournament" text,
"Venue" text,
"Result" text,
"Extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the highest year for result of 9th
### Query: SELECT MAX("Year") FROM table_74558 WH... |
### Context: CREATE TABLE table_20866 (
"Player" text,
"No." real,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many players went to depaul?
### Query: SE... |
### 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 table_name_25 (
attendance INTEGER,
away VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Attendance when Vida is the Away team?
### Query: SELECT AVG(attendance) FROM table_name_25 WHERE away = "vida" |
### Context: CREATE TABLE party_addresses (
party_id number,
address_id number,
date_address_from time,
address_type_code text,
date_address_to time
)
CREATE TABLE organization_contact_individuals (
individual_id number,
organization_id number,
date_contact_from time,
date_contact_t... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.