text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_72918 (
"Official Name" text,
"Status" text,
"Area km 2" text,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the status(es) of the place with an area of 304.06 km2?
### Qu... |
### Context: CREATE TABLE table_name_38 (
average_ratings VARCHAR,
episodes VARCHAR,
japanese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is average ratings for Japanese title of , with episodes larger than 9?
### Query: SELECT average_rat... |
### 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_22728 (
"Name" text,
"Population (2011)" real,
"Population (2006)" real,
"Change (%)" text,
"Land area (km\u00b2)" text,
"Population density (per km\u00b2)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 4.5 ... |
### Context: CREATE TABLE table_204_659 (
id number,
"seat" text,
"state" text,
"majority" number,
"member" text,
"party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the last seat ?
### Query: SELECT "seat" FROM table_204... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE 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 table_name_52 (
directed_by VARCHAR,
written_by VARCHAR,
original_airdate VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode written by Dan Serafin and aired on July 23, 2008?
### Query: SELECT directed_by ... |
### Context: CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE comment_instructor (
inst... |
### Context: CREATE TABLE table_36233 (
"Frequency" real,
"Callsign" text,
"Brand" text,
"City of License" text,
"Website" text,
"Webcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Callsign includes a frequency under 1210, Newsradio 7... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE chartevents (
row_id number,
... |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
disch... |
### Context: CREATE TABLE table_36757 (
"Games" real,
"Drawn" real,
"Lost" real,
"Points difference" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the highest number of games drawn for games numbered under 6?
### Query: SEL... |
### 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 ta (
campus_job_id int,
student_id int,
location varchar
... |
### 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 Customers (
customer_id INTEGER,
payment_method_code VARCHAR(15),
customer_number VARCHAR(20),
customer_name VARCHAR(80),
customer_address VARCHAR(255),
customer_phone VARCHAR(80),
customer_email VARCHAR(80)
)
CREATE TABLE Contacts (
contact_id INTEGER,
cus... |
### Context: CREATE TABLE table_30049462_8 (
game VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the game for l 111 126
### Query: SELECT game FROM table_30049462_8 WHERE score = "L 111–126" |
### Context: CREATE TABLE table_name_34 (
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent at the game attended by 62,657?
### Query: SELECT opponent FROM table_name_34 WHERE attendance = "62,657" |
### Context: CREATE TABLE table_12564633_1 (
series__number INTEGER,
season__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series number for Season #18?
### Query: SELECT MIN(series__number) FROM table_12564633_1 WHERE season__number = 1... |
### 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_41592 (
"Animal" text,
"Cell type" text,
"Resting potential (mV)" text,
"AP increase (mV)" text,
"AP duration (ms)" text,
"Conduction speed (m/s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which animal has an... |
### 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 t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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 table_name_72 (
score VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Laura Diaz's score for place t9?
### Query: SELECT score FROM table_name_72 WHERE place = "t9" AND player = "laura dia... |
### Context: CREATE TABLE diagnoses (
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_d... |
### Context: CREATE TABLE table_2201724_1 (
year INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Fred Stolle's final year of competing in a championship?
### Query: SELECT MAX(year) FROM table_2201724_1 |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startda... |
### Context: CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE Employees (
Employee_ID INTEGER,
Role_Code CHAR(15),
Employee_Name VARCHAR(255),
Gender_MFU CHAR(1),
Date_of_Birth DATETIME,... |
### Context: CREATE TABLE table_22647 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Dolphins points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date when ... |
### Context: CREATE TABLE table_name_69 (
year VARCHAR,
hungarian_top_40_album_charts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had the Hungarian top 40 album charts of 3?
### Query: SELECT year FROM table_name_69 WHERE hungarian_top_40_album... |
### Context: CREATE TABLE table_3359 (
"Total" real,
"#" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Canadian air date" text,
"UK air date" text,
"Canadian Viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_20391799_1 (
withdrawn INTEGER,
ltsr_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most withdrawn for 37 lstr no.
### Query: SELECT MAX(withdrawn) FROM table_20391799_1 WHERE ltsr_no = 37 |
### Context: CREATE TABLE table_name_17 (
top_25 INTEGER,
top_10 VARCHAR,
events VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest top-25 with more than 9 top-10 but less than 29 events?
### Query: SELECT MAX(top_25) FROM table_name_17 ... |
### Context: CREATE TABLE table_name_13 (
free VARCHAR,
ku VARCHAR,
genitive_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Free polite has a Genitive 1 of *=ku?
### Query: SELECT free AS polite FROM table_name_13 WHERE genitive_1 = * = ku |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar... |
### Context: CREATE TABLE table_10915 (
"Matches" real,
"Innings" real,
"Not Outs" real,
"Runs" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of Not Outs when there were more than 25 innings?
### Query: SE... |
### Context: CREATE TABLE constructors (
constructorId INTEGER,
constructorRef TEXT,
name TEXT,
nationality TEXT,
url TEXT
)
CREATE TABLE lapTimes (
raceId INTEGER,
driverId INTEGER,
lap INTEGER,
position INTEGER,
time TEXT,
milliseconds INTEGER
)
CREATE TABLE driverStandin... |
### Context: CREATE TABLE table_1341663_44 (
incumbent VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the incumbent for texas 19?
### Query: SELECT incumbent FROM table_1341663_44 WHERE district = "Texas 19" |
### Context: CREATE TABLE table_54299 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the runner(s)-up for a winning score of 3 (71-74-66-66=277)?... |
### Context: CREATE TABLE table_14558 (
"Opponent" text,
"OVERALL" text,
"HOME" text,
"AWAY" text,
"PLYFF" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has an overall playoff of (0-0), a home record of (0-1) and played the Green Bay Bli... |
### Context: CREATE TABLE competition (
competition_id number,
year number,
competition_type text,
country text
)
CREATE TABLE competition_result (
competition_id number,
club_id_1 number,
club_id_2 number,
score text
)
CREATE TABLE player (
player_id number,
name text,
pos... |
### 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_name_35 (
attendance INTEGER,
loss VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest Attendance with a Loss of darling (0 1)?
### Query: SELECT MAX(attendance) FROM table_name_35 WHERE loss = "darling (0–1)" |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### 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 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_61 (
try_bonus VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Try bonus has a Points against of 488?
### Query: SELECT try_bonus FROM table_name_61 WHERE points_against = "488" |
### Context: CREATE TABLE table_name_18 (
coach VARCHAR,
ncaa VARCHAR,
losses VARCHAR,
conference_titles VARCHAR,
seasons VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which coach has 0 conference titles, more than 2 seasons, higher than 87 loss... |
### Context: CREATE TABLE table_24329520_8 (
county VARCHAR,
borough VARCHAR,
members VARCHAR,
franchise_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which county has a membership of 1, a franchise type of corporation and a borough of Ennis?
... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
... |
### Context: CREATE TABLE table_name_67 (
player VARCHAR,
money___$__ VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has $450 and a score of 76-74-74-72=296?
### Query: SELECT player FROM table_name_67 WHERE money___$__ = "45... |
### Context: CREATE TABLE table_1397655_1 (
city VARCHAR,
station VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where is citv located
### Query: SELECT city FROM table_1397655_1 WHERE station = "CITV" |
### Context: CREATE TABLE table_55487 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was andrea g miz the opponent?
### Query: SELECT "Date" FROM ta... |
### Context: CREATE TABLE table_name_7 (
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponent with score of 1 6, 6 4, 6 4
### Query: SELECT opponent FROM table_name_7 WHERE score = "1–6, 6–4, 6–4" |
### Context: CREATE TABLE table_10428 (
"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 mean number of laps where time/retired was +1:05.564?
### Query: SELECT A... |
### 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 table_27116696_1 (
us_viewers__million_ VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many U.S. viewers (million) watched the episode directed by Allison Liddi-Brown?
### Query: SELECT us_viewers__million_... |
### Context: CREATE TABLE table_11634 (
"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.
-- When playing at the Kardinia Park; ... |
### Context: CREATE TABLE ship (
ship_id number,
name text,
type text,
built_year number,
class text,
flag text
)
CREATE TABLE captain (
captain_id number,
name text,
ship_id number,
age text,
class text,
rank text
)
-- Using valid SQLite, answer the following question... |
### Context: CREATE TABLE table_2715355_1 (
total_prize_pool VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the prize pool in New Orleans?
### Query: SELECT total_prize_pool FROM table_2715355_1 WHERE location = "New Orleans" |
### Context: CREATE TABLE Addresses (
Address_ID VARCHAR(100),
Line_1 VARCHAR(255),
Line_2 VARCHAR(255),
City_Town VARCHAR(255),
State_County VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Ref_Service_Types (
Service_Type_Code CHAR(15),
Parent_Service_Type_Code CHAR(15),
Se... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varc... |
### Context: CREATE TABLE table_33527 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was CTE Racing-hvm's Best with a Qual 2 of 50.312?
### Query: SELECT "Best" FROM table_33527 ... |
### Context: CREATE TABLE table_25352324_5 (
points VARCHAR,
rebounds VARCHAR,
blocks VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every value for points if rebounds is 6 and blocks is 0?
### Query: SELECT points FROM table_25352324_5 WHERE re... |
### Context: CREATE TABLE table_77328 (
"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 TO PAR WITH A FINISH OF T11, FOR DAVID GRAHAM?
### Query... |
### Context: CREATE TABLE table_76537 (
"Scorer" text,
"Club" text,
"League goals" text,
"FA Cup goals" text,
"League Cup goals" real,
"Texaco Cup goals" text,
"Euro competitions" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_54804 (
"Frequency" text,
"Call sign" text,
"Name" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which owner has the frequency of 103.3 FM?
### Query: SELECT "Owner" FROM table_54804 WHE... |
### Context: CREATE TABLE table_7905 (
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text,
"Competition" text,
"Man of the Match" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Away Competition had a Result of ... |
### Context: CREATE TABLE table_17582 (
"Season" text,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the Mens Singles when the Mixed... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_train_198 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"fasting_plasma_glucose" int,
"diabetes" bool,
"body_mass_index_bmi" float,
"type_1_patients" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- n... |
### Context: CREATE TABLE table_name_38 (
minoru VARCHAR,
block_a VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minoru for block A being koji kanemoto
### Query: SELECT minoru FROM table_name_38 WHERE block_a = "koji kanemoto" |
### Context: CREATE TABLE table_261895_1 (
institution VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which institutions can be categorized as private/united church of christ?
### Query: SELECT institution FROM table_261895_1 WHERE type = "Pri... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE flight_stop (
... |
### Context: CREATE TABLE table_12125069_2 (
winning_pitcher VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winning pitcher when attendance is 38109?
### Query: SELECT winning_pitcher FROM table_12125069_2 WHERE attendance = 3... |
### Context: CREATE TABLE table_name_20 (
score VARCHAR,
place VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is score of the game played in place t8 with Byron Nelson playing?
### Query: SELECT score FROM table_name_20 WHERE place ... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
ch... |
### Context: CREATE TABLE table_25319 (
"Game" text,
"Date" text,
"Champion" text,
"Score" text,
"Runner Up" text,
"Stadium" text,
"City" text,
"Ted Morris Memorial Trophy (Game MVP)" text,
"Bruce Coulter Award" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE fi... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,... |
### Context: CREATE TABLE table_49338 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the to par for Dave hill?
### Query: SELECT "To par" FROM tab... |
### Context: CREATE TABLE table_60943 (
"Place" real,
"Nation" text,
"All Around" real,
"Final" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average final with an all around greater than 19.35 and a total over 40?
### Qu... |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_name_86 (
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the opponent when the score is 7 5, 7 6 (8 6)?
### Query: SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)" |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country... |
### Context: CREATE TABLE grapes (
id number,
grape text,
color text
)
CREATE TABLE wine (
no number,
grape text,
winery text,
appelation text,
state text,
name text,
year number,
price number,
score number,
cases number,
drink text
)
CREATE TABLE appellations (... |
### Context: CREATE TABLE table_22083 (
"Birth Name" text,
"Birth Name As Announced in Latin (Accusative case Forename Undeclined Surname)" text,
"Papal Name" text,
"Papal Name As Announced in Latin" text,
"Latin declension of Papal Name" text,
"Numeral in Papal Name" text
)
-- Using valid SQL... |
### Context: CREATE TABLE table_name_24 (
attendance VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the attendance of the match with F.C. central chugoku as the home team?
### Query: SELECT attendance FROM table_name_24 WHERE home... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,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... |
### Context: CREATE TABLE table_49040 (
"Name (English)" text,
"Name (German)" text,
"Abbr." text,
"Ideology" text,
"Position" text,
"Votes (2011)" text,
"Seats in Hamburgische B\u00fcrgerschaft" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_55 (
athlete VARCHAR,
punishment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which athlete had a six month suspension from IIHF?
### Query: SELECT athlete FROM table_name_55 WHERE punishment = "six month suspension fr... |
### Context: CREATE TABLE table_12086 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of Money ($) that has the Score of 69-72-67-71... |
### 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_name_6 (
location_attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location and attendance of the game with a 3-1-0 record?
### Query: SELECT location_attendance FROM table_name_6 WHERE re... |
### Context: CREATE TABLE table_27768 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.