instruction
stringlengths
151
7.46k
output
stringlengths
2
4.44k
source
stringclasses
26 values
CREATE TABLE SuggestedEditVotes ( Id number, SuggestedEditId number, UserId number, VoteTypeId number, CreationDate time, TargetUserId number, TargetRepChange number ) CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE ReviewRejectionReasons ( Id...
SELECT Posts.Id AS "post_link", Users.Id, Users.DisplayName, Votes.Id, Posts.*, Votes.* FROM Users AS users INNER JOIN Votes AS votes ON Votes.UserId = Users.Id INNER JOIN Posts AS posts ON Posts.Id = Votes.PostId WHERE Users.DisplayName = 'shantanuo' LIMIT 100
sede
CREATE TABLE table_name_33 ( team VARCHAR, lost VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has 10 losses?
SELECT team FROM table_name_33 WHERE lost = 10
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 wdmzjzjlb ( HXPLC number, HZX...
SELECT wdmzjzjlb.JZLSH FROM person_info JOIN hz_info JOIN wdmzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX WHERE person_info.XM = '朱斯伯' AND hz_info.YLJGDM = '0905366' AND NOT wdmzjzjlb.JZKSMC LIKE '%正骨科%' UNION SELECT bdmzjz...
css
CREATE TABLE table_57944 ( "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. -- In the game where richmond was the away team, wh...
SELECT "Venue" FROM table_57944 WHERE "Away team" = 'richmond'
wikisql
CREATE TABLE table_31899 ( "Rank" real, "Name" text, "Team" text, "Goals" real, "Appearances" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many appearances were made by people that had 5 goals and less than 7 rank?
SELECT COUNT("Appearances") FROM table_31899 WHERE "Goals" = '5' AND "Rank" < '7'
wikisql
CREATE TABLE table_name_53 ( date VARCHAR, arena VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date has joe louis arena as the arena?
SELECT date FROM table_name_53 WHERE arena = "joe louis arena"
sql_create_context
CREATE TABLE Skills_Required_To_Fix ( part_fault_id INTEGER, skill_id INTEGER ) CREATE TABLE Engineer_Skills ( engineer_id INTEGER, skill_id INTEGER ) CREATE TABLE Engineer_Visits ( engineer_visit_id INTEGER, contact_staff_id INTEGER, engineer_id INTEGER, fault_log_entry_id INTEGER, ...
SELECT last_name, COUNT(last_name) FROM Maintenance_Engineers AS T1 JOIN Engineer_Skills AS T2 ON T1.engineer_id = T2.engineer_id JOIN Skills AS T3 ON T2.skill_id = T3.skill_id GROUP BY skill_description, last_name ORDER BY COUNT(last_name)
nvbench
CREATE TABLE table_13439 ( "Rank" real, "Heat" real, "Lane" real, "Name" text, "Nationality" text, "Time" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest lane for Christine Mailliet ranked less than 39?
SELECT MAX("Lane") FROM table_13439 WHERE "Name" = 'christine mailliet' AND "Rank" < '39'
wikisql
CREATE TABLE table_43968 ( "Pilot" text, "Date" text, "Place" text, "Weapon" text, "Effect" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Place, when Weapon is '35mm fire', and when Date is '27 May 1982'?
SELECT "Place" FROM table_43968 WHERE "Weapon" = '35mm fire' AND "Date" = '27 may 1982'
wikisql
CREATE TABLE table_204_3 ( id number, "rank" number, "name" text, "nationality" text, "time" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- did diego cuenca or eduardo piccinini perform better ?
SELECT "name" FROM table_204_3 WHERE "name" IN ('diego cuenca', 'eduardo piccinini') ORDER BY "time" LIMIT 1
squall
CREATE TABLE table_name_58 ( date VARCHAR, score VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Date has a Score of 112 118?
SELECT date FROM table_name_58 WHERE score = "112–118"
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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "NEWBORN"
mimicsql_data
CREATE TABLE table_21920 ( "Year" real, "Date" text, "Driver" text, "Manufacturer" text, "Laps" real, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What date did Jamie McMurray ...
SELECT "Date" FROM table_21920 WHERE "Driver" = 'Jamie McMurray'
wikisql
CREATE TABLE circuits ( circuitId INTEGER, circuitRef TEXT, name TEXT, location TEXT, country TEXT, lat REAL, lng REAL, alt TEXT, url TEXT ) CREATE TABLE driverStandings ( driverStandingsId INTEGER, raceId INTEGER, driverId INTEGER, points REAL, position INTEGER,...
SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name ORDER BY name
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "51" AND prescriptions.formulary_drug_cd = "SENN5L"
mimicsql_data
CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttime time, itemid number, amount number ) CREATE TABLE admissions ( row_id number, subject_id number, hadm_id number, admittime time, dischtime time, admission_typ...
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 26398) AND DATETIME(procedures_icd.charttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
mimic_iii
CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE Posts ( Id number, PostTypeId number, AcceptedAnswerId number, ParentId number, CreationDate time, Deletio...
SELECT t.Name, COUNT(*) FROM Posts AS p JOIN PostTypes AS t ON p.PostTypeId = t.Id WHERE OwnerUserId = @userId AND CreationDate >= @startDate GROUP BY t.Name
sede
CREATE TABLE table_12834315_5 ( muzzle_device VARCHAR, colt_model_no VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the muzzle device on the colt model le1020?
SELECT muzzle_device FROM table_12834315_5 WHERE colt_model_no = "LE1020"
sql_create_context
CREATE TABLE ENROLL ( CLASS_CODE varchar(5), STU_NUM int, ENROLL_GRADE varchar(50) ) CREATE TABLE DEPARTMENT ( DEPT_CODE varchar(10), DEPT_NAME varchar(30), SCHOOL_CODE varchar(8), EMP_NUM int, DEPT_ADDRESS varchar(20), DEPT_EXTENSION varchar(4) ) CREATE TABLE STUDENT ( STU_NUM...
SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY DEPT_CODE
nvbench
CREATE TABLE table_28715942_6 ( vocal_percussionist VARCHAR, original_artist VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the percussionist for The Coral?
SELECT vocal_percussionist FROM table_28715942_6 WHERE original_artist = "The Coral"
sql_create_context
CREATE TABLE table_32487 ( "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. -- Who was the home team when the VFL played Kardin...
SELECT "Home team score" FROM table_32487 WHERE "Venue" = 'kardinia park'
wikisql
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "70" AND lab.label = "Calculated Bicarbonate, Whole Blood"
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...
SELECT * FROM gwyjzb WHERE gwyjzb.MED_SER_ORG_NO = '0611704' AND gwyjzb.IN_HOSP_DATE BETWEEN '2012-09-14' AND '2016-11-27' UNION SELECT * FROM fgwyjzb WHERE fgwyjzb.MED_SER_ORG_NO = '0611704' AND fgwyjzb.IN_HOSP_DATE BETWEEN '2012-09-14' AND '2016-11-27' EXCEPT SELECT * FROM gwyjzb WHERE gwyjzb.MED_SER_ORG_NO = '061170...
css
CREATE TABLE pitching_postseason ( player_id TEXT, year INTEGER, round TEXT, team_id TEXT, league_id TEXT, w INTEGER, l INTEGER, g INTEGER, gs INTEGER, cg INTEGER, sho INTEGER, sv INTEGER, ipouts INTEGER, h INTEGER, er INTEGER, hr INTEGER, bb INTEGER, ...
SELECT yearid, COUNT(*) FROM hall_of_fame GROUP BY yearid ORDER BY yearid
nvbench
CREATE TABLE table_39014 ( "Start month" text, "End month" text, "Cover" text, "Spine" text, "Indicia" text, "Masthead" text, "Number of issues" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the total number of Issues has a End mont...
SELECT COUNT("Number of issues") FROM table_39014 WHERE "End month" = 'oct-80'
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...
SELECT t_kc21.OUT_DIAG_DIS_CD, t_kc21.OUT_DIAG_DIS_NM FROM t_kc21 WHERE t_kc21.PERSON_NM = '卫若兰' AND t_kc21.MED_SER_ORG_NO = '6106826' AND t_kc21.OUT_DIAG_DOC_NM LIKE '谢%'
css
CREATE TABLE table_name_96 ( year INTEGER, hessen VARCHAR, saar VARCHAR, main VARCHAR, rhein VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the smallest year for a Main of Eintracht Frankfurt, Rhein of Waldhof Mannheim, Sarr of FK Pirmase...
SELECT MIN(year) FROM table_name_96 WHERE main = "eintracht frankfurt" AND rhein = "waldhof mannheim" AND saar = "fk pirmasens" AND hessen = "wormatia worms"
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, ...
SELECT COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_NM = '姜新蕾' AND t_kc22.STA_DATE BETWEEN '2015-04-19' AND '2016-11-01' AND t_kc21.MED_SER_ORG_NO = '5035211' AND t_kc22.MED_INV_ITEM_TYPE = '西药费'
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 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "PT"
mimicsql_data
CREATE TABLE PostLinks ( Id number, CreationDate time, PostId number, RelatedPostId number, LinkTypeId number ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description text ) CREATE TABLE SuggestedEdits ( Id number, PostId number, CreationDate time, ApprovalDa...
SELECT u.DisplayName, Posts.OwnerUserId AS UserId, BadgeCount, COUNT(Posts.Id) AS PostsCount FROM Posts JOIN Users AS u ON u.Id = Posts.OwnerUserId JOIN (SELECT Badges.UserId AS UserId, COUNT(Badges.Id) AS BadgeCount FROM Badges WHERE Badges.Class = 1 GROUP BY Badges.UserId) AS B ON Posts.OwnerUserId = B.UserId GROUP B...
sede
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 demographic.marital_status, demographic.age FROM demographic WHERE demographic.name = "Jerry Deberry"
mimicsql_data
CREATE TABLE table_name_55 ( money___ INTEGER, to_par VARCHAR, country VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the average money for a to par of 15, and is from the United States?
SELECT AVG(money___) AS $__ FROM table_name_55 WHERE to_par = 15 AND country = "united states"
sql_create_context
CREATE TABLE table_59124 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team of Tie no 11?
SELECT "Home team" FROM table_59124 WHERE "Tie no" = '11'
wikisql
CREATE TABLE table_name_94 ( time VARCHAR, epicenter VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Time when the Epicenter was Bam?
SELECT time FROM table_name_94 WHERE epicenter = "bam"
sql_create_context
CREATE TABLE table_14076 ( "Gothic Letter" text, "Roman" text, "Sound (phoneme)" text, "Sound (allophone)" text, "Proto-Germanic origin" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- The Roman value of t is associated with what allophone?
SELECT "Sound (allophone)" FROM table_14076 WHERE "Roman" = 't'
wikisql
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, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number,...
SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN hz_info_mzjzjlb ON hz_info.YLJGDM = hz_info_mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND hz_info_mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH ...
css
CREATE TABLE table_204_282 ( id number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text, "#" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many consecutive games were played in dublin in...
SELECT COUNT(*) FROM table_204_282 WHERE "venue" = 'dublin' AND "date" = 2010
squall
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) 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 varc...
SELECT JOB_ID, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
nvbench
CREATE TABLE table_204_120 ( id number, "rank" number, "athlete" text, "country" text, "time" text, "notes" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- out of 30 top competitors , what number of those are from norway ?
SELECT COUNT("athlete") FROM table_204_120 WHERE "rank" <= 30 AND "country" = 'norway'
squall
CREATE TABLE player_award ( player_id text, award_id text, year number, league_id text, tie text, notes text ) CREATE TABLE hall_of_fame ( player_id text, yearid number, votedby text, ballots text, needed text, votes text, inducted text, category text, needed...
SELECT player_id FROM salary WHERE year >= 2010 ORDER BY salary DESC LIMIT 1
thehistoryofbaseball
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE lab ( labid number, pa...
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 diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'acute lung injury')) AND DATETIME(cost.charg...
eicu
CREATE TABLE table_name_7 ( losses INTEGER, wins VARCHAR, draws VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What are the most losses when there are 5 wins and draws less than 0?
SELECT MAX(losses) FROM table_name_7 WHERE wins = 5 AND draws < 0
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,...
SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_NM = '何明煦' AND t_kc21.MED_SER_ORG_NO = '6644206' AND t_kc21.OUT_DIAG_DIS_NM LIKE '%迟滞%'
css
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE diagnosis ( diagn...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ...
eicu
CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConce...
SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ...
sede
CREATE TABLE table_72418 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many in lost renomination results were elected first?
SELECT "First elected" FROM table_72418 WHERE "Result" = 'Lost renomination'
wikisql
CREATE TABLE table_203_186 ( id number, "painter" text, "composition" number, "drawing" number, "color" number, "expression" number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many painters received a mark of 14 for color ?
SELECT COUNT("painter") FROM table_203_186 WHERE "color" = 14
squall
CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, OwnerUserId number, DeletionUserId number ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, C...
SELECT DATEFROMPARTS(TIME_TO_STR(UT.LastAccessDate, '%Y'), TIME_TO_STR(UT.LastAccessDate, '%m'), TIME_TO_STR(UT.LastAccessDate, '%d')) AS "last_accessed", COUNT(UT.Id) AS "eligible" FROM Users AS UT WHERE UT.Reputation >= 150 GROUP BY DATEFROMPARTS(TIME_TO_STR(UT.LastAccessDate, '%Y'), TIME_TO_STR(UT.LastAccessDate, '%...
sede
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 ) -- Using valid SQLite, answer the following questions for the...
SELECT T1.Price, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder
nvbench
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 SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
eicu
CREATE TABLE table_10602294_1 ( damage__usd_ VARCHAR, pressure VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the damage (usd) from the cyclones that measured 1003hPa (29.62inHg) pressure?
SELECT damage__usd_ FROM table_10602294_1 WHERE pressure = "1003hPa (29.62inHg)"
sql_create_context
CREATE TABLE PostNoticeTypes ( Id number, ClassId number, Name text, Body text, IsHidden boolean, Predefined boolean, PostNoticeDurationId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE TABLE CloseReasonTypes ( Id number, Name text, Description t...
SELECT author.DisplayName AS CommentAuthor, receiver.DisplayName AS InReplyTo, c.Score AS CommentScore, c.Text, p.Id AS "post_link" FROM Comments AS c INNER JOIN Posts AS p ON p.Id = c.PostId INNER JOIN Users AS author ON author.Id = c.UserId INNER JOIN Users AS receiver ON receiver.Id = p.OwnerUserId WHERE c.CreationD...
sede
CREATE TABLE table_59368 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which region has the format CD and label MCA?
SELECT "Region" FROM table_59368 WHERE "Format" = 'cd' AND "Label" = 'mca'
wikisql
CREATE TABLE table_54488 ( "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. -- Who was Carlton's away team opponents?
SELECT "Away team" FROM table_54488 WHERE "Home team" = 'carlton'
wikisql
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number,...
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '008-46278') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime DESC LIMIT 1
eicu
CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE cite ( citi...
SELECT DISTINCT paper.venueid, paper.year FROM author, paper, writes WHERE author.authorname = 'sergey levine' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid GROUP BY paper.venueid, paper.year ORDER BY paper.year DESC
scholar
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "40" AND prescriptions.route = "NU"
mimicsql_data
CREATE TABLE code_description ( code varchar, description text ) CREATE TABLE city ( city_code varchar, city_name varchar, state_code varchar, country_name varchar, time_zone_code varchar ) CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airp...
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 = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATL...
atis
CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Reviewer ( rID int, name text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- A bar...
SELECT title, COUNT(title) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID WHERE T1.stars BETWEEN 3 AND 5 GROUP BY title
nvbench
CREATE TABLE address ( address_id number, address text, address2 text, district text, city_id number, postal_code text, phone text, last_update time ) CREATE TABLE language ( language_id number, name text, last_update time ) CREATE TABLE country ( country_id number, ...
SELECT T2.first_name, T2.last_name, T2.actor_id FROM film_actor AS T1 JOIN actor AS T2 ON T1.actor_id = T2.actor_id GROUP BY T2.actor_id ORDER BY COUNT(*) DESC LIMIT 1
spider
CREATE TABLE table_name_11 ( november INTEGER, game VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the highest November date that has a game under 19 and opponents of the Minnesota North Stars?
SELECT MAX(november) FROM table_name_11 WHERE game < 19 AND opponent = "minnesota north stars"
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 COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_NM = '褚奇正' AND t_kc22.STA_DATE BETWEEN '2003-06-20' AND '2013-08-06' AND t_kc22.SOC_SRT_DIRE_NM = '盐酸舍曲林片(薄膜衣)'
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 procedures ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "PORT" AND demographic.discharge_location = "SHORT TERM HOSPITAL"
mimicsql_data
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "NEWBORN" AND lab.fluid = "Ascites"
mimicsql_data
CREATE TABLE ta ( campus_job_id int, student_id int, location varchar ) CREATE TABLE course_prerequisite ( pre_course_id int, course_id int ) CREATE TABLE jobs ( job_id int, job_title varchar, description varchar, requirement varchar, city varchar, state varchar, countr...
SELECT COUNT(*) > 0 FROM course, program_course WHERE course.department = 'KINESLGY' AND course.number = 995 AND program_course.category LIKE '%Core%' AND program_course.course_id = course.course_id
advising
CREATE TABLE table_13618358_1 ( income_poverty_f VARCHAR, exports__usd_mn__2011 VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the depravitiy of earnings where international sales was 2470?
SELECT income_poverty_f FROM table_13618358_1 WHERE exports__usd_mn__2011 = 2470
sql_create_context
CREATE TABLE table_name_98 ( location VARCHAR, result VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- At what location was there a loss on 20 jan?
SELECT location FROM table_name_98 WHERE result = "loss" AND date = "20 jan"
sql_create_context
CREATE TABLE table_2341 ( "School" text, "Main location" text, "Control" text, "Type" text, "Enrollment (2005)" real, "Founded" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the type for 1245 enrollment
SELECT "Type" FROM table_2341 WHERE "Enrollment (2005)" = '1245'
wikisql
CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE TagSynonyms ( Id number, SourceTagName text, TargetTagName text, CreationDate time, OwnerUserId number, AutoRenameCount number, LastAutoRename time, Score number, ApprovedByUserId number, ApprovalDate time ) C...
SELECT answer.Id AS "post_link", answer.Score FROM Posts AS p, Posts AS answer WHERE p.Tags LIKE '<' + '##tag:string##' + '>' AND answer.ParentId = p.Id ORDER BY answer.Score DESC LIMIT 50
sede
CREATE TABLE table_name_3 ( city_of_license VARCHAR, channels_tv___rf VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which City of license has a Channels TV / RF of 36 (psip) 36 (uhf)? Question 5
SELECT city_of_license FROM table_name_3 WHERE channels_tv___rf = "36 (psip) 36 (uhf)"
sql_create_context
CREATE TABLE table_203_871 ( id number, "#" number, "player" text, "pos" text, "pts" number, "tries" number, "conv" number, "pens" number, "drop" number, "opposition" text, "venue" text, "date" text ) -- Using valid SQLite, answer the following questions for the tables ...
SELECT MIN("conv") FROM table_203_871 WHERE "pts" >= 24
squall
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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL v...
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees ORDER BY DEPARTMENT_ID DESC
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(...
SELECT JOB_ID, SUM(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
nvbench
CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value real ) CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_N...
SELECT Headquarters, COUNT(Headquarters) FROM company GROUP BY Headquarters
nvbench
CREATE TABLE table_47998 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which week has a result L 56-3?
SELECT AVG("Week") FROM table_47998 WHERE "Result" = 'l 56-3'
wikisql
CREATE TABLE table_name_20 ( status VARCHAR, area_km_2 VARCHAR, official_name VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which status is 75.35 km2 and is named sussex?
SELECT status FROM table_name_20 WHERE area_km_2 < 75.35 AND official_name = "sussex"
sql_create_context
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight re...
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex ORDER BY MIN(Weight) DESC
nvbench
CREATE TABLE table_37131 ( "Driver" text, "Season" text, "Wins" real, "Entries" text, "Percentage" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the number of entries associated with more than 11 wins?
SELECT "Entries" FROM table_37131 WHERE "Wins" > '11'
wikisql
CREATE TABLE table_41975 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the Home team with an Away team that is oxford united?
SELECT "Home team" FROM table_41975 WHERE "Away team" = 'oxford united'
wikisql
CREATE TABLE table_train_276 ( "id" int, "hbv" bool, "systolic_blood_pressure_sbp" int, "hiv_infection" bool, "hcv" bool, "diastolic_blood_pressure_dbp" int, "body_mass_index_bmi" float, "hypertension" bool, "NOUSE" float ) -- Using valid SQLite, answer the following questions for ...
SELECT * FROM table_train_276 WHERE hbv = 1 OR hcv = 1
criteria2sql
CREATE TABLE table_1368649_9 ( year_s_ INTEGER, spokesperson VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was Thierry Beccaro the spokesperson?
SELECT MIN(year_s_) FROM table_1368649_9 WHERE spokesperson = "Thierry Beccaro"
sql_create_context
CREATE TABLE table_10015132_14 ( no VARCHAR, school_club_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many number does Fordham school have?
SELECT COUNT(no) FROM table_10015132_14 WHERE school_club_team = "Fordham"
sql_create_context
CREATE TABLE table_name_16 ( launch_pad VARCHAR, launch_date_time__utc_ VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the launch pad for 25 december 2010 10:34
SELECT launch_pad FROM table_name_16 WHERE launch_date_time__utc_ = "25 december 2010 10:34"
sql_create_context
CREATE TABLE table_12886178_5 ( drawn VARCHAR, tries_for VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the number of drawn games for the club with a tries for count of 76?
SELECT drawn FROM table_12886178_5 WHERE tries_for = "76"
sql_create_context
CREATE TABLE table_11694832_1 ( title VARCHAR, production_code VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the episode title of the show that had a production code of 3T5764?
SELECT title FROM table_11694832_1 WHERE production_code = "3T5764"
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 REF_SLT_FLG FROM t_kc24 WHERE MED_CLINIC_ID = '62198183774'
css
CREATE TABLE bdmzjzjlb ( HXPLC number, HZXM text, JLSJ time, JZJSSJ time, JZKSBM text, JZKSMC text, JZKSRQ time, JZLSH number, JZZDBM text, JZZDSM text, JZZTDM number, JZZTMC text, KH text, KLX number, MJZH text, ML number, MZZYZDZZBM text, MZZYZDZ...
SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM wdmzjzjlb JOIN jybgb JOIN jyjgzbb ON wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.BGDH WHERE wdmzjzjlb.JZZDSM = '多动性障碍' AND jyjgzbb.JCZBMC = '甲胎蛋白' UNION SELECT jyjgzbb.CKZFWXX, j...
css
CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, UserDisplayName text, UserId number, ContentLicense text ) CREATE TABLE ReviewTaskResultTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistoryTypes ( Id numb...
SELECT u.DisplayName, u.Reputation, u.Id, COUNT(a.Id) AS AcceptCount, (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = u.Id AND PostTypeId = 2) AS AnswerCount, (CAST(COUNT(a.Id) AS FLOAT) / (SELECT COUNT(*) FROM Posts WHERE OwnerUserId = u.Id AND PostTypeId = 2) * 100) AS AcceptedPercentage FROM Posts AS q INNER JOIN Po...
sede
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 SUM(t_kc22.AMOUNT) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_ID = '29978075' AND t_kc21.CLINIC_TYPE = '门诊' AND t_kc22.STA_DATE BETWEEN '2009-12-28' AND '2011-07-11' AND t_kc22.MED_INV_ITEM_TYPE = '检查费'
css
CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE PostNotices ( Id number, PostId number, PostNoticeTypeId number, CreationDate time, DeletionDate time, ExpiryDate time, Body text, ...
WITH ActiveUsers AS (SELECT Id, DisplayName, Reputation, LastAccessDate FROM Users WHERE Reputation >= '##RepLimit:int##' AND DATEDIFF(day, LastAccessDate, GETDATE()) <= '##ActiveThreshold:int##'), Answers AS (SELECT ActiveUsers.Id AS UserId, ActiveUsers.DisplayName, Posts.Id AS AnswerId, Posts.ParentId AS QuestionId, ...
sede
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 DOSE_FORM, SPEC FROM t_kc22 WHERE MED_CLINIC_ID = '69551829524' AND SOC_SRT_DIRE_NM = '汉防己甲素片(薄膜衣)'
css
CREATE TABLE regions ( region_id number, region_name text ) CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE employees ( employee_id number, first_name text, last_name text, email text, phone_number text, hire_date time, job_i...
SELECT employee_id, first_name, last_name FROM employees WHERE department_id IN (SELECT department_id FROM employees WHERE first_name LIKE '%T%')
spider
CREATE TABLE table_name_54 ( away_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team score of Melbourne?
SELECT away_team AS score FROM table_name_54 WHERE away_team = "melbourne"
sql_create_context
CREATE TABLE game ( stadium_id int, id int, Season int, Date text, Home_team text, Away_team text, Score text, Competition text ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE sta...
SELECT Season, COUNT(Season) FROM game GROUP BY Home_team, Season ORDER BY Season
nvbench
CREATE TABLE table_35345 ( "Tie No." real, "Home team" text, "Score" text, "Away team" text, "Report" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which attendance has 9 as the tie no.?
SELECT "Attendance" FROM table_35345 WHERE "Tie No." = '9'
wikisql
CREATE TABLE table_29538735_1 ( £_saved VARCHAR, _percentage_electricity_reduction VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When 8.9% is the electricity reduction percentage what is the saved?
SELECT £_saved FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.9%"
sql_create_context
CREATE TABLE table_name_22 ( took_office INTEGER, left_office VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the greatest Took Office dates that Left Office in 1998?
SELECT MAX(took_office) FROM table_name_22 WHERE left_office = "1998"
sql_create_context
CREATE TABLE cost ( row_id number, subject_id number, hadm_id number, event_type text, event_id number, chargetime time, cost number ) CREATE TABLE microbiologyevents ( row_id number, subject_id number, hadm_id number, charttime time, spec_type_desc text, org_name te...
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 88180 AND admissions.admission_location = 'clinic referral/premature' AND STRFTIME('%y', admissions.admittime) >= '2104' ORDER BY admissions.admittime DESC LIMIT 1
mimic_iii
CREATE TABLE table_13569 ( "Year" real, "Stage" real, "Start of stage" text, "Distance (km)" text, "Category of climb" text, "Stage winner" text, "Yellow jersey" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What year was yellow jersey of J...
SELECT MIN("Year") FROM table_13569 WHERE "Yellow jersey" = 'jacques anquetil'
wikisql
CREATE TABLE table_531 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of Season #15?
SELECT "Title" FROM table_531 WHERE "Season #" = '15'
wikisql