text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_58 (
song VARCHAR,
composer VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What song was composed by V. Selvaganesh later than 2010?
### Query: SELECT song FROM table_name_58 WHERE composer = "v. selvag... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE allergy ... |
### Context: CREATE TABLE table_1827690_4 (
assembled VARCHAR,
elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1472 was the elected when was the assembled?
### Query: SELECT assembled FROM table_1827690_4 WHERE elected = "1472" |
### Context: CREATE TABLE table_10593 (
"Location" text,
"Venue" text,
"Promotion" text,
"Event" text,
"Inductee(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the promotion when the arena was the venue and the event of legends of the ar... |
### Context: CREATE TABLE table_2192067_4 (
district VARCHAR,
vacator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the district where the vacator is vacant?
### Query: SELECT district FROM table_2192067_4 WHERE vacator = "Vacant" |
### Context: CREATE TABLE table_name_69 (
actor_in_original_production VARCHAR,
gameplan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the actor in the original production when Troy Stephens is the GamePlan?
### Query: SELECT actor_in_original_produ... |
### Context: CREATE TABLE table_name_83 (
year_built VARCHAR,
church_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the Hopperstad Stavkyrkje built?
### Query: SELECT year_built FROM table_name_83 WHERE church_name = "hopperstad stavkyrkje" |
### Context: CREATE TABLE table_name_8 (
hand_guards VARCHAR,
name VARCHAR,
barrel_twist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the hand guards for ar-15a2 government carbine and barrel twist of 1:9
### Query: SELECT hand_guards FROM table_... |
### Context: CREATE TABLE table_name_78 (
elevated VARCHAR,
order VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's listed for the Elevated category that has an Order of Cardinal-Bishop?
### Query: SELECT elevated FROM table_name_78 WHERE order = "cardi... |
### Context: CREATE TABLE ship (
Nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the nations that have more than two ships.
### Query: SELECT Nationality FROM ship GROUP BY Nationality HAVING COUNT(*) > 2 |
### Context: CREATE TABLE table_203_429 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was mayer 's best result : i.e his longest throw ?
### Query: SEL... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB 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 video_games (
gameid number,
gname text,
gtype text
)
CREATE TABLE sportsinfo (
stuid number,
sportname text,
hoursperweek number,
gamesplayed number,
onscholarship text
)
CREATE TABLE plays_games (
stuid number,
gameid number,
hours_played number
... |
### Context: CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
... |
### Context: CREATE TABLE has_amenity (
dormid number,
amenid number
)
CREATE TABLE dorm_amenity (
amenid number,
amenity_name text
)
CREATE TABLE lives_in (
stuid number,
dormid number,
room_number number
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age ... |
### Context: CREATE TABLE table_204_388 (
id number,
"#" number,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text,
"pts" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- tell me the number of points the blackhawks ha... |
### Context: CREATE TABLE table_name_2 (
decile INTEGER,
years VARCHAR,
area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest decile with 1-6 years and area of Maitland?
### Query: SELECT MIN(decile) FROM table_name_2 WHERE years = "1-6... |
### Context: CREATE TABLE table_name_33 (
score_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On September 25, 1994 what was the final score?
### Query: SELECT score_in_the_final FROM table_name_33 WHERE date = "september 25, 199... |
### Context: CREATE TABLE table_name_20 (
partner VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the partner with opponent of micha lla krajicek eleni daniilidou
### Query: SELECT partner FROM table_name_20 WHERE opponent = "michaëlla... |
### Context: CREATE TABLE table_7965 (
"Player" text,
"League" real,
"Scottish Cup" real,
"League Cup" real,
"Challenge Cup" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest league for a less than 0 league cup?
##... |
### Context: CREATE TABLE table_name_5 (
sign VARCHAR,
fall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which sign has a fall of Venus?
### Query: SELECT sign FROM table_name_5 WHERE fall = "venus" |
### Context: CREATE TABLE table_14035 (
"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.
-- What is the score when the home team is queens park rangers?
### Query: SELECT "Score" FR... |
### Context: CREATE TABLE Faculty (
building VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which building has most faculty members?
### Query: SELECT building FROM Faculty GROUP BY building ORDER BY COUNT(*) DESC LIMIT 1 |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE area (
course_id int,
area varchar
... |
### Context: CREATE TABLE table_204_970 (
id number,
"year" number,
"award" text,
"category" text,
"title" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- for what title did mr. borgnine receive the most awards ?
### Query: SELECT... |
### Context: CREATE TABLE table_1876825_6 (
no_in_season INTEGER,
written_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season episode is written by neil thompson?
### Query: SELECT MIN(no_in_season) FROM table_1876825_6 WHERE written_by = "Neil Th... |
### Context: CREATE TABLE table_73658 (
"Episode no." real,
"Airdate" text,
"Viewers" real,
"BBC Three weekly ranking" text,
"Cable rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers were there for airdate is 22 october 2009?
###... |
### 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_63777 (
"Position" real,
"Name" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest played with more than 0 draws, less than 3 losses, and le... |
### Context: CREATE TABLE table_68073 (
"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.
-- Name the team for school of milford
### Query: SELECT "Team" FROM tab... |
### Context: CREATE TABLE mzb (
CLINIC_ID 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,
INSURED_STS text,
INSU_TYPE... |
### Context: CREATE TABLE table_name_24 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date was the away team Bournemouth?
### Query: SELECT date FROM table_name_24 WHERE away_team = "bournemouth" |
### Context: CREATE TABLE table_2668169_2 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the candidates for the Pennsylvania 11 district?
### Query: SELECT candidates FROM table_2668169_2 WHERE district = "Pennsylvania... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_77047 (
"Star" text,
"Episode 2" real,
"Episode 3" text,
"Episode 4" text,
"Episode 5" text,
"Episode 6" text,
"Episode 7" text,
"Episode 8" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which episode 4 h... |
### Context: CREATE TABLE table_name_17 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the game at Lake Oval?
### Query: SELECT date FROM table_name_17 WHERE venue = "lake oval" |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time... |
### Context: CREATE TABLE table_76709 (
"Year" real,
"Artist" text,
"Title" text,
"Label" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Title has a Type of album in 1983?
### Query: SELECT "Title" FROM table_76709 WHERE "Type" =... |
### Context: CREATE TABLE table_7035 (
"Season" real,
"Overall" text,
"Slalom" text,
"Giant Slalom" text,
"Super G" text,
"Downhill" text,
"Combined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Giant Slalom has a Slalom of 45?
### ... |
### 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 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 table_16278349_1 (
un_region VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the un region for 3314000 population
### Query: SELECT un_region FROM table_16278349_1 WHERE population = 3314000 |
### Context: CREATE TABLE Addresses (
address_id INTEGER,
line_1 VARCHAR(80),
line_2 VARCHAR(80),
city VARCHAR(50),
zip_postcode CHAR(20),
state_province_county VARCHAR(50),
country VARCHAR(50)
)
CREATE TABLE Candidate_Assessments (
candidate_id INTEGER,
qualification CHAR(15),
... |
### Context: CREATE TABLE table_26757_4 (
slovene VARCHAR,
belarusian VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When (r ba) is the belarusian how many slovenes are there?
### Query: SELECT COUNT(slovene) FROM table_26757_4 WHERE belarusian = "рыба (rýb... |
### Context: CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### 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_72360 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the results for incumbent Jim McCrery?
### Quer... |
### 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 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 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_39259 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score on november 15
### Query: SELECT "Score" FROM table_39259 WHERE "Date" = 'nove... |
### Context: CREATE TABLE Events (
Event_ID INTEGER,
Address_ID INTEGER,
Channel_ID INTEGER,
Event_Type_Code CHAR(15),
Finance_ID INTEGER,
Location_ID INTEGER
)
CREATE TABLE Channels (
Channel_ID INTEGER,
Other_Details VARCHAR(255)
)
CREATE TABLE Parties_in_Events (
Party_ID INTEGE... |
### Context: CREATE TABLE table_70761 (
"Class" text,
"Type" text,
"Names" text,
"Quantity made" text,
"Manufacturer" text,
"Date made" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the class of the locomotive with a quantity made of 1 ... |
### Context: CREATE TABLE table_34135 (
"Year" text,
"Title" text,
"Director" text,
"Distributor(s)" text,
"Box office" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Three Men and a Little Lady from Touchstone Pictures was from what year?
### Quer... |
### Context: CREATE TABLE table_40165 (
"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_name_11 (
transfer_fee VARCHAR,
moving_to VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The player moving to Villa Rio has what transfer fee?
### Query: SELECT transfer_fee FROM table_name_11 WHERE moving_to = "villa rio" |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE jyjgzbb (
BGDH text,
BGRQ time,
CKZFWDX text,
CKZFWSX number,
CKZFWXX number,
JCFF text,
JCRGH text,
JCRXM text,
JCXMMC text,
JCZBDM text,
JCZBJGDL number,
JCZBJGDW text,
JCZBJGDX text,
JCZBMC text,
JLDW text,
JYRQ time,
JYZBL... |
### Context: CREATE TABLE table_name_42 (
floors VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many floors are in little Italy?
### Query: SELECT COUNT(floors) FROM table_name_42 WHERE location = "little italy" |
### Context: CREATE TABLE table_27917 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wha... |
### 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_65 (
loss VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the loss of the game that had a score of 9-7?
### Query: SELECT loss FROM table_name_65 WHERE score = "9-7" |
### Context: CREATE TABLE table_name_34 (
format VARCHAR,
conductor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format was conductor Erich Leinsdorf's album released on?
### Query: SELECT format FROM table_name_34 WHERE conductor = "erich leinsdorf" |
### Context: CREATE TABLE table_19588 (
"Number of episode" real,
"Number of season" real,
"Title (original)" text,
"Title (English)" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the original title of season numbe... |
### Context: CREATE TABLE table_35516 (
"Year" text,
"Champion" text,
"Subchampion" text,
"Scoreboard" text,
"Fronton" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Championship has a Scoreboard that is 22-14?
### Query: SELECT "Champion" FR... |
### Context: CREATE TABLE table_11935 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the player with TD's more than 1 and long less than 24 with avg less than 11.4... |
### Context: CREATE TABLE table_59026 (
"Stage" text,
"Winner" text,
"General Classification" text,
"Mountains Classification" text,
"Points Classification" text,
"Sprints classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
JCZB... |
### 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_76321 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day in January was the game greater than 49 and had @ Montreal Canadiens as opponents?
... |
### 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 hz_info (
KH text,
... |
### Context: CREATE TABLE table_27380 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college did the tight end draft pick for New England Patriots come from?
### Query... |
### Context: CREATE TABLE Invoice_Line_Items (
order_item_id INTEGER,
invoice_number INTEGER,
product_id INTEGER,
product_title VARCHAR(80),
product_quantity VARCHAR(50),
product_price DECIMAL(19,4),
derived_product_cost DECIMAL(19,4),
derived_vat_payable DECIMAL(19,4),
derived_total... |
### Context: CREATE TABLE table_28039032_1 (
round VARCHAR,
winners_from_previous_round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the round that had 32 winners from previous round?
### Query: SELECT round FROM table_28039032_1 WHERE winners_fr... |
### Context: CREATE TABLE table_35552 (
"Team" text,
"Stadium" text,
"Capacity" real,
"Highest" real,
"Lowest" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest with a capacity of greater than 4,000 and an average... |
### Context: CREATE TABLE table_73693 (
"Player" text,
"Starts" real,
"Cuts made" real,
"Best finish" text,
"Money list rank" real,
"Earnings ($)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum money list rank for Matt Hansen... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE pilot_record (
Record_ID int,
Pilot_ID int,
Aircraft_ID int,
Date text
)
CREATE TABLE pilot (
Pilot_ID int,
Pilot_name text,
Rank int,
Age int,
Nationality text,
Position text,
Join_Year int,
Team text
)
CREATE TABLE aircraft (
Aircraft_ID ... |
### Context: CREATE TABLE table_44443 (
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps have 0 laps led and 13 points?
### Que... |
### Context: CREATE TABLE table_28709 (
"Rank" real,
"Athlete" text,
"Country" text,
"Height" text,
"Points" real,
"Adjusted Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country of Paavo Yrj l ?
### Query: SELECT "Country"... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatme... |
### Context: CREATE TABLE table_2818 (
"Month" text,
"Week" real,
"Overall" text,
"Offensive" text,
"Defensive" text,
"Transition" text,
"Rookie" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the week for steve toll
### Query: SELECT ... |
### Context: CREATE TABLE documents_to_be_destroyed (
document_id number,
destruction_authorised_by_employee_id number,
destroyed_by_employee_id number,
planned_destruction_date time,
actual_destruction_date time,
other_details text
)
CREATE TABLE document_locations (
document_id number,
... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_10802 (
"Episode" real,
"Title" text,
"Airdate" text,
"Rating" real,
"Share" real,
"18-49" real,
"Viewers" real,
"Rank" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title has a rating over 9.3, but... |
### Context: CREATE TABLE table_1953 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode n... |
### Context: CREATE TABLE table_name_13 (
fuml INTEGER,
att VARCHAR,
long VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want to know the average Fuml for Att of 5 and long more than 7
### Query: SELECT AVG(fuml) FROM table_name_13 WHERE att = 5 AND l... |
### Context: CREATE TABLE table_73219 (
"Starting price" text,
"Number" real,
"Name" text,
"Age" real,
"Weight (st, lb)" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Colours" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What... |
### Context: CREATE TABLE table_name_36 (
laps INTEGER,
driver VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Laps for mike spence, with a Grid smaller than 8?
### Query: SELECT MIN(laps) FROM table_name_36 WHERE driver ... |
### 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 d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE patients (
r... |
### Context: CREATE TABLE table_11879 (
"Player" text,
"Position" text,
"Tries" real,
"Goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the lowest points for tries of 39 and goals more than 0
### Query: SELECT MIN("Points... |
### Context: CREATE TABLE table_name_43 (
lane INTEGER,
heat VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's Sara Isakovi 's lane number that had a heat of 3?
### Query: SELECT SUM(lane) FROM table_name_43 WHERE heat = 3 AND name = "... |
### Context: CREATE TABLE table_name_56 (
date VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On which date was there a win?
### Query: SELECT date FROM table_name_56 WHERE result = "win" |
### 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_24871 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- when was the ... |
### Context: CREATE TABLE table_name_79 (
pick__number INTEGER,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Pick #, when College is Laurier?
### Query: SELECT SUM(pick__number) FROM table_name_79 WHERE college = "laurier" |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID... |
### Context: CREATE TABLE table_16293 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.