text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE table_35025 (
"Round" text,
"Pick" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college is Kellen Davis from?
### Query: SELECT "College" FROM table_35025 WHERE "Play... |
### Context: CREATE TABLE table_name_30 (
player VARCHAR,
college_junior_club_team__league_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player that is part of the team Shawinigan Dynamos (Qmjhl)?
### Query: SELECT player FROM table_name_30 WHE... |
### Context: CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
... |
### Context: CREATE TABLE table_204_673 (
id number,
"name" text,
"egot completed" text,
"emmy" number,
"grammy" number,
"oscar" number,
"tony" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which actor/actress took the most years to compl... |
### Context: CREATE TABLE table_204_941 (
id number,
"#" number,
"date" text,
"visitor" text,
"score" text,
"home" text,
"record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- was the result of the game on the 2nd the same as the game on th... |
### Context: CREATE TABLE Products (
Product_ID VARCHAR(100),
Product_Name VARCHAR(255),
Product_Price DECIMAL(20,4),
Product_Description VARCHAR(255),
Other_Product_Service_Details VARCHAR(255)
)
CREATE TABLE Bookings_Services (
Order_ID INTEGER,
Product_ID INTEGER
)
CREATE TABLE Order_It... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airport_service (
city_code... |
### Context: CREATE TABLE table_74572 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the game where ... |
### Context: CREATE TABLE table_name_89 (
altitude__mslm_ INTEGER,
density__inhabitants_km_2__ VARCHAR,
common_of VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Altitude (mslm) has a Density (inhabitants/km 2) smaller than 1467.5, and a Common of m... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE ta (
campus_job_id int,
s... |
### Context: CREATE TABLE table_name_31 (
catalogno VARCHAR,
year VARCHAR,
remark VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What catalogno was in 1971 and had a remark of #27 us?
### Query: SELECT catalogno FROM table_name_31 WHERE year = 1971 AND ... |
### Context: CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text... |
### Context: CREATE TABLE table_80076 (
"NIR Number" text,
"Introduced" text,
"BR Number(s)" text,
"Built" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which NIR number is for the tso (ex-br class 488 unit 488305) type that has a 6082... |
### Context: CREATE TABLE table_10977 (
"Name" text,
"Street address in Detroit" text,
"Years as tallest" text,
"Height feet / m" text,
"Floors" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which place has 23 floors and a street address in Detroit... |
### Context: CREATE TABLE table_5313 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which republican was first elected in 1886 in the district of ohio 17?
### Query: ... |
### Context: CREATE TABLE table_40907 (
"Block" text,
"Launched" real,
"Operational" real,
"Not usable" real,
"Retired" real,
"Launch Failures" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of not usable satellited wh... |
### Context: CREATE TABLE table_name_53 (
player VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player attended UAB college?
### Query: SELECT player FROM table_name_53 WHERE college = "uab" |
### Context: CREATE TABLE table_76148 (
"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 Position is Running Back what is the Total number of Pick #?
### Query: SELECT C... |
### Context: CREATE TABLE table_name_49 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1938 that has N/A for 1948?
### Query: SELECT 1938 FROM table_name_49 WHERE 1948 = "n/a" |
### Context: CREATE TABLE table_name_51 (
engine VARCHAR,
year VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine has a year later than 2006 and 60 as the points?
### Query: SELECT engine FROM table_name_51 WHERE year > 2006 AND... |
### 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_31868 (
"Year" real,
"Tournaments played" real,
"Cuts made*" real,
"Wins" real,
"Top 10s" real,
"Best finish" text,
"Earnings ($)" real,
"Money list rank" text,
"Scoring average" real,
"Scoring rank" text
)
-- Using valid SQLite, answer the follo... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(... |
### Context: CREATE TABLE table_37971 (
"Tournament" text,
"2001" text,
"2002" text,
"2003" text,
"2004" text,
"2005" text,
"2006" text,
"2007" text,
"2008" text,
"2009" text,
"2011" text,
"2012" text,
"2013" text,
"Career SR" text,
"Career Win-Loss" text
)
... |
### Context: CREATE TABLE table_name_46 (
city VARCHAR,
state VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the city that is located in California when the year is greater than 2009?
### Query: SELECT city FROM table_name_46 WHERE... |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
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 ... |
### Context: CREATE TABLE game (
stadium_id int,
id int,
Season int,
Date text,
Home_team text,
Away_team text,
Score text,
Competition text
)
CREATE TABLE injury_accident (
game_id int,
id int,
Player text,
Injury text,
Number_of_matches text,
Source text
)
CRE... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text... |
### 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresult... |
### Context: CREATE TABLE table_name_3 (
attendance INTEGER,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the lowest Attendance for a Week of 2?
### Query: SELECT MIN(attendance) FROM table_name_3 WHERE week = 2 |
### Context: CREATE TABLE table_28481 (
"Episode" text,
"Theme" text,
"Song choice" text,
"Original recording artist" text,
"Order #" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the order # or Erma Franklin?
### Query... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,... |
### Context: CREATE TABLE table_15681 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which engine scored 9 points?
### Query: SELECT "Engine" FROM table_15681 WHERE "Points" = '... |
### Context: CREATE TABLE table_name_94 (
date VARCHAR,
type_of_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the WC 1974 Qualifying game?
### Query: SELECT date FROM table_name_94 WHERE type_of_game = "wc 1974 qualifying" |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender ... |
### Context: CREATE TABLE table_name_5 (
award VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Award has a date of 2002?
### Query: SELECT award FROM table_name_5 WHERE year = 2002 |
### Context: CREATE TABLE table_12928 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Total has a Year(s) won of 1991?
### Query: SELECT MIN("Total") FROM table_12928 ... |
### Context: CREATE TABLE table_2562572_43 (
cyrillic_name_other_names VARCHAR,
settlement VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many entries are there for cyrillic name other names where settlement is idvor?
### Query: SELECT COUNT(cyrillic_na... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostFeedback (
Id number,
... |
### Context: CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptroller text,
Attorney_General text,
US_Senate text
)
CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
... |
### Context: CREATE TABLE table_24915874_1 (
weight__kg_ VARCHAR,
horse VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the weight in kg when the horse was Alcopop?
### Query: SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop" |
### Context: CREATE TABLE table_name_30 (
open_cup VARCHAR,
division INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Open Cup has a Division larger than 4?
### Query: SELECT open_cup FROM table_name_30 WHERE division > 4 |
### 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_name_36 (
finish VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the finish by the player from West Germany?
### Query: SELECT finish FROM table_name_36 WHERE country = "west germany" |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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 te... |
### Context: CREATE TABLE table_79634 (
"Debut year" real,
"Player" text,
"Games" real,
"Goals" real,
"Years at club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player debuted before 1943, played for the club in 1942, played less than 12 g... |
### Context: CREATE TABLE table_name_24 (
constructor VARCHAR,
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who built michael schumacher's car that went under 31 laps?
### Query: SELECT constructor FROM table_name_24 WHERE laps < ... |
### 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 person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
CYBQDM tex... |
### 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_73633 (
"Institution" text,
"Location" text,
"Team Name" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Year Joined" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the location for the t... |
### Context: CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
Party int,
First_Elected real,
Committee text
)
CREATE TABLE county (
County_Id int,
County_name text,
Population real,
Zip_code text
)
CREATE TABLE party (
Par... |
### Context: CREATE TABLE table_name_13 (
attendance VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance in week 6?
### Query: SELECT attendance FROM table_name_13 WHERE week = 6 |
### Context: CREATE TABLE table_16163 (
"Season" text,
"Team" text,
"League Apps" real,
"League Goals" real,
"Cup Apps" real,
"Cup Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team for season 1911-12?
### Query: SELECT "Tea... |
### Context: CREATE TABLE table_23597 (
"Draw" real,
"Artist" text,
"Song" text,
"Regions" real,
"Studio Audience" real,
"Press Jury" real,
"Oil Rig" real,
"Total Points" real,
"Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE table_name_6 (
canadian_championship VARCHAR,
concacaf_champions_league VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Canadian Championship had CONCACAF Champions League of semifinals?
### Query: SELECT canadian_championship ... |
### Context: CREATE TABLE table_71795 (
"Manager" text,
"Years" text,
"Games" real,
"Wins" real,
"Losses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Jim Hoff's sum of losses and a wins smaller than 12?
### Query: SELECT SUM("Losses") F... |
### Context: CREATE TABLE table_2675 (
"Year" text,
"Date" text,
"Driver" text,
"Team" text,
"Manufacturer" text,
"Laps" text,
"Miles (km)" text,
"Race time" text,
"Average speed (mph)" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE table_name_90 (
chemical_class VARCHAR,
example VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which chemical class uses the example Chloroethane (ethyl chloride)?
### Query: SELECT chemical_class FROM table_name_90 WHERE example =... |
### Context: CREATE TABLE table_name_60 (
runner_s__up VARCHAR,
championship VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In 1946, what is the Runner(s)-up of the Women's Western Open Championship?
### Query: SELECT runner_s__up FROM tab... |
### Context: CREATE TABLE table_43778 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is IATA, when ICAO is 'VHHH'?
### Query: SELECT "IATA" FROM table_43778 WHERE "ICAO" = 'vhh... |
### Context: CREATE TABLE table_65429 (
"Season" text,
"1st round" text,
"2nd round" text,
"3rd round" text,
"Finals" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Season has Finals of out of playoffs.?
### Query: SELECT "Season" FROM table_... |
### Context: CREATE TABLE table_204_779 (
id number,
"network name" text,
"flagship" text,
"programming type" text,
"owner" text,
"affiliates" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the average number of affiliates that a given... |
### Context: CREATE TABLE table_name_69 (
rating INTEGER,
viewers__m_ VARCHAR,
overall_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rating of the episode with 13.47 million viewers and overall rank larger than 6?
### Query: SELECT SUM... |
### Context: CREATE TABLE table_name_67 (
south_marquesan VARCHAR,
sāmoan VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of South Marquesan has a S moan of /matua/?
### Query: SELECT south_marquesan FROM table_name_67 WHERE sāmoan = "/matua/" |
### Context: CREATE TABLE table_72905 (
"Class" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Verb meaning" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the part 4 when part 1 is 'lesan'?
### Query: SELECT "Part 4... |
### Context: CREATE TABLE table_21397 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year and ceremony was the original title (brit... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE table_51517 (
"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 was the home team that had a s... |
### Context: CREATE TABLE table_76461 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has a Location of richfield coliseum?
### Query: SELECT "Score... |
### Context: CREATE TABLE table_name_25 (
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the tournamnet name that has a 2001 of 1r and 2011?
### Query: SELECT tournament FROM table_name_25 WHERE 2001 = "1r" AND 2011 = "a" |
### Context: CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE 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 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 lapTimes (
raceId INTEGER,
driverId INTEGER,
lap INTEGER,
position INTEGER,
time TEXT,
milliseconds INTEGER
)
CREATE TABLE results (
resultId INTEGER,
raceId INTEGER,
driverId INTEGER,
constructorId INTEGER,
number INTEGER,
grid INTEGER,
pos... |
### Context: CREATE TABLE ref_product_categories (
product_category_code text,
product_category_description text,
unit_of_measure text
)
CREATE TABLE products (
product_id number,
color_code text,
product_category_code text,
product_name text,
typical_buying_price text,
typical_sell... |
### 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_70835 (
"Name" text,
"Frequency" text,
"Language" text,
"City" text,
"Website" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which website is in english and has the frequency of an online newspaper ?
### Query: SELE... |
### Context: CREATE TABLE table_13210 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nation has Silver smaller than 16, Bronze larger than 6, and Gold of 2?
... |
### 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_18373 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the party when the incumbent is sidney r. yates?
#... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
... |
### Context: CREATE TABLE loan (
loan_ID varchar(3),
loan_type varchar(15),
cust_ID varchar(3),
branch_ID varchar(3),
amount int
)
CREATE TABLE bank (
branch_ID int,
bname varchar(20),
no_of_customers int,
city varchar(10),
state varchar(20)
)
CREATE TABLE customer (
cust_I... |
### Context: CREATE TABLE table_name_17 (
draws INTEGER,
against VARCHAR,
wins VARCHAR,
losses VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average draws with more than 1 win, 14 losses, and against less than 1836?
### Query: SELECT AV... |
### Context: CREATE TABLE table_203_414 (
id number,
"team 1" text,
"agg." text,
"team 2" text,
"1st leg" text,
"2nd leg" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which team was the top scorer in the 1st leg ?
### Query: SELECT "team 1" F... |
### 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_36 (
result VARCHAR,
original_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Zona Sur's result after being considered for nomination?
### Query: SELECT result FROM table_name_36 WHERE original_title = "zon... |
### Context: CREATE TABLE table_204_29 (
id number,
"rank" number,
"lane" number,
"name" text,
"nationality" text,
"time" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many swimmers swam at least a 1:59.99 race ?
### Quer... |
### Context: CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the 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 table_36828 (
"Title" text,
"Genre" text,
"C=64" text,
"ZX Spectrum" text,
"Others" text,
"Year" real,
"Format" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which ZX Spectrum has a C=64 of c64, and a Title of ankh... |
### Context: CREATE TABLE table_11354111_3 (
overall_rank VARCHAR,
viewers__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the overall rank with viewers (m) of 7.44
### Query: SELECT overall_rank FROM table_11354111_3 WHERE viewers__m_ = "7.44" |
### Context: CREATE TABLE table_name_16 (
school VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What school does the Blue Raiders belong to?
### Query: SELECT school FROM table_name_16 WHERE team = "blue raiders" |
### Context: CREATE TABLE table_47786 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who placed t7 with a score of 70-71=141?
### Query: SELECT "Player" FROM table_47786 WHERE "P... |
### Context: CREATE TABLE table_name_92 (
gold INTEGER,
bronze VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Gold has a Bronze larger than 1, and a Total larger than 80?
### Query: SELECT SUM(gold) FROM table_name_92 WHERE bronze >... |
### Context: CREATE TABLE table_65916 (
"Team" text,
"Winners" real,
"Runners-up" real,
"Years won" text,
"Years runners-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of winners when 1983 is the years won?
### Query: SELECT COU... |
### Context: CREATE TABLE table_name_43 (
car_no VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What car number had a race time of +0.3844?
### Query: SELECT car_no FROM table_name_43 WHERE time_retired = "+0.3844" |
### 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.
-... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.