text stringlengths 197 8.39k |
|---|
### 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 table_76902 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score for the opponent Vancouver Canucks?
### Query: SELECT "Score" FROM table_7690... |
### Context: CREATE TABLE table_204_876 (
id number,
"ecclesiastical jurisdictions" text,
"latin name" text,
"type" text,
"rite" text,
"ecclesiastical province" text,
"established" text,
"area (km2)" number
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### 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 table_11677691_9 (
school VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school has the player Thomas Tyner?
### Query: SELECT school FROM table_11677691_9 WHERE player = "Thomas Tyner" |
### Context: CREATE TABLE table_14363116_1 (
height INTEGER,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the maximum height for yury berezhko
### Query: SELECT MAX(height) FROM table_14363116_1 WHERE player = "Yury Berezhko" |
### Context: CREATE TABLE table_203_412 (
id number,
"school" text,
"conference" text,
"record (conference)" text,
"head coach" text,
"cws appearances" text,
"cws best finish" text,
"cws record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### 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_28810 (
"Name" text,
"Sweet" text,
"Species" text,
"Gender" text,
"Attribute" text,
"Birthday" text,
"Media Debut" text,
"Voice Actor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- whatis the gender wher ... |
### Context: CREATE TABLE table_name_35 (
jockey VARCHAR,
odds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what player scored 9/1
### Query: SELECT jockey FROM table_name_35 WHERE odds = "9/1" |
### Context: CREATE TABLE table_203_174 (
id number,
"rank" number,
"film" text,
"year" number,
"opening weekend\n(three day)" text,
"inflation-adjusted\n(2014 usd)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in terms of gross what movie is ... |
### Context: CREATE TABLE table_name_86 (
silver INTEGER,
total VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Total smaller than 10, and a Gold larger than 1 then what is the lowest silver?
### Query: SELECT MIN(silver) FROM table_name_86... |
### 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 diagnoses (
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,
reli... |
### 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 zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_13940275_5 (
points_for VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the points for with points against being 556
### Query: SELECT points_for FROM table_13940275_5 WHERE points_against = "556... |
### Context: CREATE TABLE table_name_34 (
opponent VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a Round of 12?
### Query: SELECT opponent FROM table_name_34 WHERE round = "12" |
### Context: CREATE TABLE table_62450 (
"Class" text,
"Number(s)" text,
"Quantity" text,
"Year(s) of Manufacture" text,
"Type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What number was manufactured 1 in 1841?
### Query: SELECT "Number(s)" FROM... |
### Context: CREATE TABLE diagnoses (
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,
reli... |
### Context: CREATE TABLE table_name_12 (
driver VARCHAR,
constructor VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What driver has BRM as a constructor and had more than 30 laps?
### Query: SELECT driver FROM table_name_12 WHERE construc... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
... |
### Context: CREATE TABLE table_26611679_3 (
average VARCHAR,
games_played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the average for 23 games played
### Query: SELECT average FROM table_26611679_3 WHERE games_played = 23 |
### Context: CREATE TABLE Institution (
Institution_id text,
Institution text,
Location text,
Founded real,
Type text,
Enrollment int,
Team text,
Primary_Conference text,
building_id text
)
CREATE TABLE building (
building_id text,
Name text,
Street_address text,
Yea... |
### Context: CREATE TABLE table_name_14 (
result VARCHAR,
event VARCHAR,
method VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Result has the Event, Strikeforce, and Method, Ko (double roundhouse kick)?
### Query: SELECT result FROM table_name_14 ... |
### Context: CREATE TABLE table_21436373_5 (
date_year VARCHAR,
type_of_record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For what year is the type of record 'total attendance-regular season?
### Query: SELECT date_year FROM table_21436373_5 WHERE type_... |
### Context: CREATE TABLE table_name_82 (
green INTEGER,
year VARCHAR,
labour VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the lowest Green with a Year larger than 2010, and a Labour larger than 29? Question 3
### Query: SELECT MIN(green) FROM ta... |
### Context: CREATE TABLE table_13860 (
"Rank" real,
"Heat" real,
"Lane" real,
"Nationality" text,
"Time" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the heat when the nationality is australia and the rank is less than 1?
### Query: SELE... |
### Context: CREATE TABLE table_298883_5 (
dimensions VARCHAR,
value VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the dimensions of the coin worth 200?
### Query: SELECT dimensions FROM table_298883_5 WHERE value = "₩200" |
### Context: CREATE TABLE table_name_89 (
road_team VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Road Team for the game ending with a score of 118-112?
### Query: SELECT road_team FROM table_name_89 WHERE result = "118-112" |
### Context: CREATE TABLE table_name_37 (
time VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What time was the race for the country of france?
### Query: SELECT time FROM table_name_37 WHERE country = "france" |
### Context: CREATE TABLE table_79878 (
"Tournament" text,
"Wins" real,
"Top-10" real,
"Events" real,
"Cuts made" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For more than 3 events in the PGA Championship, what is the fewest number of wins?
### ... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
ME... |
### Context: CREATE TABLE table_29907 (
"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_71 (
position VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position at the venue of lyon?
### Query: SELECT position FROM table_name_71 WHERE venue = "lyon" |
### Context: CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
... |
### Context: CREATE TABLE table_203_436 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the only year mr. wu competed in the olympic games ?
### Quer... |
### Context: CREATE TABLE table_33249 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many people attended the Rams game against the Kansas City Chiefs?
### Query: SELECT "... |
### 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 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_name_72 (
total VARCHAR,
gold VARCHAR,
silver VARCHAR,
nation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of medals of Norway with a silver medal count greater than 6 and a gold medal count ... |
### Context: CREATE TABLE table_name_91 (
player VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the player who went to school at Tampa?
### Query: SELECT player FROM table_name_91 WHERE school_club_team = "tampa" |
### Context: CREATE TABLE table_name_18 (
gold VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who won the gold in 1958?
### Query: SELECT gold FROM table_name_18 WHERE year = "1958" |
### Context: CREATE TABLE table_name_76 (
date VARCHAR,
results¹ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what Date was the Results 1:2?
### Query: SELECT date FROM table_name_76 WHERE results¹ = "1:2" |
### Context: CREATE TABLE table_24104 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Wildcats points" real,
"Opponents" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record of the Wildcats after pla... |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_19812 (
"Software" text,
"Version" text,
"Operating systems" text,
"Developer" text,
"License" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the software with version 1.2.2.0?
### Query: SELECT "Software" FR... |
### 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_203_724 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who finished with the top rank in total medals won ?... |
### 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_16028499_2 (
date VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date did the team play the New York Jets?
### Query: SELECT date FROM table_16028499_2 WHERE opponent = "New York Jets" |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
... |
### Context: CREATE TABLE table_5378 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Record has an Opponent of pittsburgh pirates, and a Date of may 5?
... |
### Context: CREATE TABLE diagnoses (
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,
reli... |
### 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_64 (
date VARCHAR,
type_of_game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the Euro '64 qualifying game?
### Query: SELECT date FROM table_name_64 WHERE type_of_game = "euro '64 qualifying" |
### 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 PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
VoteTypeId number,
CreationDate time
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTas... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_... |
### Context: CREATE TABLE 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_37 (
money___ INTEGER,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest money when the score was 69-68-67-69=273?
### Query: SELECT MAX(money___) AS $__ FROM table_name_37 WHERE score = 69 - 68 -... |
### Context: CREATE TABLE table_51652 (
"Race" text,
"Circuit" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Constructor" text,
"Tyre" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_1341423_23 (
first_elected INTEGER,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was incumbent jim ramstad first elected?
### Query: SELECT MIN(first_elected) FROM table_1341423_23 WHERE incumbent = "Jim... |
### 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 bdmzjzjlb (
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 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 prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icusta... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE flight (
aircraft_code_sequen... |
### Context: CREATE TABLE table_40952 (
"Year" real,
"Date" text,
"Television" text,
"Designated Visitors" text,
"Designated Home" text,
"Stadium" text,
"City" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the visitors when the Atl... |
### Context: CREATE TABLE table_29840 (
"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_32611 (
"Couple" text,
"Score" text,
"Dance" text,
"Music" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Result for Couple Kelly & Alec when they have a Score of 22 (8, 7, 7)?
### Query: S... |
### Context: CREATE TABLE table_57877 (
"Mall name" text,
"Location" text,
"Retail space Sq. feet/(m\u00b2)" text,
"Stores" text,
"Year opened" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which location has 140 stores?
### Query: SELECT "Locatio... |
### Context: CREATE TABLE table_11336 (
"Manufacturer" text,
"Type" text,
"Quantity" real,
"SHT Nos." text,
"GWR Nos." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What GWR is associated with 4?
### Query: SELECT "GWR Nos." FROM table_11336 WHERE... |
### Context: CREATE TABLE Addresses (
address_id INTEGER,
line_1 VARCHAR(120),
line_2 VARCHAR(120),
line_3 VARCHAR(120),
city VARCHAR(80),
zip_postcode VARCHAR(20),
state_province_county VARCHAR(50),
country VARCHAR(50),
other_address_details VARCHAR(255)
)
CREATE TABLE Ref_Address_... |
### Context: CREATE TABLE table_61702 (
"Round" text,
"Date" text,
"Matches" real,
"Clubs" text,
"New entries this round" text,
"Prize money" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is are the highest matches with 5,000 in prize mone... |
### Context: CREATE TABLE table_name_20 (
visitor VARCHAR,
game__number VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is listed for Vistor that has a Game # that is smaller than 67 and has a Home listed as Buffalo?
### Query: SELECT ... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time... |
### Context: CREATE TABLE table_17103 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school has the player Thomas Tyner?
### Query: SELECT "School" FROM table_17103 W... |
### Context: CREATE TABLE table_name_63 (
series_ep VARCHAR,
segment_c VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the series ep for segment c of luxury cars (part 1)
### Query: SELECT series_ep FROM table_name_63 WHERE segment_c = "luxury cars (par... |
### Context: CREATE TABLE Student_Tests_Taken (
registration_id INTEGER,
date_test_taken DATETIME,
test_result VARCHAR(255)
)
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
perso... |
### Context: CREATE TABLE table_name_73 (
rank__week_ VARCHAR,
viewers__millions_ VARCHAR,
rank__night_ VARCHAR,
rating VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weekly rank of the episode with more than 7.14mil viewers, a nightly ra... |
### Context: CREATE TABLE table_train_186 (
"id" int,
"language" string,
"diabetic" string,
"regular_alcohol_intake" int,
"allergy_to_drug" bool,
"alcohol_abuse" bool,
"age" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- ... |
### Context: CREATE TABLE table_28630 (
"Channel" real,
"Channel name" text,
"Callsign" text,
"Signal power" text,
"Broadcast area" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the broadcast are for channel 1?
### Query: SELECT "Broadcast... |
### Context: CREATE TABLE table_23843 (
"Seed" real,
"Player" text,
"Marseille (32 draw)" text,
"Metz (32)" text,
"Lyon (32)" text,
"Paris (48 - byes)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many items were recorded marseille (32 dra... |
### Context: CREATE TABLE table_28273 (
"Sr. No." real,
"Name of Road" text,
"Passes Through - District(s" text,
"Length (in km)" text,
"MDR No." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the MDR number of Rait Charhi Dharamshala?
### ... |
### Context: CREATE TABLE table_name_83 (
europe VARCHAR,
goals VARCHAR,
avgatt VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What european country had more than 14 goals, and 52 538 avg att?
### Query: SELECT europe FROM table_name_83 WHERE goals > 14... |
### Context: CREATE TABLE table_204_195 (
id number,
"team" text,
"home city" text,
"stadium" text,
"capacity" number,
"last season" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name a home city that has at least two teams .
### Query: SELECT... |
### Context: CREATE TABLE table_15780049_8 (
location_attendance VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location attendance for philadelphia
### Query: SELECT location_attendance FROM table_15780049_8 WHERE team = "Philadelphi... |
### 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_30481 (
"Parent unit" text,
"Geschwader Base" text,
"Unit (Gruppe/Staffel)" text,
"Aircraft Type" text,
"Commanding Officer" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the parent unit for ludwig franzisket
#... |
### 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_47 (
opponent_in_the_final VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On October 14, 1996 who was the opponent in the final?
### Query: SELECT opponent_in_the_final FROM table_name_47 WHERE date = "octo... |
### 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_name_48 (
medal VARCHAR,
weight VARCHAR,
boxer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What medal did Michael Conlon, with a weight of fly, win?
### Query: SELECT medal FROM table_name_48 WHERE weight = "fly" AND b... |
### 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_18192 (
"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.
-- Name thedistrict for 1994
### Query: SELECT "District" FRO... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
... |
### Context: CREATE TABLE table_name_56 (
wicket VARCHAR,
batting_partners VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what wicket were Mahela Jayawardene and Thilan Samaraweera batting partners?
### Query: SELECT wicket FROM table_name_56 WHERE b... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.