context stringlengths 11 9.12k | question stringlengths 0 1.06k | SQL stringlengths 2 4.44k | source stringclasses 28
values |
|---|---|---|---|
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZZMC ... | 在01-12-24到12-01-09期间内,把患者奚欣嘉所有检验结果指标记录中的检测方法给列出来 | SELECT jyjgzbb.JCFF FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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 mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb... | css |
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... | give the number of patients whose admission type is emergency and diagnosis icd9 code is 40391. | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.icd9_code = "40391" | mimicsql_data |
CREATE TABLE table_67507 (
"Year" real,
"Entrant" text,
"Chassis" text,
"Engine" text,
"Points" real
) | How many points did Judd v8 has in 1989? | SELECT COUNT("Points") FROM table_67507 WHERE "Engine" = 'judd v8' AND "Year" = '1989' | wikisql |
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
ha... | in 2103 what is the top four most frequent output event? | SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT t1.itemid FROM (SELECT outputevents.itemid, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM outputevents WHERE STRFTIME('%y', outputevents.charttime) = '2103' GROUP BY outputevents.itemid) AS t1 WHERE t1.c1 <= 4) | mimic_iii |
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semes... | Are there any 16 -credit SM classes ? | SELECT DISTINCT name, number FROM course WHERE department = 'SM' AND credits = 16 | advising |
CREATE TABLE table_15621965_16 (
nationality VARCHAR,
school_club_team VARCHAR
) | What is the nationality of th player who's school is Clemson? | SELECT nationality FROM table_15621965_16 WHERE school_club_team = "Clemson" | sql_create_context |
CREATE TABLE Ref_Incident_Type (
incident_type_code VARCHAR(10),
incident_type_description VARCHAR(80)
)
CREATE TABLE Teachers (
teacher_id INTEGER,
address_id INTEGER,
first_name VARCHAR(80),
middle_name VARCHAR(80),
last_name VARCHAR(80),
gender VARCHAR(1),
cell_mobile_number VARC... | Show me about the distribution of date_address_from and the amount of date_address_from , and group by attribute other_details and bin date_address_from by time in a bar chart. | SELECT date_address_from, COUNT(date_address_from) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC | nvbench |
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,
... | 都是什么编号的医疗记录上显示了王霞英这个病人吃的药的价格都高于689.98元的? | SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_NM = '王霞英' AND NOT t_kc21.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT <= 689.98) | css |
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 all employees in the same department as Clara excluding Clara, bin their hire date into the month interval, and count how many employees in each month for a bar chart, rank from low to high by the Y. | SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE DEPARTMENT_ID = (SELECT DEPARTMENT_ID FROM employees WHERE FIRST_NAME = "Clara") AND FIRST_NAME <> "Clara" ORDER BY COUNT(HIRE_DATE) | nvbench |
CREATE TABLE Invoice_Items (
Invoice_Item_ID INTEGER,
Invoice_ID INTEGER,
Order_ID INTEGER,
Order_Item_ID INTEGER,
Product_ID INTEGER,
Order_Quantity INTEGER,
Other_Item_Details VARCHAR(255)
)
CREATE TABLE Marketing_Regions (
Marketing_Region_Code CHAR(15),
Marketing_Region_Name VAR... | A line chart for what are the number of the order dates of orders with price higher than 1000? | SELECT Order_Date, COUNT(Order_Date) FROM Customer_Orders AS T1 JOIN Order_Items AS T2 ON T1.Order_ID = T2.Order_ID JOIN Products AS T3 ON T2.Product_ID = T3.Product_ID WHERE T3.Product_Price > 1000 | nvbench |
CREATE TABLE table_name_24 (
byes INTEGER,
losses VARCHAR,
draws VARCHAR
) | When losses is 6 and draws is more than 0, what is the greatest byes? | SELECT MAX(byes) FROM table_name_24 WHERE losses = 6 AND draws > 0 | sql_create_context |
CREATE TABLE procedures_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
... | what does patient 8098's weight differ second measured on the first hospital visit compared to the first value measured on the first hospital visit? | SELECT (SELECT chartevents.valuenum 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 = 8098 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND charteve... | mimic_iii |
CREATE TABLE table_2528382_2 (
additional_info VARCHAR,
song VARCHAR
) | What is the additional information in the song mera yaar bana hai dulha | SELECT additional_info FROM table_2528382_2 WHERE song = "Mera Yaar Bana Hai Dulha" | sql_create_context |
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName TEXT,
Adults INTEGER,
Kids INTEGER
)
CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
baseP... | Compare the frequency of each type of bed by a bar chart, and list bedType from high to low order. | SELECT bedType, COUNT(bedType) FROM Rooms WHERE decor = "traditional" GROUP BY bedType ORDER BY bedType DESC | nvbench |
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... | what is diagnoses short title of diagnoses icd9 code 45620? | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "45620" | mimicsql_data |
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE Users (
Id number,
Reputation number,
CreationDate time,
DisplayNa... | Number of answers in past 30 days to questions older than 60 days. | SELECT COUNT(*) FROM Posts AS p1 JOIN Posts AS p2 ON p1.ParentId = p2.Id WHERE p1.PostTypeId = 2 AND p1.CreationDate >= DATEADD(DAY, -30, GETDATE()) AND NOT p1.ParentId IS NULL AND p2.PostTypeId = 1 AND p2.CreationDate <= DATEADD(DAY, -60, GETDATE()) | sede |
CREATE TABLE table_27756572_10 (
record VARCHAR,
team VARCHAR
) | What was the record when the Clippers played Philadelphia? | SELECT record FROM table_27756572_10 WHERE team = "Philadelphia" | sql_create_context |
CREATE TABLE table_7874 (
"Rank" text,
"Player" text,
"Lifespan" text,
"Country" text,
"Wins" real,
"Winning span" text
) | Which Country has a Player of arjun atwal? | SELECT "Country" FROM table_7874 WHERE "Player" = 'arjun atwal' | wikisql |
CREATE TABLE table_18177 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
) | Who were the candidates in the district where Charlie Norwood is the incumbent? | SELECT "Candidates" FROM table_18177 WHERE "Incumbent" = 'Charlie Norwood' | wikisql |
CREATE TABLE table_test_12 (
"id" int,
"serum_potassium" float,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"haemoglobin" float,
"consent" bool,
"hemoglobin_a1c_hba1c" float,
"heart_disease" bool,
"renal_disease" bool,
"anaemia" bool,
"cr... | hemoglobin levels > 10.6 mmol / l; | SELECT * FROM table_test_12 WHERE hemoglobin_a1c_hba1c > 10.6 | criteria2sql |
CREATE TABLE table_5295 (
"Year" real,
"Location" text,
"Gold" text,
"Silver" text,
"Bronze" text
) | Who won the gold medal in 1998? | SELECT "Gold" FROM table_5295 WHERE "Year" = '1998' | wikisql |
CREATE TABLE jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM text,
SHRGH ... | 患者卡号以及卡类型在门诊就诊14556788521中是什么? | SELECT KH, KLX FROM mzjzjlb WHERE JZLSH = '14556788521' | css |
CREATE TABLE table_49479 (
"Peak" text,
"Location" text,
"Height (m)" real,
"Prominence (m)" real,
"Col (m)" real,
"Parent" text
) | What is the total Col (m) when the Prominence (m) is less than 4,884, and India / Burma is the location? | SELECT SUM("Col (m)") FROM table_49479 WHERE "Prominence (m)" < '4,884' AND "Location" = 'india / burma' | wikisql |
CREATE TABLE table_name_15 (
name VARCHAR,
event VARCHAR
) | What is the Name with an Event that is men's time trial? | SELECT name FROM table_name_15 WHERE event = "men's time trial" | sql_create_context |
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH text,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZDZZMC ... | 查看一下患者蒋夏彤在二零二一年十月二日到二零一七年八月六日内被开出的所有检验报告单的检验报告单号好嘛 | SELECT jybgb.BGDH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb 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 mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB ... | css |
CREATE TABLE table_73820 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
) | What is the cyrillic and other name of rabe? | SELECT "Cyrillic Name Other Names" FROM table_73820 WHERE "Settlement" = 'Rabe' | wikisql |
CREATE TABLE table_10632 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | What was the away team score at Hawthorn's home game? | SELECT "Away team score" FROM table_10632 WHERE "Home team" = 'hawthorn' | wikisql |
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 (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_la... | What are the number of start date of the apartment bookings made by female guests (gender code 'Female') for each year? Draw a bar chart. | SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id WHERE T2.gender_code = "Female" | nvbench |
CREATE TABLE table_name_32 (
score VARCHAR,
location_attendance VARCHAR,
record VARCHAR
) | What was the score for the game played in Alexander Memorial Coliseum when the record was 0-1? | SELECT score FROM table_name_32 WHERE location_attendance = "alexander memorial coliseum" AND record = "0-1" | sql_create_context |
CREATE TABLE jyjgzbb (
JYZBLSH text,
YLJGDM text,
BGDH text,
BGRQ time,
JYRQ time,
JCRGH text,
JCRXM text,
SHRGH text,
SHRXM text,
JCXMMC text,
JCZBDM text,
JCFF text,
JCZBMC text,
JCZBJGDX text,
JCZBJGDL number,
JCZBJGDW text,
SBBM text,
YQBH text... | 均在2003年2月5号之前的患者58560026的住院就诊记录对应的检验报告单的报告日期都有哪些?住院就诊流水号是多少啊? | 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 = '58560026' AND NOT zyjzjlb.JZLSH IN (SELECT JZLSH FROM jybgb WHERE BGRQ >= '2003-02-05') | css |
CREATE TABLE table_21005 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
) | How did the game end against the New Orleans Saints? | SELECT "Result" FROM table_21005 WHERE "Opponent" = 'New Orleans Saints' | wikisql |
CREATE TABLE Residents_Services (
resident_id VARCHAR
)
CREATE TABLE Residents (
resident_id VARCHAR,
other_details VARCHAR
) | How many services has each resident requested? List the resident id, details, and the count in descending order of the count. | SELECT T1.resident_id, T1.other_details, COUNT(*) FROM Residents AS T1 JOIN Residents_Services AS T2 ON T1.resident_id = T2.resident_id GROUP BY T1.resident_id ORDER BY COUNT(*) DESC | sql_create_context |
CREATE TABLE table_name_87 (
winning_score VARCHAR,
year VARCHAR,
runner_s__up VARCHAR
) | What is the winning score before 1959, with runner-up Jackie Pung? | SELECT winning_score FROM table_name_87 WHERE year < 1959 AND runner_s__up = "jackie pung" | sql_create_context |
CREATE TABLE table_58968 (
"Nat." text,
"Name" text,
"Moving to" text,
"Type" text,
"Transfer window" text
) | What is the transfer window of the player moving to Panionios? | SELECT "Transfer window" FROM table_58968 WHERE "Moving to" = 'panionios' | wikisql |
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDispl... | 200+ Users Who Seem to Speak Korean. | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Users.DisplayName, Users.Reputation, Users.Id FROM Users WHERE (Reputation >= 200) AND ((LOWER(Location) LIKE LOWER('%korea%') OR LOWER(Location) LIKE LOWER('%seoul%'))) ORDER BY Reputation DESC | sede |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime t... | what is the minimum total cost of the hospital, which includes medicines called 50 ml flex cont: magnesium sulfate 40 mg/ml ij soln during a year before? | SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = '50 ml flex cont: magnesium sulfate 40 mg/ml ij... | eicu |
CREATE TABLE table_name_64 (
lost INTEGER,
points VARCHAR,
position VARCHAR
) | what is the average number lost when points is 14 and position is more than 1? | SELECT AVG(lost) FROM table_name_64 WHERE points = 14 AND position > 1 | sql_create_context |
CREATE TABLE table_203_466 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
) | which team had four gold models and one bronze medal ? | SELECT "nation" FROM table_203_466 WHERE "gold" = 4 AND "bronze" = 1 | squall |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
... | provide the number of patients whose item id is 50994? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "50994" | mimicsql_data |
CREATE TABLE table_13585 (
"Rank" real,
"Lane" real,
"Name" text,
"Nationality" text,
"Time" text
) | Swimmer Audrey Lacroix finished in what time? | SELECT "Time" FROM table_13585 WHERE "Name" = 'audrey lacroix' | wikisql |
CREATE TABLE table_77333 (
"C/W 15+" real,
"Oblast\\Age" text,
"15 to 17" real,
"18 to 19" real,
"20 to 24" real,
"25 to 29" real,
"30 to 34" real,
"35 to 39" real,
"40 to 44" real,
"45 to 49" real,
"50 to 54" real,
"55 to 59" real,
"60 to 64" real,
"65 to 69" rea... | With a 20 to 24 less than 676, and a 15 to 17 greater than 16, and a 60 to 64 less than 3,142, what is the average 45 to 49? | SELECT AVG("45 to 49") FROM table_77333 WHERE "20 to 24" < '676' AND "15 to 17" > '16' AND "60 to 64" < '3,142' | wikisql |
CREATE TABLE table_74432 (
"Pick #" real,
"MLS team" text,
"Player" text,
"Position" text,
"Affiliation" text
) | What pick number did Real Salt Lake get? | SELECT MIN("Pick #") FROM table_74432 WHERE "MLS team" = 'Real Salt Lake' | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | To how many patients on urgent admission were d5w (excel bag) administered? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "URGENT" AND prescriptions.drug = "D5W (EXCEL BAG)" | mimicsql_data |
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 (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
... | what is average age of patients whose age is greater than or equal to 44 and admission year is greater than or equal to 2197? | SELECT AVG(demographic.age) FROM demographic WHERE demographic.age >= "44" AND demographic.admityear >= "2197" | mimicsql_data |
CREATE TABLE table_57126 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
) | Name the total number of attendance when the cavaliers visited | SELECT COUNT("Attendance") FROM table_57126 WHERE "Visitor" = 'cavaliers' | wikisql |
CREATE TABLE table_29389 (
"Province" text,
"Registered voters" real,
"People voted" real,
"Valid votes" real,
"Invalid votes" real,
"Yes" real,
"Yes (%)" text,
"No" real,
"No (%)" text,
"Turnout (%)" text
) | How many registered voters were there when 36.32% of people voted yes? | SELECT MIN("Registered voters") FROM table_29389 WHERE "Yes (%)" = '36.32' | wikisql |
CREATE TABLE table_39140 (
"Nation" text,
"Skip" text,
"Third" text,
"Second" text,
"Lead" text
) | Which Skip has a Third of carlo alessandro zisa? | SELECT "Skip" FROM table_39140 WHERE "Third" = 'carlo alessandro zisa' | wikisql |
CREATE TABLE table_204_126 (
id number,
"place" text,
"player" text,
"country" text,
"score" text,
"to par" number,
"money ($)" number
) | who had the same score as ben crenshaw ? | SELECT "player" FROM table_204_126 WHERE "player" <> 'ben crenshaw' AND "score" = (SELECT "score" FROM table_204_126 WHERE "player" = 'ben crenshaw') | squall |
CREATE TABLE table_63609 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text,
"Money ( \u00a3 )" text
) | How much Money( )australia has ? | SELECT "Money ( \u00a3 )" FROM table_63609 WHERE "Country" = 'australia' | wikisql |
CREATE TABLE artist (
artist_name varchar2(50),
country varchar2(20),
gender varchar2(20),
preferred_genre 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),
la... | What is the average song rating for each language. | SELECT languages, AVG(rating) FROM song GROUP BY languages | nvbench |
CREATE TABLE team (
team_id number,
name text
)
CREATE TABLE country (
country_id number,
country_name text,
capital text,
official_native_language text
)
CREATE TABLE match_season (
season number,
player text,
position text,
country number,
team number,
draft_pick_numb... | What are the names of colleges that have two or more players, listed in descending alphabetical order? | SELECT college FROM match_season GROUP BY college HAVING COUNT(*) >= 2 ORDER BY college DESC | spider |
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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE T... | For those employees who did not have any job in the past, give me the comparison about the sum of employee_id over the hire_date bin hire_date by time, and list in asc by the total number. | SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY SUM(EMPLOYEE_ID) | nvbench |
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... | 这个医疗机构5503215从01年3月19日到14年4月30日内统筹金额消耗量情况是怎么样的? | SELECT SUM(t_kc24.OVE_PAY) FROM t_kc24 WHERE t_kc24.t_kc21_MED_SER_ORG_NO = '5503215' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2001-03-19' AND '2014-04-30' | css |
CREATE TABLE table_train_252 (
"id" int,
"gender" string,
"pregnancy_or_lactation" bool,
"fasting_plasma_glucose_fpg" float,
"hemoglobin_a1c_hba1c" float,
"hba1c" float,
"serum_creatinine" float,
"metformin" bool,
"age" float,
"NOUSE" float
) | hemoglobin < 11 grams ( g ) / dl ( < 110 g / l ) for male subjects and < 10 g / dl ( < 100 g / l ) for female subjects at screening | SELECT * FROM table_train_252 WHERE (hemoglobin_a1c_hba1c < 11 AND gender = 'male') OR (hemoglobin_a1c_hba1c < 10 AND gender = 'female') | criteria2sql |
CREATE TABLE table_14057 (
"Gene" text,
"Route of administration" text,
"Phase" text,
"Subject number" text,
"Status" text
) | Which gene has the subject number 21? | SELECT "Gene" FROM table_14057 WHERE "Subject number" = '21' | wikisql |
CREATE TABLE table_67039 (
"Year" real,
"Chassis" text,
"Engine(s)" text,
"Tyres" text,
"Points" text
) | What is the engine(s) on the car before 1978 with ensign n177 chassis? | SELECT "Engine(s)" FROM table_67039 WHERE "Chassis" = 'ensign n177' AND "Year" < '1978' | wikisql |
CREATE TABLE table_74039 (
"Model" text,
"Launch" text,
"Model Number" text,
"Code name" text,
"Fab ( nm )" real,
"Bus interface" text,
"Memory ( MiB )" text,
"Core ( MHz )" text,
"Memory ( MHz )" text,
"Config core 1" text,
"Pixel ( GP /s)" text,
"Texture ( GT /s)" text,... | What was the maximum fab (nm)? | SELECT MAX("Fab ( nm )") FROM table_74039 | wikisql |
CREATE TABLE Payments (
Payment_ID INTEGER,
Settlement_ID INTEGER,
Payment_Method_Code VARCHAR(255),
Date_Payment_Made DATE,
Amount_Payment INTEGER
)
CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,... | Among all the claims, which claims have a claimed amount larger than the average? Please Bin date the claim was made into week day interval and count them to show a bar chart, and could you list in asc by the total number? | SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Claims WHERE Amount_Claimed > (SELECT AVG(Amount_Claimed) FROM Claims) ORDER BY COUNT(Date_Claim_Made) | nvbench |
CREATE TABLE table_name_13 (
speed VARCHAR,
time VARCHAR
) | Name the speed for 1:36.46.93 | SELECT speed FROM table_name_13 WHERE time = "1:36.46.93" | sql_create_context |
CREATE TABLE table_name_9 (
drawn VARCHAR,
played INTEGER
) | What is the sum of drawn that has a played more than 12? | SELECT COUNT(drawn) FROM table_name_9 WHERE played > 12 | sql_create_context |
CREATE TABLE table_name_4 (
attendance VARCHAR,
date VARCHAR
) | What attendance is listed against the date of bye? | SELECT attendance FROM table_name_4 WHERE date = "bye" | sql_create_context |
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... | 编号04297841的参保人住院费金额正好是证书的次数有多少 | SELECT COUNT(*) FROM t_kc21 WHERE t_kc21.PERSON_ID = '04297841' AND t_kc21.CLINIC_TYPE = '住院' AND MOD(t_kc21.MED_AMOUT, 1) = 0 | css |
CREATE TABLE table_name_95 (
name VARCHAR,
date VARCHAR
) | Which Name has a Date of 11 june 1940? | SELECT name FROM table_name_95 WHERE date = "11 june 1940" | sql_create_context |
CREATE TABLE table_70095 (
"Value" text,
"Khmer" real,
"Word Form" text,
"UNGEGN" text,
"ALA-LC" text,
"Notes" text
) | What is the Word Form, when the Notes are literally 'one hundred thousand'? | SELECT "Word Form" FROM table_70095 WHERE "Notes" = 'literally "one hundred thousand' | 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 person_info.JGDM, person_info.JGMC, COUNT(person_info.RYBH) FROM person_info JOIN hz_info JOIN txmzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX WHERE txmzjzjlb.JZZDSM = '阿尔茨海默病' GROUP BY person_info.JGDM UNION SELECT ... | css |
CREATE TABLE table_41564 (
"Branch" text,
"Address" text,
"Neighborhood" text,
"First branch opened" real,
"Current branch opened" real
) | What is Current Branch Opened, when Branch is Midland Library? | SELECT "Current branch opened" FROM table_41564 WHERE "Branch" = 'midland library' | wikisql |
CREATE TABLE table_42976 (
"U.S. mission" text,
"Mass (kg)" real,
"Booster" text,
"Launched" text,
"Mission goal" text,
"Landing zone" text,
"Lat / Lon" text
) | What is the latitude and longitude for Surveyor 3? | SELECT "Lat / Lon" FROM table_42976 WHERE "U.S. mission" = 'surveyor 3' | wikisql |
CREATE TABLE table_name_31 (
date VARCHAR,
venue VARCHAR
) | What is the date of the game when the venue is MCG? | SELECT date FROM table_name_31 WHERE venue = "mcg" | sql_create_context |
CREATE TABLE table_67984 (
"Competition" text,
"Venue" text,
"Year" real,
"Category" text,
"Result" text
) | What was the competition held in 2003? | SELECT "Competition" FROM table_67984 WHERE "Year" = '2003' | wikisql |
CREATE TABLE table_name_42 (
high_assists VARCHAR,
date VARCHAR
) | What is the High assists with a Date that is february 27? | SELECT high_assists FROM table_name_42 WHERE date = "february 27" | sql_create_context |
CREATE TABLE table_3428 (
"Series #" real,
"Season #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Airdate" text
) | What is the lowest season #? | SELECT MIN("Season #") FROM table_3428 | wikisql |
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId... | Number of questions per day. | SELECT AVG(c) AS AvgQuesPerDay FROM (SELECT YEAR(CreationDate) AS y, MONTH(CreationDate) AS m, DAY(CreationDate) AS d, COUNT(*) AS c FROM Posts WHERE ParentId IS NULL AND CreationDate > DATEADD(DAY, -90, CURRENT_TIMESTAMP()) GROUP BY YEAR(CreationDate), MONTH(CreationDate), DAY(CreationDate)) AS t | sede |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
K... | 列出病患45256601门诊诊断名称中不包含后遗症在医院7264377中的门诊诊察记录分别是哪几条? | SELECT * FROM hz_info JOIN zzmzjzjlb ON hz_info.YLJGDM = zzmzjzjlb.YLJGDM AND hz_info.KH = zzmzjzjlb.KH AND hz_info.KLX = zzmzjzjlb.KLX WHERE hz_info.RYBH = '45256601' AND hz_info.YLJGDM = '7264377' AND NOT zzmzjzjlb.JZZDSM LIKE '%后遗症%' UNION SELECT * FROM hz_info JOIN fzzmzjzjlb ON hz_info.YLJGDM = fzzmzjzjlb.YLJGDM A... | css |
CREATE TABLE person_info_hz_info (
RYBH text,
KH number,
KLX number,
YLJGDM number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,... | 报告时间均在2013年5月12日之后编码为24113912病患的哪些门诊就诊记录对应的检验报告单?排出流水号在门诊就诊是多少? | SELECT mzjzjlb.JZLSH 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 pers... | css |
CREATE TABLE table_40347 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
) | What is the Venue for the 2002 fifa world cup qualifier, and a Result of 8-2? | SELECT "Venue" FROM table_40347 WHERE "Competition" = '2002 fifa world cup qualifier' AND "Result" = '8-2' | wikisql |
CREATE TABLE table_3092 (
"Season" real,
"Regular Season" text,
"Playoffs" text,
"U.S. Open Cup" text,
"CONCACAF" text,
"MLS Regular Season Record" text
) | Name the least season for round of 32 | SELECT MIN("Season") FROM table_3092 WHERE "U.S. Open Cup" = 'Round of 32' | wikisql |
CREATE TABLE table_name_51 (
home_team VARCHAR,
venue VARCHAR
) | What was the home team's score at the game held at Punt Road Oval? | SELECT home_team AS score FROM table_name_51 WHERE venue = "punt road oval" | sql_create_context |
CREATE TABLE table_11677100_15 (
position VARCHAR,
player VARCHAR
) | What position does Matt Hobgood play? | SELECT position FROM table_11677100_15 WHERE player = "Matt Hobgood" | sql_create_context |
CREATE TABLE table_24192190_1 (
longitude VARCHAR,
latitude VARCHAR
) | When 42.903 n is the latitude how many measurements of longitude are there? | SELECT COUNT(longitude) FROM table_24192190_1 WHERE latitude = "42.903° N" | 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... | 98239857262这次医疗就诊所对应的住院流水号或门诊流水号是什么 | SELECT CLINIC_ID FROM t_kc24 WHERE MED_CLINIC_ID = '98239857262' | css |
CREATE TABLE table_50658 (
"Fin. Pos" text,
"Car No." text,
"Driver" text,
"Team" text,
"Laps" text,
"Time/Retired" text,
"Grid" text,
"Laps Led" text,
"Points" text
) | Who is the driver with a time/retired of +5.2684? | SELECT "Driver" FROM table_50658 WHERE "Time/Retired" = '+5.2684' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | give me the number of patients whose ethnicity is white and diagnoses short title is pressure ulcer, stage ii? | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.short_title = "Pressure ulcer, stage II" | mimicsql_data |
CREATE TABLE table_1140111_5 (
report VARCHAR,
winning_driver VARCHAR
) | How many different kinds of reports are there for races that Juan Manuel Fangio won? | SELECT COUNT(report) FROM table_1140111_5 WHERE winning_driver = "Juan Manuel Fangio" | sql_create_context |
CREATE TABLE table_203_784 (
id number,
"no. in\nseries" number,
"no. in\nseason" number,
"performer" text,
"appearance" text,
"air date" text
) | how many comedians made their only appearance on comedy central presents in season 15 ? | SELECT COUNT("performer") FROM table_203_784 | squall |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime... | tell me the change in the respiration of patient 017-88691 last measured on the current icu visit compared to the second to last value measured on the current icu visit? | SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-88691') AND patient.unitdischargetime IS NU... | eicu |
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 hz_info (
KH text,
KLX number... | 列出患者65243829所有检验报告单的审核日期在在18年7月3日到20年2月16日内是哪天? | SELECT jybgb.SHSJ FROM hz_info JOIN mzjzjlb JOIN jybgb 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 WHERE hz_info.RYBH = '65243829' AND jybgb.BGRQ BETWEEN '2018-07-03' AND '2020-02-16' UNION... | css |
CREATE TABLE Customers (
customer_id INTEGER,
payment_method VARCHAR(15),
customer_name VARCHAR(80),
customer_phone VARCHAR(80),
customer_email VARCHAR(80),
customer_address VARCHAR(255),
customer_login VARCHAR(80),
customer_password VARCHAR(10)
)
CREATE TABLE Customer_Addresses (
c... | Show the outcome code of mailshots along with the number of mailshots in each outcome code. Plot them as bar chart. | SELECT outcome_code, COUNT(*) FROM Mailshot_Customers GROUP BY outcome_code | nvbench |
CREATE TABLE table_name_78 (
displacement VARCHAR,
model VARCHAR
) | What displacement has a model of 2000? | SELECT displacement FROM table_name_78 WHERE model = "2000" | 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_DIRE_CD text,
MED_DIRE_NM text,... | 看看给患者89899250开出的每种药的名称及其每次用量和使用频次,在20378779400这个医疗就诊中 | SELECT t_kc22.SOC_SRT_DIRE_NM, t_kc22.EACH_DOSAGE, t_kc22.USE_FRE FROM t_kc22 JOIN t_kc21_t_kc22 JOIN t_kc21 ON t_kc21_t_kc22.MED_EXP_DET_ID = t_kc22.MED_EXP_DET_ID AND t_kc21_t_kc22.MED_CLINIC_ID = t_kc21.MED_CLINIC_ID WHERE t_kc21.MED_CLINIC_ID = '20378779400' | css |
CREATE TABLE table_name_11 (
career_win_loss VARCHAR,
tournament VARCHAR
) | What is Career Win-Loss, when Tournament is 'Hamburg'? | SELECT career_win_loss FROM table_name_11 WHERE tournament = "hamburg" | sql_create_context |
CREATE TABLE table_27755603_2 (
team VARCHAR,
high_points VARCHAR
) | Who was the opponent in the game in which Austin Daye (16) did the most high points? | SELECT team FROM table_27755603_2 WHERE high_points = "Austin Daye (16)" | sql_create_context |
CREATE TABLE table_4805 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Venue" text,
"Crowd" real,
"Date" text
) | Of the matches that had a home team score of 13.17 (95), which match had the largest crowd? | SELECT MAX("Crowd") FROM table_4805 WHERE "Home team score" = '13.17 (95)' | wikisql |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartr... | patient 022-134034 was diagnosed in this year for the last time with what? | SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-134034')) AND DATETIME(diagnosis.diagnosistime, 'start of yea... | eicu |
CREATE TABLE table_71455 (
"Call sign" text,
"Frequency MHz" real,
"City of license" text,
"ERP W" real,
"Class" text,
"FCC info" text
) | what is the highest frequency mhz with the call sign w292cu? | SELECT MAX("Frequency MHz") FROM table_71455 WHERE "Call sign" = 'w292cu' | wikisql |
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... | Return a scatter chart about the correlation between Team_ID and School_ID , and group by attribute ACC_Regular_Season. | SELECT Team_ID, School_ID FROM basketball_match GROUP BY ACC_Regular_Season | nvbench |
CREATE TABLE country (
country_id number,
country text,
last_update time
)
CREATE TABLE language (
language_id number,
name text,
last_update time
)
CREATE TABLE rental (
rental_id number,
rental_date time,
inventory_id number,
customer_id number,
return_date time,
staf... | Give the address of the staff member who has the first name Elsa. | SELECT T2.address FROM staff AS T1 JOIN address AS T2 ON T1.address_id = T2.address_id WHERE T1.first_name = 'Elsa' | spider |
CREATE TABLE table_32711 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
) | Which had an attendance of larger than 33,435? | SELECT "Result" FROM table_32711 WHERE "Attendance" > '33,435' | 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 records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the sum of price , and group by attribute founder, could you sort by the total number of price in asc? | SELECT Founder, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY SUM(Price) | nvbench |
CREATE TABLE table_13357 (
"Constituency number" text,
"Name" text,
"Reserved for ( SC / ST /None)" text,
"District" text,
"Number of electorates (2009)" real
) | When the name is badnawar, and the reserved for (sc / st /none) of none what is the constituency number? | SELECT "Constituency number" FROM table_13357 WHERE "Reserved for ( SC / ST /None)" = 'none' AND "Name" = 'badnawar' | wikisql |
CREATE TABLE table_name_87 (
years VARCHAR,
league VARCHAR
) | The league of 400 (21) has what years listed? | SELECT years FROM table_name_87 WHERE league = "400 (21)" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.