text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_70211 (
"Grand Prix" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the pole position for belgian gr... |
### Context: CREATE TABLE table_30656 (
"#" real,
"Stadium" text,
"Capacity" real,
"Opened" text,
"City / Town" text,
"Home team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stadium does FK Jedinstvo play in?
### Query: SELECT "Stadium"... |
### 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_2508633_4 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
### Query: SELECT position FROM table_2508633_4 WHERE player = "St... |
### Context: CREATE TABLE team (
year INTEGER,
league_id TEXT,
team_id TEXT,
franchise_id TEXT,
div_id TEXT,
rank INTEGER,
g INTEGER,
ghome NUMERIC,
w INTEGER,
l INTEGER,
div_win TEXT,
wc_win TEXT,
lg_win TEXT,
ws_win TEXT,
r INTEGER,
ab INTEGER,
h INT... |
### 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_25260 (
"Number" real,
"Name" text,
"Position" text,
"Height" text,
"Experience" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the number of the player that was 6-6?
### Query: SELECT "N... |
### Context: CREATE TABLE table_203_438 (
id number,
"year" number,
"title" text,
"role" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of titles produced in 2004 ?
### Query: SELECT COUNT("title") FROM table_203_... |
### Context: CREATE TABLE table_37665 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Attendance larger than 17,001, and a Date of june 15 had what decision?
... |
### Context: CREATE TABLE table_name_67 (
away_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the away team at the game played at Lake Oval?
### Query: SELECT away_team FROM table_name_67 WHERE venue = "lake oval" |
### 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_52 (
name VARCHAR,
town_city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the museum name located in Rudyard?
### Query: SELECT name FROM table_name_52 WHERE town_city = "rudyard" |
### 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 tourist_attraction_features (
tourist_attraction_id number,
feature_id number
)
CREATE TABLE street_markets (
market_id number,
market_details text
)
CREATE TABLE visitors (
tourist_id number,
tourist_details text
)
CREATE TABLE shops (
shop_id number,
shop_d... |
### Context: CREATE TABLE table_22693 (
"Rank" real,
"Peak" text,
"Country" text,
"Island" text,
"Elevation (m)" real,
"Prominence (m)" real,
"Col (m)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When mount gauttier is the peak what is th... |
### 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_89 (
race VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the winner of the race in monza?
### Query: SELECT race AS Winner FROM table_name_89 WHERE location = "monza" |
### 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_25668962_1 (
directed_by VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed episode number 18 in the series?
### Query: SELECT directed_by FROM table_25668962_1 WHERE no_in_series = 18 |
### Context: CREATE TABLE table_30949 (
"Rd." real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the constructor in t... |
### Context: CREATE TABLE table_22849575_6 (
conference VARCHAR,
tournament_winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of conference tournament for james madison
### Query: SELECT COUNT(conference) AS Tournament FROM table_2284957... |
### Context: CREATE TABLE table_10990 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue had an away team that s... |
### Context: CREATE TABLE table_45520 (
"Poll Source" text,
"Dates administered" text,
"Democrat: Tom Harkin" text,
"Republican: Christopher Reed" text,
"Lead Margin" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage did Republish Chris... |
### Context: CREATE TABLE table_28741_1 (
_usd__2012_ VARCHAR,
gdp__nominal__per_capita VARCHAR,
capital VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the numbers for GDP (nominal) per capita and USD (2012) of the area with Phnom Penh as capita... |
### 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 gsi (
course_offering_id int,
student_id int
)
CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspir... |
### Context: CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
... |
### Context: CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellat... |
### Context: CREATE TABLE table_64241 (
"Township" text,
"County" text,
"Pop. (2010)" real,
"Land ( sqmi )" real,
"Water (sqmi)" real,
"Latitude" real,
"Longitude" real,
"GEO ID" real,
"ANSI code" real
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE table_train_72 (
"id" int,
"extracorporeal_membrane_oxygenation_ecmo_cannulation" bool,
"heart_disease" bool,
"meningitis_or_encephalitis" bool,
"sepsis" bool,
"cancer" bool,
"prisoners" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questio... |
### Context: CREATE TABLE table_37193 (
"Name" text,
"Type" text,
"Entered service" text,
"Water depth" text,
"Location" text,
"Customer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the water depth in the Gulf of Mexico named Discove... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE employees (
EMPLOYEE_I... |
### Context: CREATE TABLE 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 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_202_104 (
id number,
"governorate" text,
"percentage" text,
"seats won" number,
"total seats" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many groups have more than 32 total seats ?
### Query: SELECT COUNT("... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE cost (
row_id number,
subject_id num... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId n... |
### Context: CREATE TABLE Financial_Transactions (
transaction_id INTEGER,
previous_transaction_id INTEGER,
account_id INTEGER,
card_id INTEGER,
transaction_type VARCHAR(15),
transaction_date DATETIME,
transaction_amount DOUBLE,
transaction_comment VARCHAR(255),
other_transaction_det... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time... |
### Context: CREATE TABLE table_name_49 (
diameter VARCHAR,
year VARCHAR,
reverse VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the diameter of the 2006 equestrian Reverse?
### Query: SELECT diameter FROM table_name_49 WHERE year = 2006 AND reve... |
### Context: CREATE TABLE table_name_9 (
score VARCHAR,
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the score of the game at pro player stadium on june 14?
### Query: SELECT score FROM table_name_9 WHERE venue = "pro play... |
### Context: CREATE TABLE table_1939214_1 (
regular_season VARCHAR,
playoffs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what season did the team get in the conference finals of the playoffs?
### Query: SELECT regular_season FROM table_1939214_1 WHERE... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE d_icd_procedures (
row_id numbe... |
### Context: CREATE TABLE table_39424 (
"Crime" text,
"Reported Offenses" real,
"Killeen Rate" real,
"Texas Rate" real,
"U.S. Rate" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Texas Rate smaller than 32.9, and a U.S. Rate larger than 5.6 is what ... |
### Context: CREATE TABLE table_name_52 (
home_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the home team that played at Brunswick Street Oval?
### Query: SELECT home_team AS score FROM table_name_52 WHERE venue ... |
### Context: CREATE TABLE table_57306 (
"Rank" real,
"English title" text,
"Chinese title" text,
"Average" real,
"Peak" real,
"Premiere" real,
"Finale" real,
"HK viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest ... |
### Context: CREATE TABLE table_7125 (
"Track" real,
"Recorded" text,
"Catalogue" text,
"Release date" text,
"Chart peak" text,
"Song title" text,
"Writer(s)" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Chart peak h... |
### Context: CREATE TABLE table_name_8 (
trainer VARCHAR,
owner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the trainer with Robert Courtney was owner?
### Query: SELECT trainer FROM table_name_8 WHERE owner = "robert courtney" |
### Context: CREATE TABLE table_204_759 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many competitions did he finish in at least 10th place ?
### Query... |
### Context: CREATE TABLE table_8604 (
"Rank" text,
"Runs" text,
"Player" text,
"Opponent" text,
"Venue" text,
"Season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Runs which has Venue of adelaide oval , adelaide?
### Query: SELECT ... |
### 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_31515 (
"Townland" text,
"Area( acres )" real,
"Barony" text,
"Civil parish" text,
"Poor law union" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many entries are in barony when the townland is derrigra?
### Que... |
### Context: CREATE TABLE table_24316 (
"Competition" text,
"Round" text,
"Opponent" text,
"Result" text,
"Score" text,
"Home/Away" text,
"Venue" text,
"Attendance" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many... |
### Context: CREATE TABLE table_train_278 (
"id" int,
"gender" string,
"supine" bool,
"systolic_blood_pressure_sbp" int,
"hemoglobin_a1c_hba1c" float,
"estimated_glomerular_filtration_rate_egfr" int,
"diastolic_blood_pressure_dbp" int,
"serum_creatinine" float,
"bilirubin" float,
... |
### Context: CREATE TABLE table_name_77 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score that led to an 11-16 record?
### Query: SELECT score FROM table_name_77 WHERE record = "11-16" |
### 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_204_137 (
id number,
"race" number,
"race name" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"winning team" text,
"yokohama winner" text,
"jay-ten winner" text,
"report" text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_name_79 (
date__to_ VARCHAR,
date__from_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has date started from 30 Sep 1913?
### Query: SELECT date__to_ FROM table_name_79 WHERE date__from_ = "30 sep 1913" |
### Context: CREATE TABLE table_63681 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Lane of the swimmer with a Time of 8:34.25?
### Query: SELECT "Lane" FROM table_636... |
### Context: CREATE TABLE table_1216675_1 (
pinyin VARCHAR,
translation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pinyin for explaining music?
### Query: SELECT pinyin FROM table_1216675_1 WHERE translation = "Explaining Music" |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
in... |
### Context: CREATE TABLE table_62652 (
"Model Number" text,
"Clock Speed" text,
"L1 Cache" text,
"L2 Cache" text,
"FSB Speed" text,
"Clock Multiplier" text,
"Idle Power" text,
"Socket" text,
"Cores" real,
"Release Date" text
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_69044 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In Round 13, what was the Pick # of the Guard Position with an Overall gr... |
### 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 comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campu... |
### Context: CREATE TABLE table_name_20 (
points INTEGER,
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest points on October 12, when the attendance where is over 10,701?
### Query: SELECT MAX(points) FROM tab... |
### Context: CREATE TABLE table_name_65 (
hanyu_pinyin VARCHAR,
density___km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pinyin for the item that has a density of 77?
### Query: SELECT hanyu_pinyin FROM table_name_65 WHERE density___km²_ = ... |
### Context: CREATE TABLE table_203_838 (
id number,
"year" number,
"world car of the year" text,
"world performance car" text,
"world green car" text,
"world car design of the year" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tot... |
### Context: CREATE TABLE Product_Suppliers (
product_id INTEGER,
supplier_id INTEGER,
date_supplied_from DATETIME,
date_supplied_to DATETIME,
total_amount_purchased VARCHAR(80),
total_value_purchased DECIMAL(19,4)
)
CREATE TABLE Customer_Addresses (
customer_id INTEGER,
address_id INTE... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,... |
### Context: CREATE TABLE table_22879323_8 (
game INTEGER,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest game number for a game in which Kris Humphries (8) did the high rebounds?
### Query: SELECT MAX(game) FROM table_22879... |
### Context: CREATE TABLE table_22879323_9 (
high_points VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of high points for ford center
### Query: SELECT COUNT(high_points) FROM table_22879323_9 WHERE location_att... |
### 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_18414 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times was frank m. clark the incumbent?
### Query... |
### Context: CREATE TABLE table_51372 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on March 27?
### Query: SELECT "Record" FROM table_51372 WHERE "Date" = 'mar... |
### Context: CREATE TABLE table_43456 (
"School Year" text,
"Class A" text,
"Class AA" text,
"Class AAA" text,
"Class AAAA" text,
"Class AAAAA" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If Class AAAA is Schertz Clemens and SChool Year is 19... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTE... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requireme... |
### Context: CREATE TABLE table_16141 (
"No." real,
"#" real,
"Title" text,
"Director" text,
"Writer" text,
"US air date" text,
"Storyteller" text,
"Villains" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the director of the epis... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
... |
### Context: CREATE TABLE table_31431 (
"Rank" real,
"Country/Territory" text,
"Manhunt International" real,
"1st runner-up" real,
"2nd runner-up" real,
"3rd runner-up" real,
"4th runner-up" real,
"Semifinalists" real,
"Total" real
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_20206 (
"Ecosystem" text,
"Date of issue" text,
"Place of issue" text,
"No. stamps in sheet" real,
"Face Value" text,
"Printer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the printer of Estes Park, Col... |
### Context: CREATE TABLE table_name_53 (
date_of_appointment VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of appointment for javier aguirre's replacement?
### Query: SELECT date_of_appointment FROM table_name_5... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
... |
### 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_name_64 (
opponent VARCHAR,
year VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Opponent, when Year is greater than 2009, and when Score is 7 5, 6 7 (6 8) , 6 1?
### Query: SELECT opponent FROM tabl... |
### Context: CREATE TABLE table_name_21 (
report VARCHAR,
winning_driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What report did Jack Brabham win?
### Query: SELECT report FROM table_name_21 WHERE winning_driver = "jack brabham" |
### Context: CREATE TABLE table_57548 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"MLB Draft" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player has a Position of infielder, and a Hometown of atlanta, ga?
### Query: S... |
### Context: CREATE TABLE table_name_66 (
spectators INTEGER,
time___cest__ VARCHAR,
team__number2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of spectators for time more than 20.05 and team #2 of estonia
### Query: SELECT SUM(spectators... |
### Context: CREATE TABLE table_57664 (
"Athlete" text,
"Country" text,
"Wins" real,
"Years" text,
"Distance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the country for athlete of ziedonis za kalns
### Query: SELECT "Country" FROM table_57... |
### 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_78821 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff Time" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the opponent the San Diego Chargers?
### Query: SEL... |
### 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 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 d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_3252 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the episode # 11 in th... |
### 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_29719 (
"Year" real,
"Exhibitors (domestic)" real,
"Exhibitors (foreign)" real,
"Exhibitors (total)" real,
"Visitors (total)" real,
"Visitors (foreign in %)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many... |
### 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,
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.