text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_2 (
region VARCHAR,
label VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which region had a label of Central Station?
### Query: SELECT region FROM table_name_2 WHERE label = "central station" |
### 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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_name_89 (
declination___j2000__ VARCHAR,
ngc_number VARCHAR,
object_type VARCHAR,
constellation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the declination of the spiral galaxy Pegasus with 7337 NGC
### Que... |
### Context: CREATE TABLE table_28921 (
"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.
-- Who was the incumbent in Virginia 3?
### Query: SELECT "In... |
### Context: CREATE TABLE table_name_39 (
primary_conference VARCHAR,
team_nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What primary conference does the team nicknamed Phoenix belongs to?
### Query: SELECT primary_conference FROM table_name_39 WH... |
### Context: CREATE TABLE table_50120 (
"Points" real,
"Score" text,
"Premiers" text,
"Runners Up" text,
"Details" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the total sum of points scored by the Brisbane Broncos?
### Query: SELECT SUM("... |
### Context: CREATE TABLE table_204_988 (
id number,
"responsible minister(s)" text,
"crown entities" text,
"monitoring department(s)" text,
"category / type" text,
"empowering legislation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is ... |
### Context: CREATE TABLE table_name_72 (
latitude INTEGER,
water__sqmi_ VARCHAR,
county VARCHAR,
land___sqmi__ VARCHAR,
pop__2010_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Cass county has 0.008 Water (sqmi), less than 35.874 Land (sqmi), m... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE 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 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_100518_1 (
weapon VARCHAR,
direction VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the weapons used by guardians for the direction East?
### Query: SELECT weapon FROM table_100518_1 WHERE direction = "East" |
### Context: CREATE TABLE table_204_939 (
id number,
"year" number,
"chassis" text,
"engine" text,
"start" text,
"finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in what year did the buick engine start in 1st ?
### Query: SELECT "year" F... |
### Context: CREATE TABLE table_name_8 (
away_team VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed as the Away team for the Home team of the Bristol Rovers?
### Query: SELECT away_team FROM table_name_8 WHERE home_team = "br... |
### Context: CREATE TABLE table_2501754_3 (
original_airdate VARCHAR,
prod_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the 1st air date for the episode with a iceb786e production code.
### Query: SELECT original_airdate FROM table_2501754_3 WHE... |
### Context: CREATE TABLE table_name_59 (
opened VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the opened for spain
### Query: SELECT opened FROM table_name_59 WHERE country = "spain" |
### Context: CREATE TABLE table_name_39 (
airing_date VARCHAR,
number_of_episodes VARCHAR,
genre VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Airing date has a Number of episodes larger than 20, and a Genre of modern drama?
### Query: SELECT air... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### Context: CREATE TABLE 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 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 semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_i... |
### Context: CREATE TABLE table_792 (
"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.
-- Who were the candidates when the winner was first elected in ... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE offering_instructor (
... |
### Context: CREATE TABLE table_180802_3 (
planet VARCHAR,
transcription VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which planet has the transcription of wan suk?
### Query: SELECT planet FROM table_180802_3 WHERE transcription = "wan suk" |
### 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_63109 (
"Round" text,
"Date" text,
"Against" text,
"Score AUFC \u2013 Away" text,
"Attendance" real,
"Weekday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has an against of pohang steelers?
### Query... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName text,
... |
### Context: CREATE TABLE table_name_75 (
against INTEGER,
ballarat_fl VARCHAR,
wins VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest against that has bacchus marsh as a ballarat fl, with wins less than 1?
### Query: SELECT MIN(against)... |
### Context: CREATE TABLE table_72121 (
"Rd" real,
"Name" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the races that johnny ruth... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLi... |
### Context: CREATE TABLE table_31676 (
"Cellist" text,
"Orchestra" text,
"Conductor" text,
"Record Company" text,
"Year of Recording" real,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the oldest year that the Royal Philharmo... |
### 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_22786 (
"Match no." real,
"Match Type" text,
"Team Europe" text,
"Score" text,
"Team USA" text,
"Progressive Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score at the end of the match number ... |
### Context: CREATE TABLE table_name_5 (
state VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what state is the Thomas Assembly Center located?
### Query: SELECT state FROM table_name_5 WHERE venue = "thomas assembly center" |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABL... |
### Context: CREATE TABLE repair_assignment (
technician_id int,
repair_ID int,
Machine_ID int
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machine_series text,
value_points real,
quality_rank int
)
CREATE TABLE technician (
technician_id... |
### Context: CREATE TABLE table_65083 (
"City of license /Market" text,
"Station" text,
"Channel ( TV / RF )" text,
"Owned Since" real,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What station was owned since 2011, and a channel (tv... |
### Context: CREATE TABLE locations (
country_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- display the country ID and number of cities for each country.
### Query: SELECT country_id, COUNT(*) FROM locations GROUP BY country_id |
### Context: CREATE TABLE table_67935 (
"Tournament" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2012 result asso... |
### Context: CREATE TABLE table_58958 (
"Season" text,
"League" text,
"Teams" text,
"Home" text,
"Away" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team played in the Bundesliga league with an Away record of 2-1?
### Query: SELECT "Teams" F... |
### Context: CREATE TABLE table_name_39 (
ihsaa_class VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the IHSAA Class when the school is Seymour?
### Query: SELECT ihsaa_class FROM table_name_39 WHERE school = "seymour" |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_99 (
position VARCHAR,
team_from VARCHAR,
pick__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Team from of ottawa 67's, and a Pick # smaller than 47?
### Query: SELECT position FROM table... |
### Context: CREATE TABLE table_6563 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on january 7 what is the record?
### Query: SELECT "Record" FROM table_6563 WHERE "Date" = 'janua... |
### Context: CREATE TABLE table_204_108 (
id number,
"typ" text,
"construction time" text,
"cylinders" text,
"capacity" text,
"power" text,
"top speed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which typ -lrb- s -rrb- had the longest co... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_29599 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"First Star" text,
"Decision" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### Context: CREATE TABLE technician (
Name VARCHAR,
technician_id VARCHAR
)
CREATE TABLE repair_assignment (
Name VARCHAR,
technician_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of technicians who have not been assigned to repa... |
### Context: CREATE TABLE table_name_52 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the largest crowd of a game where Collingwood was the away team?
### Query: SELECT MAX(crowd) FROM table_name_52 WHERE away_team = "co... |
### 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_55518 (
"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.
-- In Western Oval, what was the away ... |
### Context: CREATE TABLE pitStops (
raceId INTEGER,
driverId INTEGER,
stop INTEGER,
lap INTEGER,
time TEXT,
duration TEXT,
milliseconds INTEGER
)
CREATE TABLE seasons (
year INTEGER,
url TEXT
)
CREATE TABLE circuits (
circuitId INTEGER,
circuitRef TEXT,
name TEXT,
... |
### Context: CREATE TABLE table_15608800_2 (
number_at_pyewipe INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number of pyewipe
### Query: SELECT MAX(number_at_pyewipe) FROM table_15608800_2 |
### Context: CREATE TABLE table_69907 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which catalog was published on December 19, 2001?
### Query: SELECT "Catalog" FROM table_69907... |
### Context: CREATE TABLE table_204_449 (
id number,
"no" number,
"episode" text,
"title" text,
"original airdate" text,
"viewers" number,
"nightly\nrank" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many episodes had a nightly rank ... |
### Context: CREATE TABLE table_203_398 (
id number,
"year" number,
"vidhan sabha" text,
"members of legislative assembly" text,
"winning party" text,
"nearest contesting party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was there an electio... |
### Context: CREATE TABLE table_39623 (
"School" text,
"Mascot" text,
"Location" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"# / County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school has the greyho... |
### Context: CREATE TABLE table_76092 (
"Season" real,
"Episodes" real,
"Season Premiere" text,
"Season Finale" text,
"DVD Release Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which season had fewer than 13 episodes and aired its season fina... |
### Context: CREATE TABLE table_75141 (
"Player" text,
"Position" text,
"Date of Birth (Age)" text,
"Caps" real,
"Club/province" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Caps does the Club/province Munster, position of lock and Mick O... |
### Context: CREATE TABLE table_61553 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the to par of the player with a 72-71-65-69=277 score?
### Qu... |
### Context: CREATE TABLE table_7607 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Home has a Tie no of 6?
### Query: SELECT "Home team" FROM table_7607 WHERE "Tie no"... |
### Context: CREATE TABLE table_79555 (
"Date" text,
"Location" text,
"Lineup" text,
"Assist/pass" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Lineup that has an Assist/pass of car... |
### Context: CREATE TABLE table_52898 (
"Evaluation average (From February 2011)" real,
"Evaluation average (From April 2009)" text,
"Evaluation average (Before April 2009)" text,
"% of negative evaluations" text,
"Submitting schedule on time" text,
"Punctuality/Attendance issues" text,
"Pea... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
... |
### Context: CREATE TABLE table_76779 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Stadium" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHEN has a Result of w 23 17?
### Query: SELECT "Da... |
### Context: CREATE TABLE table_name_24 (
date VARCHAR,
opponent VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was there a game in which the opponent was the Detroit Tigers, and the attendance was 38,639?
### Query: SEL... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score... |
### Context: CREATE TABLE table_35401 (
"Region" text,
"Employment ( salaries & wages)" text,
"Self employed" text,
"Investment income" text,
"Working tax credit" text,
"State pensions" text,
"Occupational pensions" text,
"Disability benefits" text,
"Other social security benefits" t... |
### Context: CREATE TABLE table_68044 (
"School" text,
"Team" text,
"Division Record" text,
"Overall Record" text,
"Season Outcome" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Senators' division record?
### Query: SELECT "Division Re... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_name_45 (
studio_s_ VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Studio of the Film directed by Paul Greengrass?
### Query: SELECT studio_s_ FROM table_name_45 WHERE director = "paul greengrass... |
### Context: CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
win... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE table_name_94 (
score VARCHAR,
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the match in which player David Frost scored a To Par of +7, what was the final score?
### Query: SELECT score FROM table_... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE diagnos... |
### Context: CREATE TABLE table_204_354 (
id number,
"opus" text,
"title" text,
"genre" text,
"sub\u00addivisions" text,
"libretto" text,
"composition" text,
"premiere date" text,
"place, theatre" text
)
-- Using valid SQLite, answer the following questions for the tables provided ... |
### 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_178381_1 (
sub_parish__sokn_ VARCHAR,
location_of_the_church VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the sub-parish (sokn) of Eikefjord?
### Query: SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)... |
### Context: CREATE TABLE table_name_19 (
number_in_series INTEGER,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the series number that has a production code of 50021 50025?
### Query: SELECT MAX(number_in_series) FROM table_name_1... |
### 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_5543 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2010 stat featured the tournament of the Olympic Games?
#... |
### 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 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 zyjzjlb (
CYBQDM tex... |
### Context: CREATE TABLE table_name_76 (
_number_of_airlines VARCHAR,
distance__km_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Airlines have a total distance of 705 (km)?
### Query: SELECT COUNT(_number_of_airlines) FROM table_name_76 WHERE di... |
### Context: CREATE TABLE table_name_19 (
car_model VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Car Model has the Engine of Ford 6.0 V8?
### Query: SELECT car_model FROM table_name_19 WHERE engine = "ford 6.0 v8" |
### Context: CREATE TABLE table_name_11 (
position_in_table VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the position in table when the team is hartlepool united?
### Query: SELECT position_in_table FROM table_name_11 WHERE team = "h... |
### Context: CREATE TABLE table_66308 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the developers for demon's souls?
### Query: SELECT "Developer(s)" FROM table_6... |
### 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 table_name_40 (
tyre VARCHAR,
engine_† VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the tyre for the peugeot a20 engine?
### Query: SELECT tyre FROM table_name_40 WHERE engine_† = "peugeot a20" |
### Context: CREATE TABLE table_23508196_5 (
type_of_aircraft VARCHAR,
number_of_crews VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the aircraft for 21 crews?
### Query: SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21" |
### Context: CREATE TABLE table_66845 (
"Sunday" text,
"Monday" text,
"Tuesday" text,
"Wednesday" text,
"Thursday" text,
"Friday" text,
"Saturday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Wednesday has a Monday of getsuy bi?
###... |
### Context: CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City t... |
### 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 table_58179 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyre" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the rounds for stanley brm
### Query: SELECT... |
### Context: CREATE TABLE table_79089 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE SILVER WITH A YEAR OF 1962?
### Query: SELECT "Silver" FROM table_79089 WHERE "Year" ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.