text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_60072 (
"Players" text,
"Position" text,
"Year" text,
"Ht/Wt" text,
"Bats/Throws" text,
"Hometown (Last School)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Jake Johnson's position?
### Query: SELECT "... |
### Context: CREATE TABLE table_25429986_1 (
horse VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what horse is in the 6th position?
### Query: SELECT horse FROM table_25429986_1 WHERE position = "6th" |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description tex... |
### Context: CREATE TABLE table_name_31 (
frequency INTEGER,
webcast VARCHAR,
callsign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Frequency has a Webcast of , and a Callsign of xemr?
### Query: SELECT AVG(frequency) FROM table_name_31 WHERE we... |
### Context: CREATE TABLE table_72908 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the part 4 of the word with the part 1 'heizan'?
### Query: ... |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35... |
### Context: CREATE TABLE table_57194 (
"Rank" real,
"Constituency" text,
"Winning party 2007" text,
"Swing to gain" real,
"Labour's place 2007" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of rank 1?
### Qu... |
### Context: CREATE TABLE table_train_21 (
"id" int,
"pregnancy_or_lactation" bool,
"severe_sepsis" bool,
"systolic_blood_pressure_sbp" int,
"active_infection" bool,
"limited_care" bool,
"septic_shock" bool,
"coagulopathy" bool,
"age" float,
"lactate" int,
"NOUSE" float
)
-... |
### Context: CREATE TABLE table_name_64 (
player VARCHAR,
mls_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the player from dallas burn
### Query: SELECT player FROM table_name_64 WHERE mls_team = "dallas burn" |
### Context: CREATE TABLE table_56703 (
"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 label for the album with a catalog number of 83061-2?
### Query: SELECT "Label" ... |
### Context: CREATE TABLE t_kc21 (
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_42266 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest Year, when the Venue is Beijing, PR China?
### Query: SELECT MAX("Yea... |
### 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 faculty (
facid number,
lname text,
fname text,
rank text,
sex text,
phone number,
room text,
building text
)
CREATE TABLE activity (
actid number,
activity_name text
)
CREATE TABLE faculty_participates_in (
facid number,
actid number
)
CREATE... |
### 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 Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE party_events (
Event_ID int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE region (
Region_ID int,
Re... |
### Context: CREATE TABLE table_80369 (
"Date" text,
"Round" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" real,
"Scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue was on 27 May 2000?
### Query: SELECT "V... |
### Context: CREATE TABLE table_203_393 (
id number,
"year" number,
"film" text,
"director" text,
"cast" text,
"details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which film won the most awards ?
### Query: SELECT "film" FROM table_203_393... |
### 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_2546 (
"High School" text,
"Type" text,
"Established" real,
"Enrollment" real,
"Mascot" text,
"WIAA Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many wiaa classifications does fort vancouver ... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_name_53 (
venue VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the home team was footscray which venue did they play it?
### Query: SELECT venue FROM table_name_53 WHERE home_team = "footscray" |
### Context: CREATE TABLE table_name_33 (
starts INTEGER,
cuts_made VARCHAR,
top_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?
### Query: SELECT AVG... |
### Context: CREATE TABLE table_41622 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IATA for Benghazi, Libya?
### Query: SELECT "IATA" FROM table_41622 WHERE "Country" ... |
### Context: CREATE TABLE table_7413 (
"Tournament" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text
)
-- Using valid SQLite, answer the following questio... |
### Context: CREATE TABLE table_name_94 (
result VARCHAR,
time___et__ VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the result of the game at the Shea Stadium at 12:30pm (ET)?
### Query: SELECT result FROM table_name_94 WHERE ... |
### Context: CREATE TABLE table_61255 (
"Team" text,
"Played" real,
"Draw" real,
"Lost" real,
"Goals Scored" real,
"Goals Conceded" real,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Count the Draw which has Lost of 0, and a Goals... |
### Context: CREATE TABLE table_name_29 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the score of 2-0 take place?
### Query: SELECT date FROM table_name_29 WHERE score = "2-0" |
### Context: CREATE TABLE table_35437 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Last match" text,
"Replaced by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the last match with a vacan... |
### Context: CREATE TABLE table_name_48 (
name VARCHAR,
out_of VARCHAR,
source VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Name had the Source, World Bank, and a Rank smaller than 110, Out of a number smaller than 199?
### Que... |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
e... |
### 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 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_9191 (
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type of surface was played on July 27, 2013?
### Query: SELECT ... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentL... |
### Context: CREATE TABLE table_12350 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the score 6 4?
### Query: SELECT "Date" FROM table_12350 WHERE "Score" = '6–4' |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
... |
### 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 patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_55962 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least attendance with carolina visitor
### ... |
### Context: CREATE TABLE table_55937 (
"Rank" real,
"Name" text,
"Nation" text,
"Placings" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of all total values for Switzerland?
### Query: SELECT SUM("Total") FROM table_... |
### Context: CREATE TABLE table_30133_3 (
gdp_as_of_2012_after_purchasing_power_parity__ppp__calculations__usd_billions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1985 value for the year when GDP as of 2012 after PPP was 369.38?
### Query: SELE... |
### Context: CREATE TABLE table_name_65 (
engine_configuration_ VARCHAR,
_notes_0_100km_h VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the engine configuration & notes 0-100km/h with a model with 2.3 t5?
### Query: SELECT engine... |
### Context: CREATE TABLE table_34787 (
"Pick #" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- To which college/junior/club team did the playe... |
### 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_89 (
population_estimate_2005 INTEGER,
area__km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the population estimate 2005 for the with the area (km2) 3,034.08?
### Query: SELECT AVG(population_estimate_2005... |
### Context: CREATE TABLE table_75601 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Frequency MHz of 88.7 had what average erp w?
### Quer... |
### Context: CREATE TABLE table_train_49 (
"id" int,
"consent" bool,
"palliative_treatment" bool,
"acute_mesenteric_ischemia" bool,
"receiving_vasopressor" bool,
"septic_shock" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- pr... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### 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_34617 (
"Region served" text,
"City" text,
"Channels ( Analog / Digital )" text,
"First air date" text,
"ERP (Analog/ Digital)" text,
"HAAT (Analog/ Digital) 1" text,
"Transmitter Location" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_name_24 (
round VARCHAR,
position VARCHAR,
signed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What round drafted was the 1b and a Signed of no cardinals - 1969 june?
### Query: SELECT COUNT(round) FROM table_name_24 WH... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
even... |
### Context: CREATE TABLE table_70189 (
"Year" text,
"Venue" text,
"Winners" text,
"Runner-up" text,
"3rd place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner-up in 2004?
### Query: SELECT "Runner-up" FROM table_70189 WHERE "Yea... |
### Context: CREATE TABLE table_204_78 (
id number,
"no." number,
"train no." text,
"origin" text,
"destination" text,
"train name" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many trains are going to trivandrum ?
### Query: SELECT COUNT... |
### Context: CREATE TABLE member (
Member_ID int,
Member_Name text,
Party_ID text,
In_office text
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_off... |
### Context: CREATE TABLE table_78261 (
"Athlete" text,
"Event" text,
"Snatch" real,
"Clean & Jerk" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total that had an event of +105 kg and clean & jerk less than 227.5?
### Qu... |
### Context: CREATE TABLE table_name_42 (
name VARCHAR,
moving_from VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is moving from Treviso with a loan return?
### Query: SELECT name FROM table_name_42 WHERE moving_from = "treviso" AND t... |
### Context: CREATE TABLE table_65811 (
"Airing date" text,
"English title (Chinese title)" text,
"Number of episodes" real,
"Genre" text,
"Official website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the airing date for the show with 62 ... |
### Context: CREATE TABLE table_18161217_2 (
cospar_id VARCHAR,
estimated_operational_life VARCHAR,
satellite VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the cospar ID of the Kosmos 2397 satellite, which has an operational life of 2 months?
#... |
### Context: CREATE TABLE table_47406 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Type has a Name of edson ratinho?
### Query: SELECT "Ty... |
### Context: CREATE TABLE Assets (
asset_id INTEGER,
maintenance_contract_id INTEGER,
supplier_company_id INTEGER,
asset_details VARCHAR(255),
asset_make VARCHAR(20),
asset_model VARCHAR(20),
asset_acquired_date DATETIME,
asset_disposed_date DATETIME,
other_asset_details VARCHAR(255)... |
### Context: CREATE TABLE scientists (
ssn number,
name text
)
CREATE TABLE projects (
code text,
name text,
hours number
)
CREATE TABLE assignedto (
scientist number,
project text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of... |
### Context: CREATE TABLE table_54149 (
"Year" real,
"Artist" text,
"Composition" text,
"Mintage" real,
"Issue Price" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the composition with an artist of Henry Purdy, a year smaller than 2002, and... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text... |
### Context: CREATE TABLE table_name_42 (
took_office INTEGER,
left_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Took Office Date of the Presidency that Left Office Incumbent?
### Query: SELECT SUM(took_office) FROM table_name_42 WHERE ... |
### Context: CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc21 (
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,
... |
### Context: CREATE TABLE table_53611 (
"Round" real,
"Date" text,
"Home Team" text,
"Score" text,
"Away Team" text,
"Crowd" real,
"Stadium" text,
"Match Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home team played in f... |
### Context: CREATE TABLE table_name_58 (
pop_act VARCHAR,
album VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which act's album has a name of All That You Can't Leave Behind?
### Query: SELECT pop_act FROM table_name_58 WHERE album = "all that you can't l... |
### Context: CREATE TABLE manager_award_vote (
award_id TEXT,
year INTEGER,
league_id TEXT,
player_id TEXT,
points_won INTEGER,
points_max INTEGER,
votes_first INTEGER
)
CREATE TABLE batting (
player_id TEXT,
year INTEGER,
stint INTEGER,
team_id TEXT,
league_id TEXT,
... |
### Context: CREATE TABLE table_name_24 (
rd__number VARCHAR,
reg_gp VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rd number where the reg GP is 0 and the pick is 150?
### Query: SELECT COUNT(rd__number) FROM table_nam... |
### Context: CREATE TABLE table_44506 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Set 1 of 25 16?
### Query: SELECT "Score" FRO... |
### 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 SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Votes (
Id number,
PostId number,
... |
### Context: CREATE TABLE table_27296 (
"Freq" real,
"Call" text,
"City" text,
"Owner" text,
"Start" real,
"Day Power ( W )" real,
"Night Power" real,
"Nickname" text,
"Format" text,
"Stereo" text
)
-- Using valid SQLite, answer the following questions for the tables provided a... |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### Context: CREATE TABLE table_55094 (
"Title" text,
"Year" real,
"Country" text,
"Music" text,
"Uncut run time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What music is in the film before 1962?
### Query: SELECT "Music" FROM table_55094 WHERE... |
### 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_45022 (
"Antibody" text,
"Brand name" text,
"Approval date" real,
"Type" text,
"Target" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the target for the brand mylotarg?
### Query: SELECT "Target" FROM table_4... |
### 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 microlab... |
### 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 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 users (
user_id number,
role_code text,
user_name text,
user_login text,
password text
)
CREATE TABLE images (
image_id number,
image_alt_text text,
image_name text,
image_url text
)
CREATE TABLE document_sections_images (
section_id number,
image_... |
### Context: 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 date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE t_kc21 (
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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text,
person_info_CSD text,
person_info_CSRQ time,
person_info_GJDM text,
person_info_GJMC text,
person_info_JGDM text,
person_info_JGMC text,
person_info_MZDM text,
person_info_MZMC text,
pers... |
### Context: CREATE TABLE school (
school_id number,
school text,
location text,
enrollment number,
founded number,
denomination text,
boys_or_girls text,
day_or_boarding text,
year_entered_competition number,
school_colors text
)
CREATE TABLE school_details (
school_id numb... |
### Context: CREATE TABLE table_76866 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the game ... |
### 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_1979619_3 (
term_ends VARCHAR,
residence VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the term ends for bethlehem
### Query: SELECT COUNT(term_ends) FROM table_1979619_3 WHERE residence = "Bethlehem" |
### Context: CREATE TABLE table_name_35 (
episodes INTEGER,
actor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of episodes for anabel barnston?
### Query: SELECT MIN(episodes) FROM table_name_35 WHERE actor = "anabel barnston" |
### Context: CREATE TABLE table_17685 (
"Track Name" text,
"Location" text,
"Length" text,
"Seating" real,
"Year Opened" real,
"Year Acquired [A ]" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the track that opened in 1995?
### Query... |
### Context: CREATE TABLE table_6629 (
"Name" text,
"Country" text,
"Type" text,
"Moving from" text,
"Transfer window" text,
"Ends" text,
"Transfer fee" text,
"Source" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has a loa... |
### Context: CREATE TABLE table_6723 (
"Year" real,
"Male" text,
"Female" text,
"Band" text,
"Album" text,
"Pop Act" text,
"Lifetime Achievement Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which act's album has a name of All That Y... |
### Context: CREATE TABLE table_name_38 (
result VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of week 13?
### Query: SELECT result FROM table_name_38 WHERE week = 13 |
### Context: CREATE TABLE table_11214212_1 (
naturalisation_by_marriage VARCHAR,
registration_of_a_minor_child VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the naturalisation by marriage with regbeingtration of a minor child being 114
### Query: SE... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.