instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_40991 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries For" text,
"Tries Against" text,
"Try Bonus" text,
"Losing Bonus" text,
"Points" text
)
-- Using valid SQLite, answer the following questions f... | SELECT "Tries For" FROM table_40991 WHERE "Points" = '5' AND "Tries Against" = '2' | wikisql |
CREATE TABLE table_77947 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the competition at the ta'qali venue?
| SELECT "Competition" FROM table_77947 WHERE "Venue" = 'ta''qali' | wikisql |
CREATE TABLE table_23223 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" real,
"Left" real,
"Current Conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is... | SELECT "Location" FROM table_23223 WHERE "Institution" = 'Southern Vermont College' | wikisql |
CREATE TABLE table_name_15 (
round_1 INTEGER,
place VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest round with a place of t15 in a year earlier than 1998?
| SELECT MIN(round_1) FROM table_name_15 WHERE place = "t15" AND year < 1998 | sql_create_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 diagnoses (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.route = "PB" | mimicsql_data |
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_dose text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admityear < "2103" | mimicsql_data |
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,
MZZYZDZ... | SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM person_info JOIN hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZ... | css |
CREATE TABLE table_27737 (
"Institution" text,
"Location" text,
"Nickname" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many inputs joined this institution located in Frank... | SELECT COUNT("Joined") FROM table_27737 WHERE "Location" = 'Franklin, Indiana' | wikisql |
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 demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2124-07-01 03:07:00" | mimicsql_data |
CREATE TABLE Faculty (
FacID VARCHAR
)
CREATE TABLE Student (
advisor VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the ids for all the faculty members who have at least 2 students.
| SELECT T1.FacID FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.advisor GROUP BY T1.FacID HAVING COUNT(*) >= 2 | sql_create_context |
CREATE TABLE table_5200 (
"Pick #" real,
"MLS Team" text,
"Player" text,
"Position" text,
"Affiliation" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many pick numbers did Matt Marquess have?
| SELECT COUNT("Pick #") FROM table_5200 WHERE "Player" = 'matt marquess' | wikisql |
CREATE TABLE wine (
No INTEGER,
Grape TEXT,
Winery TEXT,
Appelation TEXT,
State TEXT,
Name TEXT,
Year INTEGER,
Price INTEGER,
Score INTEGER,
Cases INTEGER,
Drink TEXT
)
CREATE TABLE grapes (
ID INTEGER,
Grape TEXT,
Color TEXT
)
CREATE TABLE appellations (
No... | SELECT Year, AVG(MAX(Score)) FROM wine ORDER BY AVG(MAX(Score)) | nvbench |
CREATE TABLE ship (
ship_id number,
name text,
type text,
built_year number,
class text,
flag text
)
CREATE TABLE captain (
captain_id number,
name text,
ship_id number,
age text,
class text,
rank text
)
-- Using valid SQLite, answer the following questions for the tab... | SELECT COUNT(*), rank FROM captain WHERE age < 50 GROUP BY rank | spider |
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZZMC ... | SELECT AVG(jyjgzbb.JCZBJGDL), MIN(jyjgzbb.JCZBJGDL), MAX(jyjgzbb.JCZBJGDL) FROM mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN jybgb_jyjgzbb ON mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jybgb_jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH AND jybgb_jyjgzbb.JYZBLSH = jyjgzbb.JY... | css |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugst... | SELECT t2.drugname FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =... | eicu |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.formulary_drug_cd = "LIDE4500I" | mimicsql_data |
CREATE TABLE table_64611 (
"Game" real,
"Date" text,
"Opponent" 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 above.
-- wh... | SELECT "High points" FROM table_64611 WHERE "Date" = 'june 16' | wikisql |
CREATE TABLE happy_hour (
hh_id number,
shop_id number,
month text,
num_of_shaff_in_charge number
)
CREATE TABLE shop (
shop_id number,
address text,
num_of_staff text,
score number,
open_year text
)
CREATE TABLE happy_hour_member (
hh_id number,
member_id number,
total... | SELECT month FROM happy_hour GROUP BY month HAVING COUNT(*) > 2 | spider |
CREATE TABLE table_18888159_1 (
points VARCHAR,
_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of points for number 6
| SELECT COUNT(points) FROM table_18888159_1 WHERE _number = 6 | sql_create_context |
CREATE TABLE table_4460 (
"Episode #" real,
"Title" text,
"Air Date" text,
"Demo" text,
"Viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For demo 1.6/5, what is the title?
| SELECT "Title" FROM table_4460 WHERE "Demo" = '1.6/5' | wikisql |
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_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2056" AND lab.fluid = "Blood" | mimicsql_data |
CREATE TABLE table_46608 (
"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 verb meaning when part 2 is band?
| SELECT "Verb meaning" FROM table_46608 WHERE "Part 2" = 'band' | wikisql |
CREATE TABLE table_38872 (
"Year" text,
"1801" text,
"1811" text,
"1821" text,
"1841" text,
"1851" text,
"1861" text,
"1871" text,
"1881" text,
"1891" text,
"1901" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 1811 ... | SELECT "1811" FROM table_38872 WHERE "1801" = '1801' | wikisql |
CREATE TABLE table_name_4 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 1994 when QF is 1999?
| SELECT 1994 FROM table_name_4 WHERE 1999 = "qf" | sql_create_context |
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code tex... | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-10308')) AND lab.labname = 'albumin' ORDER BY lab.labresulttime LIMIT 1 | eicu |
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName text,
Cou... | SELECT P.Score, p.Id AS "post_link", YEAR(p.CreationDate) AS Year, MONTH(p.CreationDate) AS Month, p.Body AS Body FROM Posts AS P WHERE (P.PostTypeId = 1 AND P.Body LIKE '%at home%' AND P.ClosedDate IS NULL) ORDER BY Year, Month LIMIT 1000 | sede |
CREATE TABLE table_name_22 (
pl_gp INTEGER,
reg_gp INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest Pl GP with a Reg GP over 18?
| SELECT MAX(pl_gp) FROM table_name_22 WHERE reg_gp > 18 | sql_create_context |
CREATE TABLE table_67696 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Visitor of minnesota has what average attendance?
| SELECT AVG("Attendance") FROM table_67696 WHERE "Visitor" = 'minnesota' | wikisql |
CREATE TABLE repair (
repair_ID int,
name text,
Launch_Date text,
Notes text
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team text,
Machine_series text,
value_points real,
quality_rank int
)
CREATE TABLE technician (
technician_id real,
Nam... | SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id WHERE T2.value_points > 70 GROUP BY Name ORDER BY COUNT(Name) | nvbench |
CREATE TABLE table_name_97 (
date INTEGER,
u_boats_destroyed__pola_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the highest Date listed that has U-boats destroyed (Pola) of 1?
| SELECT MAX(date) FROM table_name_97 WHERE u_boats_destroyed__pola_ = "1" | sql_create_context |
CREATE TABLE table_name_22 (
tries INTEGER,
conversions INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of tries with conversions more than 0?
| SELECT MIN(tries) FROM table_name_22 WHERE conversions > 0 | sql_create_context |
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
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
)
... | SELECT (SELECT labevents.valuenum FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 94757 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label ... | mimic_iii |
CREATE TABLE table_11679 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Constructor has a Grid smaller than 24, more than 77 laps, and a Driver of jean-pierre beltoi... | SELECT "Constructor" FROM table_11679 WHERE "Grid" < '24' AND "Laps" > '77' AND "Driver" = 'jean-pierre beltoise' | wikisql |
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
... | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 78221 AND DATETIME(admissions.admittime) <= DATETIME(CURRENT_TIME(), '-3 year') ORDER BY admissions.admittime LIMIT 1 | mimic_iii |
CREATE TABLE table_49728 (
"Team" text,
"Sets+" real,
"Sets\u2013" real,
"Points+" real,
"Points\u2013" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Sets- for Team ushua a ibiza voley when the Points- were less than 1418 and the Sets+ ... | SELECT "Sets\u2013" FROM table_49728 WHERE "Points\u2013" < '1418' AND "Sets+" < '41' AND "Team" = 'ushuaïa ibiza voley' | wikisql |
CREATE TABLE wedding (
Church_ID int,
Male_ID int,
Female_ID int,
Year int
)
CREATE TABLE people (
People_ID int,
Name text,
Country text,
Is_Male text,
Age int
)
CREATE TABLE church (
Church_ID int,
Name text,
Organized_by text,
Open_Date int,
Continuation_of t... | SELECT Country, COUNT(*) FROM people GROUP BY Country | nvbench |
CREATE TABLE table_23848 (
"Parish" text,
"Obama%" text,
"Obama#" real,
"McCain%" text,
"McCain#" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many votes did Obama have at 32.12%
| SELECT MIN("Obama#") FROM table_23848 WHERE "Obama%" = '32.12%' | wikisql |
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 questions for the... | SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder | nvbench |
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 microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime tim... | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95057 AND admissions.dischtime IS NULL)) AND transfers.... | mimic_iii |
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_DIRE_NM text,... | SELECT MED_CLINIC_ID FROM t_kc21 WHERE PERSON_ID = '74604701' AND MED_SER_ORG_NO = '0359926' AND OUT_DIAG_DIS_NM LIKE '%使用%' | css |
CREATE TABLE table_name_97 (
defensive VARCHAR,
rookie VARCHAR,
week VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played defensive when the rookie Craig Point was playing during week 6?
| SELECT defensive FROM table_name_97 WHERE rookie = "craig point" AND week = 6 | sql_create_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 prescriptions (
subject_id text,
hadm_id... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2053" AND lab.label = "RBC, Joint Fluid" | mimicsql_data |
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
-- Using valid SQLite, answer the following questions for the tables provide... | SELECT Rank, COUNT(*) FROM captain GROUP BY Rank ORDER BY COUNT(*) | nvbench |
CREATE TABLE table_14673 (
"Type" text,
"Fleet numbers" text,
"Quantity made" text,
"Date made" text,
"GSR Class" text,
"Inchicore Class" text,
"GSR Nos." text,
"Withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the quan... | SELECT "Quantity made" FROM table_14673 WHERE "Fleet numbers" = 'dwwr 50 and 51' | wikisql |
CREATE TABLE table_name_22 (
lost INTEGER,
pct VARCHAR,
total_games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average number lost when the PCT is more than 0.7334 and the total number of games is larger than 48?
| SELECT AVG(lost) FROM table_name_22 WHERE pct > 0.7334 AND total_games > 48 | sql_create_context |
CREATE TABLE table_19283982_4 (
_number_of_total_votes VARCHAR,
_number_of_seats_won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of total votes for # of seats won being 30
| SELECT _number_of_total_votes FROM table_19283982_4 WHERE _number_of_seats_won = 30 | sql_create_context |
CREATE TABLE table_1745843_8 (
part_4 VARCHAR,
part_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the part 4 when part 1 is 'lesan'?
| SELECT part_4 FROM table_1745843_8 WHERE part_1 = "lesan" | sql_create_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 prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CELO-VESSICLE FISTULA" AND demographic.age < "27" | mimicsql_data |
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 text,
JY... | SELECT COUNT(*) FROM wdmzjzjlb WHERE wdmzjzjlb.YLJGDM = '7733540' AND wdmzjzjlb.JZKSMC = '小儿心理科' AND wdmzjzjlb.RYDJSJ BETWEEN '2005-08-04' AND '2018-04-04' UNION SELECT COUNT(*) FROM bdmzjzjlb WHERE bdmzjzjlb.YLJGDM = '7733540' AND bdmzjzjlb.JZKSMC = '小儿心理科' AND bdmzjzjlb.RYDJSJ BETWEEN '2005-08-04' AND '2018-04-04' | css |
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE flight_stop (
flight_id int,
stop... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PHOENIX' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS VE... | atis |
CREATE TABLE table_name_23 (
year VARCHAR,
pts VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year had 13 points?
| SELECT year FROM table_name_23 WHERE pts = 13 | sql_create_context |
CREATE TABLE table_27755603_10 (
game INTEGER,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the game number when the location attendance was the Palace of Auburn Hills 15,166?
| SELECT MIN(game) FROM table_27755603_10 WHERE location_attendance = "The Palace of Auburn Hills 15,166" | sql_create_context |
CREATE TABLE table_6664 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the final score of the 1st round game of club Union Luxembourg?
| SELECT "Score" FROM table_6664 WHERE "Round" = '1st round' AND "Club" = 'union luxembourg' | wikisql |
CREATE TABLE table_name_61 (
county VARCHAR,
cerclis_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What county is CERCLIS ID nhd062004569 in?
| SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569" | sql_create_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 prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.dob_year < "2073" | mimicsql_data |
CREATE TABLE table_24224647_2 (
year_premiered INTEGER,
main_presenter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest year premiered when Benjamin Castaldi is main presenter?
| SELECT MAX(year_premiered) FROM table_24224647_2 WHERE main_presenter = "Benjamin Castaldi" | sql_create_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,
JYZBLSH text,
... | SELECT * FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM... | css |
CREATE TABLE table_27537870_6 (
january VARCHAR,
decision VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the decision was by Lalime, when in January was it made?
| SELECT january FROM table_27537870_6 WHERE decision = "Lalime" | sql_create_context |
CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_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_ty... | SELECT COUNT(*) FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'rigid proctosigmoidoscpy') AND DATETIME(procedures_icd.charttime) >= DATETIME(CURRENT_TIME(), '-1 year') | mimic_iii |
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 int,
range_... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAK... | atis |
CREATE TABLE table_name_4 (
nickname VARCHAR,
institution VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Post University has what nickname?
| SELECT nickname FROM table_name_4 WHERE institution = "post university" | sql_create_context |
CREATE TABLE table_name_66 (
date VARCHAR,
circuit VARCHAR,
race VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the Paul Revere 250 race in the Daytona International Speedway circuit?
| SELECT date FROM table_name_66 WHERE circuit = "daytona international speedway" AND race = "paul revere 250" | sql_create_context |
CREATE TABLE table_2077192_2 (
italian VARCHAR,
english VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What does the word 'frog'in English translate to in Italian?
| SELECT italian FROM table_2077192_2 WHERE english = "frog" | sql_create_context |
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Home, AVG(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home DESC | nvbench |
CREATE TABLE table_74585 (
"District" text,
"Name" text,
"Party" text,
"Residence" text,
"Assumed office" real,
"Next election" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the party of the Senator in District A, who assumed office bef... | SELECT "Party" FROM table_74585 WHERE "Next election" > '2014' AND "Assumed office" < '2013' AND "District" = 'a' | wikisql |
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,
INSURED_STS text,
... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM FROM t_kc22 WHERE t_kc22.MED_CLINIC_ID IN (SELECT gwyjzb.MED_CLINIC_ID FROM gwyjzb WHERE gwyjzb.PERSON_ID = '14901191' AND gwyjzb.MED_SER_ORG_NO = '1058628' AND gwyjzb.IN_HOSP_DATE BETWEEN '2008-03-25' AND '2010-01-16' UNION SELECT fgwyjzb.MED_CLINIC_ID FROM fgwyjzb... | css |
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 text,
SHRGH ... | SELECT JYSQJGMC, JYJGMC FROM jybgb WHERE BGDH = '45721416246' | css |
CREATE TABLE table_68081 (
"Year" real,
"Office" text,
"Candidate" text,
"Popular Votes" real,
"Percentage" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total number of popular votes for mn attorney general in 1994
| SELECT COUNT("Popular Votes") FROM table_68081 WHERE "Office" = 'mn attorney general' AND "Year" = '1994' | wikisql |
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 zyjybgb (
BBCJBW text,
BBDM t... | SELECT AVG(jyjgzbb.JCZBJGDL), MIN(jyjgzbb.JCZBJGDL), MAX(jyjgzbb.JCZBJGDL) FROM mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzbb.YLJGDM AND zyjybgb.BGDH = jyjgzbb.BGDH WHERE mzjzjlb.JZZDSM = '2型糖尿病' AND jyjgzbb.JCZBMC = '... | css |
CREATE TABLE department_store_chain (
dept_store_chain_id number,
dept_store_chain_name text
)
CREATE TABLE suppliers (
supplier_id number,
supplier_name text,
supplier_phone text
)
CREATE TABLE products (
product_id number,
product_type_code text,
product_name text,
product_price ... | SELECT dept_store_chain_id FROM department_stores GROUP BY dept_store_chain_id ORDER BY COUNT(*) DESC LIMIT 2 | spider |
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 labevents (
row_id number,
subject_id number,
hadm_id number,
... | SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'sm bowel endoscopy nec') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 49036) AND S... | mimic_iii |
CREATE TABLE table_name_64 (
tournament VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Tournament has a Date of 20 december 2010?
| SELECT tournament FROM table_name_64 WHERE date = "20 december 2010" | sql_create_context |
CREATE TABLE status (
station_id INTEGER,
bikes_available INTEGER,
docks_available INTEGER,
time TEXT
)
CREATE TABLE station (
id INTEGER,
name TEXT,
lat NUMERIC,
long NUMERIC,
dock_count INTEGER,
city TEXT,
installation_date TEXT
)
CREATE TABLE trip (
id INTEGER,
d... | SELECT date, COUNT(date) FROM weather WHERE max_temperature_f >= 80 ORDER BY COUNT(date) | nvbench |
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 demographic ... | SELECT demographic.dischtime, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "21796" | mimicsql_data |
CREATE TABLE table_name_57 (
debut_in_europe INTEGER,
player VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the latest debut in Europe for Henrik Larsson, with less than 108 games?
| SELECT MAX(debut_in_europe) FROM table_name_57 WHERE player = "henrik larsson" AND games < 108 | sql_create_context |
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
YQBH text... | SELECT zyjzjlb.ZYZDBM, zyjzjlb.ZYZDMC FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX WHERE hz_info.RYBH = '32686638' | css |
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,
has_final_proje... | SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'CICS' AND course.number = 301 AND semester.semester = 'Spring' AND semester.semester_id = course_offering.semester | advising |
CREATE TABLE table_name_11 (
nationality VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the nationality for the player in Round 1?
| SELECT nationality FROM table_name_11 WHERE round = 1 | sql_create_context |
CREATE TABLE table_25826954_7 (
name VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name for norway nationality
| SELECT name FROM table_25826954_7 WHERE nationality = "Norway" | sql_create_context |
CREATE TABLE table_11856 (
"Client" text,
"Windows" text,
"GNU/Linux" text,
"Mac OS X" text,
"Haiku" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which GNU/Linux had no haiku and a client of airdc++?
| SELECT "GNU/Linux" FROM table_11856 WHERE "Haiku" = 'no' AND "Client" = 'airdc++' | wikisql |
CREATE TABLE table_name_11 (
college VARCHAR,
pick VARCHAR,
pba_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which college has a pick below 6 for the PBA team the Shell Turbo Chargers?
| SELECT college FROM table_name_11 WHERE pick < 6 AND pba_team = "shell turbo chargers" | sql_create_context |
CREATE TABLE t_kc21 (
MED_CLINIC_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
COMP_ID text,
PERSON_ID text,
PERSON_NM text,
IDENTITY_CARD text,
SOC_SRT_CARD text,
PERSON_SEX number,
PERSON_AGE number,
IN_HOSP_DATE time,
OUT_HOSP_DATE time,
DIFF_PLACE_FLG numb... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_NM = '鲁雅丽' AND t_kc22.MED_INV_ITEM_TYPE = '检查费' | css |
CREATE TABLE table_14486 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the name of the competition that was held on August 20, 2004?
| SELECT "Competition" FROM table_14486 WHERE "Date" = 'august 20, 2004' | wikisql |
CREATE TABLE table_23439 (
"Episode" text,
"First broadcast" text,
"Rufus guest" text,
"Marcus guest" text,
"Winner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was episode 2x11 aired for the first time?
| SELECT "First broadcast" FROM table_23439 WHERE "Episode" = '2x11' | wikisql |
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZZMC ... | SELECT mzjzjlb.JZKSRQ FROM mzjzjlb WHERE mzjzjlb.JZLSH = '21018594065' | css |
CREATE TABLE table_name_37 (
score VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score, when the Venue is L bker Golf Resort?
| SELECT score FROM table_name_37 WHERE venue = "lübker golf resort" | sql_create_context |
CREATE TABLE table_37846 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What record has February 25 as the date?
| SELECT "Record" FROM table_37846 WHERE "Date" = 'february 25' | wikisql |
CREATE TABLE table_name_62 (
core__number INTEGER,
tdp__w_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of core# with a TDP less than 85.3?
| SELECT SUM(core__number) FROM table_name_62 WHERE tdp__w_ < 85.3 | sql_create_context |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsysto... | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.hospitaldischargetime IS NULL | eicu |
CREATE TABLE table_77446 (
"Game" text,
"Date" text,
"Opponent" text,
"Result" text,
"Dolphins' points" text,
"Opponents' Points" text,
"Record" text,
"Streak" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which o... | SELECT "Opponent" FROM table_77446 WHERE "Attendance" = '73,428' | wikisql |
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_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.age < "49" | mimicsql_data |
CREATE TABLE table_79298 (
"Period" text,
"Internet Explorer" text,
"Firefox" text,
"Chrome" text,
"Safari" text,
"Opera" text,
"Other" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What internet explorer has 1.67% as the opera, with 2012 q... | SELECT "Internet Explorer" FROM table_79298 WHERE "Opera" = '1.67%' AND "Period" = '2012 q1' | wikisql |
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER,
city_code VARCHAR(3)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
... | SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat") | nvbench |
CREATE TABLE table_51459 (
"Episode" text,
"Air Date" text,
"Timeslot" text,
"Households (Rating/Share)" text,
"18-49 (Rating/Share)" text,
"Viewers (m)" real,
"Weekly Rank (#)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the epis... | SELECT "Episode" FROM table_51459 WHERE "18-49 (Rating/Share)" = '2.0/5' | wikisql |
CREATE TABLE user (
uid int,
user_id varchar,
name varchar
)
CREATE TABLE neighborhood (
id int,
business_id varchar,
neighborhood_name varchar
)
CREATE TABLE review (
rid int,
business_id varchar,
user_id varchar,
rating float,
text longtext,
year int,
month varcha... | SELECT business.name FROM business, category AS CATEGORY_0, category AS CATEGORY_1 WHERE business.city = 'Dallas' AND CATEGORY_0.business_id = business.business_id AND CATEGORY_0.category_name = 'Indian' AND CATEGORY_1.business_id = business.business_id AND CATEGORY_1.category_name = 'restaurant' ORDER BY business.rati... | yelp |
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TAB... | SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-9128')) AND microlab.culturesite = 'sputum, tracheal specimen' ORDER ... | eicu |
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeri... | SELECT microlab.organism FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-24513')) AND microlab.culturesite = 'urine, catheter specimen' AND ST... | eicu |
CREATE TABLE table_11622562_1 (
location VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the GTE Suncoast Classic tournament held?
| SELECT location FROM table_11622562_1 WHERE tournament = "GTE Suncoast Classic" | sql_create_context |
CREATE TABLE table_18193 (
"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 the result for New York 11
| SELECT "Result" FROM table_18193 WHERE "District" = 'New York 11' | wikisql |
CREATE TABLE table_1342393_17 (
candidates VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who is the the candidates with incumbent being james o'connor
| SELECT candidates FROM table_1342393_17 WHERE incumbent = "James O'Connor" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.