text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_40294 (
"Week #" text,
"Theme" text,
"Song choice" text,
"Original artist" text,
"Order #" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which original artist had 5 as their order #?
### Query: SE... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE chartevents (
row_id number,
... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note... |
### Context: CREATE TABLE table_4832 (
"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.
-- How many people are in the crowd in ... |
### Context: CREATE TABLE table_3823 (
"Team" text,
"Outgoing manager" text,
"Manner of departure" text,
"Date of vacancy" text,
"Replaced by" text,
"Date of appointment" text,
"Position in table" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
Targe... |
### Context: CREATE TABLE table_name_54 (
predecessor VARCHAR,
date VARCHAR,
district VARCHAR,
congress VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What predecessor has a district less than 11, 68th as the Congress, and may 1, 1923 as the date?
#... |
### Context: CREATE TABLE table_name_13 (
car_no VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What car number had 24 points?
### Query: SELECT car_no FROM table_name_13 WHERE points = "24" |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_name_72 (
term_end VARCHAR,
governments VARCHAR,
minister VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the term end for the term that had government 27 and Minister Tzachi Hanegbi?
### Query: SELECT term_end FR... |
### Context: CREATE TABLE table_14834801_1 (
mandate VARCHAR,
list_pct VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the mandate for list pct 12.39%
### Query: SELECT mandate FROM table_14834801_1 WHERE list_pct = "12.39%" |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE 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 PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
La... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE medication (
... |
### 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 instructor (
instructor_id int,
name varchar,
uniqname varchar
)
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_fee... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... |
### Context: CREATE TABLE table_name_10 (
rank INTEGER,
nation VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank that when Serbia is the nation, and gold is larger than 0?
### Query: SELECT SUM(rank) FROM table_name_10 WHERE ... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDa... |
### Context: CREATE TABLE table_name_84 (
city VARCHAR,
school VARCHAR,
ihsaa_football_class VARCHAR,
enrollment VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city is Lawrenceburg school, with an IHSAA football class of aaa and less than 676 e... |
### Context: CREATE TABLE table_4167 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who w... |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time... |
### Context: CREATE TABLE table_72609 (
"Episode #" text,
"Country" text,
"City" text,
"Martial Art/Style" text,
"Masters" text,
"Original Airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which masters fought in hapkido style?
### Query:... |
### Context: CREATE TABLE table_name_13 (
studio VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which studio did The Oregon Trail?
### Query: SELECT studio FROM table_name_13 WHERE title = "the oregon trail" |
### Context: CREATE TABLE table_name_63 (
recorded VARCHAR,
time VARCHAR,
song_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date recorded for I Want to Be Free with a length of 2:12?
### Query: SELECT recorded FROM table_name_63 WHER... |
### Context: CREATE TABLE customer_addresses (
customer_id number,
address_id number,
date_address_from time,
address_type text,
date_address_to time
)
CREATE TABLE products (
product_id number,
product_details text
)
CREATE TABLE customer_contact_channels (
customer_id number,
cha... |
### Context: CREATE TABLE table_48654 (
"Year" real,
"Date" text,
"Winner" text,
"Result" text,
"Loser" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the location on October 16?
### Query: SELECT "Location" FROM table... |
### Context: CREATE TABLE table_203_200 (
id number,
"region" text,
"seed" number,
"team" text,
"coach" text,
"finished" text,
"final opponent" text,
"score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- north carolina and unlv each mad... |
### Context: CREATE TABLE table_203_396 (
id number,
"year" number,
"domestic passengers" number,
"international passengers" number,
"total passengers" number,
"change" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the total ... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE instructor (
... |
### Context: CREATE TABLE table_43143 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date for the 130-56 game?
### Query: SELECT "Date" FROM table_43143 W... |
### Context: CREATE TABLE table_20093 (
"Name" text,
"Position" text,
"Number" real,
"School/Club Team" text,
"Season" text,
"Acquisition via" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many school/club teams have a player named Manuel L... |
### Context: CREATE TABLE table_62503 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year did the player with a total less than 300 and a to par of 9... |
### 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 table_68961 (
"Episode" text,
"Song choice" text,
"Original artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song was chosen for the episode with the top 8?
### Query: SELECT "Song... |
### Context: CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_number number,
draft_class text,
college text
)
CREATE TABLE team (
team_id number,
name text
)
CREATE TABLE player (
player_id number,
player tex... |
### Context: CREATE TABLE table_61501 (
"Tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### Context: CREATE TABLE Course (
CID VARCHAR(7),
CName VARCHAR(40),
Credits INTEGER,
Instructor INTEGER,
Days VARCHAR(5),
Hours VARCHAR(11),
DNO INTEGER
)
CREATE TABLE Faculty (
FacID INTEGER,
Lname VARCHAR(15),
Fname VARCHAR(15),
Rank VARCHAR(15),
Sex VARCHAR(1),
... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
d... |
### Context: CREATE TABLE table_53805 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text,
"Arena" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attended the game against t... |
### Context: CREATE TABLE table_49291 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has a To par of 1?
### Query: SELECT "Player" FROM table_49291 WHERE "To par" = ... |
### 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE table_train_134 (
"id" int,
"mini_mental_state_examination_mmse" int,
"geriatric_depression_scale_gds" int,
"alzheimer_disease_ad" bool,
"rosen_modified_hachinski_ischemic_score" int,
"clinical_dementia_rating_cdr" float,
"NOUSE" float
)
-- Using valid SQLite, ans... |
### Context: CREATE TABLE table_60412 (
"Year" real,
"Name of Tournament" text,
"Champions" text,
"Runners-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the Runners-up prior to 1990 when Ivan Lendl was Champion in the Se... |
### 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_67160 (
"Date" text,
"Visiting team" text,
"Final score" text,
"Host team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the New York Giants play as a visiting team?
### Query: SELECT "... |
### 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 farm (
Farm_ID int,
Year int,
Total_Horses real,
Working_Horses real,
Total_Cattle real,
Oxen real,
Bulls real,
Cows real,
Pigs real,
Sheep_and_Goats real
)
CREATE TABLE competition_record (
Competition_ID int,
Farm_ID int,
Rank int
)
CREAT... |
### Context: CREATE TABLE gymnast (
gymnast_id number,
floor_exercise_points number,
pommel_horse_points number,
rings_points number,
vault_points number,
parallel_bars_points number,
horizontal_bar_points number,
total_points number
)
CREATE TABLE people (
people_id number,
nam... |
### Context: CREATE TABLE table_47312 (
"Year" text,
"Indians admitted" real,
"Pakistanis admitted" real,
"Sri Lankans admitted" real,
"Bangladeshis admitted" real,
"Nepalis admitted" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Sri L... |
### Context: CREATE TABLE bank (
branch_ID int,
bname varchar(20),
no_of_customers int,
city varchar(10),
state varchar(20)
)
CREATE TABLE loan (
loan_ID varchar(3),
loan_type varchar(15),
cust_ID varchar(3),
branch_ID varchar(3),
amount int
)
CREATE TABLE customer (
cust_I... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_28020 (
"Agency" text,
"Route Number" text,
"North/East Terminal" text,
"South/West Terminal" text,
"More Information" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the route number for rincon valley
### Query:... |
### 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 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 cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturet... |
### Context: CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE countries ... |
### Context: CREATE TABLE basketball_match (
school_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many schools are in the basketball match?
### Query: SELECT COUNT(DISTINCT school_id) FROM basketball_match |
### Context: CREATE TABLE table_25773116_2 (
pole_position VARCHAR,
fastest_lap VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap?
### Query: S... |
### 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 outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid... |
### Context: CREATE TABLE table_172 (
"Country/Region" text,
"Show Title" text,
"Languages" text,
"Host" text,
"Channel" text,
"Premiere" text,
"Seasons" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which premiere had la... |
### 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 treatmen... |
### Context: CREATE TABLE table_name_82 (
channel VARCHAR,
studio_analysts VARCHAR,
play_by_play VARCHAR,
studio_host VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which channel will have play by play commentator Paul Sunderland, Studio Host Bill Ma... |
### Context: CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE writes (
... |
### Context: CREATE TABLE table_16859758_1 (
release_date VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was 'Tell You When' released?
### Query: SELECT release_date FROM table_16859758_1 WHERE title = "Tell You When" |
### Context: CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplay... |
### 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_64189 (
"2005/ 06" text,
"2006/ 07" text,
"2007/ 08" text,
"2009/ 10" text,
"2010/ 11" text,
"2011/ 12" text,
"2012/ 13" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2005/ 06 has a 2011/ 12 of ranking ... |
### 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_name_6 (
dates VARCHAR,
rally_hq VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which dates have a Rally HQ of kingscliff?
### Query: SELECT dates FROM table_name_6 WHERE rally_hq = "kingscliff" |
### Context: CREATE TABLE table_name_50 (
date VARCHAR,
site VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was the Site michigan stadium ann arbor, mi?
### Query: SELECT date FROM table_name_50 WHERE site = "michigan stadium • ann arbor, mi" |
### Context: CREATE TABLE table_12398 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for Nick Faldo?
### Query: SELECT AVG("Score") FROM table_12398 WHERE "Pla... |
### Context: CREATE TABLE table_name_36 (
lost VARCHAR,
drawn INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many losses have draw values under 1?
### Query: SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 1 |
### Context: CREATE TABLE table_name_60 (
series VARCHAR,
saturday VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what series did Alice Levine Jamie East give a presentation on Saturday?
### Query: SELECT series FROM table_name_60 WHERE saturday = "alice... |
### Context: CREATE TABLE table_10946 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the lowest Grid for David Coulthard
### Query: SELECT MIN("Grid") FROM table_1... |
### Context: CREATE TABLE table_203_496 (
id number,
"pos" number,
"country" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many more medals did italy win than the soviet u... |
### Context: CREATE TABLE table_204_487 (
id number,
"home team" text,
"score" text,
"visiting team" text,
"location" text,
"venue" text,
"door" text,
"surface" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams won by a margi... |
### Context: CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit i... |
### Context: CREATE TABLE table_name_43 (
year INTEGER,
entrant VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years did Barclay Nordica Arrows BMW enter with Cosworth v8 engine?
### Query: SELECT SUM(year) FROM table_name_43 WH... |
### Context: CREATE TABLE table_name_36 (
goals INTEGER,
name VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals were there for Johan Cruyff when the rank's less than 3?
### Query: SELECT SUM(goals) FROM table_name_36 WHERE name... |
### Context: CREATE TABLE table_1342331_18 (
district VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What district has Riley Joseph Wilson as the incumbent?
### Query: SELECT district FROM table_1342331_18 WHERE incumbent = "Riley Joseph ... |
### Context: CREATE TABLE table_name_33 (
number VARCHAR,
language VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Number has a Language listed as other?
### Query: SELECT number FROM table_name_33 WHERE language = "other" |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE has_amenity (
dormid number,
amenid number
)
CREATE TABLE dorm_amenity (
amenid number,
amenity_name text
)
CREAT... |
### Context: CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy V... |
### Context: CREATE TABLE table_train_37 (
"id" int,
"severe_sepsis" bool,
"mechanical_ventilation" bool,
"surgery" bool,
"receiving_vasopressor" bool,
"sepsis" bool,
"organ_failure" bool,
"septic_shock" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the follo... |
### 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_36 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score on December 1?
### Query: SELECT score FROM table_name_36 WHERE date = "december 1" |
### Context: CREATE TABLE table_22951646_1 (
number_of_contestants INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most number of contestants
### Query: SELECT MAX(number_of_contestants) FROM table_22951646_1 |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
s... |
### Context: CREATE TABLE diagnoses (
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_d... |
### Context: CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_I... |
### Context: CREATE TABLE table_204_946 (
id number,
"pos" number,
"no" number,
"driver" text,
"team" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- greg moore was f... |
### Context: CREATE TABLE table_46204 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Total is greater than 148, and when To Par is '12'?
### Query: SEL... |
### Context: CREATE TABLE table_66519 (
"Original NFL team" text,
"Player" text,
"Pos." text,
"College" text,
"Conf." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What conference did the player originally from the denver broncos play in?
### Quer... |
### Context: CREATE TABLE table_4189 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"F/Laps" real,
"Podiums" real,
"Points" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Ho... |
### Context: CREATE TABLE table_25751274_2 (
rank__night_ INTEGER,
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest rank of an episode with a rating/share (18-49) of 1.3/4?
### Query: SELECT MIN(rank__night_) FROM table_25751274_2 WH... |
### Context: CREATE TABLE table_name_80 (
round VARCHAR,
winning_driver VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which round had a winning driver of Uwe Alzen, at the Sepang International circuit?
### Query: SELECT round FROM tabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.