text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_14903491_1 (
womens_singles VARCHAR,
womens_doubles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the womens singles for raina tzvetkova petya nedelcheva
### Query: SELECT womens_singles FROM table_14903491_1 WHERE wome... |
### 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_23293785_2 (
date VARCHAR,
race_total_pts_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many dates have a total points for race of 180?
### Query: SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180 |
### Context: CREATE TABLE table_23721 (
"Player" text,
"Played" real,
"Legs Won" real,
"Legs Lost" real,
"100+" real,
"140+" real,
"180s" real,
"High Checkout" real,
"3-dart Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How... |
### Context: CREATE TABLE table_67960 (
"Year" real,
"Population (Region total)" real,
"Population (Stanthorpe)" real,
"Population (Warwick)" real,
"Population (Allora)" real,
"Population (Glengallan)" real,
"Population (Rosenthal)" real
)
-- Using valid SQLite, answer the following questi... |
### Context: CREATE TABLE table_77276 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the match where the home team was Leicester City?
### Query:... |
### Context: CREATE TABLE table_39189 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest round for the Minnesota Junior Stars (Mj... |
### Context: CREATE TABLE table_69928 (
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the opponent on november 14, 2005?
### Query: SELECT "Opponent" FROM table_6992... |
### Context: CREATE TABLE table_203_420 (
id number,
"#" number,
"stadium" text,
"capacity" number,
"city" text,
"home team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which stadium has the largest number of seats ?
### Query: SELECT "stadi... |
### Context: CREATE TABLE table_name_54 (
centerfold_model VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Centerfold model has a Date of 3-01?
### Query: SELECT centerfold_model FROM table_name_54 WHERE date = "3-01" |
### Context: CREATE TABLE table_name_47 (
tournament VARCHAR,
finalist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHich Tournament has a Finalist of marat safin (12)?
### Query: SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)" |
### Context: CREATE TABLE table_name_8 (
time_retired VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time/retired for grid 5?
### Query: SELECT time_retired FROM table_name_8 WHERE grid = 5 |
### Context: CREATE TABLE table_29217650_1 (
movies VARCHAR,
december_25 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What film earmed p3.2 million on December 25?
### Query: SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million" |
### Context: CREATE TABLE table_32038 (
"Manager" text,
"Ukraine career" text,
"Played" real,
"Drawn" real,
"Lost" real,
"Win %" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years had a manager who lost more than 1 and drawn more than 11?... |
### Context: CREATE TABLE table_5868 (
"Pick #" text,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the NHL team of dave murphy?
### Query:... |
### Context: CREATE TABLE table_12077 (
"Round" real,
"Overall" text,
"Player" text,
"Position" text,
"Nationality" text,
"Club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Round has a Club team of brandon wheat kings (whl)?
### Q... |
### Context: CREATE TABLE table_name_88 (
authority VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the authority for morrinsville college
### Query: SELECT authority FROM table_name_88 WHERE name = "morrinsville college" |
### Context: CREATE TABLE table_name_50 (
week_4 VARCHAR,
week_9 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Week 4 has a Week 9 of all housemates?
### Query: SELECT week_4 FROM table_name_50 WHERE week_9 = "all housemates" |
### Context: CREATE TABLE table_203_502 (
id number,
"team" text,
"titles" number,
"runner-up" number,
"third place" number,
"fourth place" number,
"years participated" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which school has placed... |
### Context: CREATE TABLE table_49604 (
"Place" text,
"Country" text,
"Qualifying Grand Prix" text,
"Class" text,
"Dates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Class, when Dates is '22 April - 3 May 2009'?
### Query: SELECT "Class"... |
### Context: CREATE TABLE table_54383 (
"Rank" text,
"Sport" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the highest silver for table tennis and bronze more than 0
### Query: SELE... |
### Context: CREATE TABLE table_203_231 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many years were they in tier 3
### Query: SELECT COUNT("season") FROM table_203_231 WHERE... |
### Context: CREATE TABLE table_134987_3 (
target_city__market VARCHAR,
city_of_license VARCHAR,
format VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the market city/market(s) for Rapid City Alternative format?
### Query: SELECT target_city__m... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE medicati... |
### Context: CREATE TABLE table_204_12 (
id number,
"area served" text,
"city of license" text,
"vc" number,
"rf" number,
"callsign" text,
"network" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which city is served by the... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE school (
School_name VARCHAR,
Mascot VARCHAR,
IHSAA_Football_Class VARCHAR,
school_id VARCHAR
)
CREATE TABLE budget (
school_id VARCHAR,
total_budget_percent_invested VARCHAR,
total_budget_percent_budgeted VARCHAR
)
-- Using valid SQLite, answer the following que... |
### Context: CREATE TABLE table_name_56 (
date VARCHAR,
attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What day had 37,500 attending?
### Query: SELECT date FROM table_name_56 WHERE attendance = "37,500" |
### Context: CREATE TABLE table_name_25 (
süskən VARCHAR,
malax VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the S sk n village with a Malax village me ba ?
### Query: SELECT süskən FROM table_name_25 WHERE malax = "meşəbaş" |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
... |
### Context: CREATE TABLE table_48494 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance for the game against the Houston Oilers?
### Query: SELECT "Attend... |
### Context: CREATE TABLE table_4871 (
"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 away team that features ... |
### Context: CREATE TABLE table_29836 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_name_41 (
crowd INTEGER,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Crowd number for the Away team of Richmond?
### Query: SELECT SUM(crowd) FROM table_name_41 WHERE away_team = "richmond" |
### Context: CREATE TABLE table_29437 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_35869 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which event has 12-1 as a record?
### Query: SELECT "Event" FROM table_3586... |
### Context: CREATE TABLE table_203_476 (
id number,
"no." number,
"title (latin)" text,
"title (english translation)" text,
"subject" text,
"date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of titles with a date of novem... |
### Context: CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id ... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE lab (
... |
### Context: CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Ad... |
### Context: CREATE TABLE table_name_64 (
election INTEGER,
mayor VARCHAR,
inhabitants VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what Election year was Adalberto Mosaner the Mayor with less than 16,170 Inhabitants?
### Query: SELECT SUM(election... |
### Context: CREATE TABLE table_52259 (
"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.
-- what is the venue when the home team is melbourne?
#... |
### 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 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_name_98 (
runs VARCHAR,
batting_partners VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many runs did Vijay Hazare and Gul Mohammad score?
### Query: SELECT runs FROM table_name_98 WHERE batting_partners = "vijay hazare a... |
### Context: CREATE TABLE table_58504 (
"Grid" real,
"Driver" text,
"Constructor" text,
"Qual" real,
"Rank" real,
"Laps" real,
"Time/Retired" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor has Chuck Weyant as a driver, 45 l... |
### Context: CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsystolic number,
systemicdiastolic number,
systemicmean number,
observationtime time
)
CREATE TABLE microlab... |
### Context: CREATE TABLE table_40419 (
"Advocate" text,
"Wins" real,
"Losses" real,
"Ties" real,
"Poll wins" real,
"Poll losses" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest poll of the advocate Andy Kindler with poll loss... |
### Context: CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMEN... |
### Context: CREATE TABLE table_27501971_2 (
categoría VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the categoria when E.E.U.U was the country?
### Query: SELECT categoría FROM table_27501971_2 WHERE country = "E.E.U.U" |
### Context: CREATE TABLE table_name_90 (
home_team VARCHAR,
tie_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Home team in Tie no 16?
### Query: SELECT home_team FROM table_name_90 WHERE tie_no = "16" |
### Context: CREATE TABLE table_name_23 (
height VARCHAR,
date_of_birth VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Height of the Player with a Date of Birth of 1979-06-12?
### Query: SELECT height FROM table_name_23 WHERE date_of_birth = "19... |
### Context: CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE COURSE (
CRS_CODE varchar(10),
DEPT_CODE varchar(10),
CRS_DESCRIPTION varchar(35... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CR... |
### Context: CREATE TABLE table_28211674_3 (
mixed_restricted VARCHAR,
mixed_veteran VARCHAR,
u21_womens VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran and Karina Le Fevre won the U... |
### 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 t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
nig... |
### Context: CREATE TABLE has_amenity (
dormid number,
amenid number
)
CREATE TABLE dorm_amenity (
amenid number,
amenity_name text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREAT... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE actor (
actor_id number,
name text,
musical_id number,
character text,
duration text,
age number
)
CREATE TABLE musical (
musical_id number,
name text,
year number,
award text,
category text,
nominee text,
result text
)
-- Using valid SQLi... |
### Context: CREATE TABLE ref_colors (
color_code text,
color_description text
)
CREATE TABLE products (
product_id number,
color_code text,
product_category_code text,
product_name text,
typical_buying_price text,
typical_selling_price text,
product_description text,
other_prod... |
### Context: CREATE TABLE table_name_32 (
frequency VARCHAR,
power VARCHAR,
channel VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On channel 32, when the power is 32 kW horizontal, what is the frequency?
### Query: SELECT frequency FROM table_name_32 W... |
### Context: CREATE TABLE coach (
Coach_ID int,
Coach_name text,
Gender text,
Club_ID int,
Rank int
)
CREATE TABLE player (
Player_ID int,
Sponsor_name text,
Player_name text,
Gender text,
Residence text,
Occupation text,
Votes int,
Rank text
)
CREATE TABLE player_c... |
### Context: CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
Dup... |
### Context: CREATE TABLE table_name_69 (
year INTEGER,
position VARCHAR,
performance VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the earliest year in which long jump was performed in the world indoor Championships in... |
### Context: CREATE TABLE table_19169116_6 (
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many games with high rebounds where in february 26
### Query: SELECT COUNT(high_rebounds) FROM table_19169116_6 WHERE date = "Februar... |
### Context: CREATE TABLE table_25640730_7 (
written_by VARCHAR,
uk_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the UK air date is February 18, 2013, who was the episode written by?
### Query: SELECT written_by FROM table_25640730_7 WHERE uk_... |
### Context: CREATE TABLE table_4108 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Viewers *" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people watc... |
### Context: CREATE TABLE table_1333612_1 (
native_american VARCHAR,
es_mulatto VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the native american with es mulatto being 0.7%
### Query: SELECT native_american FROM table_1333612_1 WHERE es_mulatto = "0... |
### Context: CREATE TABLE table_57830 (
"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.
-- For the roll of 651, what was the lowest Decile?
### Query... |
### Context: CREATE TABLE table_18600760_20 (
land___sqmi__ VARCHAR,
latitude VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the land area (sqmi) for the township at longtidue 47.548602?
### Query: SELECT land___sqmi__ FROM table_18600760_20 WHERE l... |
### Context: CREATE TABLE Documents_to_be_destroyed (
Destruction_Authorised_by_Employee_ID VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the ids of all employees who have authorized destruction.
### Query: SELECT DISTINCT Destruction_Authorised_by_Employ... |
### Context: CREATE TABLE table_11037 (
"Code" real,
"Type" text,
"Name" text,
"Area (km 2 )" real,
"Population" real,
"Regional County Municipality" text,
"Region" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is total population of S... |
### Context: CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
... |
### Context: CREATE TABLE table_50709 (
"Appearances" real,
"School" text,
"Wins" real,
"Losses" real,
"Percent" text,
"Last Appearance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Losses, when Last Appearance is 2... |
### 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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABL... |
### 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_name_25 (
laps VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which laps has a grid of 8?
### Query: SELECT laps FROM table_name_25 WHERE grid = "8" |
### Context: CREATE TABLE table_name_96 (
laps VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps does olivier panis have?
### Query: SELECT laps FROM table_name_96 WHERE driver = "olivier panis" |
### Context: CREATE TABLE table_23982399_1 (
challenger VARCHAR,
overall_episode__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the challenger on Episode 5?
### Query: SELECT challenger FROM table_23982399_1 WHERE overall_episode__number = 5 |
### Context: CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
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,
... |
### Context: CREATE TABLE table_name_74 (
general_classification VARCHAR,
mountains_classification VARCHAR,
stage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the general classification of stage 3 with David Loosli as the mountains classificatio... |
### Context: CREATE TABLE table_61062 (
"Season" text,
"Date" text,
"Winners" text,
"Finalists" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the finalists in the 1972 73 season?
### Query: SELECT "Finalists" FROM table_6106... |
### 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 prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug... |
### Context: CREATE TABLE table_name_3 (
enrollment INTEGER,
team_nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Enrollment for the Pilots?
### Query: SELECT MIN(enrollment) FROM table_name_3 WHERE team_nickname = "pilots" |
### 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 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_65888 (
"Year" real,
"Class" text,
"Team" text,
"Machine" text,
"Points" real,
"Wins" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What class before 1990 has points of 33?
### Query: SELECT "Class" FROM table_6... |
### Context: CREATE TABLE table_name_7 (
player VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player went to college at Tennessee-Chattanooga?
### Query: SELECT player FROM table_name_7 WHERE college = "tennessee-chattanooga" |
### Context: CREATE TABLE table_16323766_3 (
preliminary_average VARCHAR,
semifinal_average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the preliminary average for the one who had a semifinal average of 8.966 (3)?
### Query: SELECT preliminary_a... |
### Context: CREATE TABLE table_53874 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was there a score of 5-1?
### Query: SELECT "Date" FROM table_53874... |
### Context: CREATE TABLE table_name_97 (
director VARCHAR,
gross__worldwide_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which director had a worldwide gross of $30,471?
### Query: SELECT director FROM table_name_97 WHERE gross__worldwide_ = "$30,471" |
### 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 procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
eventtype text,
careunit text,
wardid number,
i... |
### Context: CREATE TABLE table_name_11 (
heat_points VARCHAR,
game VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Heat Points, when Game is less than 80, and when Date is 'April 26 (First Round)'?
### Query: SELECT heat_points FRO... |
### Context: CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point... |
### 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.