text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
... |
### Context: CREATE TABLE table_44615 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Nuggets points" real,
"Opponents" real,
"Record" text,
"Streak" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Opponents have a R... |
### Context: CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDis... |
### Context: CREATE TABLE broadcast_share (
Channel_ID int,
Program_ID int,
Date text,
Share_in_percent real
)
CREATE TABLE channel (
Channel_ID int,
Name text,
Owner text,
Share_in_percent real,
Rating_in_percent real
)
CREATE TABLE program (
Program_ID int,
Name text,
... |
### Context: CREATE TABLE table_70113 (
"City of license" text,
"Identifier" text,
"Frequency" text,
"Power" text,
"Class" text,
"RECNet" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the power when the city of license is Beaver Creek?
... |
### 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 candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Comments (
Id number,
Po... |
### Context: CREATE TABLE Performance (
bandmate VARCHAR,
SongId VARCHAR
)
CREATE TABLE Band (
firstname VARCHAR,
lastname VARCHAR,
id VARCHAR
)
CREATE TABLE Songs (
SongId VARCHAR,
Title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE table_18869 (
"District" text,
"2010 Population (000)" real,
"2008 GDP (USD bn) a" text,
"2008 GDP per capita (USD) a" real,
"Agri culture b" text,
"Mining b" text,
"Manufac turing b" text,
"Services & cons truction b" text,
"Exports (USD mn) 2011" real,
... |
### Context: CREATE TABLE table_name_31 (
years VARCHAR,
authority VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years are listed for the Tahunanui school with an authority of state?
### Query: SELECT years FROM table_name_31 WHERE a... |
### Context: CREATE TABLE table_24538587_11 (
socket VARCHAR,
brand_name__list_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sockets associated with a brand name of Core i3-3xx0m?
### Query: SELECT socket FROM table_24538587_11 WHERE brand_nam... |
### Context: CREATE TABLE table_71434 (
"Rank" real,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Bronze medals were received by the nation that Ranked less than 5 and received more than ... |
### Context: CREATE TABLE table_14843 (
"Minister" text,
"Party" text,
"Start date" text,
"End date" text,
"Prime Minister" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the minister for end date of 31 july 2004
### Query: SELECT "Minister" F... |
### 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 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 PostNoticeTypes (
Id number,
ClassId n... |
### Context: CREATE TABLE table_204_110 (
id number,
"year" number,
"champion" text,
"city" text,
"llws" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where were the 1962 winners from ?
### Query: SELECT "city" FROM table_204_11... |
### 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 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_39021 (
"Station" text,
"City of license" text,
"Channels TV / RF" text,
"First air date" text,
"HAAT" text,
"Facility ID" real,
"Public license information" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Whic... |
### Context: CREATE TABLE table_2761641_1 (
rebounds_per_game VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many rebounds per game did he have at the 2003 eurobasket?
### Query: SELECT rebounds_per_game FROM table_2761641_1 WHERE to... |
### 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_31512 (
"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.
-- What are all of the townlands that have exactly 131 acres.
### Query:... |
### Context: CREATE TABLE procedures (
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 routes (
rid number,
dst_apid number,
dst_ap text,
src_apid number,
src_ap text,
alid number,
airline text,
codeshare text
)
CREATE TABLE airports (
apid number,
name text,
city text,
country text,
x number,
y number,
elevation numbe... |
### Context: CREATE TABLE table_name_3 (
pick VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick played the Defensive End position?
### Query: SELECT pick FROM table_name_3 WHERE position = "defensive end" |
### Context: CREATE TABLE degrees (
Id VARCHAR
)
CREATE TABLE campuses (
id VARCHAR
)
CREATE TABLE faculty (
faculty VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many faculty lines are there in the university that conferred the most number of deg... |
### Context: CREATE TABLE table_name_43 (
year VARCHAR,
theme VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the year of the pig theme?
### Query: SELECT year FROM table_name_43 WHERE theme = "year of the pig" |
### Context: CREATE TABLE table_49687 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Gold, when Nation is Yugoslavia, and when Silver is greater... |
### Context: CREATE TABLE table_77162 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the Fifa World Cup 1986 Play-off Competition?
### Query: SELECT "Score... |
### Context: CREATE TABLE table_18030 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance when the record was 1-1?
... |
### Context: CREATE TABLE table_25802 (
"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 table_73753 (
"Season" real,
"Winner" text,
"Runner-Up" text,
"Third Place" text,
"Contestants" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many contestants were there when the runner-up was Monique Evans?
### Query... |
### Context: CREATE TABLE table_name_53 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Away team at Mansfield Town's Home game?
### Query: SELECT away_team FROM table_name_53 WHERE home_team = "mansfield town" |
### Context: CREATE TABLE table_name_67 (
week INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Week has a Date of december 8, 1991?
### Query: SELECT AVG(week) FROM table_name_67 WHERE date = "december 8, 1991" |
### Context: CREATE TABLE table_15709 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which result has a Venue of ulsan?
### Query: SELECT "Result" FROM table_15709 WHERE "Venue... |
### Context: CREATE TABLE table_name_31 (
player VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player finished at +4?
### Query: SELECT player FROM table_name_31 WHERE to_par = "+4" |
### Context: CREATE TABLE individuals (
individual_id number,
individual_first_name text,
individual_middle_name text,
inidividual_phone text,
individual_email text,
individual_address text,
individual_last_name text
)
CREATE TABLE parties (
party_id number,
payment_method_code text... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_i... |
### Context: CREATE TABLE table_39327 (
"Outcome" text,
"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 was the Partner on February 23, 1997?
### ... |
### Context: CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_ai... |
### Context: CREATE TABLE table_29645 (
"Rnd" real,
"Circuit" text,
"Sports +2.0 Winning Team" text,
"Sports 2.0 Winning Team" text,
"GT +2.0 Winning Team" text,
"GT 2.0 Winning Team" text,
"Results" text
)
-- Using valid SQLite, answer the following questions for the tables provided above... |
### Context: CREATE TABLE table_13677808_1 (
rank VARCHAR,
security VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What country has a 5.5 mark for security?
### Query: SELECT rank FROM table_13677808_1 WHERE security = "5.5" |
### Context: CREATE TABLE table_21672 (
"SNO" real,
"College code" text,
"Faculty name" text,
"Designation" text,
"Qualification" text,
"Department" text,
"Experience" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which departments have M.P... |
### Context: CREATE TABLE table_12748 (
"Nat." text,
"Name" text,
"Moving from" text,
"Type" text,
"Transfer window" text,
"Ends" real,
"Transfer fee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the person with a type ... |
### Context: CREATE TABLE table_name_47 (
player VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is from flower mound, tx?
### Query: SELECT player FROM table_name_47 WHERE hometown = "flower mound, tx" |
### Context: CREATE TABLE organisations (
organisation_id number,
organisation_type text,
organisation_details text
)
CREATE TABLE research_staff (
staff_id number,
employer_organisation_id number,
staff_details text
)
CREATE TABLE projects (
project_id number,
organisation_id number,
... |
### 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_203_59 (
id number,
"country" text,
"2000" number,
"2001" number,
"2002" number,
"2003" number,
"2004" number,
"2005" number,
"2006" number,
"2007" number,
"2008" number,
"2009" number,
"2010" number,
"2011" number
)
-- Using vali... |
### Context: CREATE TABLE table_79131 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Total is greater than 283, and when Year(s) Won... |
### Context: CREATE TABLE table_15632 (
"Season" text,
"Games" real,
"Lost" real,
"Tied" text,
"Points" real,
"Goals for" real,
"Goals against" real,
"Standing" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the total number of ... |
### 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_2562572_37 (
dominant_religion__2002_ VARCHAR,
settlement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the dominant religion of srpska crnja
### Query: SELECT dominant_religion__2002_ FROM table_2562572_37 WHERE settle... |
### Context: CREATE TABLE table_2021 (
"Fiscal year" real,
"2-car sets" real,
"4-car sets" real,
"6-car sets" real,
"8-car sets" real,
"Total vehicles" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest fiscal year if total vehicl... |
### Context: CREATE TABLE table_name_76 (
games INTEGER,
points VARCHAR,
rank VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the game average that has a rank larger than 2 with team Olympiacos and points larger than 113?
### Qu... |
### Context: CREATE TABLE table_203_44 (
id number,
"stage" text,
"date" text,
"route" text,
"terrain" text,
"length" text,
"winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many different countries won at least one stage in the 19... |
### Context: CREATE TABLE table_30643 (
"Team" text,
"Average" text,
"Points" real,
"Played" real,
"2003-04" text,
"2004-05" text,
"2005-06" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What 2003-2004 values are associated with an average ... |
### 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 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_14962316_9 (
copa_mercosur_1998 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were Cruzeiro results in the Copa Mercosur in 1998
### Query: SELECT copa_mercosur_1998 FROM table_14962316_9 WHERE team = "Cru... |
### Context: CREATE TABLE table_39513 (
"Number" real,
"Builder" text,
"Type" text,
"Date" text,
"Works number" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the builder for number 3
### Query: SELECT "Builder" FROM table_39513 WHERE "Number"... |
### Context: CREATE TABLE table_78423 (
"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.
-- I want to know the home team score ... |
### Context: CREATE TABLE table_204_808 (
id number,
"team" text,
"no" number,
"driver" text,
"class" text,
"chassis" text,
"engine" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what team is listed above diamond racing ?
### Query: SELECT... |
### Context: CREATE TABLE table_name_19 (
opponent_number VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent in the game that was attended by 42,000 people?
### Query: SELECT opponent_number FROM table_name_19 WHERE atte... |
### Context: CREATE TABLE table_name_85 (
crowd VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Crowd has a Home team of st kilda?
### Query: SELECT crowd FROM table_name_85 WHERE home_team = "st kilda" |
### Context: CREATE TABLE table_24538140_2 (
match1 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for match 1 for the team Eastern Tigers?
### Query: SELECT match1 FROM table_24538140_2 WHERE team = "Eastern Tigers" |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE wdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text... |
### Context: CREATE TABLE table_name_80 (
team VARCHAR,
driver VARCHAR,
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team did Scott Pruett drive for when the grid was smaller than 20 and there were 65 laps?
### Query: SELE... |
### Context: CREATE TABLE table_name_16 (
venue VARCHAR,
status VARCHAR,
against VARCHAR,
opposing_teams VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What venue has an against over 14, an opposing team of scotland, and a status of five nations?
##... |
### Context: CREATE TABLE table_name_78 (
opponent_number VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent had an attendance of 63,659?
### Query: SELECT opponent_number FROM table_name_78 WHERE attendance = "63,659" |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate tim... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NA... |
### Context: CREATE TABLE table_27539272_5 (
record VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the record for score 1-3?
### Query: SELECT record FROM table_27539272_5 WHERE score = "1-3" |
### Context: CREATE TABLE table_13895 (
"Time" text,
"Show Name" text,
"DJ's" text,
"Local/Networked" text,
"Ad Freq" text,
"News Freq" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What show has Cameron Humphries DJ'ing?
### Query: SELECT "Sh... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE table_22407 (
"Episode" text,
"Garfield Episode 1" text,
"U.S. Acres Episode" text,
"Garfield Episode 2" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the garfield episode 2 when episode 1 ... |
### Context: CREATE TABLE table_name_65 (
year INTEGER,
points INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which year did the team receive more than 0 points?
### Query: SELECT AVG(year) FROM table_name_65 WHERE points > 0 |
### Context: CREATE TABLE table_204_72 (
id number,
"election year" number,
"# of\nconstituency votes" number,
"# of\nparty list votes" number,
"% of\nparty list votes" number,
"# of\noverall seats won" text,
"+/-" number
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
STU_HRS int,
STU_CLASS varchar(2),
STU_GPA float(8),
STU_TRANSFER numeric,
DEPT_CODE varchar(18),
STU_PHONE varchar(4),
PROF_NUM int
)
CR... |
### 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_name_7 (
pick__number VARCHAR,
position VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the pick number for the wide receiver drafted from Michigan State?
### Query: SELECT pick__number FROM table... |
### 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 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_41494 (
"Tournament" text,
"Wins" real,
"Top-5" real,
"Top-10" real,
"Top-25" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Top-10, when Wins is less than ... |
### Context: CREATE TABLE table_name_28 (
date VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did the team play the buffalo bills?
### Query: SELECT date FROM table_name_28 WHERE opponent = "buffalo bills" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
ce... |
### Context: CREATE TABLE procedures (
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_train_100 (
"id" int,
"systolic_blood_pressure_sbp" int,
"stroke" bool,
"body_weight" float,
"diastolic_blood_pressure_dbp" int,
"rosen_modified_hachinski_ischemic_score" int,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" float
)
-- Using valid S... |
### Context: CREATE TABLE table_name_17 (
genre VARCHAR,
game_modes VARCHAR,
chinese_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the genre of the Chinese title , which has a single-player game mode?
### Query: SELECT genre FROM table_na... |
### Context: CREATE TABLE table_28937 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the result for walter jones (dr) 99.0% henry lee (f) 1... |
### Context: CREATE TABLE table_67183 (
"Poll source" text,
"Dates administered" text,
"Dianne Feinstein *" text,
"Jerry Brown" text,
"Antonio Villaraigosa*" text,
"Gavin Newsom*" text,
"John Garamendi*" text,
"Jack O'Connell*" text,
"Steve Westly*" text,
"Bill Lockyer*" text
)
... |
### Context: CREATE TABLE table_name_82 (
date VARCHAR,
outcome VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date with winner outcome and opponent of noppawan lertcheewakarn jessica moore
### Query: SELECT date FROM table_na... |
### Context: CREATE TABLE table_30591 (
"Version" text,
"Release" text,
"Release date" text,
"End of maintenance" text,
"Requirement" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When's the end of maintenance in the august 11, 2013 release date?
... |
### 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 COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35),
CRS_CREDIT float(8)
)
CREATE TABLE STUDENT (
STU_NUM int,
STU_LNAME varchar(15),
STU_FNAME varchar(15),
STU_INIT varchar(1),
STU_DOB datetime,
STU_HRS int,
STU_CLASS ... |
### Context: CREATE TABLE table_204_205 (
id number,
"class" text,
"no" number,
"team" text,
"drivers" text,
"chassis" text,
"engine" text,
"laps" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams failed to finish the race ... |
### Context: CREATE TABLE table_name_50 (
class VARCHAR,
identifier VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class has an identifier of CBUA-FM?
### Query: SELECT class FROM table_name_50 WHERE identifier = "cbua-fm" |
### Context: CREATE TABLE table_9351 (
"Team 1" text,
"Agg." text,
"Team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE SECOND LEG WITH HARO AS TEAM TWO?
### Query: SELECT "2nd leg" FROM table_9351 WHE... |
### 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_88 (
high_points VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the high points on March 29?
### Query: SELECT high_points FROM table_name_88 WHERE date = "march 29" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.