instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_19111 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answer the follo... | SELECT "Drawn" FROM table_19111 WHERE "Points for" = '350' | wikisql |
CREATE TABLE table_19760 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of weeks for 50073 attendance
| SELECT COUNT("Week") FROM table_19760 WHERE "Attendance" = '50073' | wikisql |
CREATE TABLE table_53716 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score for the 2010 world cup qualifying?
| SELECT "Score" FROM table_53716 WHERE "Competition" = '2010 world cup qualifying' | wikisql |
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party_events (
Event_ID in... | SELECT Took_office, COUNT(Took_office) FROM party | nvbench |
CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Apartment_Bookings (
apt_booking_id INTEGER,
apt_id INTEGER,
guest_id INTEGER,
booking_status_code CHAR(15),
booking_start_date DATETIME,
booking_end_dat... | SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male" | nvbench |
CREATE TABLE table_17323042_11 (
game VARCHAR,
high_points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many games was High Points andre iguodala (29)?
| SELECT COUNT(game) FROM table_17323042_11 WHERE high_points = "Andre Iguodala (29)" | sql_create_context |
CREATE TABLE t_kc22 (
AMOUNT number,
CHA_ITEM_LEV number,
DATA_ID text,
DIRE_TYPE number,
DOSE_FORM text,
DOSE_UNIT text,
EACH_DOSAGE text,
EXP_OCC_DATE time,
FLX_MED_ORG_ID text,
FXBZ number,
HOSP_DOC_CD text,
HOSP_DOC_NM text,
MED_CLINIC_ID text,
MED_DIRE_CD tex... | SELECT * FROM t_kc21 WHERE t_kc21.PERSON_ID = '58275827' AND t_kc21.MED_SER_ORG_NO = '6736860' AND NOT t_kc21.MED_ORG_DEPT_NM LIKE '%儿保科%' | css |
CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE market (
Market_ID int,
Country text,
Number_cities int
)
CREATE TABLE film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID ... | SELECT Title, COUNT(Title) FROM film AS T1 JOIN film_market_estimation AS T2 ON T1.Film_ID = T2.Film_ID GROUP BY Type, Title ORDER BY COUNT(Title) | nvbench |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
... | 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 = "Pneumonitis due to inhalation of food or vomitus" AND lab.flag = "delta" | mimicsql_data |
CREATE TABLE table_name_10 (
leading_lady VARCHAR,
title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the leading lady in a yank in the r.a.f.?
| SELECT leading_lady FROM table_name_10 WHERE title = "a yank in the r.a.f." | sql_create_context |
CREATE TABLE table_57795 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average crowd attendance for the Ju... | SELECT AVG("Crowd") FROM table_57795 WHERE "Venue" = 'junction oval' | wikisql |
CREATE TABLE table_49885 (
"Race Name" text,
"Circuit" text,
"City/Location" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... | SELECT "Circuit" FROM table_49885 WHERE "Winning driver" = 'scott pruett' | wikisql |
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... | SELECT DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS m, TagName, COUNT(*) FROM PostTags AS pt JOIN Posts AS q ON q.Id = pt.PostId JOIN Tags AS t ON t.Id = pt.TagId WHERE TagName IN ('flask', 'pyramids', 'django') AND q.CreationDate < DATEADD(month, DATEDIFF(month, 0, GETDATE()), 0) GROUP BY DATEADD(month, DATE... | sede |
CREATE TABLE table_72376 (
"Country" text,
"Total Drivers" real,
"Champions" text,
"Championships" text,
"Current September 22, 2013" real,
"First driver(s)" text,
"Last/Current driver(s) September 22, 2013" text
)
-- Using valid SQLite, answer the following questions for the tables provid... | SELECT "Champions" FROM table_72376 WHERE "Last/Current driver(s) September 22, 2013" = 'Gianmarco Raimondo' | wikisql |
CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE program (
program_id int,
name varchar... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'UC' AND semester.semester = 'Spring' | advising |
CREATE TABLE table_33836 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Total medals won by the nation in Rank 6 with less than 2 Bronze medals?
| SELECT SUM("Total") FROM table_33836 WHERE "Rank" = '6' AND "Bronze" < '2' | wikisql |
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime t... | SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-16314')) AND lab.labname = 'vitamin b12' AND STRFTIME('%y-%m', lab.labresulttime) <=... | eicu |
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 ... | SELECT DISTINCT t1.c1 FROM (SELECT labevents.valuenum, PERCENT_RANK() OVER (ORDER BY labevents.valuenum) AS c1 FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'sodium') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age = ... | mimic_iii |
CREATE TABLE table_16942 (
"Date" text,
"Tournament" text,
"Location" text,
"Purse( $ )" real,
"Winner" text,
"Score" text,
"1st Prize( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the tournament where winner is raymond floyd (... | SELECT "Tournament" FROM table_16942 WHERE "Winner" = 'Raymond Floyd (1)' | wikisql |
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
ApprovalDa... | SELECT YEAR(p.CreationDate), CAST(SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE -1 END) AS DECIMAL) / COUNT(p.Id) AS "avgscore" FROM Posts AS p LEFT OUTER JOIN Votes AS v ON p.Id = v.PostId WHERE p.CreationDate < DATEADD(dd, 14, GETDATE()) AND v.CreationDate <= DATEADD(dd, 14, p.CreationDate) AND VoteTypeId IN (2, 3) AND p.... | sede |
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
... | SELECT jybgb.BGDH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN mzjzjlb_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 = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND mzjzjl... | css |
CREATE TABLE table_name_26 (
power__kw_ VARCHAR,
frequency VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Power (kW) for the station with the frequency of 98.7mhz?
| SELECT power__kw_ FROM table_name_26 WHERE frequency = "98.7mhz" | sql_create_context |
CREATE TABLE table_204_442 (
id number,
"institution" text,
"location" text,
"enrollment" number,
"nickname" text,
"varsity\nsports" number,
"rugby\nsince" text,
"head coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many studen... | SELECT "enrollment" FROM table_204_442 WHERE "institution" = 'navy' | squall |
CREATE TABLE INVESTORS (
investor_id VARCHAR
)
CREATE TABLE TRANSACTIONS (
investor_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Show the ids of the investors who have at least two transactions.
| SELECT T2.investor_id FROM INVESTORS AS T1 JOIN TRANSACTIONS AS T2 ON T1.investor_id = T2.investor_id GROUP BY T2.investor_id HAVING COUNT(*) >= 2 | sql_create_context |
CREATE TABLE table_203_237 (
id number,
"n" number,
"p" text,
"nat." text,
"name" text,
"age" number,
"moving from" text,
"type" text,
"transfer\nwindow" text,
"ends" number,
"transfer\nfee" text
)
-- Using valid SQLite, answer the following questions for the tables provide... | SELECT "transfer\nwindow" FROM table_203_237 GROUP BY "transfer\nwindow" ORDER BY COUNT(*) DESC LIMIT 1 | squall |
CREATE TABLE district (
district_name VARCHAR,
city_area VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which district has the least area?
| SELECT district_name FROM district ORDER BY city_area LIMIT 1 | 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... | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "3671" | mimicsql_data |
CREATE TABLE table_20760802_1 (
points_difference VARCHAR,
points_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points differ from 134?
| SELECT points_difference FROM table_20760802_1 WHERE points_for = "134" | 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... | SELECT demographic.dob, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Jerry Deberry" | mimicsql_data |
CREATE TABLE table_19787 (
"Round" real,
"Choice" real,
"Player" text,
"Position" text,
"Height" text,
"Weight" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the last round the team drafted?
| SELECT MAX("Round") FROM table_19787 | 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 ... | SELECT Reputation, CAST(UpVotes AS INT) / DATEDIFF(Day, CreationDate, GETDATE()) AS "Upvotes per Day", CAST(DownVotes AS INT) / DATEDIFF(Day, CreationDate, GETDATE()) AS "Downvotes per Day", (CAST(UpVotes AS INT) - CAST(DownVotes AS INT)) / DATEDIFF(Day, CreationDate, GETDATE()) AS "Score per Day" FROM Users AS U WHERE... | sede |
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... | SELECT t_kc24.MED_CLINIC_ID FROM t_kc24 WHERE t_kc24.t_kc21_PERSON_NM = '金飞掣' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2004-08-16' AND '2006-12-03' | css |
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT All_Home, COUNT(All_Home) FROM basketball_match GROUP BY All_Home ORDER BY COUNT(All_Home) DESC | nvbench |
CREATE TABLE captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the tables provide... | SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY Flag | nvbench |
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
JY... | SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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 jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE hz_info.RYBH = '... | css |
CREATE TABLE table_20671 (
"State" text,
"Preliminary Average" text,
"Interview" text,
"Swimsuit" text,
"Evening Gown" text,
"Semifinal Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the evening gown score for the woman who sco... | SELECT "Evening Gown" FROM table_20671 WHERE "Interview" = '7.600 (9)' | wikisql |
CREATE TABLE Apartment_Facilities (
apt_id INTEGER,
facility_code CHAR(15)
)
CREATE TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_count INTEGER,
bedroom_count INTEGER,
room_count CHAR(5)
)
CREATE TABLE Guests (
gue... | SELECT gender_code, COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC | nvbench |
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 cost (
costid num... | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, 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 = 's/p thoracoscopic procedure' AND DATETIM... | eicu |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51213" | mimicsql_data |
CREATE TABLE table_42511 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the golds of the nation with 5 total and less than 0 bronze medals?
| SELECT SUM("Gold") FROM table_42511 WHERE "Total" = '5' AND "Bronze" < '0' | wikisql |
CREATE TABLE table_48417 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What kind of Crowd has a Ground of subiaco oval... | SELECT SUM("Crowd") FROM table_48417 WHERE "Ground" = 'subiaco oval' | wikisql |
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... | SELECT MAX(Location) AS Location, COUNT(*) AS "number_of_users" FROM Users GROUP BY Location ORDER BY 'number_of_users' DESC LIMIT 100 | sede |
CREATE TABLE table_19536 (
"Pick #" real,
"Player" text,
"Position" text,
"Nationality" text,
"NHL team" text,
"College/junior/club team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the pick# for the medicine hat tigers (wchl)?
| SELECT MIN("Pick #") FROM table_19536 WHERE "College/junior/club team" = 'Medicine Hat Tigers (WCHL)' | wikisql |
CREATE TABLE table_37945 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Loss has a Date of july 2?
| SELECT "Loss" FROM table_37945 WHERE "Date" = 'july 2' | wikisql |
CREATE TABLE table_name_39 (
tournament VARCHAR,
margin_of_victory VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Tournament has a Margin of victory of 1 stroke, and a Date of oct 7, 1990?
| SELECT tournament FROM table_name_39 WHERE margin_of_victory = "1 stroke" AND date = "oct 7, 1990" | sql_create_context |
CREATE TABLE course (
course_id varchar(8),
title varchar(50),
dept_name varchar(20),
credits numeric(2,0)
)
CREATE TABLE classroom (
building varchar(15),
room_number varchar(7),
capacity numeric(4,0)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
bud... | SELECT building, COUNT(building) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY building | nvbench |
CREATE TABLE table_name_47 (
molweight__daltons_ VARCHAR,
percent_of_mass VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the mol.weight (daltons) when the percent of mass is 1.5?
| SELECT molweight__daltons_ FROM table_name_47 WHERE percent_of_mass = "1.5" | sql_create_context |
CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
OVE_PAY numb... | SELECT SOC_SRT_DIRE_CD, SOC_SRT_DIRE_NM FROM t_kc22 WHERE MED_CLINIC_ID = '93699422590' AND UP_LIMIT_AMO > 5808.74 | css |
CREATE TABLE table_name_85 (
team__number1 VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the team #1 with an 11th place position?
| SELECT team__number1 FROM table_name_85 WHERE position = "11th place" | sql_create_context |
CREATE TABLE table_71921 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the rank of the qual 141.471?
| SELECT "Rank" FROM table_71921 WHERE "Qual" = '141.471' | wikisql |
CREATE TABLE table_21739 (
"Series #" real,
"Episode #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"U.S. viewers (million)" text,
"Original airdate" text,
"Production Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... | SELECT "Written by" FROM table_21739 WHERE "Production Code" = '2T6268' | wikisql |
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE university (
Scho... | SELECT ACC_Road, AVG(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY AVG(Team_ID) | nvbench |
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... | SELECT gwyjzb.MED_ORG_DEPT_NM, AVG(t_kc24.OVE_PAY) FROM gwyjzb JOIN t_kc24 ON gwyjzb.MED_CLINIC_ID = t_kc24.MED_CLINIC_ID WHERE gwyjzb.MED_SER_ORG_NO = '3761566' GROUP BY gwyjzb.MED_ORG_DEPT_NM UNION SELECT fgwyjzb.MED_ORG_DEPT_NM, AVG(t_kc24.OVE_PAY) FROM fgwyjzb JOIN t_kc24 ON fgwyjzb.MED_CLINIC_ID = t_kc24.MED_CLINI... | css |
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... | 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 = "Arthropathy, unspecified, site unspecified" AND lab.flag = "abnormal" | mimicsql_data |
CREATE TABLE table_name_25 (
album VARCHAR,
certification VARCHAR,
peak_position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What album had a peak position of 6 and a certification of 3x platinum?
| SELECT album FROM table_name_25 WHERE certification = "3x platinum" AND peak_position = 6 | sql_create_context |
CREATE TABLE table_name_55 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which opponent has a record of 4-2?
| SELECT opponent FROM table_name_55 WHERE record = "4-2" | sql_create_context |
CREATE TABLE table_70643 (
"Player" text,
"Date" text,
"Original Team" text,
"Offer Team" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player originally played for the Los Angeles Kings?
| SELECT "Player" FROM table_70643 WHERE "Original Team" = 'los angeles kings' | wikisql |
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code tex... | SELECT (SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-52724')) AND intakeoutput.cellpath L... | eicu |
CREATE TABLE table_name_76 (
finish VARCHAR,
qual VARCHAR,
laps VARCHAR,
start VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did the driver who started 9 with a qualifing speed of 152.672 and finished fewer than 197 laps finish?
| SELECT finish FROM table_name_76 WHERE laps < 197 AND start = "9" AND qual = "152.672" | sql_create_context |
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE restriction (
restriction_code text,
... | 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 = 'SAN FRANCISCO' AND date_day.day_number = 27 AND date_day.month_number = ... | atis |
CREATE TABLE table_train_231 (
"id" int,
"hemoglobin_a1c_hba1c" float,
"heart_disease" bool,
"stroke" bool,
"renal_disease" bool,
"estimated_glomerular_filtration_rate_egfr" int,
"allergy_to_milk" bool,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the table... | SELECT * FROM table_train_231 WHERE renal_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 60 | criteria2sql |
CREATE TABLE table_203_577 (
id number,
"tenure" text,
"coach" text,
"years" number,
"record" text,
"pct." number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the total number of years wallace wade was a coach ?
| SELECT "years" FROM table_203_577 WHERE "coach" = 'wallace wade' | squall |
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE fare (
fare_id int,
from_airport varchar,
to_airport varchar,
fare_basis_code text,
fare_airline text,
restriction_code text,
one_direction_cost int,
round_trip_cost int,
... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'ST. LOUIS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'LAS ... | atis |
CREATE TABLE table_17251 (
"Station Number" text,
"District" text,
"Location" text,
"Type" text,
"Appliances" text,
"Registrations" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the total number of location where station number is c03
| SELECT COUNT("Location") FROM table_17251 WHERE "Station Number" = 'C03' | wikisql |
CREATE TABLE table_38776 (
"Surname" text,
"First" text,
"D.O.B." text,
"Bats" text,
"Throws" text,
"Position" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many throws did james get?
| SELECT "Throws" FROM table_38776 WHERE "First" = 'james' | wikisql |
CREATE TABLE table_name_38 (
per_capita_income VARCHAR,
median_family_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Per capita income has a Median family income of $50,755?
| SELECT per_capita_income FROM table_name_38 WHERE median_family_income = "$50,755" | sql_create_context |
CREATE TABLE table_7371 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many lost stats have a played number of less... | SELECT COUNT("Lost") FROM table_7371 WHERE "Played" < '8' | wikisql |
CREATE TABLE table_name_18 (
aspect VARCHAR,
programming VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Aspect has a Programming of latv?
| SELECT aspect FROM table_name_18 WHERE programming = "latv" | sql_create_context |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age te... | SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-16517')) AND lab.labname = 'mcv' ORDER BY lab.labresulttime LIMIT 1 | eicu |
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... | SELECT Sex, AVG(Height) FROM people GROUP BY Sex ORDER BY Sex | nvbench |
CREATE TABLE table_56732 (
"Edition" real,
"Zone" text,
"Round" text,
"Date" text,
"Against" text,
"Surface" text,
"Partner" text,
"Opponents" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the surface on the ... | SELECT "Surface" FROM table_56732 WHERE "Opponents" = 'margit rüütel anett schutting' | wikisql |
CREATE TABLE table_name_96 (
title VARCHAR,
developer VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which title was developed by Battlecry Studios?
| SELECT title FROM table_name_96 WHERE developer = "battlecry studios" | sql_create_context |
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
connections int,
departure_time int,
dual_carrier text,
flight_days text,
flight_id int,
flight_number int,
from_airport varchar,
meal_code text,
stops int,... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MIAMI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'CLEVELAN... | atis |
CREATE TABLE table_43977 (
"City" text,
"Korean" text,
"Hanja" text,
"Province" text,
"Population (2010)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Korean word for Pohang?
| SELECT "Korean" FROM table_43977 WHERE "City" = 'pohang' | wikisql |
CREATE TABLE table_76713 (
"Week" text,
"Theme" text,
"Artist" text,
"Order sung" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the theme for the Top 11 week?
| SELECT "Theme" FROM table_76713 WHERE "Week" = 'top 11' | 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... | SELECT mzjzjlb.JZLSH FROM person_info JOIN hz_info JOIN mzjzjlb 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 WHERE person_info.XM = '孔傲晴' AND hz_info.YLJGDM = '9262295' AND mzjzjlb.JZKSMC LIKE '%遗传%' | css |
CREATE TABLE table_name_33 (
tujunga VARCHAR,
la_crescenta__montrose VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the percentage of Tukunga when La Crescenta-Montrose is 28%?
| SELECT tujunga FROM table_name_33 WHERE la_crescenta__montrose = "28%" | sql_create_context |
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE icustays (
row_id number,
s... | SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 1205)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial ... | 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 jyjgzbb (
BGDH text,
BGRQ tim... | 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 Apartment_Buildings (
building_id INTEGER,
building_short_name CHAR(15),
building_full_name VARCHAR(80),
building_description VARCHAR(255),
building_address VARCHAR(255),
building_manager VARCHAR(50),
building_phone VARCHAR(80)
)
CREATE TABLE Apartment_Facilities (
apt_id I... | SELECT facility_code, COUNT(facility_code) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 GROUP BY facility_code ORDER BY COUNT(facility_code) | nvbench |
CREATE TABLE table_5516 (
"Game" real,
"January" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number in January for Philadelphia Flyers as opponents?
| SELECT COUNT("January") FROM table_5516 WHERE "Opponent" = 'philadelphia flyers' | wikisql |
CREATE TABLE table_75290 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For a segment D of pasta, what is the segment B?
| SELECT "Segment B" FROM table_75290 WHERE "Segment D" = 'pasta' | wikisql |
CREATE TABLE table_203_168 (
id number,
"team name" text,
"leagues" text,
"base" text,
"year started" text,
"year ended" text,
"notable riders" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did the canterbury crusaders begin their team in 1... | SELECT "year started" FROM table_203_168 WHERE "team name" = 'canterbury crusaders' | squall |
CREATE TABLE table_54221 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which grid is the highest and has a time/retired of +0.3?
| SELECT MAX("Grid") FROM table_54221 WHERE "Time/Retired" = '+0.3' | wikisql |
CREATE TABLE table_1193568_1 (
election_date VARCHAR,
member VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the election date where member is william richmond category:articles with hcards
| SELECT election_date FROM table_1193568_1 WHERE member = "William Richmond Category:Articles with hCards" | sql_create_context |
CREATE TABLE table_26262 (
"Party" text,
"Week 32" text,
"Week 33" text,
"Week 34" text,
"Week 35" text,
"Week 36" text,
"Week 37" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the week 32 result when week 33 is 31.9%?
| SELECT "Week 32" FROM table_26262 WHERE "Week 33" = '31.9%' | wikisql |
CREATE TABLE table_6667 (
"Season" text,
"Competition" text,
"Round" text,
"Club" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the final score of the competition that features the club of fk Austria wien?
| SELECT "Score" FROM table_6667 WHERE "Club" = 'fk austria wien' | wikisql |
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PendingFlags ... | SELECT p.Id AS "post_link", p.Score, p.OwnerUserId AS "user_link", u.Reputation, p.CreationDate FROM Posts AS p INNER JOIN Users AS u ON p.OwnerUserId = u.Id WHERE u.Reputation >= '##minReputation##' AND p.PostTypeId = 1 ORDER BY p.CreationDate DESC LIMIT 100 | sede |
CREATE TABLE table_27760 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" real,
"U.S viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Li... | SELECT COUNT("Production code") FROM table_27760 WHERE "Directed by" = 'Linda Mendoza' | wikisql |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescription... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND procedures.short_title = "Colonoscopy" | mimicsql_data |
CREATE TABLE table_name_45 (
location VARCHAR,
coach VARCHAR,
founded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the club that was founded in 1946 located that has an unknown coach?
| SELECT location FROM table_name_45 WHERE coach = "unknown" AND founded = 1946 | sql_create_context |
CREATE TABLE t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_DIRE_NM text,... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_ID = '38590585' AND t_kc22.MED_INV_ITEM_TYPE = '检查费' | css |
CREATE TABLE table_name_10 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was in 2007 that has a 3r of 1999?
| SELECT 2007 FROM table_name_10 WHERE 1999 = "3r" | sql_create_context |
CREATE TABLE participates_in (
stuid number,
actid number
)
CREATE TABLE faculty (
facid number,
lname text,
fname text,
rank text,
sex text,
phone number,
room text,
building text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
se... | SELECT T2.stuid FROM faculty AS T1 JOIN student AS T2 ON T1.facid = T2.advisor WHERE T1.rank = "Professor" | spider |
CREATE TABLE table_43559 (
"1946 Nos" text,
"1947 Nos" text,
"Date" real,
"Built at" text,
"LMS Nos" text,
"BR Nos" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Built at has a Date of 1946, and a 1947 Nos of 3556/7?
| SELECT "Built at" FROM table_43559 WHERE "Date" = '1946' AND "1947 Nos" = '3556/7' | wikisql |
CREATE TABLE table_8729 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round when the loss came with a record of 2-4?
| SELECT "Round" FROM table_8729 WHERE "Res." = 'loss' AND "Record" = '2-4' | wikisql |
CREATE TABLE table_name_4 (
krypton VARCHAR,
neon VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Krypton has Neon of 10?
| SELECT krypton FROM table_name_4 WHERE neon = "10" | sql_create_context |
CREATE TABLE table_46406 (
"Name" text,
"Latitude" text,
"Longitude" text,
"Diameter (km)" real,
"Year named" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the latitude when the longitude is 152.0e later than 1997?
| SELECT "Latitude" FROM table_46406 WHERE "Year named" > '1997' AND "Longitude" = '152.0e' | wikisql |
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
... | SELECT inputevents_cv.charttime 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 = 12455)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label... | mimic_iii |
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... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.diagnosis = "AORTIC VALVE INSUFFIENCY\AORTIC VALVE REPLACEMENT /SDA" | mimicsql_data |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.