context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varc... | Please show me how many employees working on different countries using a bar chart, could you list in asc by the the number of country name? | SELECT COUNTRY_NAME, COUNT(COUNTRY_NAME) FROM countries GROUP BY COUNTRY_NAME ORDER BY COUNT(COUNTRY_NAME) | nvbench |
CREATE TABLE table_53954 (
"Title" text,
"Urdu" text,
"Translation" text,
"Date" real,
"Content" text
) | Which title has content including mysticism, spiritualism, and a translation of the minaret of light? | SELECT "Title" FROM table_53954 WHERE "Content" = 'mysticism, spiritualism' AND "Translation" = 'the minaret of light' | wikisql |
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE... | could you find me a flight from BOSTON to SAN FRANCISCO that stops in DENVER | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CIT... | atis |
CREATE TABLE table_203_460 (
id number,
"player" text,
"played" number,
"legs won" number,
"legs lost" number,
"lwat" number,
"100+" number,
"140+" number,
"180s" number,
"high checkout" number,
"3-dart average" number
) | what were the total number of legs won by ronnie baxter ? | SELECT "legs won" FROM table_203_460 WHERE "player" = 'ronnie baxter' | squall |
CREATE TABLE table_68863 (
"Episode No." real,
"Airdate" text,
"Total Viewers" real,
"Share" text,
"BBC One Weekly Ranking" text
) | What's the share of Episode 1? | SELECT "Share" FROM table_68863 WHERE "Episode No." = '1' | wikisql |
CREATE TABLE table_name_46 (
name VARCHAR,
points VARCHAR
) | What is the name of the player with 305 points? | SELECT name FROM table_name_46 WHERE points = 305 | sql_create_context |
CREATE TABLE table_name_39 (
outcome VARCHAR,
partner VARCHAR
) | What was the outcome when she partnered with mashona washington? | SELECT outcome FROM table_name_39 WHERE partner = "mashona washington" | sql_create_context |
CREATE TABLE field (
fieldid int
)
CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREA... | When did ras bodik and ameet soni collaborate ? | SELECT DISTINCT WRITES_0.paperid FROM author AS AUTHOR_0, author AS AUTHOR_1, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'ras bodik' AND AUTHOR_1.authorname = 'ameet soni' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_1.authorid = AUTHOR_1.authorid AND WRITES_1.paperid = WRITES_0.paperid | scholar |
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
)
CREATE TABLE Po... | Short Answers containing 'same problem'. Finds extremely short Answer posts that contain the phrase 'same problem'
These are almost always very low quality non-answers. | SELECT Id AS "post_link", Body FROM Posts WHERE PostTypeId = 2 AND LENGTH(Body) <= 100 AND (Body LIKE '%can you help%') | sede |
CREATE TABLE Person (
name VARCHAR,
age INTEGER
)
CREATE TABLE PersonFriend (
name VARCHAR,
friend VARCHAR
) | Find the name of the person who has friends with age above 40 but not under age 30? | SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age > 40) EXCEPT SELECT T1.name FROM Person AS T1 JOIN PersonFriend AS T2 ON T1.name = T2.name WHERE T2.friend IN (SELECT name FROM Person WHERE age < 30) | sql_create_context |
CREATE TABLE table_15314901_1 (
velocity_angle_η_in_i_radians VARCHAR,
coordinate_velocity_v_dx_dt_in_units_of_c VARCHAR
) | If the coordinate velocity v dx/dt in units of c is (e 2 1)/(e 2 + 1) 0.761, what is the velocity angle in i-radians? | SELECT velocity_angle_η_in_i_radians FROM table_15314901_1 WHERE coordinate_velocity_v_dx_dt_in_units_of_c = "(e 2 − 1)/(e 2 + 1) ≅ 0.761" | sql_create_context |
CREATE TABLE table_66406 (
"Title" text,
"Series" text,
"Director" text,
"Production Number" real,
"Release date" text
) | What was the production number of the episode titel of pre-hysterical hare? | SELECT COUNT("Production Number") FROM table_66406 WHERE "Title" = 'pre-hysterical hare' | wikisql |
CREATE TABLE table_53639 (
"City" text,
"1970" real,
"1980" real,
"1990" real,
"2000" real,
"2010 est." real
) | How many 1990 growth numbers had less than 10,522 in 1970? | SELECT COUNT("1990") FROM table_53639 WHERE "1970" < '10,522' | wikisql |
CREATE TABLE table_15084 (
"category" text,
"1999" text,
"2000" text,
"2001" text,
"2004" text
) | Which car won the same award in 2000 that the ferrari f133 5.5l v12 456 / 550 won in 2001? | SELECT "2000" FROM table_15084 WHERE "2001" = 'ferrari f133 5.5l v12 456 / 550' | wikisql |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE cost (
costid number,
... | how many patients had their other tested since 2105? | SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT microlab.patientunitstayid FROM microlab WHERE microlab.culturesite = 'other' AND STRFTIME('%y', microlab.culturetakentime) >= '2105') | eicu |
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 number,
C... | 昌乐章病患药品均不超过4295.03元在哪几次医疗记录中给开出的?医疗就诊编号是多少啊? | SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_NM = '昌乐章' AND NOT t_kc21.MED_CLINIC_ID IN (SELECT t_kc21_t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT > 4295.03) | css |
CREATE TABLE table_name_97 (
score VARCHAR,
to_par VARCHAR
) | What was the final score when the player was an e to par? | SELECT score FROM table_name_97 WHERE to_par = "e" | sql_create_context |
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id num... | Users with reputation > 10000 and < 20 answers. | SELECT Users.Id AS "user_link", Users.DisplayName, Users.Reputation, SUM(CASE WHEN Posts.PostTypeId = 1 THEN 1 ELSE 0 END) AS Questions, SUM(CASE WHEN Posts.PostTypeId = 2 THEN 1 ELSE 0 END) AS Answers, Users.UpVotes, Users.DownVotes FROM Users INNER JOIN Posts ON Users.Id = Posts.OwnerUserId AND (Posts.PostTypeId = 1 ... | sede |
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,
religion text,
... | what is the number of patients whose year of birth is less than 1850 and diagnoses short title is intestinal obstruct nos? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "1850" AND diagnoses.short_title = "Intestinal obstruct NOS" | mimicsql_data |
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 number,
C... | 哪些科室在零五年七月二十三日到二零年九月十三日期间手术量是排在前十七的,ID和名称报一下 | SELECT t_kc22.MED_ORG_DEPT_CD, t_kc22.MED_ORG_DEPT_NM FROM t_kc22 WHERE t_kc22.STA_DATE BETWEEN '2005-07-23' AND '2020-09-13' AND t_kc22.MED_INV_ITEM_TYPE = '手术费' GROUP BY t_kc22.MED_ORG_DEPT_CD ORDER BY COUNT(*) DESC LIMIT 17 | css |
CREATE TABLE table_72199 (
"Chart" text,
"Date of Entry" text,
"Entry Position" real,
"Peak Position" real,
"Weeks on Peak" real,
"Weeks on Chart" real,
"Date of Exit" text
) | What is the date of entry for the UK Albums Top 75 chart? | SELECT "Date of Entry" FROM table_72199 WHERE "Chart" = 'UK Albums Top 75' | wikisql |
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... | when did patient 002-39247 get admitted to the hospital via the hospital operating room for the last time during the last year? | SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '002-39247' AND patient.hospitaladmitsource = 'operating room' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1 | eicu |
CREATE TABLE table_name_67 (
state VARCHAR,
region VARCHAR,
host VARCHAR
) | Which state contains the University of Iowa in the mideast region? | SELECT state FROM table_name_67 WHERE region = "mideast" AND host = "university of iowa" | sql_create_context |
CREATE TABLE table_name_10 (
score VARCHAR,
date VARCHAR
) | What was the score for the game on February 29? | SELECT score FROM table_name_10 WHERE date = "february 29" | sql_create_context |
CREATE TABLE table_name_50 (
date VARCHAR,
visitor VARCHAR
) | What date was Montreal the visitor? | SELECT date FROM table_name_50 WHERE visitor = "montreal" | sql_create_context |
CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC t... | 有多少检验报告单是病人48698459在00年9月24日到2010年6月21日内开出其科室编码以及名称都是什么? | SELECT jybgb.KSBM, jybgb.KSMC FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN person_info_hz_info JOIN person_info ON 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 person_info_hz_info.KH = hz_info... | css |
CREATE TABLE table_18557 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | Which district has the incumbent Wilbur Mills and a re-elected result? | SELECT "District" FROM table_18557 WHERE "Result" = 'Re-elected' AND "Incumbent" = 'Wilbur Mills' | wikisql |
CREATE TABLE table_47961 (
"Round" real,
"Pick" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
) | What is the lowest pick with fewer than 3 rounds and more than 4 overall? | SELECT MIN("Pick") FROM table_47961 WHERE "Round" < '3' AND "Overall" > '4' | wikisql |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,... | when patient 002-4486 was prescribed albuterol sulfate (proventil) (2.5 mg/3ml) 0.083% inhalation solution 2.5 mg for the first time since 05/2105? | SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-4486')) AND medication.drugname = 'albuterol sulfate (prov... | eicu |
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
... | what were the three most common lab tests that patients were given in the same hospital encounter after being diagnosed with dmii circ nt st uncntrld in 2101? | SELECT d_labitems.label FROM d_labitems WHERE d_labitems.itemid IN (SELECT t3.itemid FROM (SELECT t2.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id W... | mimic_iii |
CREATE TABLE table_72832 (
"#" real,
"Title" text,
"Publisher" text,
"Release" text,
"Length" text,
"Hardcover" text,
"Paperback" text
) | isbn 0-441-01400-3 is book number? | SELECT "#" FROM table_72832 WHERE "Hardcover" = 'ISBN 0-441-01400-3' | 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob te... | How many patients with coronary artery disease or coronary artery bypass graft myomectomy (sda) as their primary disease stayed at hospital for more than a day? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA" AND demographic.days_stay > "0" | mimicsql_data |
CREATE TABLE table_20354_5 (
abbr VARCHAR,
transcription VARCHAR
) | What's the abbreviation for the month whose transcription is Kumphaphan? | SELECT abbr FROM table_20354_5 WHERE transcription = "kumphaphan" | sql_create_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,
religion text,
... | what is the number of urgent hospital admission patients who have medicare health insurance? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.insurance = "Medicare" | mimicsql_data |
CREATE TABLE table_72168 (
"Year" real,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Location" text,
"Semi-Finalist #1" text,
"Semi-Finalist #2" text
) | When Embry-Riddle made it to the first semi finalist slot, list all the runners up. | SELECT "Runner-Up" FROM table_72168 WHERE "Semi-Finalist #1" = 'Embry-Riddle' | wikisql |
CREATE TABLE table_68121 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Score" text
) | Who is the partner with a score of 6 1, 6 4? | SELECT "Partner" FROM table_68121 WHERE "Score" = '6–1, 6–4' | wikisql |
CREATE TABLE table_name_6 (
date VARCHAR,
event VARCHAR
) | Whcih Date has an Event of 3000 m? | SELECT date FROM table_name_6 WHERE event = "3000 m" | sql_create_context |
CREATE TABLE table_75623 (
"Team" text,
"Games" real,
"Tries" real,
"Conversions" real,
"Total Points" real
) | What is the smallest number of tries with conversions more than 0? | SELECT MIN("Tries") FROM table_75623 WHERE "Conversions" > '0' | wikisql |
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 number,
F... | 统共有多些次的医疗记录中给病号秦涵容开了价值不低于8721.69元的药物?就诊的编号是多少呢? | SELECT gwyjzb.MED_CLINIC_ID FROM gwyjzb WHERE gwyjzb.PERSON_NM = '秦涵容' AND gwyjzb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT >= 8721.69) UNION SELECT fgwyjzb.MED_CLINIC_ID FROM fgwyjzb WHERE fgwyjzb.PERSON_NM = '秦涵容' AND fgwyjzb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc2... | css |
CREATE TABLE table_59721 (
"Country" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | What is the date for the catalog CDZAP22 in the United Kingdom? | SELECT "Date" FROM table_59721 WHERE "Country" = 'united kingdom' AND "Catalog" = 'cdzap22' | wikisql |
CREATE TABLE table_name_4 (
Id VARCHAR
) | What is the 1998 value with A in 1995, A in 1993, and 1r in 1996? | SELECT 1998 FROM table_name_4 WHERE 1995 = "a" AND 1993 = "a" AND 1996 = "1r" | sql_create_context |
CREATE TABLE table_21684 (
"School" text,
"Years of Participation" text,
"OCC Championships" real,
"Last OCC Championship" text,
"Last Outright OCC Championship" text
) | What is the fewest number of occ championships for the team that last won an outright occ championship in 2006? | SELECT MIN("OCC Championships") FROM table_21684 WHERE "Last Outright OCC Championship" = '2006' | wikisql |
CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... | 编号为63658977370检验报告单的报告是哪天的? | SELECT BGRQ FROM jybgb WHERE BGDH = '63658977370' | css |
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE takes (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
grade varchar(2)
)
CREATE TABLE section (
course_id varchar(8),
... | What are the names and average salaries for departments with average salary higher than 42000 Plot them as bar chart, and sort by the X-axis from low to high. | SELECT dept_name, AVG(salary) FROM instructor GROUP BY dept_name ORDER BY dept_name | nvbench |
CREATE TABLE table_name_44 (
score VARCHAR,
opponent VARCHAR
) | Name the score with opponent of javier genaro-martinez | SELECT score FROM table_name_44 WHERE opponent = "javier genaro-martinez" | sql_create_context |
CREATE TABLE table_22546460_4 (
best_female_artist VARCHAR,
best_male_artist VARCHAR
) | What won the Best Female Artist if Best Lyrical Record won the Best Male Artist? | SELECT best_female_artist FROM table_22546460_4 WHERE best_male_artist = "Best Lyrical Record" | sql_create_context |
CREATE TABLE table_29087 (
"Round #" text,
"Home Team" text,
"Win/Loss" text,
"Score" text,
"Opposition" text,
"Location" text
) | Who was the home team when the opposition was Buller? | SELECT "Home Team" FROM table_29087 WHERE "Opposition" = 'Buller' | wikisql |
CREATE TABLE table_name_35 (
finish VARCHAR,
to_par VARCHAR
) | What finish has +21 as the to par? | SELECT finish FROM table_name_35 WHERE to_par = "+21" | sql_create_context |
CREATE TABLE table_42764 (
"Element" text,
"Nuclide" text,
"Z ( p )" real,
"N ( n )" real,
"isotopic mass ( u )" text
) | What is the Element when the Nuclide is 55 mn? | SELECT "Element" FROM table_42764 WHERE "Nuclide" = '55 mn' | wikisql |
CREATE TABLE table_name_80 (
first_performance VARCHAR,
status VARCHAR
) | When was the first performance with a replacement cast? | SELECT first_performance FROM table_name_80 WHERE status = "replacement cast" | sql_create_context |
CREATE TABLE table_name_83 (
mark VARCHAR,
lane VARCHAR,
heat VARCHAR
) | What is the mark for the runner in lanes under 2 and heats under 5? | SELECT mark FROM table_name_83 WHERE lane < 2 AND heat < 5 | sql_create_context |
CREATE TABLE table_4254 (
"Name" text,
"Family name" text,
"Receptor" text,
"Coreceptor" text,
"Property" text,
"Chromosomal location" text
) | What are the coreceptors of the chromosomes in that location 11q22.2-q22.3? | SELECT "Coreceptor" FROM table_4254 WHERE "Chromosomal location" = '11q22.2-q22.3' | wikisql |
CREATE TABLE table_1186 (
"Name" text,
"GP" real,
"Solo" real,
"Ast" real,
"Total" real,
"TFL-Yds" text,
"No-Yds" text,
"BrUp" real,
"QBH" real,
"No.-Yds" text,
"Avg" text,
"TD" real,
"Rcv-Yds" text,
"FF" real,
"Blkd Kick" real
) | Name the tfl-yds for no-yds 1-0 | SELECT "TFL-Yds" FROM table_1186 WHERE "No-Yds" = '1-0' | wikisql |
CREATE TABLE table_238 (
"Power Source" text,
"Number of Generators" real,
"Power Capacity (GW)" text,
"% of total Capacity" text,
"Capacity factor" text,
"Annual Energy (billion kWh)" text,
"% of annual production" text
) | What is the % of annual production of solar? | SELECT "% of annual production" FROM table_238 WHERE "Power Source" = 'Solar' | wikisql |
CREATE TABLE Order_Items (
order_item_id INTEGER,
order_id INTEGER,
product_id INTEGER,
product_quantity VARCHAR(50),
other_order_item_details VARCHAR(255)
)
CREATE TABLE Orders (
order_id INTEGER,
customer_id INTEGER,
date_order_placed DATETIME,
order_details VARCHAR(255)
)
CREATE... | Show sum transaction amount from each transaction type, and list by the total number in asc. | SELECT transaction_type, SUM(transaction_amount) FROM Financial_Transactions GROUP BY transaction_type ORDER BY SUM(transaction_amount) | nvbench |
CREATE TABLE table_75001 (
"Medal" text,
"Name" text,
"Games" text,
"Sport" text,
"Event" text
) | Which Medal had a Games of 2008 beijing, and a Sport of taekwondo? | SELECT "Medal" FROM table_75001 WHERE "Games" = '2008 beijing' AND "Sport" = 'taekwondo' | wikisql |
CREATE TABLE table_43074 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | What is the Tournament with a 3r 2011 and A 2010? | SELECT "Tournament" FROM table_43074 WHERE "2011" = '3r' AND "2010" = 'a' | wikisql |
CREATE TABLE certificate (
eid number(9,0),
aid number(9,0)
)
CREATE TABLE aircraft (
aid number(9,0),
name varchar2(30),
distance number(6,0)
)
CREATE TABLE employee (
eid number(9,0),
name varchar2(30),
salary number(10,2)
)
CREATE TABLE flight (
flno number(4,0),
origin var... | Show me how many destination by destination in a histogram, sort y-axis in ascending order. | SELECT destination, COUNT(destination) FROM flight GROUP BY destination ORDER BY COUNT(destination) | nvbench |
CREATE TABLE table_77702 (
"Episode Air Date" text,
"Audition City" text,
"Date" text,
"First Audition Venue" text,
"Callback Date" text,
"Callback Venue" text,
"Golden Tickets" real
) | How many golden tickets for the georgia international convention center? | SELECT SUM("Golden Tickets") FROM table_77702 WHERE "Callback Venue" = 'georgia international convention center' | wikisql |
CREATE TABLE table_11964154_11 (
high_assists VARCHAR,
team VARCHAR
) | Who had the high assists @ Dallas? | SELECT high_assists FROM table_11964154_11 WHERE team = "@ Dallas" | sql_create_context |
CREATE TABLE table_52264 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Date" text
) | who is the away team when played at junction oval? | SELECT "Away team" FROM table_52264 WHERE "Venue" = 'junction oval' | wikisql |
CREATE TABLE table_name_8 (
fastest_lap VARCHAR,
circuit VARCHAR,
pole_position VARCHAR,
winning_team VARCHAR,
race VARCHAR
) | What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island? | SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island" | sql_create_context |
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the sum of manager_id over the hire_date bin hire_date by weekday, list y axis in asc order. | SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(MANAGER_ID) | nvbench |
CREATE TABLE table_name_26 (
venue VARCHAR,
home_team VARCHAR
) | What is the name of the venue when the home team is Richmond? | SELECT venue FROM table_name_26 WHERE home_team = "richmond" | sql_create_context |
CREATE TABLE artist (
artist_name text,
country text,
gender text,
preferred_genre text
)
CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)
CREATE TABL... | What are the ids of all songs that are available on mp4 or have a higher resolution than 720? | SELECT f_id FROM files WHERE formats = "mp4" UNION SELECT f_id FROM song WHERE resolution > 720 | spider |
CREATE TABLE table_1341690_43 (
candidates VARCHAR,
district VARCHAR
) | Name the candidates for texas 20 | SELECT candidates FROM table_1341690_43 WHERE district = "Texas 20" | sql_create_context |
CREATE TABLE table_66524 (
"New area code" real,
"Where" text,
"Affected area codes" text,
"Format" text,
"Effective date" text
) | Which Affected area codes have an Effective date of august 30, 2014? | SELECT "Affected area codes" FROM table_66524 WHERE "Effective date" = 'august 30, 2014' | wikisql |
CREATE TABLE table_60107 (
"Player" text,
"Tries" real,
"Goals" text,
"Field Goals" real,
"Points" real
) | What is the highest number of points that Justin Hodges earned with 0 field goals and 0 regular goals? | SELECT MAX("Points") FROM table_60107 WHERE "Field Goals" = '0' AND "Goals" = '0' AND "Player" = 'justin hodges' | 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 jybgb.BGDH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb 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 WHERE person_info.XM = '柳娟秀' AND NOT ... | css |
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 patient (
uniquep... | how many hours have passed since the first prescribing of furosemide 80 mg po tabs in patient 013-38992 on the current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-38... | eicu |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | how many patients are diagnosed with malignant carcinoid tumour of the rectum and tested under category hematology in lab? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Malignant carcinoid tumor of the rectum" AND lab."CATEGORY" = "Hematology" | mimicsql_data |
CREATE TABLE table_11942 (
"Year" real,
"Award" text,
"Category" text,
"Nominee" text,
"Result" text
) | Who was nominated for outstanding director of a musical? | SELECT "Nominee" FROM table_11942 WHERE "Category" = 'outstanding director of a musical' | wikisql |
CREATE TABLE table_407 (
"Name" text,
"#" real,
"Position" text,
"Height" text,
"Weight" real,
"Year" text,
"Home Town" text,
"High School" text
) | Which home town was the high school Catholic University located in? | SELECT "Home Town" FROM table_407 WHERE "High School" = 'Catholic University' | wikisql |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
pati... | what were the top three most frequent diagnosis that patients received within 2 months after they were diagnosed with intra-abdominal abscess - intestinal? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'intra-abdominal abscess - intestinal') A... | eicu |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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 te... | 患者被门诊诊断为过敏性皮炎,患者的检测指标675208的参考值范围下限和上限都是啥呀? | SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM mzjzjlb JOIN jyjgzbb ON mzjzjlb.YLJGDM = jyjgzbb.jybgb_YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jyjgzbb.jybgb_JZLSH_MZJZJLB WHERE mzjzjlb.JZZDSM = '过敏性皮炎' AND jyjgzbb.JCZBDM = '675208' | css |
CREATE TABLE table_23532 (
"Year" text,
"Team" text,
"Games" real,
"Mins" text,
"FG%" text,
"3P%" text,
"FT%" text,
"Rebounds" text,
"Assists" text,
"Steals" text,
"Blocks" text,
"Points" text
) | What is the amount of assists when mins is 744:27? | SELECT "Assists" FROM table_23532 WHERE "Mins" = '744:27' | wikisql |
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
... | Get User Info and Tags (Total answers and Accepted Answers). Returns the URL with the user's original inputted URL, the users reputation, number of answers posted, number of answers accepted and stats for supplied tags.
For https://www.codersclan.net/ticket/671 | SELECT answer.OwnerUserId AS "user_link", 'http://stackoverflow.com/users/' + CAST(answer.OwnerUserId AS TEXT(10)) AS "permalink", Users.Reputation, question.Tags, COUNT(answer.Id) AS "total_answers", COUNT(question.Id) AS "accepted_answers" FROM Posts AS answer LEFT OUTER JOIN Posts AS question ON question.AcceptedAns... | sede |
CREATE TABLE table_1341663_10 (
result VARCHAR,
candidates VARCHAR
) | what was the result where the candidates are sam m. gibbons (d) unopposed? | SELECT result FROM table_1341663_10 WHERE candidates = "Sam M. Gibbons (D) Unopposed" | sql_create_context |
CREATE TABLE table_6501 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponent" text,
"Score" text
) | Name the outcome for opponent of micha lla krajicek eleni daniilidou | SELECT "Outcome" FROM table_6501 WHERE "Opponent" = 'michaëlla krajicek eleni daniilidou' | wikisql |
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
Mark... | How many more accepted answers do I need until Tenacious/Unsung Hero. Variation of Eric's query 'How unsung am I?' Zero and non-zero accepted count. Self-accepted answers do not count. How many more accepted answers with a score of zero are needed, assuming no more accepted answers with a score greater than 0, to recei... | SELECT COUNT(a.Id) AS "accepted_answers", SUM(CASE WHEN a.Score = 0 THEN 0 ELSE 1 END) AS "scored_answers", SUM(CASE WHEN a.Score = 0 THEN 1 ELSE 0 END) AS "unscored_answers", SUM(CASE WHEN a.Score = 0 THEN 1 ELSE 0 END) * 1000 / COUNT(a.Id) / 10.0 AS "percentage_unscored", (COUNT(a.Id) / 5 - SUM(CASE WHEN a.Score = 0 ... | sede |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | count the number of patients whose gender is m and diagnoses long title is atherosclerosis of native arteries of the extremities, unspecified? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Atherosclerosis of native arteries of the extremities, unspecified" | mimicsql_data |
CREATE TABLE table_11876 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
) | Who did the Red Sox play against on July 8? | SELECT "Opponent" FROM table_11876 WHERE "Date" = 'july 8' | wikisql |
CREATE TABLE table_14484 (
"Name" text,
"Number" real,
"Released" real,
"Film" text,
"Pieces" real
) | What is the number for Chauchilla Cemetery Battle with less than 511 pieces? | SELECT AVG("Number") FROM table_14484 WHERE "Pieces" < '511' AND "Name" = 'chauchilla cemetery battle' | wikisql |
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... | 查一下从2001-08-28到2006-01-01这期间,患者窦碧玉去9175260这个医疗机构看过几次门诊 | SELECT COUNT(*) FROM person_info JOIN hz_info JOIN mzjzjlb JOIN person_info_hz_info ON person_info.RYBH = person_info_hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND person_info_hz_info.KH = hz_info.KH AND person_info_hz_info.KLX = hz_info.KLX AND person_in... | css |
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number... | Top users of SO in India. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%india%' OR UPPER(Location) LIKE '%IN' ORDER BY Reputation DESC | sede |
CREATE TABLE table_name_77 (
opponent VARCHAR,
date VARCHAR
) | Who was the opponent when the Phillies played on April 28? | SELECT opponent FROM table_name_77 WHERE date = "april 28" | sql_create_context |
CREATE TABLE editor (
Editor_ID int,
Name text,
Age real
)
CREATE TABLE journal_committee (
Editor_ID int,
Journal_ID int,
Work_Type text
)
CREATE TABLE journal (
Journal_ID int,
Date text,
Theme text,
Sales int
) | Just compare the number of journal committees of each editor using a histogram, and list in desc by the bar. | SELECT Name, COUNT(*) FROM editor AS T1 JOIN journal_committee AS T2 ON T1.Editor_ID = T2.Editor_ID GROUP BY T1.Editor_ID ORDER BY Name DESC | nvbench |
CREATE TABLE table_37534 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Record" text
) | Which Game has a November of 22? | SELECT SUM("Game") FROM table_37534 WHERE "November" = '22' | wikisql |
CREATE TABLE table_11909 (
"Model" text,
"Released" text,
"Form factor" text,
"Chipset" text,
"Memory Type" text,
"Max. Memory" text
) | Whas is the released date of the memory type ddr2-667? | SELECT "Released" FROM table_11909 WHERE "Memory Type" = 'ddr2-667' | wikisql |
CREATE TABLE table_name_22 (
color_commentator_s_ VARCHAR,
sideline_reporter_s_ VARCHAR
) | Who was the color commentator for Andrea Kremer and Tiki Barber? | SELECT color_commentator_s_ FROM table_name_22 WHERE sideline_reporter_s_ = "andrea kremer and tiki barber" | sql_create_context |
CREATE TABLE table_name_43 (
rank VARCHAR,
mountain_peak VARCHAR
) | Name the Rank of Rank Mountain Peak of crested butte pb? | SELECT rank FROM table_name_43 WHERE mountain_peak = "crested butte pb" | sql_create_context |
CREATE TABLE table_80360 (
"Tournament" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | Name the 2010 for 2011 of a and 2008 of 1r | SELECT "2010" FROM table_80360 WHERE "2011" = 'a' AND "2008" = '1r' | wikisql |
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE hz_info (
KH text,
KLX number... | 0057514这个医疗机构在零七年四月二十八日到零九年九月八日期间看过新生儿门诊的记录有多少 | SELECT COUNT(*) FROM mzjzjlb WHERE YLJGDM = '0057514' AND JZKSRQ BETWEEN '2007-04-28' AND '2009-09-08' AND ZSEBZ > 0 | css |
CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_... | what are the five most commonly used procedures for patients who had received intraop cardiac pacemak previously within 2 months,? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t3.icd9_code FROM (SELECT t2.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admi... | mimic_iii |
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 wdmzjzjlb (
CYBQDM text,
CYBQ... | 之前患者62748683的就诊医院是哪里 | SELECT mzjzjlb.YLJGDM FROM hz_info JOIN mzjzjlb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE hz_info.RYBH = '62748683' UNION SELECT wdmzjzjlb.YLJGDM FROM hz_info JOIN wdmzjzjlb ON hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmz... | css |
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE paperdataset (
paperid int,
datasetid int
)
CREATE TABLE cite (
citingpaperid int,
citedpaperid int
)
CREATE TABLE writes (
paperid int,
... | Papers authored by Daniel S. Weld in 2011 | SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'Daniel S. Weld' AND paper.year = 2011 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid | scholar |
CREATE TABLE table_5086 (
"Player" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Safeties" real,
"Points" real
) | What is the fewest Points that has Willie Heston as Player and less than 3 as Touchdowns? | SELECT MIN("Points") FROM table_5086 WHERE "Player" = 'willie heston' AND "Touchdowns" < '3' | wikisql |
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... | 审核人的检验报告单07225686974有什么工号和姓名? | SELECT SHRGH, SHRXM FROM jybgb WHERE BGDH = '07225686974' | css |
CREATE TABLE table_47983 (
"Match" text,
"Date" text,
"Location" text,
"Lineup" text,
"Result" text,
"Competition" text
) | What was the lineup for match 12 that had a competition of Group Stage? | SELECT "Lineup" FROM table_47983 WHERE "Competition" = 'group stage' AND "Match" = '12' | wikisql |
CREATE TABLE table_name_69 (
name VARCHAR,
series VARCHAR,
hometown VARCHAR
) | What is the name of the person from series bb1 with a hometown of Bolton? | SELECT name FROM table_name_69 WHERE series = "bb1" AND hometown = "bolton" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.