text stringlengths 197 8.39k |
|---|
### 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_15463188_7 (
school_club_team VARCHAR,
season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the school/club team when season is 2009-2011
### Query: SELECT school_club_team FROM table_15463188_7 WHERE season = "2009-201... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytim... |
### Context: CREATE TABLE table_name_17 (
pinnacle_height VARCHAR,
town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Pinnacle height for Metcalf, Georgia?
### Query: SELECT pinnacle_height FROM table_name_17 WHERE town = "metcalf, georgia" |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
... |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subje... |
### Context: CREATE TABLE table_name_45 (
player VARCHAR,
to_par VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Player that has a To standard of 4, and a Score of 74-70-68=212?
### Query: SELECT player FROM table_name_45 WHERE... |
### Context: CREATE TABLE table_name_3 (
ceased_to_be_queen VARCHAR,
birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was born on 10 May 1788 that ceased to be queen?
### Query: SELECT ceased_to_be_queen FROM table_name_3 WHERE birth = "10 may 1788" |
### Context: CREATE TABLE table_66444 (
"Rank" real,
"Athletes" text,
"Country" text,
"Time" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank for the man from China with notes of QS?
### Query: SELECT MAX("Rank") FROM t... |
### Context: CREATE TABLE table_69163 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which area served coed genders at Kaharoa school and had a Decile of 9?
###... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutp... |
### Context: CREATE TABLE table_69375 (
"Frame size" text,
"Width" real,
"Height" real,
"Mpix" real,
"Aspect Ratio" text,
"max. fps" real,
"max. fps HDRx" real,
"lowest possible REDCODE at 24 fps" text,
"lowest possible REDCODE at max. fps" text
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_46575 (
"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 To par of the New Zealand Player?
### Query: SELECT "To par" FROM table_46575 WHE... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
... |
### Context: CREATE TABLE table_28281704_1 (
stadium VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the stadium for nizhny novgorod
### Query: SELECT stadium FROM table_28281704_1 WHERE city = "Nizhny Novgorod" |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostHistory (
I... |
### Context: CREATE TABLE table_name_37 (
s_default_argument VARCHAR,
pseudorandom_number_generation VARCHAR,
eval_function VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the s default argument without a pseudorandom number generation and no eval... |
### Context: CREATE TABLE table_name_88 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2007 has wimbledon as the tournament?
### Query: SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon" |
### 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 patients (
row_id number,
subject_id number,
gender text,
dob time,
d... |
### Context: CREATE TABLE table_12661 (
"Club" text,
"League" text,
"Sport" text,
"Established" text,
"Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Established has a League of ontario australian football league?
### Query: SE... |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries ... |
### Context: CREATE TABLE table_31710 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the total number of date for carp... |
### Context: CREATE TABLE table_49868 (
"Date" text,
"Home team" text,
"Score" text,
"Away team" text,
"Venue" text,
"Box Score" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the box core for the Melbourne Tigers?
#... |
### 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_204_834 (
id number,
"rank" number,
"name" text,
"nationality" text,
"time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many ranked swimmers were from the united states ?
### Query: SELECT COUNT(*) FROM table_... |
### 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 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_44804 (
"Year" real,
"Network" text,
"Play-by-play" text,
"Color commentator(s)" text,
"Pregame host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What network has a Play-by-play by Jack Edwards in 2000?
### Query:... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE table_38778 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Average larger than 2,279, and a Team of queen of the south, and a Capa... |
### Context: CREATE TABLE table_74860 (
"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.
-- How many top 10s associated with 3 top 5s and under... |
### 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_70232 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine has a Chassis of lotus 44 f2?
### Query: SELECT "Engine" FROM table_70232 WHERE... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE d_icd_procedure... |
### Context: CREATE TABLE table_18578 (
"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.
-- What district is eugene worley from?
### Query: SELECT "Di... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,... |
### Context: CREATE TABLE table_7525 (
"Event" text,
"2006\u201307" text,
"2007\u201308" text,
"2008\u201309" text,
"2010\u201311" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what kind of 2006 07 has a 2010 11 of n/a, and an Event of masters?
##... |
### Context: CREATE TABLE table_31260 (
"Name" text,
"Number" real,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Hometown" text,
"Last School/College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the school for ... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,... |
### Context: CREATE TABLE table_name_59 (
score_in_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score in Final on February 19, 1989?
### Query: SELECT score_in_final FROM table_name_59 WHERE date = "february 19, 1989" |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE ReviewTaskResultTypes (
Id n... |
### Context: CREATE TABLE table_name_7 (
player VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player was the forward?
### Query: SELECT player FROM table_name_7 WHERE position = "forward" |
### Context: CREATE TABLE table_16864 (
"Player" text,
"No." text,
"Nationality" text,
"Position" text,
"Years for Jazz" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player played the years for Jazz in 1995-2000,... |
### Context: CREATE TABLE Ref_Characteristic_Types (
characteristic_type_code VARCHAR(15),
characteristic_type_description VARCHAR(80)
)
CREATE TABLE Ref_Product_Categories (
product_category_code VARCHAR(15),
product_category_description VARCHAR(80),
unit_of_measure VARCHAR(20)
)
CREATE TABLE Cha... |
### Context: CREATE TABLE country (
Country_ID int,
Name text,
Population int,
Area int,
Languages text
)
CREATE TABLE roller_coaster (
Roller_Coaster_ID int,
Name text,
Park text,
Country_ID int,
Length real,
Height real,
Speed text,
Opened text,
Status text
)
... |
### 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_42231 (
"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 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_203_397 (
id number,
"series" text,
"launch date" text,
"finale date" text,
"days" number,
"housemates" number,
"winner" text,
"main presenter" text,
"grand prize" text,
"liveshow\naudience\nmillions" number
)
-- Using valid SQLite, answer the fo... |
### Context: CREATE TABLE table_name_66 (
crowd VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when St Kilda played as the home team?
### Query: SELECT COUNT(crowd) FROM table_name_66 WHERE home_team = "st kilda" |
### Context: CREATE TABLE table_name_39 (
country VARCHAR,
place VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Country of the Player in Place 1?
### Query: SELECT country FROM table_name_39 WHERE place = "1" |
### Context: CREATE TABLE table_50831 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the transfer fee... |
### Context: CREATE TABLE table_name_15 (
tires VARCHAR,
team VARCHAR,
engine VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tires did BFM Enterprises run on their Offy engine and manta chassis?
### Query: SELECT tires FROM tab... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### 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 albums (
id number,
title text,
artist_id number
)
CREATE TABLE employees (
id number,
last_name text,
first_name text,
title text,
reports_to number,
birth_date time,
hire_date time,
address text,
city text,
state text,
country text,
... |
### Context: CREATE TABLE table_24107 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Black Knights points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opponents for game 5
### Query... |
### Context: CREATE TABLE table_32322 (
"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.
-- Where was the game held when the ho... |
### 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 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 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,
outtime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_cod... |
### Context: CREATE TABLE table_203_525 (
id number,
"car" text,
"engine" text,
"compression" text,
"power" text,
"torque" text,
"turbo" text,
"stock boost" text,
"turbine" text,
"compressor" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE table_65904 (
"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 to par for Jiyai Shin in place t1?
### Query: SELECT "To par" FROM table_65904 WH... |
### Context: CREATE TABLE table_53667 (
"English" text,
"Scots" text,
"West Frisian" text,
"Afrikaans" text,
"Dutch" text,
"Dutch ( Limburgish )" text,
"Low German" text,
"Low German ( Groningen )" text,
"Middle German ( Luxemburgish )" text,
"German" text,
"Yiddish" text,
... |
### Context: CREATE TABLE table_name_11 (
weeks_3_4 VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what week had a player named zach
### Query: SELECT weeks_3_4 FROM table_name_11 WHERE name = "zach" |
### Context: CREATE TABLE table_27756164_8 (
score VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the team is Orlando?
### Query: SELECT COUNT(score) FROM table_27756164_8 WHERE team = "Orlando" |
### Context: CREATE TABLE table_name_85 (
name VARCHAR,
pos VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name when the position was fullback, hooker?
### Query: SELECT name FROM table_name_85 WHERE pos = "fullback, hooker" |
### Context: CREATE TABLE table_37681 (
"Category" text,
"Type" text,
"Attribute" text,
"Bubbles" text,
"Cancelable" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Let's say Type is of datasetcomplete, what is the Attribute?
### Query: SELECT "Attr... |
### 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_69 (
party VARCHAR,
ipsos_6_3_09 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had an Ipsos of 27%?
### Query: SELECT party FROM table_name_69 WHERE ipsos_6_3_09 = "27%" |
### Context: CREATE TABLE table_15315816_1 (
dates VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all of the dates in the country of Canada?
### Query: SELECT dates FROM table_15315816_1 WHERE country = "Canada" |
### Context: CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State TEXT,
Area TEXT,
isAVA TEXT
)
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT... |
### Context: CREATE TABLE table_name_59 (
name VARCHAR,
qual_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Name of the person with a Qual 1 of 1:26.056?
### Query: SELECT name FROM table_name_59 WHERE qual_1 = "1:26.056" |
### Context: CREATE TABLE table_49137 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country scored 67?
### Query: SELECT "Country" FROM table_49137 WHERE "Score" = '67' |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE Comments (
Id number,
... |
### 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_40 (
location VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the match played in 1998?
### Query: SELECT location FROM table_name_40 WHERE year = 1998 |
### Context: CREATE TABLE table_20133 (
"City of License /Market" text,
"Station" text,
"Channel TV ( DT )" text,
"Years owned" text,
"Current affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who currently affiliates in San Francisco - Oa... |
### Context: CREATE TABLE table_14389782_2 (
quarterback VARCHAR,
winning_pct VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the quarter back for a winning pct of .792
### Query: SELECT quarterback FROM table_14389782_2 WHERE winning_pct = ".792" |
### Context: CREATE TABLE table_name_9 (
date_made VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of creation for the locomotive having a type of 0-4-2
### Query: SELECT date_made FROM table_name_9 WHERE type = "0-4-2" |
### Context: CREATE TABLE table_204_145 (
id number,
"representative" text,
"state" text,
"district(s)" text,
"served" text,
"party" text,
"date of birth" text,
"date of death" text,
"age" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_53493 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick number for the kicker in round 8?
### Query: SELECT COUNT("Pick") FROM tabl... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
P... |
### Context: CREATE TABLE wedding (
YEAR VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weddings are there in year 2016?
### Query: SELECT COUNT(*) FROM wedding WHERE YEAR = 2016 |
### Context: CREATE TABLE table_13714 (
"Year" real,
"MISS EARTH" text,
"Miss Air (1st Runner-up)" text,
"Miss Water (2nd Runner-up)" text,
"Miss Fire (3rd Runner-up)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won Miss Air (1st Runner-up) w... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE allergy ... |
### Context: CREATE TABLE table_24354 (
"Type of Record" text,
"Attendance" real,
"Date/Year" text,
"Stadium" text,
"Result/Games" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many records had result/games: 10 games (29,606 avg.)
### Query: S... |
### Context: CREATE TABLE table_13527 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text,
"Language/Rebroadcast" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the format when the frequency is fm 94.5?
##... |
### Context: CREATE TABLE table_66321 (
"Producer" text,
"Product" text,
"Samples taken" real,
"Samples failed" real,
"Melamine content(mg/kg)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the most melamine content that has more than 1 samp... |
### Context: CREATE TABLE table_name_82 (
position VARCHAR,
pick VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player with a pick less than 3 from team san diego?
### Query: SELECT position FROM table_name_82 W... |
### Context: CREATE TABLE table_name_78 (
nationality VARCHAR,
year VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- After 2009, what's the nationality of a player named Dwayne de Rosario Category:articles with hcards?
### Query: SELECT na... |
### Context: CREATE TABLE table_24168 (
"Episode" text,
"Broadcast date" text,
"Run time" text,
"Viewers (in millions)" text,
"Archive" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is all the broadcast date when viewers were 8.4 millions
###... |
### Context: CREATE TABLE table_1506619_1 (
school_board VARCHAR,
number_of_elementary_schools VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where are all school boards associated with a number of elementary schools of 96?
### Query: SELECT school_board FR... |
### Context: CREATE TABLE culture_company (
company_name text,
type text,
incorporated_in text,
group_equity_shareholding number,
book_club_id text,
movie_id text
)
CREATE TABLE book_club (
book_club_id number,
year number,
author_or_editor text,
book_title text,
publisher t... |
### 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_6424 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Attendance at the Game with a Result o... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
Cre... |
### 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 table_name_87 (
date VARCHAR,
loan_expires VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a loan expires date of end of the season, and a Position of mf?
### Query: SELECT date FROM table_name_87... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.