text stringlengths 197 8.39k |
|---|
### 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_name_30 (
not_usable INTEGER,
block VARCHAR,
launch_failures VARCHAR,
retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of not usable satellites when there are more than 0 launch failure... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Country text,
Is_Male text,
Age int
)
CREATE TABLE wedding (
Church_ID int,
Male_ID int,
Female_ID int,
Year int
)
CREATE TABLE church (
Church_ID int,
Name text,
Organized_by text,
Open_Date int,
Cont... |
### Context: CREATE TABLE table_25939 (
"SF Round" real,
"Country" text,
"Location" text,
"Date" text,
"Driver" text,
"Race 1(pts)" real,
"Race 2(pts)" real,
"Race Total(pts)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dates... |
### Context: CREATE TABLE procedures (
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_... |
### Context: CREATE TABLE table_204_790 (
id number,
"year" number,
"nw rank" number,
"venue" text,
"opp rank" number,
"opponent" text,
"score" text,
"w/l" text,
"round" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE product_suppliers (
product_id number,
supplier_id number,
date_supplied_from time,
date_supplied_to time,
total_amount_purchased text,
total_value_purchased number
)
CREATE TABLE supplier_addresses (
supplier_id number,
address_id number,
date_from time,
... |
### Context: CREATE TABLE table_68288 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which score has t3 as the place?
### Query: SELECT "Score" FROM table_68288 WHERE "Place" = '... |
### 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_52685 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average grid for piers courage?
### Query: SELECT AVG("Grid") FROM table_... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_dev_36 (
"id" int,
"gender" string,
"prediabetes" bool,
"leukopenia" int,
"hemoglobin_a1c_hba1c" float,
"cd4_count" int,
"platelets" int,
"hematocrit_hct" float,
"fasting_triglycerides" int,
"hyperlipidemia" bool,
"lymphopenia" int,
"fastin... |
### 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_73 (
player VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Total is '154'?
### Query: SELECT player FROM table_name_73 WHERE total = "154" |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
CO... |
### Context: CREATE TABLE table_39143 (
"FOURCC" text,
"DX 10 Name" text,
"Description" text,
"Alpha premultiplied?" text,
"Compression ratio" text,
"Texture Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which DX 10 Name that has a No Alp... |
### 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_8 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of 1938 values where 1933 values are under 68.3 and 1940 valures are under 4.02?
### Query: SELECT SUM(1938) FROM table_name_8 WHERE 1933 < 68.3 AND 1940 ... |
### 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 course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE student (
student_id int,
lastname ... |
### Context: CREATE TABLE table_203_405 (
id number,
"week" number,
"date" text,
"opponent" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the difference between the attendance in week two and the att... |
### Context: CREATE TABLE table_5242 (
"Years" text,
"Building" text,
"City" text,
"Height" text,
"Storeys" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which building has 26 storeys?
### Query: SELECT "Building" FROM table_5242 WHERE "Storeys" =... |
### Context: CREATE TABLE Roles (
role_code CHAR(15),
role_description VARCHAR(255)
)
CREATE TABLE Addresses (
address_id INTEGER,
address_details VARCHAR(255)
)
CREATE TABLE Documents_Mailed (
document_id INTEGER,
mailed_to_address_id INTEGER,
mailing_date DATETIME
)
CREATE TABLE Circula... |
### 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 table_57196 (
"Date" text,
"Course" text,
"Distance" text,
"Type" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date with a hilly stage?
### Query: SELECT "Date" FROM table_57196 WHERE "Type" =... |
### Context: CREATE TABLE table_17855 (
"Club" text,
"Played" text,
"Won" 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, ans... |
### Context: CREATE TABLE table_21775 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Points difference" text,
"Bonus Points" text,
"Points" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### 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_64723 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the tournament with a clay surface and an opponent of Irina Falconi?... |
### Context: CREATE TABLE table_47369 (
"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 county_public_safety (
County_ID int,
Name text,
Population int,
Police_officers int,
Residents_per_officer int,
Case_burden int,
Crime_rate real,
Police_force text,
Location text
)
CREATE TABLE city (
City_ID int,
County_ID int,
Name text,
... |
### Context: CREATE TABLE table_52452 (
"Round" real,
"Grand Prix" text,
"Pole Position" text,
"Fastest Lap" text,
"Winning Driver" text,
"Winning Constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the fastest... |
### Context: CREATE TABLE table_name_31 (
goals INTEGER,
matches INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Goals, when Matches is less than 29?
### Query: SELECT SUM(goals) FROM table_name_31 WHERE matches < 29 |
### Context: CREATE TABLE table_20989 (
"Year" real,
"Starts" real,
"Wins" real,
"Top 5" real,
"Top 10" real,
"Poles" real,
"Avg. Start" text,
"Avg. Finish" text,
"Winnings" text,
"Position" text,
"Team(s)" text
)
-- Using valid SQLite, answer the following questions for th... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
... |
### Context: CREATE TABLE table_name_90 (
manager VARCHAR,
shirt_sponsor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which manager sponsor arke shirt?
### Query: SELECT manager FROM table_name_90 WHERE shirt_sponsor = "arke" |
### 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 zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Locati... |
### Context: CREATE TABLE table_name_33 (
week INTEGER,
result VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the week when the result was W 38-24 and attendance was less than 43,449?
### Query: SELECT SUM(week) FROM table_nam... |
### Context: CREATE TABLE table_880 (
"Position" real,
"Artist" text,
"Song title" text,
"Highest position" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the highest position with artbeingt being frankie avalon
### Query: SEL... |
### Context: CREATE TABLE table_name_34 (
area INTEGER,
capital VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average area with valpara so as the capital?
### Query: SELECT AVG(area) FROM table_name_34 WHERE capital = "valparaíso" |
### Context: CREATE TABLE table_name_20 (
score VARCHAR,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for 1:36 time
### Query: SELECT score FROM table_name_20 WHERE time = "1:36" |
### Context: CREATE TABLE table_name_42 (
gold INTEGER,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of gold where the total is less than 3 and the silver count is 2?
### Query: SELECT MIN(gold) FROM t... |
### Context: CREATE TABLE table_name_87 (
country VARCHAR,
killed VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country, when Killed is '100.9', and when Year is greater than 1939.9?
### Query: SELECT country FROM table_name_87 WH... |
### Context: CREATE TABLE gyb (
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 culture_company (
Company_name text,
Type text,
Incorporated_in text,
Group_Equity_Shareholding real,
book_club_id text,
movie_id text
)
CREATE TABLE movie (
movie_id int,
Title text,
Year int,
Director text,
Budget_million real,
Gross_worldwide... |
### Context: CREATE TABLE table_30264 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many positions does Trent Bagnail play?
### Query: SELECT COUNT("Position") FROM ta... |
### Context: CREATE TABLE procedures (
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_... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_19753079_35 (
party VARCHAR,
candidates VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the party for yvette clarke (d) 90.6% hugh carr (r) 9.4%
### Query: SELECT party FROM table_19753079_35 WHERE candidates = "Yvette Cl... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Sugge... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... |
### Context: CREATE TABLE table_name_77 (
points INTEGER,
played INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average points with less than 30 played?
### Query: SELECT AVG(points) FROM table_name_77 WHERE played < 30 |
### Context: CREATE TABLE table_20360 (
"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 fires (
fire_year number,
discovery_date number,
discovery_doy number,
discovery_time text,
stat_cause_code number,
stat_cause_descr text,
cont_date text,
cont_doy text,
cont_time text,
fire_size number,
fire_size_class text,
latitude number,
... |
### 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_26976615_3 (
date_of_appointment VARCHAR,
date_of_vacancy VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many date of appointments are there when the date of vacancy was 2 october 2010?
### Query: SELECT COUNT(date_of_app... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
K... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
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,
... |
### 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 university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text... |
### Context: CREATE TABLE table_69554 (
"Year" real,
"Song" text,
"Work done" text,
"Artist(s)" text,
"Album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 Cobra Starship song has work done of guest vocals?
### Query: SELECT "Song" FROM... |
### Context: CREATE TABLE table_48324 (
"Year" real,
"Venue" text,
"Winner" text,
"Runner Up" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was this event held in Oslo, Norway?
### Query: SELECT "Year" FROM table_4... |
### 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 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_train_110 (
"id" int,
"cholesterol" float,
"body_weight" float,
"creatinine_clearance_cl" float,
"triglyceride_tg" float,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- creatinine > 1.99 ... |
### Context: CREATE TABLE table_15094 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day did the Diamondbacks go 2-7?
### Query: SELECT "Date" FROM tabl... |
### Context: CREATE TABLE table_name_21 (
area__km_2__ INTEGER,
area__sq_mi_ VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average area in New York that is larger than 55 sq mi?
### Query: SELECT AVG(area__km_2__) FROM tab... |
### Context: CREATE TABLE table_71757 (
"Date" real,
"Category" text,
"Team" text,
"Rider 1" text,
"Rider 2" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which category earlier than 2006 has Bart Brentjens as rider 2?
### Query: SELECT "Category"... |
### Context: CREATE TABLE conference (
cid int,
homepage varchar,
name varchar
)
CREATE TABLE domain_author (
aid int,
did int
)
CREATE TABLE publication (
abstract varchar,
cid int,
citation_num int,
jid int,
pid int,
reference_num int,
title varchar,
year int
)
C... |
### Context: CREATE TABLE table_name_47 (
entrant VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Entrant has a vanwall straight-4 engine?
### Query: SELECT entrant FROM table_name_47 WHERE engine = "vanwall straight-4" |
### 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 Ref_Locations (
Location_Code CHAR(15),
Location_Name VARCHAR(255),
Location_Description VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE Documents_to_b... |
### Context: CREATE TABLE table_name_97 (
position INTEGER,
speed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Position, when Speed is '143.5km/h'?
### Query: SELECT AVG(position) FROM table_name_97 WHERE speed = "143.5km/h" |
### Context: CREATE TABLE table_49679 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which years was there a To par of +1?
### Query: SELECT "Year(s) won... |
### 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_name_42 (
nickname VARCHAR,
colors VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the nickname of the team that has the colors blue and gold?
### Query: SELECT nickname FROM table_name_42 WHERE colors = "blue and gold... |
### Context: CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)... |
### Context: CREATE TABLE table_21350772_2 (
gas_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 20 year for Nitrous Oxide?
### Query: SELECT 20 AS _yr FROM table_21350772_2 WHERE gas_name = "Nitrous oxide" |
### Context: CREATE TABLE table_20046379_3 (
title VARCHAR,
us_viewers__millions_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the title of the episode seen by 3.8 million people in the US?
### Query: SELECT title FROM table_20046379_3 WHERE us_vie... |
### Context: CREATE TABLE table_8425 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the home team when the visiting team was Chicago Black Hawks, a game with a record of 0-2... |
### Context: CREATE TABLE table_41884 (
"Month, year" text,
"Sunk by U-Boat" real,
"Sunk by aircraft" real,
"Sunk by warship or raider" real,
"Sunk by mines" real,
"German submarines lost" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is t... |
### Context: CREATE TABLE table_6344 (
"Name" text,
"Circuit" text,
"Date" text,
"Winning driver" text,
"Winning constructor" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is vanderbilt cup in?
### Query: SELECT "Date" FROM... |
### Context: CREATE TABLE table_name_89 (
seats VARCHAR,
vote__percentage INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of seats for votes % more than 19.5
### Query: SELECT COUNT(seats) FROM table_name_89 WHERE vote__percentage > 19.... |
### Context: CREATE TABLE table_203_247 (
id number,
"district" text,
"counties represented" text,
"delegate" text,
"party" text,
"first elected" number,
"committee" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total amount of ... |
### Context: CREATE TABLE table_46877 (
"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 is the total number of To Par, when Player is 'Julius Boros', an... |
### Context: CREATE TABLE table_15612 (
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real,
"Left" real,
"Current Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average... |
### Context: CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
intime time,
outtime time
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid numb... |
### Context: CREATE TABLE table_name_84 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Van Waiters position?
### Query: SELECT position FROM table_name_84 WHERE player = "van waiters" |
### Context: CREATE TABLE table_name_18 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Score on March 1?
### Query: SELECT score FROM table_name_18 WHERE date = "march 1" |
### Context: CREATE TABLE table_15585 (
"Date" text,
"Location" text,
"Nature of incident" text,
"Circumstances" text,
"Casualties" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many casualties were from the IED circumstance?
### Query: SELECT... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_24575253_4 (
division_one VARCHAR,
division_four VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When real holmesdale reserves is division four who is in division one?
### Query: SELECT division_one FROM table_24575253_4 WHERE... |
### Context: CREATE TABLE table_6233 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which average attendance has stoneman (0-2) as the loss?
### Query: SELEC... |
### Context: CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters int,
num_enrolled int,
has_discussion varchar,
has_lab varch... |
### Context: CREATE TABLE table_203_449 (
id number,
"name" text,
"lifetime" text,
"nationality" text,
"notable as" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first to die after elisabeth irwin ?
### Query: SELECT ... |
### Context: CREATE TABLE table_29770377_1 (
destination VARCHAR,
route_via VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the destination of the route kulitthurai,neyyattinkara?
### Query: SELECT destination FROM table_29770377_1 WHERE route_via = ... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days text,
stop_airport text,
arrival_time int,
arrival_airline text,
arrival_flight_number int,
departure_... |
### Context: CREATE TABLE table_name_25 (
loss VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the loss in the game with the record of 65-53?
### Query: SELECT loss FROM table_name_25 WHERE record = "65-53" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.