text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_204_691 (
id number,
"date" text,
"round" text,
"opponent" text,
"venue" text,
"result" text,
"attendance" number,
"scorers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on which did date their game have... |
### Context: CREATE TABLE table_42517 (
"Year" text,
"Title" text,
"Genre" text,
"Label" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title's genre was jazz when it was nominated in 1996?
### Query: SELECT "Title" FROM table_... |
### Context: CREATE TABLE table_21632864_1 (
fourth_place VARCHAR,
regional VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many persons got the fourth position when the regional was shikoku?
### Query: SELECT COUNT(fourth_place) FROM table_21632864_1 WH... |
### Context: CREATE TABLE table_28715942_5 (
arranger_s_ VARCHAR,
vocal_percussionist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the arranger when the vocal percussionist is Alexei Kalveks and Dave Brennan?
### Query: SELECT arranger_s_ FROM tabl... |
### Context: 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_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROV... |
### Context: CREATE TABLE table_45410 (
"Round" real,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue when Woking was the opponent, and the round was less than 29?
### Query: SEL... |
### Context: CREATE TABLE table_23582 (
"Title" text,
"Author" text,
"Reader" text,
"Format" text,
"Company" text,
"Release Date" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which company released audiobooks authored by day,... |
### Context: CREATE TABLE table_2518850_4 (
prefecture VARCHAR,
city_town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what prefecture is Daito located?
### Query: SELECT prefecture FROM table_2518850_4 WHERE city_town = "Daito" |
### Context: CREATE TABLE table_6205 (
"Tournament" text,
"1992" text,
"1993" text,
"1994" text,
"1995" text,
"1996" text,
"1997" text,
"1998" text,
"1999" text,
"2000" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
... |
### Context: CREATE TABLE table_48607 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did Ted Kroll get to come in at T2?
### Query: SELECT "Score" FROM table_48607 WHE... |
### Context: CREATE TABLE table_18335117_3 (
director VARCHAR,
no_in_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1 is the number in series who is the director?
### Query: SELECT director FROM table_18335117_3 WHERE no_in_series = 1 |
### Context: CREATE TABLE table_name_72 (
threat_level VARCHAR,
overview VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Threat Levels with Rabbits in Australia?
### Query: SELECT threat_level FROM table_name_72 WHERE overview = "rabbits in austr... |
### Context: CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
)
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS nume... |
### 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 Customer_Addresses (
customer_id INTEGER,
premise_id INTEGER,
date_address_from DATETIME,
address_type_code VARCHAR(15),
date_address_to DATETIME
)
CREATE TABLE Mailshot_Customers (
mailshot_id INTEGER,
customer_id INTEGER,
outcome_code VARCHAR(15),
mailsho... |
### Context: CREATE TABLE table_22879262_14 (
high_rebounds VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of high rebounds for l 92 96 (ot)
### Query: SELECT COUNT(high_rebounds) FROM table_22879262_14 WHERE score = "L 92–96 ... |
### Context: CREATE TABLE table_name_77 (
result VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the result for green bay packers
### Query: SELECT result FROM table_name_77 WHERE opponent = "green bay packers" |
### Context: CREATE TABLE table_59347 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_name_32 (
date VARCHAR,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date for Europe?
### Query: SELECT date FROM table_name_32 WHERE region = "europe" |
### Context: CREATE TABLE table_name_88 (
touchdowns VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many touchdowns were scored by William Cole?
### Query: SELECT touchdowns FROM table_name_88 WHERE player = "william cole" |
### Context: CREATE TABLE table_48761 (
"Game" real,
"Date" text,
"Opponent" 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 ... |
### Context: CREATE TABLE table_57422 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record when chicago was the home t... |
### Context: CREATE TABLE table_21164557_1 (
no_in_series INTEGER,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode number in the series was directed by John Behring?
### Query: SELECT MAX(no_in_series) FROM table_21164557_1 WHERE dir... |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
C... |
### Context: CREATE TABLE table_28002 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 'the w rd' when guests we... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_18 (
score VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for Game 3?
### Query: SELECT score FROM table_name_18 WHERE game = 3 |
### Context: CREATE TABLE table_25840200_1 (
notes VARCHAR,
fight VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many notes are there for the Devon Alexander vs. Shawn Porter fight?
### Query: SELECT COUNT(notes) FROM table_25840200_1 WHERE fight = "Dev... |
### Context: CREATE TABLE WINE (
Appelation VARCHAR,
Score INTEGER
)
CREATE TABLE APPELLATIONS (
County VARCHAR,
Appelation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the county where produces the most number of wines with score higher than... |
### Context: CREATE TABLE table_name_95 (
agg VARCHAR,
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Goldfields Obuasi Team 1 has what Agg. totals ?
### Query: SELECT agg FROM table_name_95 WHERE team_1 = "goldfields obuasi" |
### 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_name_58 (
laps INTEGER,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the least number of laps for the driver Jo Siffert?
### Query: SELECT MIN(laps) FROM table_name_58 WHERE driver = "jo siffert" |
### Context: CREATE TABLE table_name_77 (
player VARCHAR,
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player from the United States in T4 place with a score of 68-73-68=209?
### Query: SELECT playe... |
### Context: CREATE TABLE table_23671 (
"Malayalam name" text,
"Transliteration" text,
"Concurrent Gregorian months" text,
"Sanskrit word and meaning" text,
"Zodiac sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the malayalam name for leo... |
### Context: CREATE TABLE table_43800 (
"Event" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest gold when silver is 1 and bronze is less than 0?
### Query: SELECT MAX("Gold... |
### Context: CREATE TABLE table_204_341 (
id number,
"name in english" text,
"name in turkish" text,
"area (km2)" text,
"depth" text,
"location (districts and/or provinces)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where is the largest lak... |
### Context: CREATE TABLE table_204_932 (
id number,
"#" number,
"title" text,
"time" text,
"lead vocals" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of tracks that contained no lead vocals ?
### Query: SEL... |
### Context: CREATE TABLE table_47240 (
"1998" text,
"2000" text,
"2004" text,
"2007" text,
"2011" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1998 value if the 2011 value is 30.4?
### Query: SELECT "1998" FROM table_47240 WHERE "201... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0... |
### 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_23014923_1 (
minor__south__winners VARCHAR,
primary__south__winners VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What isthe minor (South) winners total number is the primary (South) winners is Mendip Gate?
### Query: SELECT... |
### Context: CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEG... |
### Context: CREATE TABLE fgwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSUR... |
### Context: CREATE TABLE table_46695 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of laps during the race that had a time of +9.682?
### Query... |
### Context: CREATE TABLE table_name_20 (
matches_w_l VARCHAR,
placing VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Placing of 3 had what match w-l?
### Query: SELECT matches_w_l FROM table_name_20 WHERE placing = 3 |
### Context: CREATE TABLE table_name_4 (
year VARCHAR,
position VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In which year was a linebacker pick 17?
### Query: SELECT year FROM table_name_4 WHERE position = "linebacker" AND pick = "17" |
### Context: CREATE TABLE table_name_70 (
total INTEGER,
b_score VARCHAR,
gymnast VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total when the B Score was 9.15 for Cheng Fei ( chn )?
### Query: SELECT AVG(total) FROM table_name_70 WHERE b_s... |
### Context: CREATE TABLE table_name_62 (
tier VARCHAR,
sport VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tier is for football at Tianhe Stadium?
### Query: SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = ... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID d... |
### Context: CREATE TABLE table_49628 (
"Year" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Host city / cities" text,
"Host country / countries" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the host country in 2007?
### Query: SE... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
labid number,
... |
### Context: CREATE TABLE geographic (
city_name varchar,
county varchar,
region varchar
)
CREATE TABLE location (
restaurant_id int,
house_number int,
street_name varchar,
city_name varchar
)
CREATE TABLE restaurant (
id int,
name varchar,
food_type varchar,
city_name varc... |
### Context: CREATE TABLE table_47557 (
"Name" text,
"Company" text,
"Platform" text,
"Latest stable release" text,
"Price in USD" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the platform for the latest release 5.0.3?
### Query: SELECT "... |
### Context: CREATE TABLE table_171666_1 (
national_share___percentage_ VARCHAR,
area__km²_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the national share of the country whose area is 148064 km^2?
### Query: SELECT national_share___percentage_ FR... |
### Context: CREATE TABLE product (
max_page_size VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the most prominent max page size among all the products.
### Query: SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY COUNT(*) DESC LIMIT 1 |
### Context: CREATE TABLE table_name_84 (
city VARCHAR,
stadium VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- where is the naghsh jahan stadium?
### Query: SELECT city FROM table_name_84 WHERE stadium = "naghsh jahan" |
### Context: CREATE TABLE table_name_10 (
avg_g INTEGER,
gp_gs VARCHAR,
gain VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest avg/g for a GP-GS of 12-12 and a gain less than 16?
### Query: SELECT MIN(avg_g) FROM table_name_10 WHERE gp_gs... |
### Context: CREATE TABLE table_48519 (
"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 total number of losses of the player that has drawn 1 and played ... |
### Context: CREATE TABLE table_75826 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Home" text,
"Away" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Season has an Opponent of hibernians?
### Quer... |
### 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 table_51269 (
"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.
-- What is the smallest amount of spec... |
### Context: CREATE TABLE table_name_46 (
site VARCHAR,
cost___us$__ VARCHAR,
editor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which site has a Cost free and a Editor of jsvi?
### Query: SELECT site FROM table_name_46 WHERE cost___us$__ = "free" AN... |
### Context: CREATE TABLE table_49899 (
"Year" real,
"Winner" text,
"Jockey" text,
"Trainer" text,
"Owner" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most recent year that had a time of 1:36.69?
### Query: SELECT MA... |
### Context: CREATE TABLE table_32445 (
"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.
-- Which away team played against the ... |
### Context: CREATE TABLE table_name_65 (
format VARCHAR,
region VARCHAR,
catalogue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What format has United Kingdom as its region and is catalogued as 201457 9?
### Query: SELECT format FROM table_name_65 WH... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id numb... |
### Context: CREATE TABLE table_46812 (
"Event" text,
"Date" text,
"Rating" text,
"Share" text,
"Viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Event, when Date is April 20, 2013?
### Query: SELECT "Event" FROM table_46812 WHERE "D... |
### Context: CREATE TABLE Ref_Incident_Type (
incident_type_code VARCHAR(10),
incident_type_description VARCHAR(80)
)
CREATE TABLE Assessment_Notes (
notes_id INTEGER,
student_id INTEGER,
teacher_id INTEGER,
date_of_notes DATETIME,
text_of_notes VARCHAR(255),
other_details VARCHAR(255)
... |
### Context: CREATE TABLE table_1875157_1 (
poles INTEGER,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many poles in the year 2000
### Query: SELECT MAX(poles) FROM table_1875157_1 WHERE year = 2000 |
### Context: CREATE TABLE film (
Film_ID int,
Rank_in_series int,
Number_in_season int,
Title text,
Directed_by text,
Original_air_date text,
Production_code text
)
CREATE TABLE schedule (
Cinema_ID int,
Film_ID int,
Date text,
Show_times_per_day int,
Price float
)
CREA... |
### 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 t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE 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_name_18 (
silver VARCHAR,
total VARCHAR,
gold VARCHAR,
bronze VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2
### Query: SELE... |
### Context: CREATE TABLE table_36883 (
"Source" text,
"Date" text,
"MARTIN" text,
"GR\u00dcNE" text,
"Others" text,
"Undecided" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Date when MARTIN had 8%?
### Query: SELECT "Date" FROM t... |
### Context: CREATE TABLE table_name_43 (
character VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the character for 2005?
### Query: SELECT character FROM table_name_43 WHERE year = 2005 |
### Context: CREATE TABLE table_name_30 (
ticket_sold___available VARCHAR,
ticket_grossing VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many tickets were sold and how many were available for the shows that grossed $348,674?
### Query: SELECT ticket_so... |
### Context: 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 (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10... |
### 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_204_689 (
id number,
"year" number,
"title" text,
"album" text,
"uk" number,
"b-sides" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many titles were in 2007 ?
### Query: SELECT COUNT("title") FROM table_204... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### Context: CREATE TABLE table_70307 (
"Overall place" text,
"Yacht name" text,
"Skipper" text,
"Points" text,
"Combined elapsed time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which skipper has a combine elapsed time of 174d 01h 11m 59s?
###... |
### Context: CREATE TABLE table_225198_3 (
state__class_ VARCHAR,
vacator VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the state class for isaac d. barnard (j)
### Query: SELECT state__class_ FROM table_225198_3 WHERE vacator = "Isaac D. Barnard (J)" |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_name_60 (
evening_gown VARCHAR,
preliminary VARCHAR,
average VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the evening gown number when the average is more than 8.984 in Louisiana and the prel... |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTE... |
### Context: CREATE TABLE table_name_98 (
points INTEGER,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of points when goals were 29 30?
### Query: SELECT SUM(points) FROM table_name_98 WHERE goals = "29–30" |
### Context: CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME varchar(20),
CLASS_ROOM varchar(8),
PROF_NUM int
)
CREATE TABLE PROFESSOR (
EMP_NUM int,
DEPT_CODE varchar(10),
PROF_OFFICE varchar(50),
PROF_EXTENSION varchar(4),... |
### Context: CREATE TABLE table_name_9 (
week INTEGER,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks have l 3-17 as the result?
### Query: SELECT SUM(week) FROM table_name_9 WHERE result = "l 3-17" |
### Context: CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
... |
### Context: CREATE TABLE table_33982 (
"Tournament" text,
"2006" text,
"2007" text,
"2008-12" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2013 has a 2008-12 of A, and a 2007 of A, and a Tournament of us open?
### Query: SELEC... |
### Context: CREATE TABLE table_name_49 (
left_office VARCHAR,
entered_office VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the prime minister who entered office on 7 December 1916 leave office?
### Query: SELECT left_office FROM table_name_4... |
### Context: CREATE TABLE table_79166 (
"Enzyme" text,
"Location" text,
"Substrate" text,
"Product" text,
"Chromosome" text,
"OMIM" real,
"Porphyria" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location of the enzyme Uroporphy... |
### Context: CREATE TABLE table_name_87 (
game_site VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which game site hosted a match on April 10, 2004?
### Query: SELECT game_site FROM table_name_87 WHERE date = "april 10, 2004" |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
reli... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_14006_1 (
bleeding_time VARCHAR,
partial_thromboplastin_time VARCHAR,
condition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the bleeding time with partial thromboplastin time being unaffected and condition being ... |
### Context: CREATE TABLE table_2549 (
"High School" text,
"Type" text,
"Established" real,
"Enrollment" real,
"Mascot" text,
"WIAA Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school classifications have trappers as masco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.