text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_52741 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which rider had a speed of 104.630mph?
### Query: SELECT "Rider" FROM table_52741 WHERE "Speed" = '1... |
### Context: CREATE TABLE table_204_340 (
id number,
"name" text,
"year inducted" number,
"position" text,
"apps" number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of apps and goals for luther blissett ?
... |
### Context: CREATE TABLE table_name_21 (
driver_s_ VARCHAR,
primary_sponsor_s_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Parts Plus sponsors what driver?
### Query: SELECT driver_s_ FROM table_name_21 WHERE primary_sponsor_s_ = "parts plus" |
### Context: CREATE TABLE table_name_65 (
place VARCHAR,
performance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the place when the performance is 60.73m?
### Query: SELECT place FROM table_name_65 WHERE performance = "60.73m" |
### Context: CREATE TABLE table_name_35 (
year VARCHAR,
producer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was Sam Kazman a producer?
### Query: SELECT year FROM table_name_35 WHERE producer = "sam kazman" |
### Context: CREATE TABLE table_203_254 (
id number,
"position" number,
"team" text,
"points" number,
"played" number,
"won" number,
"drawn" number,
"lost" number,
"for" number,
"against" number,
"difference" number
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code... |
### Context: CREATE TABLE table_13239 (
"Position" text,
"Player" text,
"Loaned to" text,
"Date" text,
"Loan expires" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What loan expires date has a Date of 29 december 2003?
### Query: SELECT "Loan expi... |
### Context: CREATE TABLE table_9885 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the partner t... |
### 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 party (
party_name VARCHAR,
party_id VARCHAR
)
CREATE TABLE Member (
party_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of party with most number of members?
### Query: SELECT T2.party_name FROM Member AS... |
### Context: CREATE TABLE table_28631 (
"Channel" real,
"Channel name" text,
"Callsign" text,
"Signal power" text,
"Broadcast area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the call sign for channel 6?
### Query: SELECT "Callsign" FRO... |
### Context: CREATE TABLE table_42037 (
"Date" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Set 4" text,
"Set 5" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a set 4 of 25-19?
### Query: S... |
### 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_9027 (
"Name" text,
"GP-GS" text,
"Effic" real,
"Att-Cmp-Int" text,
"Avg/G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the total effic for the quarterbacks?
### Query: SELECT MIN("Effic") FROM table_9027... |
### Context: CREATE TABLE table_name_78 (
civil_liberties INTEGER,
year VARCHAR,
political_rights VARCHAR,
president VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the president was Yoweri Museveni, and the year was 1993, with rank of 6 under po... |
### Context: CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_co... |
### Context: CREATE TABLE table_31955 (
"Points" real,
"Name" text,
"Club" text,
"Tries" real,
"Drop" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the fewest tries for leicester tigers with points less than 207
### Query: SELECT MIN("Tries")... |
### 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 Addresses (
address_id INTEGER,
line_1 VARCHAR(120),
line_2 VARCHAR(120),
line_3 VARCHAR(120),
city VARCHAR(80),
zip_postcode VARCHAR(20),
state_province_county VARCHAR(50),
country VARCHAR(50),
other_address_details VARCHAR(255)
)
CREATE TABLE Students_in_... |
### Context: CREATE TABLE table_2668401_17 (
district VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what district was the incumbent Edwin Gray?
### Query: SELECT district FROM table_2668401_17 WHERE incumbent = "Edwin Gray" |
### Context: CREATE TABLE table_64172 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the developer(s) Bioware?
### Query: SELECT AVG("Year") FROM table_64172... |
### Context: CREATE TABLE table_204_795 (
id number,
"date" text,
"opponent" text,
"score" text,
"result" text,
"location" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was the last game a win or a loss ?
### Query: SE... |
### 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 inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
... |
### 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_54160 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface where the outcome was ... |
### Context: CREATE TABLE table_1570003_2 (
open_cup VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During 2003 what was open cup qualifying status?
### Query: SELECT open_cup FROM table_1570003_2 WHERE year = 2003 |
### Context: CREATE TABLE table_17901155_4 (
original_us_air_date VARCHAR,
viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which US air date had 4.4 million viewers?
### Query: SELECT original_us_air_date FROM table_17901155_4 WHERE viewer... |
### Context: CREATE TABLE table_name_65 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the game on June 30?
### Query: SELECT score FROM table_name_65 WHERE date = "june 30" |
### Context: CREATE TABLE table_15203 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the earliest year that has a Bristol engine?
### Query: SELECT MIN("Year") FROM tabl... |
### Context: CREATE TABLE table_41506 (
"Number" real,
"Name" text,
"Builder" text,
"Type" text,
"Date" text,
"Works number" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In early 1873, Owen sound had what works number?
### Query: SELECT "Work... |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 ... |
### Context: CREATE TABLE table_name_48 (
team_2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1st leg of cs sfaxien?
### Query: SELECT 1 AS st_leg FROM table_name_48 WHERE team_2 = "cs sfaxien" |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
... |
### Context: CREATE TABLE Ref_Product_Categories (
product_category_code VARCHAR(15),
product_category_description VARCHAR(80),
unit_of_measure VARCHAR(20)
)
CREATE TABLE Products (
product_id INTEGER,
color_code VARCHAR(15),
product_category_code VARCHAR(15),
product_name VARCHAR(80),
... |
### Context: CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
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 t... |
### Context: CREATE TABLE table_name_90 (
team_2 VARCHAR,
team_1 VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team is 2 when 1 is Taipower and the result is 0-1?
### Query: SELECT team_2 FROM table_name_90 WHERE team_1 = "taipower... |
### Context: CREATE TABLE table_name_45 (
system VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which System's Name is Gemulator?
### Query: SELECT system FROM table_name_45 WHERE name = "gemulator" |
### Context: CREATE TABLE table_name_96 (
name VARCHAR,
years VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the head coach of 1974?
### Query: SELECT name FROM table_name_96 WHERE years = "1974" |
### 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 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 table_204_89 (
id number,
"team" text,
"truck(s)" text,
"#" number,
"driver(s)" text,
"primary sponsor(s)" text,
"listed owner(s)" text,
"crew chief" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- according to t... |
### 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_77 (
plaid_cymru VARCHAR,
polling_organisation_client VARCHAR,
date_s__conducted VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the plaid cymru for Polling organisation/client of yougov/itv wales for 4 may 2011... |
### Context: CREATE TABLE county_public_safety (
Name VARCHAR,
Population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the name of the county with the largest population.
### Query: SELECT Name FROM county_public_safety ORDER BY Population DESC LIMIT... |
### Context: CREATE TABLE table_name_31 (
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2nd leg of team 1 Zamalek SC?
### Query: SELECT 2 AS nd_leg FROM table_name_31 WHERE team_1 = "zamalek sc" |
### Context: CREATE TABLE table_name_26 (
week_4 VARCHAR,
week_3 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week 3, prior to the when the week 4 was Laura Nicole?
### Query: SELECT week_4 FROM table_name_26 WHERE week_3 = "laura nicole" |
### Context: CREATE TABLE routes (
dst_apid VARCHAR
)
CREATE TABLE airports (
apid VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the number of routes with destination airports in Italy.
### Query: SELECT COUNT(*) FROM routes AS T... |
### Context: CREATE TABLE table_204_853 (
id number,
"pos" number,
"grid" number,
"no." number,
"driver" text,
"team" text,
"manufacturer" text,
"laps" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the firs... |
### Context: CREATE TABLE table_13514 (
"Model number" text,
"sSpec number" text,
"Cores" text,
"Frequency" text,
"Turbo" text,
"L2 cache" text,
"L3 cache" text,
"GPU model" text,
"GPU frequency" text,
"Socket" text,
"I/O bus" text,
"Release date" text,
"Part number(s... |
### 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 paperfield (
fieldid int,
paperid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE pap... |
### Context: CREATE TABLE table_name_76 (
event VARCHAR,
position VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event had 4th place and took place in the year 2007?
### Query: SELECT event FROM table_name_76 WHERE position = "4th" A... |
### Context: CREATE TABLE table_name_9 (
tankers VARCHAR,
staffing VARCHAR,
hazmat VARCHAR,
platforms VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tankers have a Hazmat of , and Platforms of , and a Staffing of volunteer?
### Query: SELECT t... |
### Context: CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
round_trip_required varchar
)
CREATE TABLE days (
days_code varchar,
day_name ... |
### 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_70219 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The EPT German open was won by which listed winner?
### Query: SELECT "Winner" FROM table_70219 WH... |
### Context: CREATE TABLE table_203_392 (
id number,
"rank" text,
"belt alternate 1" text,
"belt alternate 2" text,
"belt alternate 3" text,
"belt alternate 4" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many different ranks exist for kar... |
### Context: CREATE TABLE table_21310 (
"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 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 table_204_937 (
id number,
"rank" number,
"lane" number,
"athlete" text,
"time" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long did it take the fifth place finisher to run the race ?
### Query: SELECT "time" FROM... |
### Context: CREATE TABLE table_32339 (
"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 did the home team score when p... |
### Context: CREATE TABLE table_36349 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Opponents have a Partner of irina-camelia begu, and a Surface of ... |
### Context: CREATE TABLE table_train_159 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"estimated_glomerular_filtration_rate_egfr" int,
"kidney_disease" bool,
"serum_triglyceride" int,
"body_mass_index_bmi" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following qu... |
### 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 table_name_21 (
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the type when McCormack is the name?
### Query: SELECT type FROM table_name_21 WHERE name = "mccormack" |
### Context: CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM... |
### Context: CREATE TABLE table_28033 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many numbers were recorded on the... |
### 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_20297668_1 (
standard_yarn_weight_system VARCHAR,
wraps_per_inch__wpi_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the standard yarn weight system for 7 wpi
### Query: SELECT standard_yarn_weight_system FROM table_202... |
### Context: CREATE TABLE table_1262 (
"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.
-- Nametheh school team for norman gonzales
### Query: SEL... |
### Context: CREATE TABLE table_name_51 (
points_against VARCHAR,
drawn VARCHAR,
tries_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the club that had tries of 50 and drawn of 0, what were the points?
### Query: SELECT points_against FROM table... |
### 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 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_3 (
yards INTEGER,
long VARCHAR,
avg VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest yards for 34 long and avg less than 12.6
### Query: SELECT MIN(yards) FROM table_name_3 WHERE long = 34 AND avg < 12... |
### Context: CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_56314 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did they lose to on may 9?
### Query: SELECT "Loss" FROM table_56314... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE table_23718905_6 (
matchup_results VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different matchup/results appear in San Diego, California?
### Query: SELECT COUNT(matchup_results) FROM table_23718905_6 WHER... |
### Context: CREATE TABLE table_name_88 (
years VARCHAR,
actor VARCHAR,
soap_opera VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years did Marienhof run, which featured Leonore Capell and lasted 10 years?
### Query: SELECT ye... |
### Context: CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutM... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time in... |
### Context: CREATE TABLE body_builder (
Body_Builder_ID int,
People_ID int,
Snatch real,
Clean_Jerk real,
Total real
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Birth_Date text,
Birth_Place text
)
-- Using valid SQLite, answer the following... |
### Context: CREATE TABLE table_10312547_1 (
character VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many playerd Mrs. Darling in the 1999 Broadway?
### Query: SELECT COUNT(1999 AS _broadway) FROM table_10312547_1 WHERE character = "Mrs. Darling" |
### 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_33 (
lost VARCHAR,
drawn VARCHAR,
tries_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the value for Lost when Drawn is 0, and Tries against is 41?
### Query: SELECT lost FROM table_name_33 WHERE draw... |
### 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 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_name_52 (
venue VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where does South Melbourne play?
### Query: SELECT venue FROM table_name_52 WHERE away_team = "south melbourne" |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE procedures_icd (
row_id n... |
### Context: CREATE TABLE Ref_Address_Types (
address_type_code VARCHAR(15),
address_type_description VARCHAR(80)
)
CREATE TABLE Teachers (
teacher_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
gender VARCHAR(1),
cell_mobile_... |
### 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_68490 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a score of 2-1?
### Query: SELECT "Date" FROM table_68490 WHERE "Score" = '2... |
### Context: CREATE TABLE table_71745 (
"Year" real,
"Opponent" text,
"Competition" text,
"Score" text,
"Venue" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the venue at Sydney Cricket Ground, and the opponent ... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
... |
### Context: CREATE TABLE table_31998 (
"Stem Meaning" text,
"2nd person sg" text,
"2nd person sg honorific" text,
"3rd person sg" text,
"3rd person sg honorific" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the Stem Meaning of ical
### Q... |
### Context: CREATE TABLE table_8680 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE table_10749367_3 (
_number INTEGER,
air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What episode aired on 18 April 2007?
### Query: SELECT MIN(_number) FROM table_10749367_3 WHERE air_date = "18 April 2007" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.