text stringlengths 197 8.39k |
|---|
### 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 table_14289 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the week when the result is w 14-13 and the attendance is higher than 53,295?
### ... |
### 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 table_64228 (
"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 genre is the game from the year 2007?
### Query: SELECT "Genre" FROM table_64228 ... |
### Context: CREATE TABLE round (
Round_ID int,
Member_ID int,
Decoration_Theme text,
Rank_in_Round int
)
CREATE TABLE college (
College_ID int,
Name text,
Leader_Name text,
College_Location text
)
CREATE TABLE member (
Member_ID int,
Name text,
Country text,
College_ID... |
### Context: CREATE TABLE table_17941032_1 (
try_bonus VARCHAR,
tries_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 80 is the tries for what is the try bonus?
### Query: SELECT try_bonus FROM table_17941032_1 WHERE tries_for = "80" |
### 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_1939405_2 (
_percentage_2001 VARCHAR,
_percentage_2011 VARCHAR,
province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the percentage in 2001 in Manitoba where the percentage in 2011 is 0.8%?
### Query: SELECT _pe... |
### Context: CREATE TABLE table_69267 (
"Race" text,
"Dist (f)" real,
"Course" text,
"Prize (\u00a3K)" real,
"Runners" real,
"Placing" real,
"Margin" text,
"Jockey" text,
"Trainer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How m... |
### Context: CREATE TABLE Documents (
Document_ID INTEGER,
Document_Type_Code CHAR(15),
Project_ID INTEGER,
Document_Date DATETIME,
Document_Name VARCHAR(255),
Document_Description VARCHAR(255),
Other_Details VARCHAR(255)
)
CREATE TABLE Accounts (
Account_ID INTEGER,
Statement_ID IN... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE table_76927 (
"Taper" text,
"Large end" real,
"Small end" real,
"Length" real,
"Taper/ ft" real,
"Taper/ in" real,
"Angle from center/\u00b0" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Taper/in that has a ... |
### Context: CREATE TABLE student (
stu_num number,
stu_lname text,
stu_fname text,
stu_init text,
stu_dob time,
stu_hrs number,
stu_class text,
stu_gpa number,
stu_transfer number,
dept_code text,
stu_phone text,
prof_num number
)
CREATE TABLE professor (
emp_num nu... |
### Context: CREATE TABLE Church (
Open_Date INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many churches opened before 1850 are there?
### Query: SELECT COUNT(*) FROM Church WHERE Open_Date < 1850 |
### Context: CREATE TABLE table_36410 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on april 9 what was the attendance?
### Query: SELECT AVG("Attendance") ... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,... |
### Context: CREATE TABLE table_name_31 (
founded INTEGER,
years VARCHAR,
suburb_town VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year founded that is located in Broken Hill and has school years of k-6?
### Query: SELECT AVG(found... |
### Context: CREATE TABLE table_39165 (
"Rank" real,
"Rider" text,
"Team" text,
"Speed" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Rider had a Time of 1:01.50.57?
### Query: SELECT "Rider" FROM table_39165 WHERE "Time" = '1:01... |
### Context: CREATE TABLE table_name_92 (
year INTEGER,
group VARCHAR,
award VARCHAR,
result VARCHAR,
film_series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average year in which Kim was nominated for Thirst as Best Actress at the... |
### Context: CREATE TABLE table_name_78 (
ihsaa_football_class VARCHAR,
ihsaa_class VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the IHSAA Football Class in Decatur with an AAA IHSAA class?
### Query: SELECT ihsaa_football_cla... |
### Context: CREATE TABLE table_40228 (
"Date" text,
"Tournament" text,
"Winning score" text,
"Margin of victory" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Runner(s)-Up, when Margin of Victory is 1 Stroke, and when ... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE Badges (
Id number,
UserId number,
... |
### 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 table_53955 (
"Rank" text,
"Name" text,
"Headquarters" text,
"Revenue (Mil.\u20ac)" text,
"Profit (Mil.\u20ac)" text,
"Employees (World)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is hte nuumber of employees t... |
### Context: CREATE TABLE table_73789 (
"Series #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Viewers (in millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the episode writt... |
### Context: CREATE TABLE table_256862_1 (
legs INTEGER,
winning_yacht VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most legs for steinlager 2
### Query: SELECT MAX(legs) FROM table_256862_1 WHERE winning_yacht = "Steinlager 2" |
### Context: CREATE TABLE table_20316 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by:" text,
"Written by:" text,
"Original air date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What season began on december 5, 1953?
### Query... |
### Context: CREATE TABLE table_11269 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the Home Team score 5.10 (40)?
### Query: ... |
### Context: CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE trip (
id INTEGER,
duration INTEGER,
start_date TEXT,
start_station_name TEXT,
start_station_id INTEGER,
end_date TEXT,
end_station_name TEXT,
... |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_67148 (
"Ship" text,
"Site" text,
"Guns" real,
"Naval constructor" text,
"Superintendent" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of guns when the superintendent was Silas Talbot?
### Query:... |
### Context: CREATE TABLE table_17596418_4 (
COUnT VARCHAR,
moving_from VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many transfer windows coming from Crystal Palace?
### Query: SELECT COUnT AS transfer_window FROM table_17596418_4 WHERE moving_from =... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodi... |
### Context: CREATE TABLE table_17517 (
"Year" real,
"Mens singles" text,
"Womens singles" text,
"Mens doubles" text,
"Womens doubles" text,
"Mixed doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many mens doubles when womens doubles... |
### Context: CREATE TABLE table_name_90 (
league VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the league for 1996
### Query: SELECT league FROM table_name_90 WHERE year = "1996" |
### Context: CREATE TABLE table_name_27 (
current_streak VARCHAR,
last_5_meetings VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the current streak when the last 5 meetings is osu, 4-1?
### Query: SELECT current_streak FROM table_name_27 WHERE last_... |
### Context: CREATE TABLE table_name_11 (
points INTEGER,
wins VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of points the team with 0 wins had before 1992?
### Query: SELECT MAX(points) FROM table_name_11 WHERE... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
... |
### 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_56 (
aggregate VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Aggregate of Bayer Leverkusen opponents?
### Query: SELECT aggregate FROM table_name_56 WHERE opponents = "bayer leverkusen" |
### Context: CREATE TABLE txmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### 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 member (
member_id number,
name text,
membership_card text,
age number,
time_of_purchase number,
level_of_membership number,
address text
)
CREATE TABLE shop (
shop_id number,
address text,
num_of_staff text,
score number,
open_year text
)
CREA... |
### Context: CREATE TABLE table_name_18 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has 34-19-6 as the record?
### Query: SELECT score FROM table_name_18 WHERE record = "34-19-6" |
### Context: CREATE TABLE Suppliers (
supplier_name VARCHAR,
supplier_phone VARCHAR,
supplier_id VARCHAR
)
CREATE TABLE supplier_addresses (
supplier_id VARCHAR,
address_id VARCHAR
)
CREATE TABLE addresses (
address_id VARCHAR,
address_details VARCHAR
)
-- Using valid SQLite, answer the ... |
### Context: CREATE TABLE table_189598_7 (
land_area__km²_ VARCHAR,
population__2011_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 1233 is the population of 2011 what is the land area in kilometers squared?
### Query: SELECT land_area__km²_ FROM tabl... |
### Context: CREATE TABLE table_name_29 (
team VARCHAR,
location_attendance VARCHAR,
series VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Team has a Location Attendance of staples center 18,997, and a Series of 1 0?
### Query: SELECT team FROM ta... |
### Context: CREATE TABLE diagnoses (
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_d... |
### 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 cost (
row_id number,
subject_id number,
... |
### Context: CREATE TABLE employees (
hire_date INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- display those employees who joined after 7th September, 1987.
### Query: SELECT * FROM employees WHERE hire_date > '1987-09-07' |
### Context: CREATE TABLE table_27225 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight ( lb. )" real,
"Year" text,
"Hometown" text,
"Previous School" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the previous sc... |
### Context: CREATE TABLE table_27562 (
"Season" real,
"Series" text,
"Team" text,
"Races" real,
"Wins" real,
"Poles" real,
"F/Laps" real,
"Podiums" real,
"Points" real,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,... |
### Context: CREATE TABLE table_68593 (
"Film" text,
"Director(s)" text,
"Recipient" text,
"Date" text,
"Award" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did Passion Pictures receive an award?
### Query: SELECT "Date" FROM table_6859... |
### Context: CREATE TABLE table_32471 (
"Year" real,
"Championship" text,
"Winning score" text,
"Margin" text,
"Runner(s)-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which runner-up player(s) had a margin of 10 strokes?
### Query: SELECT "Ru... |
### Context: CREATE TABLE table_45597 (
"Rider" text,
"Manufacturer" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid that has a Rider of mike di meglio, and Laps larger than 23?
### Query: SELECT AVG... |
### Context: CREATE TABLE table_3231 (
"Pick #" real,
"NFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the NFL team is the Minnesota Vikings, what is the position?
### Query: SELECT "Posit... |
### 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_87 (
completed VARCHAR,
kanji VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the completed date of ?
### Query: SELECT completed FROM table_name_87 WHERE kanji = "蓬" |
### 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE Student_Course_Enrolment (
registration_id INTEGER,
student_id INTEGER,
course_id INTEGER,
date_of_enrolment DATETIME,
date_of_completion DATETIME
)
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
lo... |
### Context: CREATE TABLE table_27765 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provide... |
### 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 regions (
REGION_ID deci... |
### Context: CREATE TABLE table_name_35 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which nationality is Dick Walker?
### Query: SELECT nationality FROM table_name_35 WHERE player = "dick walker" |
### Context: CREATE TABLE table_name_21 (
name VARCHAR,
birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a birth of 16 august 1401?
### Query: SELECT name FROM table_name_21 WHERE birth = "16 august 1401" |
### Context: CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE appellations (
No INTEGER,
Appelation TEXT,
County TEXT,
State T... |
### Context: CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE appellat... |
### 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_35219 (
"Constituency" text,
"Electorate" real,
"Turnout" text,
"Spoilt" text,
"Valid Poll" real,
"Quota" text,
"Seats" real,
"Candidates" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the least vali... |
### Context: CREATE TABLE table_78363 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was driving the Maserati with a Grid smaller than 6, and a Time/Retired of +2 laps... |
### Context: CREATE TABLE table_name_35 (
score VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Record of 9 8?
### Query: SELECT score FROM table_name_35 WHERE record = "9–8" |
### Context: CREATE TABLE Parties (
Party_ID INTEGER,
Party_Details VARCHAR(255)
)
CREATE TABLE Products (
Product_ID INTEGER,
Product_Type_Code CHAR(15),
Product_Name VARCHAR(255),
Product_Price DECIMAL(20,4)
)
CREATE TABLE Locations (
Location_ID INTEGER,
Other_Details VARCHAR(255)
)... |
### Context: CREATE TABLE table_2668352_16 (
party VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party experienced a result of lost re-election democratic-republican hold?
### Query: SELECT party FROM table_2668352_16 WHERE result = "... |
### Context: CREATE TABLE table_name_91 (
order VARCHAR,
red_list VARCHAR,
family VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the order for a red list of 7 in the didelphidae family?
### Query: SELECT order FROM table_name_91 WHERE red_list =... |
### Context: CREATE TABLE table_67254 (
"Institution" text,
"Location" text,
"Nickname" text,
"Current Conference" text,
"Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the classification for the school in the NEC Conference ... |
### 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_1389609_3 (
total_population INTEGER,
region VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the entire inhabitants in Southeast Asia?
### Query: SELECT MIN(total_population) FROM table_1389609_3 WHERE region = "Southe... |
### Context: CREATE TABLE table_204_698 (
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 canadian , van amstel or valiquette ?
### Query: SELECT "na... |
### Context: CREATE TABLE table_name_98 (
code INTEGER,
region VARCHAR,
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest code associated with a type of m for a region less than 17 named, named saint-sylv re?
###... |
### Context: CREATE TABLE table_14945112_1 (
attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of values for attendance for the date October 1, 1978?
### Query: SELECT COUNT(attendance) FROM table_14945112_1 WH... |
### 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 table_name_72 (
record VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has a home of Nashville?
### Query: SELECT record FROM table_name_72 WHERE home = "nashville" |
### 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_28370 (
"Name" text,
"GP" real,
"Solo" real,
"Ast" real,
"Total" real,
"TFL-Yds" text,
"No-Yds" text,
"BrUp" real,
"No.-Yds" text,
"Avg" text,
"TD" real,
"Long" real,
"Rcv-Yds" text,
"FF" real,
"Blkd Kick" real
)
-- Using vali... |
### Context: CREATE TABLE table_202_184 (
id number,
"year" number,
"title" text,
"peak chart positions\naus" number,
"peak chart positions\nnz" number,
"album" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which single by schnell fenster reach... |
### Context: CREATE TABLE enzyme (
id int,
name text,
Location text,
Product text,
Chromosome text,
OMIM int,
Porphyria text
)
CREATE TABLE medicine (
id int,
name text,
Trade_Name text,
FDA_approved text
)
CREATE TABLE medicine_enzyme_interaction (
enzyme_id int,
m... |
### Context: CREATE TABLE table_name_98 (
stake VARCHAR,
occupation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stake has realtor for American equity realty as their occupation?
### Query: SELECT stake FROM table_name_98 WHERE occupation = "realtor ... |
### Context: CREATE TABLE d_icd_diagnoses (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
... |
### 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_train_242 (
"id" int,
"macroalbuminuria" bool,
"hyperlipidemia" bool,
"fasting_serum_triglycerides" int,
"fasting_ldl_cholesterol" int,
"panel_reactive_antibodies" int,
"serum_creatinine" float,
"albumin" float,
"body_mass_index_bmi" float,
"fastin... |
### Context: CREATE TABLE table_25108 (
"Player" text,
"Nat" text,
"Pos" text,
"L Apps" real,
"L G" real,
"C Apps" real,
"C G" real,
"Total Apps" real,
"Total G" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the l g for rubio
... |
### 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 table_204_627 (
id number,
"date" text,
"opponent" text,
"score" text,
"top scorer (total points)" text,
"venue (location)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games took place in the araneta coliseu... |
### Context: CREATE TABLE table_name_74 (
years VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was the SL 350 Model?
### Query: SELECT years FROM table_name_74 WHERE model = "sl 350" |
### Context: CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
... |
### 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_26919_6 (
hebrew VARCHAR,
proto_semitic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the hebrew for *ti -
### Query: SELECT hebrew FROM table_26919_6 WHERE proto_semitic = "*tišʻ-" |
### Context: CREATE TABLE table_11406866_2 (
week VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the week where attendance is 77,098
### Query: SELECT week FROM table_11406866_2 WHERE attendance = "77,098" |
### Context: CREATE TABLE table_16048129_5 (
number_of_people INTEGER,
average_family_size VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest population in regions where the average family size is 2.8 people?
### Query: SELECT MAX(number_of_... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.