context
stringlengths
11
9.12k
question
stringlengths
0
1.06k
SQL
stringlengths
2
4.44k
source
stringclasses
28 values
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGE...
What is the number of each allergie type? Return a bar chart, and list in descending by the how many allergytype.
SELECT AllergyType, COUNT(AllergyType) FROM Allergy_Type GROUP BY AllergyType ORDER BY COUNT(AllergyType) DESC
nvbench
CREATE TABLE table_204_87 ( id number, "courthouse" text, "city" text, "street address" text, "jurisdiction" text, "dates of use" text, "named for" text )
how many total courthouses have there been in mississippi ?
SELECT COUNT("courthouse") FROM table_204_87
squall
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...
患者陈梦凡在5107523这个医院被开过单价最高的药是什么?列出药品的编码、名称、单价
SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM, t_kc22.UNIVALENT FROM t_kc22 WHERE t_kc21_t_kc22.MED_CLINIC_ID IN (SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_NM = '陈梦凡' AND t_kc21.MED_SER_ORG_NO = '5107523') ORDER BY t_kc22.UNIVALENT DESC LIMIT 1
css
CREATE TABLE table_26758262_1 ( district INTEGER, location_of_court VARCHAR )
What district is the court located in Tolland?
SELECT MAX(district) FROM table_26758262_1 WHERE location_of_court = "Tolland"
sql_create_context
CREATE TABLE table_18655 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
Who ran for office at the Georgia 4 district in this election?
SELECT "Candidates" FROM table_18655 WHERE "District" = 'Georgia 4'
wikisql
CREATE TABLE table_64410 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Round" text )
What is the highest Against for a game against Bristol City?
SELECT MAX("Against") FROM table_64410 WHERE "Opposing Team" = 'bristol city'
wikisql
CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE Posts ...
Questions that formerly had the [rules-as-written] tag.
SELECT Posts.Id AS "post_link", Posts.Tags, PostHistory.CreationDate FROM Posts, PostHistory WHERE Posts.Id = PostHistory.PostId AND NOT Posts.Tags LIKE '%<rules-as-written>%' AND PostHistory.Text LIKE '%<rules-as-written>%' ORDER BY Posts.Id DESC, PostHistory.CreationDate
sede
CREATE TABLE flight_leg ( flight_id int, leg_number int, leg_flight int ) CREATE TABLE date_day ( month_number int, day_number int, year int, day_name varchar ) CREATE TABLE airport_service ( city_code varchar, airport_code varchar, miles_distant int, direction varchar, ...
i'd like a flight from KANSAS CITY to LOS ANGELES that arrives in LOS ANGELES in the late afternoon
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 ((flight.arrival_time <= 1800 AND flight.arrival_time >= 1600) AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LOS ANGELES' AND flight...
atis
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, ...
count the number of patients whose admission type is elective and days of hospital stay is greater than 11?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "11"
mimicsql_data
CREATE TABLE person_info_hz_info ( RYBH text, KH number, KLX number, YLJGDM number ) 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,...
从2014年2月27日到2014年5月23日,列出病人60960957这期间所有检验报告单中的标本采集部位
SELECT jybgb.BBCJBW 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.KH AND pe...
css
CREATE TABLE ENROLL ( CLASS_CODE varchar(5), STU_NUM int, ENROLL_GRADE varchar(50) ) CREATE TABLE STUDENT ( STU_NUM int, STU_LNAME varchar(15), STU_FNAME varchar(15), STU_INIT varchar(1), STU_DOB datetime, STU_HRS int, STU_CLASS varchar(2), STU_GPA float(8), STU_TRANSFER...
Show the number of courses each instructor taught in a bar chart, and rank y-axis from high to low order.
SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM GROUP BY EMP_FNAME ORDER BY COUNT(EMP_FNAME) DESC
nvbench
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 ...
这个检验结果指标记录68679682654的仪器编号和设备编码以及仪器名字分别都是什么呢?
SELECT SBBM, YQBH, YQMC FROM jyjgzbb WHERE JYZBLSH = '68679682654'
css
CREATE TABLE table_8896 ( "Heat" real, "Lane" real, "Name" text, "Country" text, "Mark" text )
What is the average lane racheal nachula has when the heat is less than 2?
SELECT AVG("Lane") FROM table_8896 WHERE "Heat" < '2' AND "Name" = 'racheal nachula'
wikisql
CREATE TABLE table_817 ( "Stain" text, "Common use" text, "Nucleus" text, "Cytoplasm" text, "Red blood cell (RBC)" text, "Collagen fibers" text, "Specifically stains" text )
The pink cytoplasm will have a nucleus of what color?
SELECT "Nucleus" FROM table_817 WHERE "Cytoplasm" = 'Pink'
wikisql
CREATE TABLE Medication ( Code INTEGER, Name VARCHAR(30), Brand VARCHAR(30), Description VARCHAR(30) ) CREATE TABLE Physician ( EmployeeID INTEGER, Name VARCHAR(30), Position VARCHAR(30), SSN INTEGER ) CREATE TABLE Affiliated_With ( Physician INTEGER, Department INTEGER, Pr...
A pie chart for finding the number of the physicians who are trained in a procedure that costs more than 5000.
SELECT T1.Name, COUNT(T1.Name) FROM Physician AS T1 JOIN Trained_In AS T2 ON T1.EmployeeID = T2.Physician JOIN Procedures AS T3 ON T3.Code = T2.Treatment WHERE T3.Cost > 5000 GROUP BY T1.Name
nvbench
CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE gsi ( course_offering_id int, student_id int ) CREATE TABLE program_requirement ( program_id int, category varchar, min_credit int, additional_req varchar ) CREATE TABLE ta ( campus_job_id int, ...
What is the easiest class that I can take in order to fulfill the PreMajor requirement ?
SELECT DISTINCT course.department, course.name, course.number, program_course.workload, program_course.workload FROM course, program_course WHERE program_course.category LIKE '%PreMajor%' AND program_course.course_id = course.course_id AND program_course.workload = (SELECT MIN(PROGRAM_COURSEalias1.workload) FROM progra...
advising
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...
Show me about the distribution of All_Games and Team_ID in a bar chart, and order by the bars from low to high please.
SELECT All_Games, Team_ID FROM basketball_match ORDER BY All_Games
nvbench
CREATE TABLE table_name_6 ( record VARCHAR, score VARCHAR, visitor VARCHAR )
When the Vancouver Canucks were visiting, what was the record when the score was 4-2?
SELECT record FROM table_name_6 WHERE score = "4-2" AND visitor = "vancouver canucks"
sql_create_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, admission_location t...
Count the number of unmarried patients who have an american indian/alaska native ethnic background.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE"
mimicsql_data
CREATE TABLE table_26448179_3 ( title VARCHAR, us_viewers__millions_ VARCHAR )
What title was watched by 3.8 million US viewers?
SELECT title FROM table_26448179_3 WHERE us_viewers__millions_ = "3.8"
sql_create_context
CREATE TABLE table_32709 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" text )
Which opponent had the result of W 24-14?
SELECT "Opponent" FROM table_32709 WHERE "Result" = 'w 24-14'
wikisql
CREATE TABLE table_name_74 ( year INTEGER, location VARCHAR, anthem VARCHAR )
What is the earliest year it was located in gelredome, arnhem, and a Anthem of technoboy - next dimensional world?
SELECT MIN(year) FROM table_name_74 WHERE location = "gelredome, arnhem" AND anthem = "technoboy - next dimensional world"
sql_create_context
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
For those records from the products and each product's manufacturer, give me the comparison about price over the name , and group by attribute name by a bar chart, and list by the bars in desc.
SELECT T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T1.Name DESC
nvbench
CREATE TABLE patients ( row_id number, subject_id number, gender text, dob time, dod time ) 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 d...
what were the three most commonly prescribed medication for patients that had been previously prescribed with multivitamin iv during the same month since 2104?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'multivitamin iv' AND STRFTIME('%y', prescriptions.startdate) >= '...
mimic_iii
CREATE TABLE table_17023 ( "Number" text, "TMS Number" text, "Builder" text, "Year built" real, "Carriage type" text )
What tms were built nzr addington in the year 1913
SELECT "TMS Number" FROM table_17023 WHERE "Builder" = 'NZR Addington' AND "Year built" = '1913'
wikisql
CREATE TABLE table_203_383 ( id number, "week" number, "date" text, "opponent" text, "time" text, "game site" text, "tv" text, "result/score" text, "record" text, "bye" text )
who was the next opponent after san francisco 49ers ?
SELECT "opponent" FROM table_203_383 WHERE "date" > (SELECT "date" FROM table_203_383 WHERE "opponent" = 'san francisco 49ers') ORDER BY "date" LIMIT 1
squall
CREATE TABLE table_34265 ( "Team" text, "Winners" text, "Runners-Up" text, "Third Place" text, "Fourth Place" text )
How many winners did Halcones uv xalapa have?
SELECT "Winners" FROM table_34265 WHERE "Team" = 'halcones uv xalapa'
wikisql
CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE VoteTypes ( Id number, Name text ) CREATE TABLE ReviewTas...
Top 1000 users in thailand.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS Rank, Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Thailand%' LIMIT 1000
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 demographic ( subject_id text, hadm_id t...
provide the number of patients whose age is less than 56 and drug name is insulin human regular?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "56" AND prescriptions.drug = "Insulin Human Regular"
mimicsql_data
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...
count the number of patients who have already received the ferrous iron compound two or more times since 2102.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'ferrous iron compound' AND STRFTIME('%y', treatment.treatmenttime) >= '2102') GROUP BY patient.uniquepid) ...
eicu
CREATE TABLE table_name_15 ( constructor VARCHAR, driver VARCHAR )
What is the name of the company that constructed the vehicle for Timo Glock?
SELECT constructor FROM table_name_15 WHERE driver = "timo glock"
sql_create_context
CREATE TABLE table_1342292_4 ( district VARCHAR, first_elected VARCHAR )
What district had someone first elected in 1932?
SELECT district FROM table_1342292_4 WHERE first_elected = 1932
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 demographic ( subject_id text, hadm_id t...
what is maximum age of patients whose marital status is married and discharge location is rehab/distinct part hosp?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.discharge_location = "REHAB/DISTINCT PART HOSP"
mimicsql_data
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE paperfield ( fieldid int, pape...
What is the paper of both Convolution and Combinatoric ?
SELECT DISTINCT paperkeyphrase.paperid FROM keyphrase, paperkeyphrase WHERE keyphrase.keyphrasename IN ('Convolution', 'Combinatoric') GROUP BY paperkeyphrase.paperid HAVING COUNT(DISTINCT keyphrase.keyphraseid) = 1
scholar
CREATE TABLE Elimination ( Elimination_ID text, Wrestler_ID text, Team text, Eliminated_By text, Elimination_Move text, Time text ) CREATE TABLE wrestler ( Wrestler_ID int, Name text, Reign text, Days_held text, Location text, Event text )
A bar chart for what is the number of locations of the wrestlers, and sort by the x-axis in descending.
SELECT Location, COUNT(Location) FROM wrestler GROUP BY Location ORDER BY Location DESC
nvbench
CREATE TABLE table_203_803 ( id number, "draw" number, "country" text, "language" text, "artist" text, "song" text, "english translation" text, "place" number, "points" number )
which artist 's song scored the least amount of points , diana or kali ?
SELECT "artist" FROM table_203_803 WHERE "artist" IN ('dina', 'kali') ORDER BY "points" LIMIT 1
squall
CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( row_id number, subject_id nu...
let's count the number of patients who received a entral infus nutrit sub procedure within 2 months after receiving a contrast aortogram procedure until 2104.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'contrast ao...
mimic_iii
CREATE TABLE table_27698941_2 ( high_points VARCHAR, date VARCHAR )
How many people led in points during the game on October 5?
SELECT COUNT(high_points) FROM table_27698941_2 WHERE date = "October 5"
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...
患者方成双的既往病历里有多少种病,时间从11年7月30日到16年1月19日
SELECT COUNT(DISTINCT IN_DIAG_DIS_CD) FROM t_kc21 WHERE PERSON_NM = '方成双' AND IN_HOSP_DATE BETWEEN '2011-07-30' AND '2016-01-19'
css
CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER ) CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, baseP...
How many rooms have king beds? Report the number for each decor type Plot them as bar chart, show X from low to high order.
SELECT decor, COUNT(*) FROM Rooms WHERE bedType = "King" GROUP BY decor ORDER BY decor
nvbench
CREATE TABLE ReviewTasks ( Id number, ReviewTaskTypeId number, CreationDate time, DeletionDate time, ReviewTaskStateId number, PostId number, SuggestedEditId number, CompletedByReviewTaskId number ) CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId...
Open and Closed questions per tag.
SELECT COALESCE(c.TargetTagName, b.TargetTagName, a.TargetTagName, Tags.TagName) AS "tagname", COUNT(Posts.ClosedDate) AS closed, COUNT(*) - COUNT(Posts.ClosedDate) AS "open" FROM Posts JOIN PostTags ON (Posts.Id = PostTags.PostId) JOIN Tags ON (PostTags.TagId = Tags.Id) LEFT JOIN TagSynonyms AS a ON (Tags.TagName = a....
sede
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...
65516243这位患者的223859指标在一四年十一月十二日至一六年九月四日期间的情况
SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN mzjzjlb_jybgb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb....
css
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 chartevents ( row_id number, subject_id number, had...
count the number of patients that were diagnosed since 3 years ago with oth/uns inf-cen ven cath.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT diagnoses_icd.hadm_id FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'oth/uns inf-cen ven cath') AND DATETIME(diagnoses_icd.char...
mimic_iii
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, MED_DIRE_CD tex...
在2008年3月15日到2013年6月1日内,因疾病L40.551住院的平均费用在神经内科是多少钱?
SELECT AVG(gwyjzb.MED_AMOUT) FROM gwyjzb WHERE gwyjzb.MED_ORG_DEPT_NM = '神经内科' AND gwyjzb.IN_HOSP_DATE BETWEEN '2008-03-15' AND '2013-06-01' AND gwyjzb.IN_DIAG_DIS_CD = 'L40.551' AND gwyjzb.CLINIC_TYPE = '住院' UNION SELECT AVG(fgwyjzb.MED_AMOUT) FROM fgwyjzb WHERE fgwyjzb.MED_ORG_DEPT_NM = '神经内科' AND fgwyjzb.IN_HOSP_DAT...
css
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, MED_DIRE_CD tex...
查一下03年11月8日到21年11月28日这期间,科室0798在治疗疾病牙齿楔状缺损上的平均住院费用
SELECT AVG(zyb.MED_CLINIC_ID) FROM zyb WHERE zyb.MED_ORG_DEPT_NM = '0798' AND zyb.IN_HOSP_DAYS BETWEEN '2003-11-08' AND '2021-11-28' AND zyb.IN_HOSP_DATE = '牙齿楔状缺损'
css
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) CREATE TABLE fzzmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, ...
查询在医院0257610患者33343634的门诊诊断包括期的门诊就诊记录
SELECT * FROM hz_info JOIN zzmzjzjlb ON hz_info.YLJGDM = zzmzjzjlb.YLJGDM AND hz_info.KH = zzmzjzjlb.KH AND hz_info.KLX = zzmzjzjlb.KLX WHERE hz_info.RYBH = '33343634' AND hz_info.YLJGDM = '0257610' AND zzmzjzjlb.JZZDSM LIKE '%期%' UNION SELECT * FROM hz_info JOIN fzzmzjzjlb ON hz_info.YLJGDM = fzzmzjzjlb.YLJGDM AND hz_...
css
CREATE TABLE table_name_64 ( year INTEGER, engine VARCHAR )
What was the lowest year that the engine Ilmor 2175a 3.5 v10 was used?
SELECT MIN(year) FROM table_name_64 WHERE engine = "ilmor 2175a 3.5 v10"
sql_create_context
CREATE TABLE table_58658 ( "Matches" real, "Wins" real, "Draw" real, "Losses" real, "Against" real )
How many wins has more than 165 against?
SELECT MAX("Wins") FROM table_58658 WHERE "Against" > '165'
wikisql
CREATE TABLE table_43749 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
Who is the player from the United States with a score of 71-72=143?
SELECT "Player" FROM table_43749 WHERE "Country" = 'united states' AND "Score" = '71-72=143'
wikisql
CREATE TABLE table_name_96 ( polling_firm VARCHAR, date_of_polling VARCHAR, green VARCHAR, link VARCHAR, liberal VARCHAR )
Which september 26 28, 2011 polling firm had a Link of html, less than 36 liberals, and less than 8 green?
SELECT polling_firm FROM table_name_96 WHERE link = "html" AND liberal < 36 AND green < 8 AND date_of_polling = "september 26–28, 2011"
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, ...
被门诊诊断患者57039168为脑梗死后遗症的的妊娠相关性血浆蛋白-A的结果定量及其单位是什么情况?
SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN txmzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jyb...
css
CREATE TABLE table_name_72 ( pick VARCHAR, year VARCHAR )
What was 1948's pick?
SELECT pick FROM table_name_72 WHERE year = 1948
sql_create_context
CREATE TABLE table_name_95 ( driver VARCHAR, grid VARCHAR )
What driver shows grid as 18?
SELECT driver FROM table_name_95 WHERE grid = 18
sql_create_context
CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, DeletionDate time, Score number, ViewCount number, Body text, OwnerUserId number, OwnerDisplayName text, LastEditorUserId number, LastEditorDisplayName text...
Top 1000 Users 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 '%IND' ORDER BY Reputation DESC LIMIT 1000
sede
CREATE TABLE table_name_26 ( tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR )
Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?
SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"
sql_create_context
CREATE TABLE table_76644 ( "Target/Approach" text, "Candidate Name" text, "Trial Phase" text, "Trial Start Date" text, "Expected End Date" text )
What is Candidate Name, when Target/Approach is 'vaccine to amyloid-beta'?
SELECT "Candidate Name" FROM table_76644 WHERE "Target/Approach" = 'vaccine to amyloid-beta'
wikisql
CREATE TABLE table_40896 ( "Rank" real, "Name" text, "Years" text, "Matches" text, "Goals" real )
Can you tell me the Matches that has the Rank smaller than 6, and the Years of 1943-62?
SELECT "Matches" FROM table_40896 WHERE "Rank" < '6' AND "Years" = '1943-62'
wikisql
CREATE TABLE table_name_33 ( model VARCHAR, displacement VARCHAR )
What model has an engine of 1,868 cc?
SELECT model FROM table_name_33 WHERE displacement = "1,868 cc"
sql_create_context
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
calculate the five year survival rate among the patients who were prescribed protonix after they were diagnosed with hypokalemia - severe ( < 2.8 meq/dl).
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
eicu
CREATE TABLE table_37136 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
What was the location of the bout that lasted 5:00 and led to a 6-2-1 record?
SELECT "Location" FROM table_37136 WHERE "Time" = '5:00' AND "Record" = '6-2-1'
wikisql
CREATE TABLE table_name_10 ( active_pixels VARCHAR, model VARCHAR )
What are the active pixels of the cantare model?
SELECT active_pixels FROM table_name_10 WHERE model = "cantare"
sql_create_context
CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDate time, RejectionDate time, OwnerUserId number, Comment text, Text text, Title text, Tags text, RevisionGUID other ) CREATE TABLE PostFeedback ( Id number, PostId number, IsAnon...
What tags have the highest percentage of 'rookies' asking questions?.
SELECT t.TagName, COUNT(p.Id) AS question_count, SUM(CASE WHEN u.Reputation <= 10 THEN 1.000 ELSE 0.000 END) AS low_rep, AVG(CASE WHEN u.Reputation <= 10 THEN 1.000 ELSE 0.000 END) AS low_rep_pct FROM Posts AS p INNER JOIN Users AS u ON u.Id = p.OwnerUserId INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags ...
sede
CREATE TABLE outputevents ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, value number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org...
what was the name of the drug prescribed to patient 7112, two or more times during this month?
SELECT t1.drug FROM (SELECT prescriptions.drug, COUNT(prescriptions.startdate) AS c1 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 7112) AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 m...
mimic_iii
CREATE TABLE table_57881 ( "Season" text, "Match" text, "Result" text, "League" text, "Date" text )
What match was on 30 january 1938?
SELECT "Match" FROM table_57881 WHERE "Date" = '30 january 1938'
wikisql
CREATE TABLE table_12294557_3 ( canadian_airdate VARCHAR, us_airdate VARCHAR )
what are all the Canadian air dates where the u.s. air date is may 1, 2009
SELECT canadian_airdate FROM table_12294557_3 WHERE us_airdate = "May 1, 2009"
sql_create_context
CREATE TABLE table_2668243_18 ( district VARCHAR, party VARCHAR )
Name the district for anti-jacksonian
SELECT district FROM table_2668243_18 WHERE party = "Anti-Jacksonian"
sql_create_context
CREATE TABLE table_name_76 ( representative VARCHAR, party VARCHAR )
Name the representative for party of whig
SELECT representative FROM table_name_76 WHERE party = "whig"
sql_create_context
CREATE TABLE table_23793770_2 ( rating VARCHAR, total_viewers__in_millions_ VARCHAR )
What was the reating share when the total viewers was 11.49 million?
SELECT rating / SHARE(18 AS –49) FROM table_23793770_2 WHERE total_viewers__in_millions_ = "11.49"
sql_create_context
CREATE TABLE table_name_88 ( name VARCHAR, cerclis_id VARCHAR )
Which site has the CERCLIS ID fld004092532?
SELECT name FROM table_name_88 WHERE cerclis_id = "fld004092532"
sql_create_context
CREATE TABLE table_7110 ( "Year" real, "Conventional plans" text, "HMOs" text, "PPOs" text, "POS plans" text )
How many years have HMOs been 27% and POS plans 18%?
SELECT COUNT("Year") FROM table_7110 WHERE "HMOs" = '27%' AND "POS plans" = '18%'
wikisql
CREATE TABLE table_69840 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real )
Which team had fewer than 167 points in the 250cc class?
SELECT "Team" FROM table_69840 WHERE "Points" < '167' AND "Class" = '250cc'
wikisql
CREATE TABLE table_65492 ( "Team" text, "Played" real, "Highest" real, "Lowest" real, "Total" real, "Average" real )
What is the average for the team with highest less than 13,500 and games played are fewer than 5?
SELECT MIN("Average") FROM table_65492 WHERE "Highest" < '13,500' AND "Played" < '5'
wikisql
CREATE TABLE Products ( product_id INTEGER, product_details VARCHAR(255) ) CREATE TABLE Customers ( customer_id INTEGER, payment_method VARCHAR(15), customer_name VARCHAR(80), date_became_customer DATETIME, other_customer_details VARCHAR(255) ) CREATE TABLE Addresses ( address_id INTEG...
A bar chart for what are the number of the dates when customers with ids between 10 and 20 became customers?
SELECT date_became_customer, COUNT(date_became_customer) FROM Customers WHERE customer_id BETWEEN 10 AND 20
nvbench
CREATE TABLE catalog_contents_additional_attributes ( catalog_entry_id number, catalog_level_number number, attribute_id number, attribute_value text ) CREATE TABLE attribute_definitions ( attribute_id number, attribute_name text, attribute_data_type text ) CREATE TABLE catalog_contents ( ...
Find the attribute data type for the attribute named 'Green'.
SELECT attribute_data_type FROM attribute_definitions WHERE attribute_name = "Green"
spider
CREATE TABLE table_69934 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
Who was the opponent on December 17, 1995?
SELECT "Opponent" FROM table_69934 WHERE "Date" = 'december 17, 1995'
wikisql
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_DIRE_NM text,...
许静婉这名患者在84336968126医疗就诊中开过什么药?每种药的用量和使用频次如何
SELECT t_kc22.SOC_SRT_DIRE_NM, t_kc22.EACH_DOSAGE, t_kc22.USE_FRE FROM t_kc22 JOIN t_kc21_t_kc22 JOIN t_kc21 ON t_kc21_t_kc22.MED_EXP_DET_ID = t_kc22.MED_EXP_DET_ID AND t_kc21_t_kc22.MED_CLINIC_ID = t_kc21.MED_CLINIC_ID WHERE t_kc21.MED_CLINIC_ID = '84336968126'
css
CREATE TABLE table_name_42 ( COUNT VARCHAR, winner VARCHAR )
How many events did clay win?
SELECT NOT COUNT AS event FROM table_name_42 WHERE winner = "clay"
sql_create_context
CREATE TABLE table_name_74 ( decile INTEGER, name VARCHAR )
What is the avererage decile of Francis Douglas Memorial College?
SELECT AVG(decile) FROM table_name_74 WHERE name = "francis douglas memorial college"
sql_create_context
CREATE TABLE table_name_56 ( cover_model VARCHAR, pictorials VARCHAR )
Which Cover model has a Pictorials of brande roderick-pmoy, naked news?
SELECT cover_model FROM table_name_56 WHERE pictorials = "brande roderick-pmoy, naked news"
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
let me know the birth date of patient kelly gallardo.
SELECT demographic.dob FROM demographic WHERE demographic.name = "Kelly Gallardo"
mimicsql_data
CREATE TABLE table_63511 ( "Total fat" text, "Saturated fat" text, "Monounsaturated fat" text, "Polyunsaturated fat" text, "Smoke point" text )
What is the monounsaturated fat with a smoke point of c (), a total fat of 100g, 11g of polyunsaturated fat, and 14g of saturated fat?
SELECT "Monounsaturated fat" FROM table_63511 WHERE "Smoke point" = '°c ()' AND "Total fat" = '100g' AND "Polyunsaturated fat" = '11g' AND "Saturated fat" = '14g'
wikisql
CREATE TABLE table_51951 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
What is his record for fights that went over 2 rounds in the Event of raging wolf 6: mayhem in the mist?
SELECT "Record" FROM table_51951 WHERE "Round" > '2' AND "Event" = 'raging wolf 6: mayhem in the mist'
wikisql
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 medication ( medi...
when did patient 031-19622 until 05/2105 receive bronchial lavage microbiology test for the last time?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-19622')) AND microlab.culturesite = 'bronchial lavage' AND ST...
eicu
CREATE TABLE zyjzjlb_jybgb ( YLJGDM_ZYJZJLB text, BGDH number, YLJGDM number ) 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 te...
查询一下在医疗就诊35405343075时患者00086943的检验报告单?
SELECT * FROM jybgb WHERE jybgb.JZLSH = '35405343075'
css
CREATE TABLE table_17013 ( "Institution" text, "Location" text, "Founded" real, "Type" text, "Enrollment" real, "Nickname" text, "Joined" real, "Left" real, "Current Conference" text )
How many times did anderson university leave?
SELECT COUNT("Left") FROM table_17013 WHERE "Institution" = 'Anderson University'
wikisql
CREATE TABLE Invoices ( Invoice_ID INTEGER, Order_ID INTEGER, payment_method_code CHAR(15), Product_ID INTEGER, Order_Quantity VARCHAR(288), Other_Item_Details VARCHAR(255), Order_Item_ID INTEGER ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15), Workshop_...
A pie chart for what are the number of the names of the workshop groups that have bookings with status code 'stop'?
SELECT Store_Name, COUNT(Store_Name) FROM Bookings AS T1 JOIN Drama_Workshop_Groups AS T2 ON T1.Workshop_Group_ID = T2.Workshop_Group_ID WHERE T1.Status_Code = "stop" GROUP BY Store_Name
nvbench
CREATE TABLE table_1697190_2 ( money_list_rank VARCHAR, best_finish VARCHAR )
when Casey Martin's best finish was t-65, where did he land in the money list rankings?
SELECT money_list_rank FROM table_1697190_2 WHERE best_finish = "T-65"
sql_create_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 labevents ( row_id number, subject_id number, hadm_id number, itemid number, cha...
what is the totality of patient 27591's input until 1567 days ago?
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27591)) AND DATETIME(inputevents_cv.charttime) <= DATETIME(CURRENT_TIME(), '-1567 day')
mimic_iii
CREATE TABLE table_name_79 ( record VARCHAR, game VARCHAR )
What is Record, when Game is '36'?
SELECT record FROM table_name_79 WHERE game = 36
sql_create_context
CREATE TABLE table_dev_53 ( "id" int, "anemia" bool, "gender" string, "hemoglobin_a1c_hba1c" float, "dyslipidemia" bool, "hct" int, "hematocrit_hct" float, "persistent_macroalbuminuria" bool, "urine_albumin" int, "high_density_lipoprotein_cholesterol_hdl_c" int, "coagulopathy...
anemia ( hemoglobin < 11 g / dl in female , < 12 g / dl in male ) or known coagulopathy
SELECT * FROM table_dev_53 WHERE anemia = 1 OR (hemoglobin_a1c_hba1c < 11 AND gender = 'female') OR (hemoglobin_a1c_hba1c < 12 AND gender = 'male') OR coagulopathy = 1
criteria2sql
CREATE TABLE table_name_96 ( date_withdrawn VARCHAR, fleet_numbers VARCHAR )
What day withdrawn is associated with fleet numbers of 12, 25, 42 46, 50, 70 71, 74 77, 106 107, 129?
SELECT date_withdrawn FROM table_name_96 WHERE fleet_numbers = "12, 25, 42–46, 50, 70–71, 74–77, 106–107, 129"
sql_create_context
CREATE TABLE table_203_497 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
how many countries have one more than 10 gold medals ?
SELECT COUNT("nation") FROM table_203_497 WHERE "gold" > 10
squall
CREATE TABLE Residents_Services ( resident_id INTEGER, service_id INTEGER, date_moved_in DATETIME, property_id INTEGER, date_requested DATETIME, date_provided DATETIME, other_details VARCHAR(255) ) CREATE TABLE Residents ( resident_id INTEGER, property_id INTEGER, date_moved_in ...
Bar chart x axis other details y axis resident_id, sort by the bars from low to high please.
SELECT other_details, resident_id FROM Residents ORDER BY other_details
nvbench
CREATE TABLE table_name_86 ( year VARCHAR, location VARCHAR, date VARCHAR )
Which Year has a Location of dinas on 13 january?
SELECT year FROM table_name_86 WHERE location = "dinas" AND date = "13 january"
sql_create_context
CREATE TABLE table_34648 ( "Date" text, "Tournament Name" text, "Location" text, "Partner" text, "Score in Final" text )
What was the Score in Final on February 19, 1989?
SELECT "Score in Final" FROM table_34648 WHERE "Date" = 'february 19, 1989'
wikisql
CREATE TABLE hz_info ( KH text, KLX number, RYBH text, YLJGDM text ) 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, ...
患者潘德运在09年8月4日到21年6月15日内都做了什么检查把检验报告单号列出来
SELECT jybgb.BGDH FROM person_info JOIN hz_info JOIN txmzjzjlb JOIN jybgb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE person_info.XM = '潘...
css
CREATE TABLE table_28945 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
What is the latest first elected?
SELECT MAX("First elected") FROM table_28945
wikisql
CREATE TABLE document_functional_areas ( document_code text, functional_area_code text ) CREATE TABLE images ( image_id number, image_alt_text text, image_name text, image_url text ) CREATE TABLE document_sections_images ( section_id number, image_id number ) CREATE TABLE functional_a...
What document types do have more than 10000 total access number.
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING SUM(access_count) > 10000
spider
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 text, IN...
许文德这位参保人从00年五月二十二日到0七年九月六日,门诊开出的检查项目总共有多少金额
SELECT SUM(t_kc22.AMOUNT) FROM t_kc22 JOIN mzb ON mzb.MED_ORG_DEPT_CD = t_kc22.MED_CLINIC_ID WHERE mzb.PERSON_SEX = '许文德' AND t_kc22.STA_DATE BETWEEN '2000-05-22' AND '2007-09-06' AND t_kc22.MED_INV_ITEM_TYPE = '检查费'
css
CREATE TABLE table_14071 ( "Gothic Letter" text, "Roman" text, "Sound (phoneme)" text, "Sound (allophone)" text, "Proto-Germanic origin" text )
Which Gothic Letter has Proto-Germanic origin of / /; /b/?
SELECT "Gothic Letter" FROM table_14071 WHERE "Proto-Germanic origin" = '/ɸ/; /b/'
wikisql