context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE table_name_82 (
wins INTEGER,
conceded VARCHAR,
draws VARCHAR,
losses VARCHAR
) | What's the sum of WIns with Draws that's larger than 1, Losses that's smaller than 4, and Conceded of 20? | SELECT SUM(wins) FROM table_name_82 WHERE draws > 1 AND losses < 4 AND conceded = 20 | sql_create_context |
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
... | For those employees who did not have any job in the past, return a line chart about the change of employee_id over hire_date . | SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) | nvbench |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
la... | what was the name of the organism at the last other test of patient 031-3355 in the current hospital encounter? | 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-3355' AND patient.hospitaldischargetime IS NULL)) AND microlab.cultur... | eicu |
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... | provide the number of patients whose diagnoses long title is malignant neoplasm of other sites of tongue and lab test fluid is urine? | 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 neoplasm of other sites of tongue" AND lab.fluid = "Urine" | mimicsql_data |
CREATE TABLE table_27182 (
"Year" text,
"Amiga demo" text,
"PC demo" text,
"C64 demo" text,
"Amiga intro" text,
"PC intro" text
) | What year did fr-08: the product ( farbrausch ) win best pc intro? | SELECT "Year" FROM table_27182 WHERE "PC intro" = 'FR-08: The Product ( Farbrausch )' | wikisql |
CREATE TABLE table_34376 (
"Place" real,
"Nation" text,
"6 Ropes" real,
"4 Hoops, 2 Clubs" real,
"Total" real
) | What is the place of the nation with a total greater than 37.85 and 4 hoops, 2 clubs of 19.15? | SELECT SUM("Place") FROM table_34376 WHERE "Total" > '37.85' AND "4 Hoops, 2 Clubs" = '19.15' | wikisql |
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,... | 从01年10月6日到2007年9月19日内因为科室800矽肺(硅肺)Ⅲ期而产生的住院平均花费了多少? | SELECT AVG(MED_AMOUT) FROM t_kc21 WHERE MED_ORG_DEPT_CD = '800' AND IN_HOSP_DATE BETWEEN '2001-10-06' AND '2007-09-19' AND IN_DIAG_DIS_NM = '矽肺(硅肺)Ⅲ期' AND CLINIC_TYPE = '住院' | css |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime... | how many hours has it been since the last time that patient 027-154299 had a procedure in their current hospital visit? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-15429... | eicu |
CREATE TABLE table_name_51 (
opponent VARCHAR,
record VARCHAR
) | Which Opponent has a Record of 45 21 4? | SELECT opponent FROM table_name_51 WHERE record = "45–21–4" | sql_create_context |
CREATE TABLE table_65402 (
"Tournament" text,
"2007" text,
"2008" text,
"2009" text,
"2010" text,
"2011" text,
"2012" text
) | What is the tournament when 2012 is q2? | SELECT "Tournament" FROM table_65402 WHERE "2012" = 'q2' | wikisql |
CREATE TABLE table_1740 (
"Season" real,
"Winners" text,
"Total wins" real,
"Runners-up" text,
"Third-place" text,
"fourth-placed" text,
"Number of clubs" real
) | What is the total number of clubs when the runner-up was Liaoning Fushun? | SELECT COUNT("Number of clubs") FROM table_1740 WHERE "Runners-up" = 'Liaoning Fushun' | wikisql |
CREATE TABLE table_63092 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | How much Silver has a Nation of total, and a Total smaller than 54? | SELECT COUNT("Silver") FROM table_63092 WHERE "Nation" = 'total' AND "Total" < '54' | wikisql |
CREATE TABLE table_56094 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
) | Which city has an ICAO of TBA? | SELECT "City" FROM table_56094 WHERE "ICAO" = 'tba' | wikisql |
CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_JOBCODE varchar(5),
EMP_HIREDATE datetime,
EMP_DOB datetime
)
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NU... | Find the minimum gpa of all students in each department with a bar chart, list by the Y-axis in ascending. | SELECT DEPT_CODE, MIN(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY MIN(STU_GPA) | nvbench |
CREATE TABLE table_17221 (
"Institution" text,
"Location" text,
"Founded" real,
"Type" text,
"Enrollment" real,
"Nickname" text,
"Joined" real
) | Barry University had a maximum enrollment of what? | SELECT MAX("Enrollment") FROM table_17221 WHERE "Institution" = 'Barry University' | wikisql |
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,... | 自二零零七年九月二十七日到二零一八年九月二十日,医院3592608记录有医治过多少门诊的患者 | SELECT COUNT(*) FROM t_kc21 WHERE MED_SER_ORG_NO = '3592608' AND IN_HOSP_DATE BETWEEN '2007-09-27' AND '2018-09-20' AND CLINIC_TYPE = '门诊' | css |
CREATE TABLE diagnoses (
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 prescriptions... | how many patients whose admission year is less than 2175 and procedure short title is thoracentesis? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2175" AND procedures.short_title = "Thoracentesis" | mimicsql_data |
CREATE TABLE table_3311 (
"Position" real,
"Sail number" text,
"Yacht" text,
"State/country" text,
"Yacht type" text,
"LOA (Metres)" text,
"Skipper" text,
"Corrected time d:hh:mm:ss" text
) | How many LOA metres were there when the corrected time d:hh:mm:ss is 4:03:13:38? | SELECT "LOA (Metres)" FROM table_3311 WHERE "Corrected time d:hh:mm:ss" = '4:03:13:38' | wikisql |
CREATE TABLE table_name_61 (
loss VARCHAR,
record VARCHAR
) | What was the loss of the game when the record was 27-17? | SELECT loss FROM table_name_61 WHERE record = "27-17" | sql_create_context |
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age number
)
CREATE ... | has there ever been any or crystalloid given to patient 19412 today? | SELECT COUNT(*) > 0 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 = 19412)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'or cryst... | mimic_iii |
CREATE TABLE tryout (
cName VARCHAR,
pID VARCHAR,
decision VARCHAR
)
CREATE TABLE player (
pName VARCHAR,
pID VARCHAR
) | Find the name and college of students whose decisions are yes in the tryout. | SELECT T1.pName, T2.cName FROM player AS T1 JOIN tryout AS T2 ON T1.pID = T2.pID WHERE T2.decision = 'yes' | sql_create_context |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | count the number of patients whose age is less than 61 and diagnoses long title is other pulmonary embolism and infarction? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "61" AND diagnoses.long_title = "Other pulmonary embolism and infarction" | mimicsql_data |
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text... | does UA have a flight from MIAMI to WASHINGTON on wednesday | 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, date_day, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHINGTON' AND CITY_1.state_code = 'DC' AND date_day.day_number = 23 AN... | atis |
CREATE TABLE table_20985 (
"Season" real,
"Class" text,
"Team" text,
"Motorcycle" text,
"Type" text,
"Races" real,
"Wins" real,
"Podiums" real,
"Poles" real,
"Fastest Laps" real,
"Pts" text,
"Position" text
) | What is the lowest number of poles? | SELECT MIN("Poles") FROM table_20985 | wikisql |
CREATE TABLE table_16083989_1 (
citrate VARCHAR,
species VARCHAR
) | What is the result for salmonella spp. if you use citrate? | SELECT COUNT(citrate) FROM table_16083989_1 WHERE species = "Salmonella spp." | sql_create_context |
CREATE TABLE table_68617 (
"Date" text,
"Location" text,
"Nature of incident" text,
"Circumstances" text,
"Casualties" text
) | What happened on 2009-09-05? | SELECT "Circumstances" FROM table_68617 WHERE "Date" = '2009-09-05' | 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... | 03652738号患者在02年3月6日到04月10月25日期间其所有检验结果指标记录中的检测方法是啥呢? | SELECT jyjgzbb.JCFF FROM hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON 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_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH... | css |
CREATE TABLE table_9364 (
"Date" text,
"Series" text,
"Circuit" text,
"City / State" text,
"Winner" text,
"Team" text
) | What is Date, when Series is Amscar Round 3? | SELECT "Date" FROM table_9364 WHERE "Series" = 'amscar round 3' | wikisql |
CREATE TABLE table_20350118_1 (
county VARCHAR,
mccain_number VARCHAR
) | Where did McCain get 20226 votes? | SELECT county FROM table_20350118_1 WHERE mccain_number = 20226 | sql_create_context |
CREATE TABLE table_65472 (
"Heat" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) | What is the heat with a time of 3:45.57 in lane 3? | SELECT "Heat" FROM table_65472 WHERE "Lane" = '3' AND "Time" = '3:45.57' | wikisql |
CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
... | Top SO users from Chennai(India). | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%Chennai%' OR UPPER(Location) LIKE '%chennai%' OR Location LIKE '%Chennai%' AND Reputation >= 1000 ORDER BY Reputation DESC | sede |
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 prescriptions... | what is admission type and days of hospital stay of subject id 2560? | SELECT demographic.admission_type, demographic.days_stay FROM demographic WHERE demographic.subject_id = "2560" | mimicsql_data |
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varchar(20),
HIRE_DATE date,
JOB_ID varchar(10),
SALARY decimal(8,2),
COMMISSION_PCT decimal(2,2),
MANAGER_ID decimal(6,0),
DEPARTMENT_ID decimal(... | For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find job_id and the sum of manager_id , and group by attribute job_id, and visualize them by a bar chart, and list by the X in desc. | SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID DESC | nvbench |
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ tim... | 在医院6497114中编码为44656469的患者门诊诊断名称中有哪些不包含瘙痒症的门诊就诊记录? | SELECT * FROM hz_info JOIN mzjzjlb 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 person_info_hz_info.KH = hz_info.KH AND person_info_hz_info.KLX = hz_info.KLX AND person_info_hz_info.YLJGDM = hz_info.YLJGDM AND person_info_hz_i... | css |
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
keyphrasename varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE field (
fieldid int
)
C... | how many of dan klein 's papers cite michael i. jordan | SELECT DISTINCT COUNT(cite.citingpaperid) FROM author AS AUTHOR_0, author AS AUTHOR_1, cite, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.authorname = 'michael i. jordan' AND AUTHOR_1.authorname = 'dan klein' AND WRITES_0.authorid = AUTHOR_0.authorid AND WRITES_0.paperid = cite.citedpaperid AND WRITES_1.author... | scholar |
CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,
RZBQDM text,
RZBQMC text,
RYCWH text,
CYKSDM text,
CYKSMC text,
CYBQDM tex... | 从二00二年四月二十五日到二0二0年十二月二十一日这段时间,患者沈宾鸿检测超敏肌钙蛋白T找的哪些医务人员做的,这些医务人员的工号和姓名报一下 | (SELECT jyjgzbb.JCRGH, jyjgzbb.JCRXM 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 j... | css |
CREATE TABLE table_name_21 (
finish VARCHAR,
start VARCHAR,
laps VARCHAR
) | What was the finish with the start of 25 and a lap larger than 46? | SELECT finish FROM table_name_21 WHERE start = "25" AND laps > 46 | sql_create_context |
CREATE TABLE table_name_36 (
year VARCHAR,
first VARCHAR
) | How many years is Antonio Pompa-Baldi Italy first? | SELECT COUNT(year) FROM table_name_36 WHERE first = "antonio pompa-baldi italy" | sql_create_context |
CREATE TABLE table_67985 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | What chassis type does a scuderia ferrari with more than 1 point have? | SELECT "Chassis" FROM table_67985 WHERE "Entrant" = 'scuderia ferrari' AND "Points" > '1' | wikisql |
CREATE TABLE table_name_71 (
attendance INTEGER,
result VARCHAR
) | What was the Attendance at the Game with a Result of w 21 7? | SELECT AVG(attendance) FROM table_name_71 WHERE result = "w 21–7" | sql_create_context |
CREATE TABLE table_62555 (
"Year" real,
"Total passengers" text,
"Passenger Change" text,
"Domestic" text,
"International (total)" text,
"International (non-CIS)" text,
"Aircraft Landings" text,
"Cargo (tonnes)" text
) | What are the cargo tonnes when the international (non-CIS) is 297 421? | SELECT "Cargo (tonnes)" FROM table_62555 WHERE "International (non-CIS)" = '297 421' | wikisql |
CREATE TABLE table_name_22 (
writer VARCHAR,
film_title VARCHAR
) | Who wrote Toy Story? | SELECT writer FROM table_name_22 WHERE film_title = "toy story" | sql_create_context |
CREATE TABLE table_5104 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
) | How many Points have a Drawn smaller than 0? | SELECT COUNT("Points") FROM table_5104 WHERE "Drawn" < '0' | wikisql |
CREATE TABLE table_79485 (
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | What Nation has a Bronze that is smaller than 10 with a Silver of 5? | SELECT "Nation" FROM table_79485 WHERE "Bronze" < '10' AND "Silver" = '5' | wikisql |
CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id 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 text,
XM... | 编号为46630486148的检验报告单上所有的结果定量、结果定性、检验指标的代码、名称、结果定量单位的参考值范围下限与上限都是什么样的? | SELECT jyjgzbb.JCZBDM, jyjgzbb.JCZBMC, jyjgzbb.JCZBJGDX, jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW, jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM jyjgzbb WHERE jyjgzbb.BGDH = '46630486148' | 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 allergy (
allergy... | what is the total number of hours since patient 027-120575 was admitted to the hospital? | SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '027-120575' AND patient.hospitaldischargetime IS NULL | eicu |
CREATE TABLE table_name_34 (
date VARCHAR,
game VARCHAR
) | What date was game number 3? | SELECT date FROM table_name_34 WHERE game = 3 | 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 the number of patients whose diagnoses long title is cardiac arrest and lab test abnormal status is delta? | 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 = "Cardiac arrest" AND lab.flag = "delta" | mimicsql_data |
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description... | Comment Count to Score Ratio (Identifying Problematic Questions). | SELECT Id AS "post_link", CommentCount / Score AS "comment_to_score_ratio", PostTypeId FROM Posts WHERE CommentCount > Score AND PostTypeId = 1 ORDER BY 'comment_to_score_ratio' DESC LIMIT 100 | sede |
CREATE TABLE table_50486 (
"Match" real,
"Date" text,
"Home/Away" text,
"Opponent team" text,
"Score" text
) | What home/away game is on February 29, 2008? | SELECT "Home/Away" FROM table_50486 WHERE "Date" = 'february 29, 2008' | wikisql |
CREATE TABLE table_8073 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | What Game had a Result of 105-95? | SELECT "Game" FROM table_8073 WHERE "Result" = '105-95' | wikisql |
CREATE TABLE table_name_56 (
to_par VARCHAR,
score VARCHAR
) | What is the to par for the 69-70-72=211 score? | SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211 | 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... | A bar chart shows the distribution of All_Home and the average of School_ID , and group by attribute All_Home. | SELECT All_Home, AVG(School_ID) FROM basketball_match GROUP BY All_Home | nvbench |
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZDZZBM... | 在2010-11-01之后,患者17949881有哪些住院就诊的检验报告单?看一下住院就诊的流水号 | SELECT zyjzjlb.JZLSH 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 = '17949881' AND NOT zyjzjlb.JZLSH IN (SELECT zyjybgb.JZLSH FROM zyjybgb WHERE zyjybgb.BGRQ <= '2010-11-01' UNION SELECT mzjybgb.JZLSH FROM mzjybgb WHERE mzjybgb... | css |
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date... | For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of job_id and department_id in a bar chart, order by the bar in asc. | SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY JOB_ID | nvbench |
CREATE TABLE table_1148 (
"Year (Ceremony)" text,
"English title" text,
"Hungarian title" text,
"Director" text,
"Result" text
) | What year was taxidermia nominated? | SELECT "Year (Ceremony)" FROM table_1148 WHERE "Hungarian title" = 'Taxidermia' | wikisql |
CREATE TABLE table_16464 (
"No. in season" real,
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (million)" text
) | Who wrote the episodes that were viewed by 2.12 million viewers? | SELECT "Written by" FROM table_16464 WHERE "U.S. viewers (million)" = '2.12' | wikisql |
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(... | For those employees who did not have any job in the past, a line chart shows the change of department_id over hire_date, sort in ascending by the HIRE_DATE. | SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE | nvbench |
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,... | Total number of questions 2017. | SELECT COUNT(*) FROM Posts WHERE YEAR(CreationDate) = 2017 | sede |
CREATE TABLE table_name_92 (
population VARCHAR,
number_of_households VARCHAR
) | What is the population with 41,511 households? | SELECT COUNT(population) FROM table_name_92 WHERE number_of_households = 41 OFFSET 511 | sql_create_context |
CREATE TABLE table_203_778 (
id number,
"representative" text,
"title" text,
"presentation\nof credentials" text,
"termination\nof mission" text,
"appointed by" text
) | who was the last representative picked ? | SELECT "representative" FROM table_203_778 ORDER BY "presentation\nof credentials" DESC LIMIT 1 | squall |
CREATE TABLE organizations (
organization_id number,
date_formed time,
organization_name text,
uk_vat_number text
)
CREATE TABLE addresses (
address_id number,
line_1_number_building text,
town_city text,
zip_postcode text,
state_province_county text,
country text
)
CREATE TABL... | What are the last names of individuals who have been contact individuals for an organization? | SELECT DISTINCT t1.individual_last_name FROM individuals AS t1 JOIN organization_contact_individuals AS t2 ON t1.individual_id = t2.individual_id | spider |
CREATE TABLE table_5777 (
"Outcome" text,
"Date" text,
"Surface" text,
"Partner" text,
"Opponent in the final" text,
"Score in the final" text
) | Which Score in the final has a Surface of clay, and a Partner of martin emmrich? | SELECT "Score in the final" FROM table_5777 WHERE "Surface" = 'clay' AND "Partner" = 'martin emmrich' | wikisql |
CREATE TABLE table_39539 (
"Wind Farm" text,
"Capacity (MW)" real,
"Turbines" real,
"Turbine Vendor" text,
"Size (MW)" text,
"County" text
) | What is the sum of the capacities for Carrigh wind warm that has a size of 0.85 MW and more than 3 turbines? | SELECT SUM("Capacity (MW)") FROM table_39539 WHERE "Size (MW)" = '0.85' AND "Wind Farm" = 'carrigh' AND "Turbines" > '3' | wikisql |
CREATE TABLE table_name_50 (
retired INTEGER,
poaf_serial VARCHAR,
delivery VARCHAR,
in_service VARCHAR
) | What is the earliest year retired delivered in 1965 with an in service in November 1971 for the PoAF Serial less than 7103? | SELECT MIN(retired) FROM table_name_50 WHERE delivery = "1965" AND in_service = "november 1971" AND poaf_serial < 7103 | sql_create_context |
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
Unsure_rate real
)
CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight re... | Show me about the distribution of Date_of_Birth and Weight in a bar chart, display in descending by the total number. | SELECT Date_of_Birth, Weight FROM people ORDER BY Weight DESC | nvbench |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wa... | what are the five most frequently given diagnoses since 1 year ago for patients who were previously diagnosed with hypomagnesemia - etiology unknown within the same hospital visit? | SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime, patient.patienthealthsystemstayid FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'hypom... | eicu |
CREATE TABLE diagnoses (
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 demographic (... | what is the number of home health care discharge patients who have acute venous embolism and thrombosis of deep vessels of proximal lower extremity diagnoses? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.discharge_location = "HOME HEALTH CARE" AND diagnoses.long_title = "Acute venous embolism and thrombosis of deep vessels of proximal lower extremity" | mimicsql_data |
CREATE TABLE writes (
paperid int,
authorid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE field (
fieldid int
)
CREATE TABLE venue (
venueid int,
venuename varchar
)
CREATE TAB... | What are recent papers on Human Motion Recognition ? | SELECT DISTINCT paper.paperid, paper.year FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'Human Motion Recognition' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid ORDER BY paper.year DESC | scholar |
CREATE TABLE table_22597626_2 (
surface VARCHAR,
opponents_in_the_final VARCHAR
) | What is the surface made of if the opponent in the final is Hewitt McMillan? | SELECT surface FROM table_22597626_2 WHERE opponents_in_the_final = "Hewitt McMillan" | sql_create_context |
CREATE TABLE Player (
pID numeric(5,0),
pName varchar(20),
yCard varchar(3),
HS numeric(5,0)
)
CREATE TABLE College (
cName varchar(20),
state varchar(2),
enr numeric(5,0)
)
CREATE TABLE Tryout (
pID numeric(5,0),
cName varchar(20),
pPos varchar(8),
decision varchar(3)
) | What is the proportion of the smallest enrollment of schools in each state? | SELECT cName, MIN(enr) FROM College GROUP BY state | nvbench |
CREATE TABLE table_9402 (
"Tie no" text,
"Home team" text,
"Score" text,
"Away team" text,
"Date" text
) | What is the number of ties when Altrincham is the home team? | SELECT "Tie no" FROM table_9402 WHERE "Home team" = 'altrincham' | wikisql |
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 icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... | what is the five year survival rate of nb acidosis nec patients diagnosed? | SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.charttime) > 5 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id... | mimic_iii |
CREATE TABLE table_name_31 (
matches VARCHAR,
goals VARCHAR
) | How many matches had 360 goals? | SELECT matches FROM table_name_31 WHERE goals = 360 | sql_create_context |
CREATE TABLE table_58752 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( $ )" real
) | What is the most money for the score 75-74-72-67=288? | SELECT MAX("Money ( $ )") FROM table_58752 WHERE "Score" = '75-74-72-67=288' | wikisql |
CREATE TABLE table_1781 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (million)" text
) | Who wrote the last episode (episode 15) of season 3? | SELECT "Written by" FROM table_1781 WHERE "No. in season" = '15' | wikisql |
CREATE TABLE table_203_758 (
id number,
"no." number,
"dub no." number,
"english dubbed title / english subbed title\noriginal japanese title" text,
"original air date" text,
"english air date" text
) | how many episodes of sailor moon did not have an english air date ? | SELECT COUNT(*) FROM table_203_758 WHERE "english air date" IS NULL | squall |
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE i... | patient 60219 has undergone inject/inf thrombo agent until 2104? | SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'inject/inf thrombo agent') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 60219) AND STRFTIME('%... | mimic_iii |
CREATE TABLE table_56876 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | What is the largest crowd where the home team scored 17.13 (115)? | SELECT MAX("Crowd") FROM table_56876 WHERE "Home team score" = '17.13 (115)' | wikisql |
CREATE TABLE table_67241 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | What is the average year of an entrant that had fewer than 6 points and a Maserati Straight-6 engine? | SELECT AVG("Year") FROM table_67241 WHERE "Points" < '6' AND "Engine" = 'maserati straight-6' | wikisql |
CREATE TABLE table_name_78 (
shape VARCHAR,
metal VARCHAR,
denomination VARCHAR
) | What shape has nickel as the metal, and one rupee as the denomination? | SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee" | sql_create_context |
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name VARCHAR(80),
gender_mf VARCHAR(1),
address_line_1 VARCHAR(80)
)
CREATE TABLE Subject... | Visualize a scatter chart about the correlation between author_tutor_ATB and gender_mf . | SELECT author_tutor_ATB, gender_mf FROM Course_Authors_and_Tutors ORDER BY personal_name | nvbench |
CREATE TABLE table_name_30 (
year_began_making_autos INTEGER,
year_joined_gm VARCHAR
) | What is the average year to begin making autos for a brand that joined GM in 1917? | SELECT AVG(year_began_making_autos) FROM table_name_30 WHERE year_joined_gm = 1917 | sql_create_context |
CREATE TABLE table_25517718_3 (
position VARCHAR,
player VARCHAR
) | What position does Boggs play? | SELECT position FROM table_25517718_3 WHERE player = "Boggs" | sql_create_context |
CREATE TABLE table_25220821_3 (
rider VARCHAR,
tues_1_june VARCHAR
) | If Tuesday 1 June is 21' 05.27 107.351mph, what is the rider total number? | SELECT COUNT(rider) FROM table_25220821_3 WHERE tues_1_june = "21' 05.27 107.351mph" | sql_create_context |
CREATE TABLE table_204_886 (
id number,
"rank" number,
"swimmer" text,
"country" text,
"time" text,
"note" text
) | how many mexican swimmers ranked in the top 10 ? | SELECT COUNT("swimmer") FROM table_204_886 WHERE "country" = 'mexico' AND "rank" <= 10 | squall |
CREATE TABLE table_17308269_2 (
former_wnba_team VARCHAR,
pick VARCHAR
) | Name the number of former wnba team for 2 | SELECT COUNT(former_wnba_team) FROM table_17308269_2 WHERE pick = 2 | sql_create_context |
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,
... | 在号码为6821167的医院开出的检验报告单中是在2004年12月7日到2018年11月28日期间通过不同检测指标结果定量单位还有不同检测指标名称的标准,得到的检测指标结果定量的平均值按照降序排序的方式得到什么样的结果? | SELECT JCZBMC, JCZBJGDW, AVG(JCZBJGDL) FROM jyjgzbb WHERE YLJGDM = '6821167' AND BGRQ BETWEEN '2004-12-07' AND '2018-11-28' GROUP BY JCZBMC, JCZBJGDW ORDER BY AVG(JCZBJGDL) DESC | css |
CREATE TABLE table_name_85 (
distance__km_ VARCHAR,
station VARCHAR
) | What is the distance to funao? | SELECT distance__km_ FROM table_name_85 WHERE station = "funao" | 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 demographic ... | give me the number of patients whose gender is m and item id is 51144? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "M" AND lab.itemid = "51144" | mimicsql_data |
CREATE TABLE table_name_10 (
directed_by VARCHAR,
original_airdate VARCHAR
) | Who directed the episode that originally aired on February 25, 2001? | SELECT directed_by FROM table_name_10 WHERE original_airdate = "february 25, 2001" | sql_create_context |
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE PostHistoryTypes (
Id number,
... | Get all tags, which appear in posts with a specific tag. | WITH TaggedPosts(PostId) AS (SELECT PostId FROM PostTags AS pt WHERE pt.TagId = @t_id) SELECT DISTINCT TagId FROM TaggedPosts AS tpos JOIN PostTags AS pt ON pt.PostId = tpos.PostId WHERE pt.TagId != @t_id | sede |
CREATE TABLE table_72166 (
"Year" real,
"Champion" text,
"Score" text,
"Runner-Up" text,
"Location" text,
"Semi-Finalist #1" text,
"Semi-Finalist #2" text
) | How many teams were listed as runner up in 2005 and there the first semi finalist was Western Carolina? | SELECT COUNT("Runner-Up") FROM table_72166 WHERE "Semi-Finalist #1" = 'Western Carolina' AND "Year" = '2005' | wikisql |
CREATE TABLE table_name_12 (
date VARCHAR,
home_team VARCHAR
) | What date did the Geelong team play on as a home team? | SELECT date FROM table_name_12 WHERE home_team = "geelong" | sql_create_context |
CREATE TABLE table_68320 (
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | what is the gold count with total less than 3 and more than 1 silver? | SELECT MIN("Gold") FROM table_68320 WHERE "Total" < '3' AND "Silver" > '1' | wikisql |
CREATE TABLE table_48763 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Attendance" real,
"Record" text,
"Points" real
) | Can you tell me the Record that has the Visitor of pittsburgh, and the Points smaller than 27, and the Home of boston? | SELECT "Record" FROM table_48763 WHERE "Visitor" = 'pittsburgh' AND "Points" < '27' AND "Home" = 'boston' | wikisql |
CREATE TABLE genre (
g_name varchar2(20),
rating varchar2(10),
most_popular_in varchar2(50)
)
CREATE TABLE song (
song_name varchar2(50),
artist_name varchar2(50),
country varchar2(20),
f_id number(10),
genre_is varchar2(20),
rating number(10),
languages varchar2(20),
releas... | Let the shortest duration as bar chart's X-axis and the most poorly rated song for each genre as the Y, and order X-axis in descending order. | SELECT MIN(T1.duration), MIN(T2.rating) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id GROUP BY MIN(T1.duration) ORDER BY MIN(T1.duration) DESC | nvbench |
CREATE TABLE table_204_42 (
id number,
"season" number,
"level" text,
"division" text,
"section" text,
"position" text,
"movements" text
) | how long after 1999 was there a relegated movement ? | SELECT (SELECT "season" FROM table_204_42 WHERE "movements" = 'relegated') - 1999 | squall |
CREATE TABLE table_13639 (
"Stage" text,
"Winner" text,
"General classification" text,
"Points classification" text,
"Mountains classification" text,
"Young rider classification" text
) | Who was the winner of Stage 9 when then general classification was Danilo Di Luca? | SELECT "Winner" FROM table_13639 WHERE "General classification" = 'danilo di luca' AND "Stage" = '9' | 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... | count the number of patients whose primary disease is pneumonia and drug route is sl? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.diagnosis = "PNEUMONIA" AND prescriptions.route = "SL" | mimicsql_data |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.