text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_42 (
founded INTEGER,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest Founded with the Name cougars?
### Query: SELECT MIN(founded) FROM table_name_42 WHERE nickname = "cougars" |
### Context: CREATE TABLE table_18335117_2 (
original_air_date VARCHAR,
production_code VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the episode first air that had a production code of 102?
### Query: SELECT original_air_date FROM table_18335117_... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_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,
charttime time
)
CREATE... |
### Context: CREATE TABLE table_53398 (
"English Name" text,
"Simplified" text,
"Traditional" text,
"Pinyin" text,
"Hakka" text,
"Area" real,
"Population" real,
"Density" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the average ... |
### Context: CREATE TABLE table_name_49 (
opponent VARCHAR,
week VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In the game on or before week 9, who was the opponent when the attendance was 61,626?
### Query: SELECT opponent FROM tab... |
### 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
... |
### Context: CREATE TABLE table_38750 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the aver... |
### Context: CREATE TABLE sqlite_sequence (
name text,
seq text
)
CREATE TABLE invoices (
id number,
customer_id number,
invoice_date time,
billing_address text,
billing_city text,
billing_state text,
billing_country text,
billing_postal_code text,
total number
)
CREATE TAB... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propu... |
### 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startda... |
### Context: CREATE TABLE table_204_801 (
id number,
"year" number,
"derby\nwinner" text,
"galaxy" number,
"draw" number,
"chivas" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the different in the number of total wins the galaxy has ... |
### Context: CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX 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 ... |
### Context: CREATE TABLE table_name_17 (
single VARCHAR,
artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What single was written by the artist cap D?
### Query: SELECT single FROM table_name_17 WHERE artist = "cap d" |
### Context: CREATE TABLE table_name_63 (
runners_up VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is listed as the Runners-up that also has a Winner of Hajduk Split (3)?
### Query: SELECT runners_up FROM table_name_63 WHERE winner = "h... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_name_68 (
school VARCHAR,
hometown VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school has a hometown of winter park, FL?
### Query: SELECT school FROM table_name_68 WHERE hometown = "winter park, fl" |
### 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 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 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 artist (
artist_name VARCHAR
)
CREATE TABLE song (
artist_name VARCHAR,
languages VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Return the names of singers who are from UK and released an English song.
### Query: SELECT artis... |
### Context: CREATE TABLE table_name_48 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did they play on August 12?
### Query: SELECT opponent FROM table_name_48 WHERE date = "august 12" |
### Context: CREATE TABLE table_name_41 (
mascot VARCHAR,
_number___county VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the mascot with a #/County of 34 Howard?
### Query: SELECT mascot FROM table_name_41 WHERE _number___county = "34 howard" |
### Context: CREATE TABLE race (
Race_ID int,
Name text,
Class text,
Date text,
Track_ID text
)
CREATE TABLE track (
Track_ID int,
Name text,
Location text,
Seating real,
Year_Opened real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
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 (
... |
### Context: CREATE TABLE table_name_30 (
points INTEGER,
goals_against VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points have Goals against of 32, and Played larger than 38?
### Query: SELECT MAX(points) FROM table_name_30 WHE... |
### Context: CREATE TABLE table_59593 (
"Rank" text,
"County" text,
"State" text,
"Land area (km\u00b2)" text,
"Land area (mi\u00b2)" text,
"April 1, 2010 census" text,
"April 1, 2010 density (/km\u00b2)" text,
"April 1, 2010 density (/mi\u00b2)" text,
"July 1, 2010 official estimate... |
### Context: CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY ... |
### Context: CREATE TABLE table_27266 (
"English" text,
"Slovianski" text,
"\u0421\u043b\u043e\u0432\u0458\u0430\u043d\u0441\u043a\u0438" text,
"Russian" text,
"Ukrainian" text,
"Belarusian" text,
"Polish" text,
"Czech" text,
"Slovak" text,
"Upper Sorbian" text,
"Slovene" tex... |
### 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 intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime ... |
### 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 class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE state (
state_code te... |
### Context: CREATE TABLE table_2711 (
"County" text,
"Population" real,
"Unemployment Rate" text,
"Market Income Per Capita" text,
"Poverty Rate" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what counties is the unemployment... |
### Context: CREATE TABLE table_2763 (
"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 the... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY... |
### Context: CREATE TABLE student (
student_id int,
lastname varchar,
firstname varchar,
program_id int,
declare_major varchar,
total_credit int,
total_gpa float,
entered_as varchar,
admit_term int,
predicted_graduation_semester int,
degree varchar,
minor varchar,
int... |
### Context: CREATE TABLE table_76282 (
"Season" real,
"Date" text,
"Winner" text,
"Score [C ]" text,
"Venue" text,
"Competition round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the event that Alianza Lima won in 1965?
... |
### Context: CREATE TABLE table_name_40 (
tournament VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What tournament has petra mandula patricia wartusch as the opponent in the final?
### Query: SELECT tournament FROM table_name... |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,... |
### 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 zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time... |
### Context: CREATE TABLE files (
f_id number,
artist_name text,
file_size text,
duration text,
formats text
)
CREATE TABLE genre (
g_name text,
rating text,
most_popular_in text
)
CREATE TABLE artist (
artist_name text,
country text,
gender text,
preferred_genre text
)... |
### 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_30037 (
"Semitological abbreviation" text,
"Hebrew name" text,
"Arabic name" text,
"Morphological category" text,
"Hebrew Form" text,
"Arabic form" text,
"Approximate translation" text
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### 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_203_671 (
id number,
"name" text,
"rank" text,
"age" number,
"years until mandatory retirement" text,
"appointed by" text,
"year appointed" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times did l... |
### Context: CREATE TABLE table_11151 (
"State" text,
"Interview" real,
"Swimsuit" real,
"Evening Gown" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is the smallest evening gown score when the interview score was more than 9.... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_202_45 (
id number,
"rank" number,
"wrestler" text,
"no. of reigns" number,
"combined days" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who has spent more time as nwa world heavyyweight champion , gene kiniski or... |
### 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_75 (
date VARCHAR,
surface VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the date for clay surface and score of 0 6, 0 6
### Query: SELECT date FROM table_name_75 WHERE surface = "clay" AND score... |
### Context: CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE hz_info (
KH text,
... |
### Context: CREATE TABLE table_57133 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team won the game on January 12?
### Query: SE... |
### Context: CREATE TABLE table_204_79 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which season was the only season the team placed in tier 4 ?
### Query: SELECT "season" FROM t... |
### Context: CREATE TABLE table_70944 (
"Date enacted" text,
"Normal total" text,
"\u00a726 total" text,
"Ont." text,
"Que." text,
"N.S." text,
"N.B." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the NS with normal total of 102
### Q... |
### Context: CREATE TABLE table_name_43 (
frequency_mhz INTEGER,
erp_w INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the sum of frequency for ERP W less than 1
### Query: SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1 |
### Context: CREATE TABLE table_name_39 (
points VARCHAR,
place INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which points has place smaller than 2?
### Query: SELECT points FROM table_name_39 WHERE place < 2 |
### Context: CREATE TABLE table_67843 (
"Rank" real,
"Team" text,
"Wins" real,
"Losses" real,
"Runs Allowed" real,
"Run Ratio" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest run ratio Japan, which has less than 58 runs and 5 ... |
### Context: CREATE TABLE table_60328 (
"Location" text,
"Year" real,
"Champion" text,
"Runner-up" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Runner-up has a Year smaller than 2008, and a Champion of jos acasuso?
### Query: ... |
### Context: CREATE TABLE prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits n... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venu... |
### Context: CREATE TABLE table_name_3 (
college VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What college was the quarterback from?
### Query: SELECT college FROM table_name_3 WHERE position = "quarterback" |
### Context: CREATE TABLE table_25034983_2 (
start INTEGER,
owner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what year was cumulus founded?
### Query: SELECT MIN(start) FROM table_25034983_2 WHERE owner = "Cumulus" |
### Context: CREATE TABLE airlines (
alid integer,
name text,
iata varchar(2),
icao varchar(3),
callsign text,
country text,
active varchar(2)
)
CREATE TABLE routes (
rid integer,
dst_apid integer,
dst_ap varchar(4),
src_apid bigint,
src_ap varchar(4),
alid bigint,
... |
### Context: CREATE TABLE table_44459 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Place that has a To standard of 1, and a Score of 71-68-76=215?
### Query: SELECT... |
### Context: CREATE TABLE table_63808 (
"Title" text,
"Author" text,
"First Issue" text,
"Last Issue" text,
"Completed?" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the First Issue date of Bamboo Blade?
### Query: SELECT "First Issue" FR... |
### 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_name_45 (
college_junior_club_team__league_ VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college/junior/club team (league) did Brett Sonne play in?
### Query: SELECT college_junior_club_team__league_ F... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_4557 (
"Actor/actress" text,
"Character" text,
"Rank" text,
"Tenure" text,
"Episodes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years were actress Nadine Garner on the show?
### Query: SELECT "Tenure" FROM ... |
### Context: CREATE TABLE table_name_18 (
natural_wood_keyboard VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which is Natural Wood Keyboard with a Model of clps306?
### Query: SELECT natural_wood_keyboard FROM table_name_18 WHERE model = "c... |
### Context: CREATE TABLE table_name_74 (
north_america VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the north america for phantom brave
### Query: SELECT north_america FROM table_name_74 WHERE title = "phantom brave" |
### Context: CREATE TABLE table_77537 (
"Pick" real,
"Round" text,
"Player" text,
"Position" text,
"School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest pick for a player from auburn?
### Query: SELECT MAX("Pick") FROM table_7... |
### Context: CREATE TABLE table_18828487_1 (
runner_up VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 2009, how many were runner-up?
### Query: SELECT COUNT(runner_up) FROM table_18828487_1 WHERE year = 2009 |
### Context: CREATE TABLE table_name_34 (
date VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the competition that had a score of 3-0?
### Query: SELECT date FROM table_name_34 WHERE score = "3-0" |
### Context: CREATE TABLE table_203_754 (
id number,
"no." number,
"player" text,
"position" text,
"career" text,
"date no. retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what numbers were retired before 1989 ?
### Query: SELECT "no." ... |
### 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 t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_2558 (
"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 the... |
### Context: CREATE TABLE table_20027 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the value of 1st prize when the... |
### Context: CREATE TABLE table_203_490 (
id number,
"date" text,
"opponent#" text,
"rank#" text,
"site" text,
"result" text,
"attendance" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which 1990 southern miss golden eagles football game ... |
### 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_73013 (
"Year" real,
"Illinois" text,
"Indiana" text,
"Kentucky" text,
"Michigan" text,
"Ohio" text,
"Wisconsin" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the little league team from Kentucky whe... |
### Context: CREATE TABLE table_28845 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people won the election in the Pennsylvania 11 dis... |
### Context: CREATE TABLE table_29141354_2 (
scores VARCHAR,
jamie_and_johns_guest VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the scores when Jamie and Johns guest was Phillips Idowu?
### Query: SELECT scores FROM table_29141354_2 WHERE jamie_... |
### Context: CREATE TABLE table_name_8 (
overall INTEGER,
college VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest overall pick from the College of Southern Mississippi that was selected before round 6?
### Query: SELECT... |
### Context: CREATE TABLE table_19787093_1 (
for_round_trip INTEGER,
till_agra VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the till agra is 1050, what is the max round trip?
### Query: SELECT MAX(for_round_trip) FROM table_19787093_1 WHERE till_agra =... |
### 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 gwyjzb (
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 table_name_20 (
platelet_count VARCHAR,
partial_thromboplastin_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Platelet count has a Partial thromboplastin time of prolonged or unaffected?
### Query: SELECT platelet_count ... |
### Context: CREATE TABLE table_name_41 (
genbank_id VARCHAR,
variant_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which genbank id's variant is abd1a?
### Query: SELECT genbank_id FROM table_name_41 WHERE variant_id = "abd1a" |
### Context: CREATE TABLE table_10750 (
"Entrant" text,
"Constructor" text,
"Chassis" text,
"Engine" text,
"Tyres" text,
"Driver" text,
"Rounds" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the entrant with a chassis of... |
### Context: CREATE TABLE table_70464 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name has an Area of kennedy bay?
### Query: SELECT "... |
### Context: CREATE TABLE table_40054 (
"Year" real,
"Division" text,
"League" text,
"Regular Season" text,
"Playoffs" text,
"Open Cup" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Playoffs has a Division of 2 and a Regular Season of 4th... |
### Context: CREATE TABLE table_77395 (
"Game" real,
"Date" text,
"Score" text,
"Location" text,
"Time" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of people in attendance at Oakland-Alameda County Colise... |
### Context: CREATE TABLE table_name_29 (
venue VARCHAR,
runs VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the venue that had 274 runs?
### Query: SELECT venue FROM table_name_29 WHERE runs = "274" |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.