context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE table_72535 (
"Player" text,
"Position" text,
"Starter" text,
"Touchdowns" real,
"Extra points" real,
"Field goals" real,
"Points" real
) | Name the most touchdowns for norcross | SELECT MAX("Touchdowns") FROM table_72535 WHERE "Player" = 'Norcross' | wikisql |
CREATE TABLE table_62003 (
"Year" real,
"Gold" text,
"Silver" text,
"Bronze" text,
"Notes" text
) | What is Notes, when Year is '2010'? | SELECT "Notes" FROM table_62003 WHERE "Year" = '2010' | wikisql |
CREATE TABLE Customer_Policies (
Policy_ID INTEGER,
Customer_ID INTEGER,
Policy_Type_Code CHAR(15),
Start_Date DATE,
End_Date DATE
)
CREATE TABLE Settlements (
Settlement_ID INTEGER,
Claim_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amo... | Among all the claims, which claims have a claimed amount larger than the average? Please Bin the date it was settled into weekday interval and count them to show a bar chart. | SELECT Date_Claim_Settled, COUNT(Date_Claim_Settled) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) | nvbench |
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, give me the comparison about the sum of department_id over the job_id , and group by attribute job_id, rank from high to low by the names. | SELECT JOB_ID, SUM(DEPARTMENT_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 table_name_98 (
nationality VARCHAR,
round VARCHAR
) | In round 9 what was the nationality? | SELECT nationality FROM table_name_98 WHERE round = "9" | 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... | Difference between accepted and highest-rated answer. | SELECT Answers.Id AS accId, Answers2.Id AS bestId, Answers.CreationDate AS accDate, Answers2.CreationDate AS bestDate, Answers.Score AS accScore, Answers2.Score AS bestScore, (CAST(Answers2.CreationDate AS INT) - CAST(Answers.CreationDate AS INT)) AS Dif, Questions.Tags AS tags FROM Posts AS Questions INNER JOIN Posts ... | sede |
CREATE TABLE table_32783 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | At which venue did the home team score 12.15 (87)? | SELECT "Venue" FROM table_32783 WHERE "Home team score" = '12.15 (87)' | 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_CLINIC_ID text,
MED_DIRE_CD tex... | 从二零零一年五月一日到二零一六年四月五日这段时间里,患者孙宏儒的哪些药品自费金额高于4787.85元的,把数量统计出来 | SELECT COUNT(*) FROM t_kc22 WHERE t_kc22.t_kc21_PERSON_NM = '孙宏儒' AND t_kc22.STA_DATE BETWEEN '2001-05-01' AND '2016-04-05' AND t_kc22.SELF_PAY_AMO > 4787.85 | css |
CREATE TABLE table_name_8 (
callsign VARCHAR,
area_served VARCHAR,
frequency VARCHAR
) | What is the Callsign with an Area of tamworth and frequency of 0 88.9? | SELECT callsign FROM table_name_8 WHERE area_served = "tamworth" AND frequency = "0 88.9" | sql_create_context |
CREATE TABLE table_47744 (
"Series Sorted" text,
"Title" text,
"Doctor" text,
"Featuring" text,
"Released" text
) | What was the date of release for the episode sorted value of 6Y/AA? | SELECT "Released" FROM table_47744 WHERE "Series Sorted" = '6y/aa' | wikisql |
CREATE TABLE table_55660 (
"Release format" text,
"Country" text,
"Label" text,
"Cat. No." text,
"Release date" real
) | How many release dates has Canada had? | SELECT COUNT("Release date") FROM table_55660 WHERE "Country" = 'canada' | wikisql |
CREATE TABLE table_31222 (
"Skip (Club)" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real
) | What is the largest number in L? | SELECT MAX("L") FROM table_31222 | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | what is the number of patients whose diagnoses long title is candidiasis of mouth and drug name is artificial tears? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Candidiasis of mouth" AND prescriptions.drug = "Artificial Tears" | mimicsql_data |
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... | 能知道医疗就诊46607257909入院时诊断的疾病编号以及疾病的名称吗 | SELECT gwyjzb.IN_DIAG_DIS_CD, gwyjzb.IN_DIAG_DIS_NM FROM gwyjzb WHERE gwyjzb.MED_CLINIC_ID = '46607257909' UNION SELECT fgwyjzb.IN_DIAG_DIS_CD, fgwyjzb.IN_DIAG_DIS_NM FROM fgwyjzb WHERE fgwyjzb.MED_CLINIC_ID = '46607257909' | css |
CREATE TABLE table_name_62 (
nationality VARCHAR,
round VARCHAR,
time VARCHAR
) | What was the nationality of the swimmer in the semifinal with a time of 29.51? | SELECT nationality FROM table_name_62 WHERE round = "semifinal" AND time = "29.51" | sql_create_context |
CREATE TABLE table_269 (
"Series no." real,
"Season no." real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production Code" real
) | What is the first season written by joseph hampton & dani renee? | SELECT MIN("Season no.") FROM table_269 WHERE "Written by" = 'Joseph Hampton & Dani Renee' | wikisql |
CREATE TABLE table_name_20 (
class VARCHAR,
city_of_license VARCHAR
) | Which class has a city of Richmond, Virginia? | SELECT class FROM table_name_20 WHERE city_of_license = "richmond, virginia" | sql_create_context |
CREATE TABLE table_58628 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
) | What is Outcome, when Date is '19 September 2012'? | SELECT "Outcome" FROM table_58628 WHERE "Date" = '19 september 2012' | wikisql |
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar... | can i take a single airline from LOS ANGELES to CHARLOTTE to NEWARK back to LOS ANGELES | SELECT DISTINCT airline.airline_code FROM airline, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, airport_service AS AIRPORT_SERVICE_3, airport_service AS AIRPORT_SERVICE_4, airport_service AS AIRPORT_SERVICE_5, city AS CITY_0, city AS CITY_1, city AS C... | atis |
CREATE TABLE table_78175 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
) | How many laps for a grid larger than 1 with a Time/Retired of halfshaft? | SELECT "Laps" FROM table_78175 WHERE "Grid" > '1' AND "Time/Retired" = 'halfshaft' | wikisql |
CREATE TABLE table_1805191_36 (
candidates VARCHAR,
incumbent VARCHAR
) | Who are all of the candidates in elections where Dennis Kucinich was a candidate? | SELECT candidates FROM table_1805191_36 WHERE incumbent = "Dennis Kucinich" | sql_create_context |
CREATE TABLE table_68200 (
"Team" text,
"City" text,
"Stadium" text,
"Manager" text,
"Past season" text
) | where is the naghsh jahan stadium? | SELECT "City" FROM table_68200 WHERE "Stadium" = 'naghsh jahan' | wikisql |
CREATE TABLE table_name_66 (
silver INTEGER,
rank VARCHAR,
total VARCHAR
) | What is the total number of silver medals for countries of rank 14, with less than 1 total medals? | SELECT SUM(silver) FROM table_name_66 WHERE rank = "14" AND total < 1 | sql_create_context |
CREATE TABLE table_name_20 (
result VARCHAR,
opponent VARCHAR
) | What was the results against the Philadelphia Eagles? | SELECT result FROM table_name_20 WHERE opponent = "philadelphia eagles" | sql_create_context |
CREATE TABLE table_name_56 (
proposed VARCHAR,
cerclis_id VARCHAR
) | What was the Proposed date of the entry that has a CERCLIS ID of al0001058056? | SELECT proposed FROM table_name_56 WHERE cerclis_id = "al0001058056" | sql_create_context |
CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD... | 列出所有医疗就诊记录的统筹基金支出与医疗费总额在医院6000894的平均比值是多大,在不同科室编码下? | SELECT t_kc21.MED_ORG_DEPT_CD, AVG(t_kc24.OVE_PAY) FROM t_kc21 JOIN t_kc24 JOIN t_kc21_t_kc24 ON t_kc21.MED_CLINIC_ID = t_kc21_t_kc24.MED_CLINIC_ID AND t_kc21_t_kc24.MED_SAFE_PAY_ID = t_kc24.MED_SAFE_PAY_ID WHERE t_kc21.MED_SER_ORG_NO = '6000894' GROUP BY t_kc21.MED_ORG_DEPT_CD | css |
CREATE TABLE table_70541 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
) | Who got the loss for the game ending in a record of 55-41? | SELECT "Loss" FROM table_70541 WHERE "Record" = '55-41' | wikisql |
CREATE TABLE table_28846752_13 (
economy VARCHAR,
bbi VARCHAR
) | What is the economy of the player with BBI of 3/33? | SELECT economy FROM table_28846752_13 WHERE bbi = "3/33" | sql_create_context |
CREATE TABLE table_name_76 (
date VARCHAR,
location VARCHAR
) | On what date did a race occur at Long Beach? | SELECT date FROM table_name_76 WHERE location = "long beach" | sql_create_context |
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate ... | Top VBA/Excel Nerds - all - for the last 30 days. | SELECT CAST(a.CreationDate AS DATE) AS PostDate, a.OwnerUserId AS "user_link", COUNT(a.Id) AS aNumPosts, SUM(a.Score) AS aScore, SUM(LEN(Body) - LEN(REPLACE(Body, ' ', '')) + 1) AS Words FROM PostTags AS pt LEFT JOIN Tags AS t ON t.Id = pt.TagId LEFT JOIN Posts AS a ON pt.PostId IN (a.Id, a.ParentId) WHERE pt.TagId IN ... | sede |
CREATE TABLE table_66961 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
) | Which region had a label of Central Station? | SELECT "Region" FROM table_66961 WHERE "Label" = 'central station' | wikisql |
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE flight (
aircraft_code_sequence text,
airline_code varchar,
airline_flight text,
arrival_time int,
... | show me all flights from ORLANDO to SAN DIEGO on a BOEING 737 | SELECT DISTINCT flight.flight_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, equipment_sequence, flight WHERE (aircraft.basic_type = '737' AND aircraft.manufacturer = 'BOEING' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.cit... | atis |
CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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,
H... | 承担医疗就诊20402375082在治疗期间开具项目77010612991具体费用明细的医师编码及姓名分别是什么? | SELECT t_kc22.HOSP_DOC_CD, t_kc22.HOSP_DOC_NM FROM t_kc22 WHERE t_kc22.MED_EXP_DET_ID = '77010612991' | css |
CREATE TABLE table_19787093_1 (
vehicle_category VARCHAR,
till_agra VARCHAR
) | What kind of vehicle is the agra 1050? | SELECT vehicle_category FROM table_19787093_1 WHERE till_agra = 1050 | sql_create_context |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
... | what was the yearly maximum amount of urine given to patient 009-8833 since 167 months ago? | SELECT MAX(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 = '009-8833')) AND intakeoutput.celllabel = 'urine'... | eicu |
CREATE TABLE table_name_62 (
position VARCHAR,
player VARCHAR
) | What position does Alexei Lazarenko have? | SELECT position FROM table_name_62 WHERE player = "alexei lazarenko" | sql_create_context |
CREATE TABLE skills_required_to_fix (
part_fault_id number,
skill_id number
)
CREATE TABLE parts (
part_id number,
part_name text,
chargeable_yn text,
chargeable_amount text,
other_part_details text
)
CREATE TABLE maintenance_engineers (
engineer_id number,
company_id number,
f... | Which engineer has visited the most times? Show the engineer id, first name and last name. | SELECT T1.engineer_id, T1.first_name, T1.last_name FROM maintenance_engineers AS T1 JOIN engineer_visits AS T2 GROUP BY T1.engineer_id ORDER BY COUNT(*) DESC LIMIT 1 | spider |
CREATE TABLE table_name_35 (
title VARCHAR,
tv_companions_featured VARCHAR
) | What is Title, when TV Companions Featured is 'K-9'? | SELECT title FROM table_name_35 WHERE tv_companions_featured = "k-9" | sql_create_context |
CREATE TABLE compartment_class (
compartment varchar,
class_type varchar
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE class_of_service (
booking_class varchar,
rank int,
class_description text
)
CREATE TABLE time_zone (
time_zone_code tex... | flights from WASHINGTON to DENVER | 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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DEN... | atis |
CREATE TABLE county (
Zip_code VARCHAR,
County_name VARCHAR
) | Show the zip code of the county with name 'Howard'. | SELECT Zip_code FROM county WHERE County_name = "Howard" | sql_create_context |
CREATE TABLE table_name_4 (
balls_faced INTEGER,
average VARCHAR,
runs_scored VARCHAR
) | Which Balls Faced has a Average of 39.13 and Runs Scored larger than 313? | SELECT SUM(balls_faced) FROM table_name_4 WHERE average = 39.13 AND runs_scored > 313 | 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... | since 2104, when did patient 2514 first visit the hospital? | SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 2514 AND STRFTIME('%y', admissions.admittime) >= '2104' ORDER BY admissions.admittime LIMIT 1 | mimic_iii |
CREATE TABLE table_11327 (
"Round" real,
"Pick" real,
"Name" text,
"Position" text,
"School" text
) | What Pick number is Rich Burtness? | SELECT AVG("Pick") FROM table_11327 WHERE "Name" = 'rich burtness' | wikisql |
CREATE TABLE table_69560 (
"Year" text,
"Start" text,
"Qual" text,
"Rank" text,
"Finish" text,
"Laps" real
) | Which Year has a Qual of 144.683 and Lap larger than 27? | SELECT "Year" FROM table_69560 WHERE "Laps" > '27' AND "Qual" = '144.683' | wikisql |
CREATE TABLE table_30491 (
"Team" text,
"Female \u00e9p\u00e9e" text,
"Male \u00e9p\u00e9e" text,
"Female foil" text,
"Male foil" text,
"Female saber" text,
"Male saber" text,
"Average fencers rank" text,
"Initial Team rank" real
) | What team had an average fencer rank of 1.33? | SELECT "Team" FROM table_30491 WHERE "Average fencers rank" = '1.33' | wikisql |
CREATE TABLE artist (
Artist_ID int,
Name text,
Country text,
Year_Join int,
Age int
)
CREATE TABLE exhibition (
Exhibition_ID int,
Year int,
Theme text,
Artist_ID int,
Ticket_Price real
)
CREATE TABLE exhibition_record (
Exhibition_ID int,
Date text,
Attendance int... | For all artist names who are not from the United States, show the total number of each year, show in asc by the Y. | SELECT Year_Join, COUNT(Year_Join) FROM artist WHERE Country <> 'United States' GROUP BY Year_Join ORDER BY COUNT(Year_Join) | nvbench |
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... | 医院9033547全部医疗记录的医疗费总额与个人账户支出的平均比值为多少在07年11月19日到17年2月7日内? | SELECT AVG(t_kc24.PER_ACC_PAY) FROM qtb JOIN t_kc24 ON qtb.MED_CLINIC_ID = t_kc24.MED_CLINIC_ID WHERE qtb.MED_SER_ORG_NO = '9033547' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2007-11-19' AND '2017-02-07' UNION SELECT AVG(t_kc24.PER_ACC_PAY) FROM gyb JOIN t_kc24 ON gyb.MED_CLINIC_ID = t_kc24.MED_CLINIC_ID WHERE gyb.MED_SER_OR... | css |
CREATE TABLE table_61137 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
) | What is the status when Wales is the opposing team and there are more than 13 against? | SELECT "Status" FROM table_61137 WHERE "Against" > '13' AND "Opposing Teams" = 'wales' | wikisql |
CREATE TABLE table_27487310_5 (
judges VARCHAR,
country VARCHAR,
air_dates VARCHAR
) | Who are the judges in the Netherlands for the season airing 28 November 2011 24 December 2011? | SELECT judges FROM table_27487310_5 WHERE country = "Netherlands" AND air_dates = "28 November 2011 – 24 December 2011" | sql_create_context |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid num... | how many patients were diagnosed with anxiety and they didn't come back to the hospital during the same month in 2105? | SELECT (SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'anxiety' AND STRFTIME('%y', diagnosis.diagnosistime) = '2105') AS t1) - (SELECT COUNT(DISTINCT t2.un... | eicu |
CREATE TABLE table_name_49 (
attendance INTEGER,
venue VARCHAR,
round VARCHAR
) | I want to know the average attendance for n venue and f round | SELECT AVG(attendance) FROM table_name_49 WHERE venue = "n" AND round = "f" | sql_create_context |
CREATE TABLE table_26137666_3 (
winning_driver VARCHAR,
winning_team VARCHAR,
circuit VARCHAR
) | Who are all winning drivers if winning team is Carlin Motorsport and circuit is Croft? | SELECT winning_driver FROM table_26137666_3 WHERE winning_team = "Carlin Motorsport" AND circuit = "Croft" | sql_create_context |
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... | 二零一一年六月二十六日到二零二零年四月二十八日这期间,11573905这名患者的247214这个指标的所有记录 | 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_69668 (
"Rank" real,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
) | What is the total gold from New zealand and a rank less than 14? | SELECT SUM("Gold") FROM table_69668 WHERE "Nation" = 'new zealand' AND "Rank" < '14' | wikisql |
CREATE TABLE faculty_participates_in (
facid number,
actid number
)
CREATE TABLE activity (
actid number,
activity_name text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE... | What ranks do we have for faculty? | SELECT DISTINCT rank FROM faculty | spider |
CREATE TABLE table_name_64 (
rank INTEGER,
constituency VARCHAR
) | Can you tell me the lowest Rank that has the Constituency of strathkelvin and bearsden? | SELECT MIN(rank) FROM table_name_64 WHERE constituency = "strathkelvin and bearsden" | sql_create_context |
CREATE TABLE table_name_83 (
date__closing_ VARCHAR,
year INTEGER
) | What is Date (Closing), when Year is greater than 2011? | SELECT date__closing_ FROM table_name_83 WHERE year > 2011 | sql_create_context |
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decima... | For those employees who did not have any job in the past, return a bar chart about the distribution of hire_date and the sum of department_id bin hire_date by weekday, and list y axis in desc order. | SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(DEPARTMENT_ID) DESC | nvbench |
CREATE TABLE table_26207 (
"Outcome" text,
"Year" real,
"Championship" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
) | What was the outcome in the championship where the final score was 6 7(1), 2 6, 6 4, 7 5, 6 7(2)? | SELECT "Outcome" FROM table_26207 WHERE "Score in the final" = '6–7(1), 2–6, 6–4, 7–5, 6–7(2)' | wikisql |
CREATE TABLE table_47390 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | What is the attendance before week 1? | SELECT COUNT("Attendance") FROM table_47390 WHERE "Week" < '1' | wikisql |
CREATE TABLE table_46009 (
"Nat." text,
"Name" text,
"Since" text,
"App(L/C/E)" text,
"Goals(L/C/E)" text,
"Ends" real,
"Transfer fee" text
) | What are the fewest ends with an App(L/C/E) of 51 (44/6/1)? | SELECT MIN("Ends") FROM table_46009 WHERE "App(L/C/E)" = '51 (44/6/1)' | wikisql |
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
) | For those products with a price between 60 and 120, return a bar chart about the distribution of name and code . | SELECT Name, Code FROM Products WHERE Price BETWEEN 60 AND 120 | nvbench |
CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZD... | 看下患者戚婉然在二零零五年十一月二日到二零一零年三月十八日内所有检验结果指标记录的检测人为章光济的检验指标流水号可以吗 | SELECT jyjgzbb.JYZBLSH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = ... | css |
CREATE TABLE table_48572 (
"Position" real,
"Driver / Passenger" text,
"Equipment" text,
"Bike No" real,
"Points" real
) | What is the average Position, when Bike No is greater than 8, and when Points is less than 240? | SELECT AVG("Position") FROM table_48572 WHERE "Bike No" > '8' AND "Points" < '240' | wikisql |
CREATE TABLE table_1404486_1 (
area__km_2__ VARCHAR,
county VARCHAR
) | what is the number of area where the county is marsabit? | SELECT COUNT(area__km_2__) FROM table_1404486_1 WHERE county = "Marsabit" | sql_create_context |
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE hz_info (
KH text,
KLX number... | 自15年7月27日起,截止到16年11月4日,医疗机构6851618的特需门诊有多少就诊记录 | SELECT COUNT(*) FROM mzjzjlb WHERE YLJGDM = '6851618' AND JZKSRQ BETWEEN '2015-07-27' AND '2016-11-04' AND TXBZ > 0 | css |
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayNa... | Cumulative, voteid-scaled up/down history of a single post. | SELECT RANK() OVER (ORDER BY Id) AS No, SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) OVER (ORDER BY Id ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Ups, SUM(CASE WHEN VoteTypeId = 3 THEN -1 ELSE 0 END) OVER (ORDER BY Id ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) AS Downs, SUM(CASE WHEN VoteTypeId = 2 ... | sede |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | what is the number of patients whose diagnoses short title is chronic liver dis nec and drug route is po/ng? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Chronic liver dis NEC" AND prescriptions.route = "PO/NG" | mimicsql_data |
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 name of the treatment which has been given to patient 14211 two or more times this month? | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, COUNT(procedures_icd.charttime) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 142... | mimic_iii |
CREATE TABLE table_29003 (
"District" real,
"Municipalities served" text,
"Judge of probate" text,
"Judges residence" text,
"Location of court" text
) | What district is the court located in Tolland? | SELECT MAX("District") FROM table_29003 WHERE "Location of court" = 'Tolland' | wikisql |
CREATE TABLE table_203_652 (
id number,
"goal" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
) | what is the total number times panama was the opponent ? | SELECT COUNT(*) FROM table_203_652 WHERE "opponent" = 'panama' | squall |
CREATE TABLE table_19114172_11 (
date_s__of_original_removal VARCHAR,
new_channel_s_ VARCHAR
) | When five is the new channel what is the date of original removal? | SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five" | sql_create_context |
CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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,
... | 病号韩向彤在医院9745753内就诊的时候去过的科室名称不包含科室的全部门诊就诊记录的流水号是多少? | SELECT mzjzjlb.JZLSH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN person_info_hz_info ON person_info.RYBH = person_info_hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND person_info_hz_info.KH = hz_info.KH AND person_info_hz_info.KLX = hz_info.KLX AND pers... | css |
CREATE TABLE table_75703 (
"Rank" real,
"Location" text,
"Total Passengers" real,
"Annual change" text,
"Capacity in use" text
) | What is the total number of Total Passengers when the annual change is 28.8% and the rank is less than 8? | SELECT COUNT("Total Passengers") FROM table_75703 WHERE "Annual change" = '28.8%' AND "Rank" < '8' | wikisql |
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
... | This Spring-Summer ( 2000 ) , what courses does Prof. Ami Antonucci teach ? | SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Ami Antonucci%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.off... | advising |
CREATE TABLE table_name_91 (
bronze INTEGER,
rank INTEGER
) | What is the lowest number of bronze medals for teams ranked below 13? | SELECT MIN(bronze) FROM table_name_91 WHERE rank > 13 | sql_create_context |
CREATE TABLE table_2305948_1 (
country VARCHAR
) | How many times has a wrestler from the country of England wrestled in this event? | SELECT COUNT(2) FROM table_2305948_1 WHERE country = "England" | sql_create_context |
CREATE TABLE table_76824 (
"Game" text,
"Date" text,
"Home Team" text,
"Result" text,
"Road Team" text
) | WHAT IS THE DATE WITH BOSTON ROAD TEAM AND 126-105 RESULT? | SELECT "Date" FROM table_76824 WHERE "Road Team" = 'boston' AND "Result" = '126-105' | wikisql |
CREATE TABLE table_63418 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Round" text
) | What is the Round against Gillingham with an Against smaller than 3? | SELECT "Round" FROM table_63418 WHERE "Opposing Team" = 'gillingham' AND "Against" < '3' | wikisql |
CREATE TABLE PostTags (
PostId number,
TagId number
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE T... | Favourites per view for answered questions (draft). | SELECT P.Id AS "post_link", P.ViewCount, V.NumFavs, CAST(V.NumFavs AS FLOAT) / P.ViewCount AS Ratio FROM Posts AS P INNER JOIN (SELECT V.PostId, COUNT(V.Id) AS NumFavs FROM Votes AS V INNER JOIN Users AS U ON U.Id = V.UserId WHERE V.VoteTypeId = 5 GROUP BY PostId) AS V ON V.PostId = P.Id INNER JOIN PostTags AS PT ON PT... | sede |
CREATE TABLE table_name_20 (
points VARCHAR,
year VARCHAR,
chassis VARCHAR
) | How many points are there for a Mclaren m23 chassis later than 1972? | SELECT COUNT(points) FROM table_name_20 WHERE year > 1972 AND chassis = "mclaren m23" | sql_create_context |
CREATE TABLE table_name_59 (
visiting_team VARCHAR,
date VARCHAR
) | Tell me the visiting team for october 4 | SELECT visiting_team FROM table_name_59 WHERE date = "october 4" | sql_create_context |
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... | 在一六年十二月二十七日到二零年九月十九日这段时间内,找医生06844302看病的门诊病人有多少 | SELECT COUNT(hz_info.RYBH) FROM hz_info JOIN txmzjzjlb ON hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX WHERE txmzjzjlb.ZZYSGH = '06844302' AND txmzjzjlb.JZKSRQ BETWEEN '2016-12-27' AND '2020-09-19' UNION SELECT COUNT(hz_info.RYBH) FROM hz_info JOIN ftxmzjzjlb ON hz_inf... | css |
CREATE TABLE table_26161 (
"Episode" text,
"First broadcast" text,
"Davids team" text,
"Lees team" text,
"Scores" text
) | When bill oddie and frank skinner are both on the davids team what is the episode? | SELECT "Episode" FROM table_26161 WHERE "Davids team" = 'Bill Oddie and Frank Skinner' | wikisql |
CREATE TABLE table_name_8 (
road_numbers VARCHAR,
class VARCHAR,
builder VARCHAR,
railroad__quantity_ VARCHAR
) | what is the road numbers when the builder is alco, the railroad (quantity) is union pacific railroad (105) and the class is csa-2? | SELECT road_numbers FROM table_name_8 WHERE builder = "alco" AND railroad__quantity_ = "union pacific railroad (105)" AND class = "csa-2" | sql_create_context |
CREATE TABLE table_37761 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Rank" text,
"Wins" real
) | What is the lowest number of wins with more than 113 points in 4th rank? | SELECT MIN("Wins") FROM table_37761 WHERE "Points" > '113' AND "Rank" = '4th' | wikisql |
CREATE TABLE table_name_14 (
races INTEGER,
tc VARCHAR,
dc VARCHAR
) | Which Races has a T.C. of 3rd, and a D.C. of 7th? | SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th" | sql_create_context |
CREATE TABLE ENROLL (
CLASS_CODE varchar(5),
STU_NUM int,
ENROLL_GRADE varchar(50)
)
CREATE TABLE CLASS (
CLASS_CODE varchar(5),
CRS_CODE varchar(10),
CLASS_SECTION varchar(2),
CLASS_TIME varchar(20),
CLASS_ROOM varchar(8),
PROF_NUM int
)
CREATE TABLE EMPLOYEE (
EMP_NUM int,
... | How many courses for each course description? Show me a stacked bar chart The x-axis is course description and group by office name, and sort by the CRS_DESCRIPTION from low to high please. | SELECT CRS_DESCRIPTION, COUNT(CRS_DESCRIPTION) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY PROF_OFFICE, CRS_DESCRIPTION ORDER BY CRS_DESCRIPTION | nvbench |
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 INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
... | Show the total number from each allergy, order from low to high by the X. | SELECT Allergy, COUNT(*) FROM Has_Allergy GROUP BY Allergy ORDER BY Allergy | nvbench |
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE airline (
airline_code varchar,
airline_name text,
note text
)
CREATE TABLE flight_stop (
flight_id in... | what is the cheapest fare for flights from BOSTON to DALLAS | SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, fare, flight, flight_fare WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_... | atis |
CREATE TABLE table_name_63 (
away_team VARCHAR,
venue VARCHAR
) | Which away team plays at the venue glenferrie oval? | SELECT away_team FROM table_name_63 WHERE venue = "glenferrie oval" | sql_create_context |
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,
round_trip_required varchar
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name ... | are there WEDNESDAY morning flights between PITTSBURGH and BOSTON | 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, days, flight WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND days.day_name = 'WEDNESDAY' AND flight.flight_days = days.days_code AN... | atis |
CREATE TABLE table_9506 (
"Year" real,
"Class" text,
"Team" text,
"Points" real,
"Wins" real
) | What is the total number of Year, when Wins is less than 0? | SELECT COUNT("Year") FROM table_9506 WHERE "Wins" < '0' | wikisql |
CREATE TABLE table_203_830 (
id number,
"year" number,
"song" text,
"chart positions\nus country" number,
"chart positions\ncan country" number,
"album" text
) | which years saw the release of three singles ? | SELECT "year" FROM table_203_830 GROUP BY "year" HAVING COUNT("song") = 3 | squall |
CREATE TABLE table_57426 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | On what date is the Crowd larger than 28,049, and an Home team score of 17.15 (117)? | SELECT "Date" FROM table_57426 WHERE "Crowd" > '28,049' AND "Home team score" = '17.15 (117)' | 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 procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | what is the procedure icd9 code and drug code of subject id 24425? | SELECT procedures.icd9_code, prescriptions.formulary_drug_cd FROM procedures INNER JOIN prescriptions ON procedures.hadm_id = prescriptions.hadm_id WHERE procedures.subject_id = "24425" | mimicsql_data |
CREATE TABLE table_18087 (
"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
) | What is listed under try bonus when listed under Tries for is tries for? | SELECT "Try bonus" FROM table_18087 WHERE "Tries for" = 'Tries for' | wikisql |
CREATE TABLE table_99 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
) | How many people were pick #30? | SELECT COUNT("Position") FROM table_99 WHERE "Pick #" = '30' | wikisql |
CREATE TABLE table_name_92 (
score VARCHAR,
opponent VARCHAR,
record VARCHAR
) | Which score has an Opponent of white sox, and a Record of 2-0? | SELECT score FROM table_name_92 WHERE opponent = "white sox" AND record = "2-0" | sql_create_context |
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | 在2008年5月6日到2018年12月14日内医疗机构5821579的检查费有多少? | SELECT SUM(t_kc22.AMOUNT) FROM t_kc21 JOIN t_kc22 JOIN t_kc21_t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc21_t_kc22.MED_CLINIC_ID AND t_kc21_t_kc22.MED_EXP_DET_ID = t_kc22.MED_EXP_DET_ID WHERE t_kc21.MED_SER_ORG_NO = '5821579' AND t_kc22.STA_DATE BETWEEN '2008-05-06' AND '2018-12-14' AND t_kc22.MED_INV_ITEM_TYPE = '检查费' | css |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.