text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE train (
Train_ID int,
Name text,
Time text,
Service text
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
C... |
### Context: CREATE TABLE table_54216 (
"Character" text,
"Position" text,
"Actor" text,
"First Episode" text,
"Final Episode" text,
"Duration" text,
"Final Episode Count" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What actor plays glen ... |
### 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_203_117 (
id number,
"region/country" text,
"1882-\n1918" number,
"1919-\n1948" number,
"1948-\n1951" number,
"1952-\n1960" number,
"1961-\n1971" number,
"1972-\n1979" number,
"1980-\n1989" number,
"1990-\n2001" number,
"2002-\n2010" number,
... |
### Context: CREATE TABLE table_58822 (
"Champion" text,
"Score" text,
"Runner-up" text,
"Additional participants" text,
"Host location(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Champion had a Score of 9 1?
### Query: SELECT "Champion... |
### Context: CREATE TABLE table_name_55 (
assembled VARCHAR,
summoned VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Assembled, when Summoned is '6 October 1297'?
### Query: SELECT assembled FROM table_name_55 WHERE summoned = "6 october 1297" |
### Context: CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_... |
### Context: CREATE TABLE table_name_8 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the Opponent that has the Record of 7-7-1?
### Query: SELECT opponent FROM table_name_8 WHERE record = "7-7-1" |
### Context: CREATE TABLE table_11850 (
"Tournament" text,
"Winner" text,
"Runner-up" text,
"Score" text,
"Third Place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Runner-up in Tournament of seiersberg
### Query: SELECT "Runner-up" FR... |
### Context: CREATE TABLE time_slot (
time_slot_id varchar(4),
day varchar(1),
start_hr numeric(2),
start_min numeric(2),
end_hr numeric(2),
end_min numeric(2)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE TABLE takes (
I... |
### Context: CREATE TABLE table_name_9 (
uk_base VARCHAR,
troop_carrier_group VARCHAR,
serial VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which UK base has 441st tcg Troop carrier group and 14 as their seir serial?
### Query: SELECT uk_base FROM tabl... |
### Context: CREATE TABLE table_62490 (
"Rank" real,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the gold when silver is 1, rank is larger than 3, total is smaller than 2, bronze is small... |
### Context: CREATE TABLE table_21434618_1 (
team__number2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- give the 1st leg score against ilisiakos
### Query: SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos" |
### Context: CREATE TABLE table_name_94 (
party VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which party is Madeleine Plamondon a member of?
### Query: SELECT party FROM table_name_94 WHERE name = "madeleine plamondon" |
### Context: CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
... |
### Context: CREATE TABLE table_1132588_3 (
fastest_lap VARCHAR,
grand_prix VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fastest lap for the european grand prix?
### Query: SELECT fastest_lap FROM table_1132588_3 WHERE grand_prix = "European g... |
### Context: CREATE TABLE table_14368 (
"Title" text,
"Year" real,
"Platform" text,
"Developer" text,
"Publisher" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the plaform for year more than 2006 and developer of 3g studios
### Query: SELECT ... |
### 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 table_name_4 (
name VARCHAR,
order VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which name had an order number of 1?
### Query: SELECT name FROM table_name_4 WHERE order = 1 |
### Context: CREATE TABLE table_59927 (
"White" text,
"Black" text,
"Year" real,
"Result" text,
"Moves" real,
"Tournament" text,
"Opening" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the result when there's more than 41 moves with ... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTyp... |
### Context: CREATE TABLE table_name_53 (
season VARCHAR,
wins VARCHAR,
loses VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many seasons have Losses larger than 1, and a Competition of fiba europe cup, and Wins smaller than ... |
### Context: CREATE TABLE table_name_82 (
runs VARCHAR,
inns INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of runs for the player with fewer than 9 Inns?
### Query: SELECT COUNT(runs) FROM table_name_82 WHERE inns < 9 |
### Context: CREATE TABLE table_name_56 (
loss VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Loss is recorded for the Date June 2?
### Query: SELECT loss FROM table_name_56 WHERE date = "june 2" |
### Context: CREATE TABLE table_204_430 (
id number,
"model" text,
"origin" text,
"type" text,
"version" text,
"in service" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the first model on the list ?
### Query: SELECT... |
### Context: CREATE TABLE table_6278 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average week with St. Louis Cardinals with less than 80,010 a... |
### Context: CREATE TABLE table_74364 (
"Sl. No." real,
"Train number" real,
"Train name" text,
"Origin" text,
"Destination" text,
"Time" text,
"Service" text,
"Route/Via." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the desti... |
### Context: CREATE TABLE table_53232 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On the date of April 22, which city was a visitor?
### Query: SELECT "Visitor" FROM table_53232 ... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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 manager (
manager_id number,
name text,
country text,
working_year_starts text,
age number,
level number
)
CREATE TABLE railway (
railway_id number,
railway text,
builder text,
built text,
wheels text,
location text,
objectnumber text
)
CRE... |
### Context: CREATE TABLE table_1934 (
"Country" text,
"Contestant" text,
"Age" real,
"Height (cm)" real,
"Height (ft)" text,
"Hometown" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When johannesburg is the hometown who is the contestant?
###... |
### Context: 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,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE Events (
Event_ID INTEGER,
Address_ID INTEGER,
Channel_ID INTEGER,
Event_Type_Code CHAR(15),
Finance_ID INTEGER,
Location_ID INTEGER
)
CREATE TABLE Parties (
Party_ID INTEGER,
Party_Details VARCHAR(255)
)
CREATE TABLE Agreements (
Document_ID INTEGER,
... |
### Context: CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE trip (
id I... |
### 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_77 (
december INTEGER,
points VARCHAR,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which December has Points of 48, and a Game larger than 33?
### Query: SELECT SUM(december) FROM table_name_77 WHERE points =... |
### Context: CREATE TABLE table_204_693 (
id number,
"place" text,
"total" number,
"men" number,
"women" number,
"children" number,
"elderly" number,
"serbs" number,
"jews" number,
"romani" number,
"rusyns" number,
"hungarians" number,
"russians" number
)
-- Using v... |
### 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_23286158_8 (
high_points VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the high points for 30-23
### Query: SELECT high_points FROM table_23286158_8 WHERE record = "30-23" |
### Context: CREATE TABLE table_53060 (
"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 home team score that pl... |
### Context: CREATE TABLE table_name_14 (
wickets INTEGER,
best_bowling VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the highest wickets when best bowling is 5/40 and average is less than 33.09?
### Query: SELECT MAX(wickets) ... |
### Context: CREATE TABLE table_204_742 (
id number,
"release date" text,
"single title" text,
"uk singles chart\nposition" number,
"french\ncharts" number,
"german\ncharts" number,
"irish\ncharts" number,
"various" text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_train_96 (
"id" int,
"gender" string,
"elevated_creatinine" float,
"diabetic" string,
"cerebrovascular_disease" bool,
"moca_score" int,
"parkinsonism" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided abo... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
C... |
### Context: CREATE TABLE table_45451 (
"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 when the score is 70-72=142?
### Query: SELECT "Place" FROM table_45451 WHE... |
### Context: CREATE TABLE zyjzjlb_jybgb (
YLJGDM_ZYJZJLB text,
BGDH number,
YLJGDM number
)
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,
XLM... |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medicat... |
### 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 Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE competition_result (
Competition_ID int,
Club_ID_1 int,
Club_ID_2 int,
Score text
)
CREATE TABLE competition (
Competition_ID int,
Year real,
Competition_type text,
Country text
)
CREATE TABLE player (
Player_ID int,
name text,
Position text,
C... |
### Context: CREATE TABLE table_68373 (
"Nationality" text,
"Position" text,
"Leeds career" text,
"Appearances" real,
"Goals" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number of goals for a player who had a Leeds career from... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE 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_38 (
october INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which October is the lowest one that has an Opponent of washington capitals?
### Query: SELECT MIN(october) FROM table_name_38 WHERE opponent ... |
### Context: CREATE TABLE table_7501 (
"Name" text,
"Date of Birth" text,
"Height" real,
"Weight" real,
"Spike" real,
"Block" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Spike when the Weight was more than 84, and Block was... |
### Context: CREATE TABLE department (
Department_ID int,
Name text,
Creation text,
Ranking int,
Budget_in_Billions real,
Num_Employees real
)
CREATE TABLE head (
head_ID int,
name text,
born_state text,
age real
)
CREATE TABLE management (
department_ID int,
head_ID in... |
### Context: CREATE TABLE table_name_87 (
year VARCHAR,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- English title of am lie had what year?
### Query: SELECT year FROM table_name_87 WHERE english_title = "amélie" |
### Context: CREATE TABLE table_73213 (
"Shareholder" text,
"s A share" real,
"s B share" real,
"Percent of capital" text,
"Percent of votes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the s B share for the shareholder that has 2.55 perc... |
### Context: CREATE TABLE table_39845 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Italy's highest total when there were less than 4 bronze and 1 gold?
... |
### Context: CREATE TABLE table_name_34 (
competition VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Competition had a Result of lost 1-2?
### Query: SELECT competition FROM table_name_34 WHERE result = "lost 1-2" |
### Context: CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName tex... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
... |
### Context: CREATE TABLE table_name_11 (
wnba_game_average INTEGER,
average VARCHAR,
total_for_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest WNBA game average with 9,290 (4th) is the average, and less than 157,934 is the total ... |
### 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_18 (
year VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of years for a 39-31 record
### Query: SELECT COUNT(year) FROM table_name_18 WHERE record = "39-31" |
### Context: CREATE TABLE table_8113 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the college for keenan robinson when overall is more than 102?
### ... |
### Context: CREATE TABLE qtb (
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 election (
Election_ID int,
Representative_ID int,
Date text,
Votes real,
Vote_Percent real,
Seats real,
Place real
)
CREATE TABLE representative (
Representative_ID int,
Name text,
State text,
Party text,
Lifespan text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_33652 (
"Rank" real,
"All-time Rank" text,
"Name" text,
"Debut Year" real,
"Current Club" text,
"Apps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current club with more than 368 apps and a debut ye... |
### Context: CREATE TABLE table_204_863 (
id number,
"state" text,
"city/county" text,
"population served" number,
"charter type" text,
"station name" text,
"web site" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many are charter type ... |
### Context: CREATE TABLE table_12584173_1 (
population__stanthorpe_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum population size in the town of Stanthorpe?
### Query: SELECT MAX(population__stanthorpe_) FROM table_12584173_1 |
### Context: CREATE TABLE table_22811 (
"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 diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE table_name_6 (
away_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the away team for tie number 9?
### Query: SELECT away_team FROM table_name_6 WHERE tie_no = "9" |
### 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 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_49 (
college VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the College with a Player that is dean caliguire?
### Query: SELECT college FROM table_name_49 WHERE player = "dean caliguire" |
### Context: CREATE TABLE stadium (
id int,
name text,
Home_Games int,
Average_Attendance real,
Total_Attendance real,
Capacity_Percentage real
)
CREATE TABLE game (
stadium_id int,
id int,
Season int,
Date text,
Home_team text,
Away_team text,
Score text,
Compet... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE qtb (
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_name_65 (
player VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a t57 as the finish?
### Query: SELECT player FROM table_name_65 WHERE finish = "t57" |
### Context: CREATE TABLE table_name_54 (
l2_cache VARCHAR,
model_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is L2 Cache, when Model Number is Pentium II 350?
### Query: SELECT l2_cache FROM table_name_54 WHERE model_number = "pentium ii 350... |
### Context: CREATE TABLE table_786 (
"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.
-- Cordell Hull is the incumbent in how many districts?
### Que... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_30121096_1 (
poor_law_union VARCHAR,
area__acres__ VARCHAR,
civil_parish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many poor law unions have an area of 262 acres and is in drinagh civil parish?
### Query: SELECT ... |
### Context: CREATE TABLE Products (
Name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Select the names of all the products in the store.
### Query: SELECT Name FROM Products |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE vitalperiodic (
v... |
### 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_3444 (
"Actor/Actress" text,
"Character" text,
"First Appearance" text,
"Last Appearance" text,
"Duration" text,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many characters where actor/actress is la... |
### Context: CREATE TABLE table_74845 (
"Name" text,
"Status" text,
"Population" real,
"District" text,
"Former local authority" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the district of wallasey
### Query: SELECT "District" FROM table... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
... |
### Context: CREATE TABLE table_67492 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the venue for 2004 and position of 25th
### Query: SELECT "Venue" FROM table_67492 W... |
### 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 table_75856 (
"Date" text,
"Time" text,
"Home" text,
"Away" text,
"Score" text,
"Ground" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time with a Score that is 80-34?
### Query: SELECT "Time" FROM table_7... |
### Context: CREATE TABLE table_203_69 (
id number,
"representative" text,
"title" text,
"from" number,
"to" number,
"appointed by" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- count the number of special diplomatic agents and give that number... |
### Context: CREATE TABLE table_28138035_4 (
womens_singles VARCHAR,
year_location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of womens singles for 1999 rio de janeiro
### Query: SELECT COUNT(womens_singles) FROM table_28138035_4 WHERE y... |
### 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_8681 (
"Position" real,
"Club" text,
"Played" real,
"Points" real,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE table_name_86 (
year VARCHAR,
team VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years did Team Newman/Haas Racing receive a 1st place ranking?
### Query: SELECT COUNT(year) FROM table_name_86 WHERE team... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.