instruction
stringlengths
151
7.46k
output
stringlengths
2
4.44k
source
stringclasses
26 values
CREATE TABLE table_204_162 ( id number, "team" text, "constructor" text, "motorcycle" text, "tyres" text, "no" number, "rider" text, "rounds" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many times does m appear under the tyres col...
SELECT COUNT(*) FROM table_204_162 WHERE "tyres" = 'm'
squall
CREATE TABLE table_name_62 ( notes VARCHAR, venue VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What were the notes when the Venue was Turin, Italy?
SELECT notes FROM table_name_62 WHERE venue = "turin, italy"
sql_create_context
CREATE TABLE table_203_757 ( id number, "year" number, "award ceremony" text, "category" text, "film/show" text, "result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- what were the total number of times filmfare awards can be seen listed on th...
SELECT COUNT(*) FROM table_203_757 WHERE "award ceremony" = 'filmfare awards'
squall
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY ...
SELECT HIRE_DATE, SUM(DEPARTMENT_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
nvbench
CREATE TABLE t_kc21 ( MED_CLINIC_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, COMP_ID text, PERSON_ID text, PERSON_NM text, IDENTITY_CARD text, SOC_SRT_CARD text, PERSON_SEX number, PERSON_AGE number, IN_HOSP_DATE time, OUT_HOSP_DATE time, DIFF_PLACE_FLG numb...
SELECT IN_DIAG_DIS_CD, IN_DIAG_DIS_NM FROM t_kc21 WHERE PERSON_NM = '马彭魄' AND MED_CLINIC_ID IN (SELECT MED_CLINIC_ID FROM t_kc24 WHERE MED_AMOUT > 9768.75)
css
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 T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
nvbench
CREATE TABLE table_47088 ( "Fin. Pos" text, "Car No." text, "Driver" text, "Team" text, "Laps" text, "Time/Retired" text, "Grid" text, "Laps Led" text, "Points" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team had car number...
SELECT "Team" FROM table_47088 WHERE "Car No." = '15'
wikisql
CREATE TABLE table_74931 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text, "Purse ( US$ )" real, "Winner's share" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which...
SELECT "Country" FROM table_74931 WHERE "Score" = '70-68-70-68=276'
wikisql
CREATE TABLE table_name_7 ( first_elected VARCHAR, member VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When was H.B. Higgins first elected?
SELECT first_elected FROM table_name_7 WHERE member = "h.b. higgins"
sql_create_context
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDa...
SELECT DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0) AS "week", COUNT(DISTINCT P.Id) AS Count FROM Posts AS P WHERE P.Tags LIKE '%firebase%' AND P.Tags LIKE '%flutter%' GROUP BY DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0) ORDER BY 'week' DESC
sede
CREATE TABLE table_27390 ( "Language" text, "Padilla Municipality" real, "Tomina Municipality" real, "Sopachuy Municipality" real, "Villa Alcal\u00e1 Municipality" real, "El Villar Municipality" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Nam...
SELECT "Language" FROM table_27390 WHERE "Villa Alcal\u00e1 Municipality" = '1167'
wikisql
CREATE TABLE table_58722 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the to par for place t8 and a score of 71-66-66-71=274?
SELECT "To par" FROM table_58722 WHERE "Place" = 't8' AND "Score" = '71-66-66-71=274'
wikisql
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_kc24.MED_AMOUT), SUM(t_kc24.OVE_PAY) FROM t_kc21 JOIN t_kc24 ON t_kc21.MED_CLINIC_ID = t_kc24.MED_CLINIC_ID WHERE t_kc21.MED_SER_ORG_NO = '3061264' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2000-05-05' AND '2012-09-12'
css
CREATE TABLE table_26677836_1 ( difference INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHat is the highest difference?
SELECT MAX(difference) FROM table_26677836_1
sql_create_context
CREATE TABLE table_name_2 ( parish__prestegjeld_ VARCHAR, year_built VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Parish (Prestegjeld) was built in 1907?
SELECT parish__prestegjeld_ FROM table_name_2 WHERE year_built = "1907"
sql_create_context
CREATE TABLE zyjzjlb ( CYBQDM text, CYBQMC text, CYCWH text, CYKSDM text, CYKSMC text, CYSJ time, CYZTDM number, HZXM text, JZKSDM text, JZKSMC text, JZLSH text, KH text, KLX number, MZBMLX number, MZJZLSH text, MZZDBM text, MZZDMC text, MZZYZDZZBM...
SELECT COUNT(*) FROM (SELECT jybgb.KSBM FROM mzjzjlb JOIN jybgb JOIN hz_info_mzjzjlb ON hz_info_mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND hz_info_mzjzjlb.JZLSH = mzjzjlb.JZLSH AND hz_info_mzjzjlb.YLJGDM = hz_info_mzjzjlb.YLJGDM AND hz_info_mzjzjlb.JZLSH = mzjzjlb.JZLSH AND hz_inf...
css
CREATE TABLE table_30234 ( "Round" text, "Clubs remaining" real, "Clubs involved" real, "Winners from previous round" text, "New entries this round" text, "Leagues entering at this round" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many w...
SELECT "Winners from previous round" FROM table_30234 WHERE "Round" = 'Semi finals'
wikisql
CREATE TABLE PostFeedback ( Id number, PostId number, IsAnonymous boolean, VoteTypeId number, CreationDate time ) CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE PostHistoryTypes ( Id number, Name text ) CREATE...
SELECT ('http://stackoverflow.com/users/') + CAST(Users.Id AS TEXT(50)) AS "User Link", Users.WebsiteUrl AS Website, Users.DisplayName AS Name, Users.Location AS Location, Users.Reputation AS Rep FROM Users, Badges WHERE Badges.UserId = Users.Id AND (Badges.Name = 'javascript' OR Badges.Name = 'jquery' OR Badges.Name =...
sede
CREATE TABLE gyb ( 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...
SELECT AVG(zyb.MED_CLINIC_ID) FROM zyb WHERE zyb.MED_SER_ORG_NO = '麻醉科' AND zyb.IN_HOSP_DAYS BETWEEN '2000-08-24' AND '2014-07-15' AND zyb.IN_HOSP_DATE = '心脏病'
css
CREATE TABLE table_test_27 ( "id" int, "anemia" bool, "bleeding" int, "left_ventricular_ejection_fraction_lvef" int, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "left_main_stem_coronary_artery_stenosis" int, "haemoglobin" float, "renal_disease" bool, ...
SELECT * FROM table_test_27 WHERE renal_disease = 1 OR estimated_glomerular_filtration_rate_egfr < 25
criteria2sql
CREATE TABLE table_name_46 ( country VARCHAR, icao VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- WHich Country has a ICAO of ltcd?
SELECT country FROM table_name_46 WHERE icao = "ltcd"
sql_create_context
CREATE TABLE Addresses ( address_id INTEGER, line_1 VARCHAR(120), line_2 VARCHAR(120), line_3 VARCHAR(120), city VARCHAR(80), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50), other_address_details VARCHAR(255) ) CREATE TABLE Teachers ( teacher_id...
SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
nvbench
CREATE TABLE Visitors ( Tourist_ID INTEGER, Tourist_Details VARCHAR(255) ) CREATE TABLE Royal_Family ( Royal_Family_ID INTEGER, Royal_Family_Details VARCHAR(255) ) CREATE TABLE Tourist_Attraction_Features ( Tourist_Attraction_ID INTEGER, Feature_ID INTEGER ) CREATE TABLE Visits ( Visit_ID...
SELECT How_to_Get_There, COUNT(*) FROM Tourist_Attractions GROUP BY How_to_Get_There ORDER BY COUNT(*)
nvbench
CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE region ( Region_id int, Region_code text, R...
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY COUNT(*)
nvbench
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 AVG(MED_AMOUT) FROM t_kc24 WHERE MED_CLINIC_ID IN (SELECT MED_CLINIC_ID FROM t_kc21 WHERE PERSON_AGE >= 22)
css
CREATE TABLE table_name_43 ( played INTEGER, club VARCHAR, wins VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the played average that has botev plovdiv as the club and wins larger than 11?
SELECT AVG(played) FROM table_name_43 WHERE club = "botev plovdiv" AND wins > 11
sql_create_context
CREATE TABLE table_43306 ( "Year" real, "Class" text, "Team" text, "Points" real, "Rank" text, "Wins" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many wins for the team with points less than 6 and a 350cc class?
SELECT "Wins" FROM table_43306 WHERE "Points" < '6' AND "Class" = '350cc'
wikisql
CREATE TABLE table_20965 ( "Wicket" text, "Runs" real, "Batting partners" text, "Batting team" text, "Fielding team" text, "Venue" text, "Season" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team is 9th in wickets?
SELECT "Fielding team" FROM table_20965 WHERE "Wicket" = '9th'
wikisql
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT demographic.name, demographic.admission_type FROM demographic WHERE demographic.subject_id = "2560"
mimicsql_data
CREATE TABLE table_name_36 ( kicker VARCHAR, opponent VARCHAR, yards VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Opponent of new york giants, and a Yards smaller than 68 is what kicker?
SELECT kicker FROM table_name_36 WHERE opponent = "new york giants" AND yards < 68
sql_create_context
CREATE TABLE table_name_36 ( tournament VARCHAR, date VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the name of the Tournament on oct 23?
SELECT tournament FROM table_name_36 WHERE date = "oct 23"
sql_create_context
CREATE TABLE COURSE ( CRS_CODE varchar(10), DEPT_CODE varchar(10), CRS_DESCRIPTION varchar(35), CRS_CREDIT float(8) ) CREATE TABLE PROFESSOR ( EMP_NUM int, DEPT_CODE varchar(10), PROF_OFFICE varchar(50), PROF_EXTENSION varchar(4), PROF_HIGH_DEGREE varchar(5) ) CREATE TABLE CLASS ( ...
SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY DEPT_CODE DESC
nvbench
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...
SELECT AVG(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 = '027-82318')) AND intakeoutput.celllabel = 'urine...
eicu
CREATE TABLE table_204_35 ( id number, "season" text, "tier" number, "division" text, "place" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- the team placed 1st in 1992/93 . how did they place the previous year ?
SELECT "place" FROM table_204_35 WHERE "season" < '1992/93' ORDER BY "season" DESC LIMIT 1
squall
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Incisional ventral hernia with obstruction"
mimicsql_data
CREATE TABLE Users ( Id number, Reputation number, CreationDate time, DisplayName text, LastAccessDate time, WebsiteUrl text, Location text, AboutMe text, Views number, UpVotes number, DownVotes number, ProfileImageUrl text, EmailHash text, AccountId number ) CRE...
SELECT Id AS "post_link" FROM Posts WHERE PostTypeId IN (1, 2) AND OwnerUserId = '##UserId##' AND (Body LIKE '%http://javadude.com/articles/passbyvalue.htm%') ORDER BY CreationDate
sede
CREATE TABLE table_61042 ( "Year" real, "Award" text, "Category" text, "Title of work" text, "Result" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was awarded before 2013 to the Saber in the category of Best Action?
SELECT "Award" FROM table_61042 WHERE "Year" < '2013' AND "Title of work" = 'saber' AND "Category" = 'best action'
wikisql
CREATE TABLE climber ( climber_id number, name text, country text, time text, points number, mountain_id number ) CREATE TABLE mountain ( mountain_id number, name text, height number, prominence number, range text, country text ) -- Using valid SQLite, answer the follo...
SELECT country, COUNT(*) FROM climber GROUP BY country
spider
CREATE TABLE table_27764201_2 ( kickoff VARCHAR, opponent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What time was the kickoff against the Frankfurt Galaxy?
SELECT kickoff FROM table_27764201_2 WHERE opponent = "Frankfurt Galaxy"
sql_create_context
CREATE TABLE table_name_89 ( completions VARCHAR, attempts VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Completions has Attempts of 1,271?
SELECT completions FROM table_name_89 WHERE attempts = "1,271"
sql_create_context
CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( c...
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '027-62948' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-4 year')
eicu
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid ...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE STRFTIME('%y', patient.hospitaladmittime) <= '2104'
eicu
CREATE TABLE d_items ( row_id number, itemid number, label text, linksto text ) CREATE TABLE d_icd_diagnoses ( row_id number, icd9_code text, short_title text, long_title text ) CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id numb...
SELECT t3.spec_type_desc FROM (SELECT t2.spec_type_desc, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_...
mimic_iii
CREATE TABLE table_42706 ( "Rank" text, "Country" text, "Wins" real, "Winners" real, "First title" real, "Last title" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many Winners have Wins of 1 and a Country of fiji and a First title smaller ...
SELECT AVG("Winners") FROM table_42706 WHERE "Wins" = '1' AND "Country" = 'fiji' AND "First title" < '2004'
wikisql
CREATE TABLE table_name_5 ( player VARCHAR, round VARCHAR, pick VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the player that has a round greater than 2 and a pick bigger than 83?
SELECT player FROM table_name_5 WHERE round > 2 AND pick > 83
sql_create_context
CREATE TABLE table_42032 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the score in Hampden Park, Glasgow?
SELECT "Score" FROM table_42032 WHERE "Venue" = 'hampden park, glasgow'
wikisql
CREATE TABLE table_52235 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the attendance of the game where fitzro...
SELECT COUNT("Crowd") FROM table_52235 WHERE "Away team" = 'fitzroy'
wikisql
CREATE TABLE Timed_Locations_of_Things ( thing_id INTEGER, Date_and_Time DATETIME, Location_Code CHAR(15) ) CREATE TABLE Properties ( property_id INTEGER, property_type_code CHAR(15), property_address VARCHAR(255), other_details VARCHAR(255) ) CREATE TABLE Residents ( resident_id INTEG...
SELECT Customer_Event_ID, property_id FROM Customer_Events
nvbench
CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHA...
SELECT city_code, AVG(Age) FROM Student WHERE Sex = 'M' GROUP BY city_code
nvbench
CREATE TABLE table_27721131_11 ( high_assists VARCHAR, game VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who had the highest assists during game 78?
SELECT high_assists FROM table_27721131_11 WHERE game = 78
sql_create_context
CREATE TABLE Votes ( Id number, PostId number, VoteTypeId number, UserId number, CreationDate time, BountyAmount number ) CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, ...
SELECT SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS "up_votes", SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) AS "down_votes", (CAST(SUM(CASE WHEN VoteTypeId = 2 THEN 1 ELSE 0 END) AS FLOAT) / CAST(SUM(CASE WHEN VoteTypeId = 3 THEN 1 ELSE 0 END) AS FLOAT)) AS "up_votes_to_down_votes" FROM Votes AS v INNER JOIN ...
sede
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 patient ( uniquep...
SELECT intakeoutput.celllabel FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-157753') AND patient.unitdischargetime IS NULL) AND inta...
eicu
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 d_labitems ( row_id number, itemid number, label text ) CREATE TABLE procedures_icd ( ...
SELECT (SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'hy kid nos...
mimic_iii
CREATE TABLE table_name_13 ( away_team VARCHAR, home_team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who is the away team that played home team Hawthorn?
SELECT away_team FROM table_name_13 WHERE home_team = "hawthorn"
sql_create_context
CREATE TABLE t_kc24 ( MED_SAFE_PAY_ID text, OVERALL_CD_ORG text, OVERALL_CD_PERSON text, MED_CLINIC_ID text, REF_SLT_FLG number, CLINIC_SLT_DATE time, COMP_ID text, PERSON_ID text, FLX_MED_ORG_ID text, INSU_TYPE text, MED_AMOUT number, PER_ACC_PAY number, OVE_PAY numb...
SELECT t_kc21.MED_ORG_DEPT_CD, t_kc21.IN_DIAG_DIS_NM, MAX(t_kc24.CIVIL_SUBSIDY / t_kc24.MED_AMOUT) FROM t_kc21 JOIN t_kc24 ON t_kc21.MED_CLINIC_ID = t_kc24.MED_CLINIC_ID WHERE t_kc21.MED_SER_ORG_NO = '1996297' GROUP BY t_kc21.MED_ORG_DEPT_CD, t_kc21.IN_DIAG_DIS_NM ORDER BY MAX(t_kc24.CIVIL_SUBSIDY / t_kc24.MED_AMOUT) D...
css
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Coronary atherosclerosis of unspecified type of vessel, native or graft" AND prescriptions....
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 COUNT(*) FROM zyb WHERE zyb.PERSON_NM = '31931776' AND MOD(zyb.MED_CLINIC_ID, 1) = 0
css
CREATE TABLE table_1341930_18 ( party VARCHAR, incumbent VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- which affiliation is james h. morrison part of
SELECT party FROM table_1341930_18 WHERE incumbent = "James H. Morrison"
sql_create_context
CREATE TABLE table_44317 ( "Name" text, "Team" text, "Qual 1" text, "Qual 2" text, "Best" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which team has a 1:10.998 best?
SELECT "Team" FROM table_44317 WHERE "Best" = '1:10.998'
wikisql
CREATE TABLE table_name_75 ( date VARCHAR, tv_time VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- When has a TV Time of fox 12:00 pm cdt?
SELECT date FROM table_name_75 WHERE tv_time = "fox 12:00 pm cdt"
sql_create_context
CREATE TABLE ReviewTaskResults ( Id number, ReviewTaskId number, ReviewTaskResultTypeId number, CreationDate time, RejectionReasonId number, Comment text ) CREATE TABLE PostTypes ( Id number, Name text ) CREATE TABLE ReviewTaskTypes ( Id number, Name text, Description text ...
SELECT q.ViewCount AS "views", ROUND(q.ViewCount / q.AnswerCount, 2) AS "views_per_answer", q.AnswerCount AS "answer_count", q.Id AS "post_link", a.Score AS "answer_score", (CASE WHEN q.AcceptedAnswerId = a.Id THEN 'Yes' ELSE NULL END) AS "accepted", FLOOR((TIME_TO_STR(q.CreationDate, '%-HOUR') * 60 + TIME_TO_STR(q.Cre...
sede
CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE field ( fie...
SELECT DISTINCT writes.authorid FROM author, keyphrase, paper, paperkeyphrase, writes WHERE keyphrase.keyphrasename = 'Semantic Spaces' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2016 AND writes.authorid = author.authorid AND writes.paperid = paper...
scholar
CREATE TABLE ground_service ( city_code text, airport_code text, transport_type text, ground_fare int ) CREATE TABLE fare_basis ( fare_basis_code text, booking_class text, class_type text, premium text, economy text, discounted text, night text, season text, basis_da...
SELECT DISTINCT fare.fare_id FROM fare, flight, flight_fare WHERE flight_fare.fare_id = fare.fare_id AND flight.airline_code = 'DL' AND flight.flight_id = flight_fare.flight_id AND flight.flight_number = 746
atis
CREATE TABLE market ( Market_ID int, District text, Num_of_employees int, Num_of_shops real, Ranking int ) CREATE TABLE phone_market ( Market_ID int, Phone_ID text, Num_of_stock int ) CREATE TABLE phone ( Name text, Phone_ID int, Memory_in_G int, Carrier text, Price...
SELECT Carrier, AVG(Memory_in_G) FROM phone GROUP BY Carrier ORDER BY AVG(Memory_in_G)
nvbench
CREATE TABLE FlagTypes ( Id number, Name text, Description text ) CREATE TABLE PostHistory ( Id number, PostHistoryTypeId number, PostId number, RevisionGUID other, CreationDate time, UserId number, UserDisplayName text, Comment text, Text text, ContentLicense text )...
SELECT STR(YEAR(CreationDate)) + '-' + RIGHT('0' + LTRIM(STR(TIME_TO_STR(CreationDate, '%W'))), 2), COUNT(Posts.Id) AS "total", SUM(CASE WHEN ((Tags LIKE '%<probability>%') OR (Tags LIKE '%<statistics>%')) THEN 1 ELSE 0 END), (CAST(SUM(CASE WHEN ((Tags LIKE '%<probability>%') OR (Tags LIKE '%<statistics>%')) THEN 1 ELS...
sede
CREATE TABLE table_name_11 ( points VARCHAR, name VARCHAR, rank VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What's the total number of points that the rank is less than 5 and has Tiago Splitter?
SELECT COUNT(points) FROM table_name_11 WHERE name = "tiago splitter" AND rank < 5
sql_create_context
CREATE TABLE table_name_38 ( draws INTEGER, byes INTEGER ) -- Using valid SQLite, answer the following questions for the tables provided above. -- For the teams that had fewer than 1 Byes, what was the lowest number of Draws?
SELECT MIN(draws) FROM table_name_38 WHERE byes < 1
sql_create_context
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...
SELECT u.Id AS "user_link", MIN(Reputation) AS rep, MIN(Views) AS userviews, COUNT(*) AS badgecount FROM Users AS u INNER JOIN Badges AS b ON u.Id = b.UserId WHERE Reputation <= '##maxrep:int?500##' AND Reputation > 1 GROUP BY u.Id ORDER BY badgecount DESC LIMIT 200
sede
CREATE TABLE table_204_266 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- how many olympics has sofia akhmeteli represented georgia in the olympics ?
SELECT COUNT(*) FROM table_204_266 WHERE "flag bearer" = 'sofia akhmeteli'
squall
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND procedures.icd9_code = "17"
mimicsql_data
CREATE TABLE table_1562 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text ) -- Using valid SQLite, answer the following questions for the tables provided ab...
SELECT "Title" FROM table_1562 WHERE "No. in season" = '9'
wikisql
CREATE TABLE table_58992 ( "Driver" text, "Race 1" real, "Race 2" text, "Race 3" text, "Points" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which race 3 has points greater than 36, and 2 as the race 1?
SELECT "Race 3" FROM table_58992 WHERE "Points" > '36' AND "Race 1" = '2'
wikisql
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 t_kc22.CHA_ITEM_LEV 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 = '24614751779' AND t_kc22.SOC_SRT_DIRE_NM = '吡拉西坦片'
css
CREATE TABLE table_name_85 ( year INTEGER, community_award VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Which Year has a Community Award of jarrod harbrow?
SELECT SUM(year) FROM table_name_85 WHERE community_award = "jarrod harbrow"
sql_create_context
CREATE TABLE CloseAsOffTopicReasonTypes ( Id number, IsUniversal boolean, InputTitle text, MarkdownInputGuidance text, MarkdownPostOwnerGuidance text, MarkdownPrivilegedUserGuidance text, MarkdownConcensusDescription text, CreationDate time, CreationModeratorId number, ApprovalDa...
SELECT MONTH(LastAccessDate), COUNT(Id) FROM Users WHERE YEAR(LastAccessDate) = '##Year##' AND Reputation >= '##MinRep:int?102##' GROUP BY MONTH(LastAccessDate) ORDER BY MONTH(LastAccessDate)
sede
CREATE TABLE table_32609 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the away team's score when the home side...
SELECT "Away team" FROM table_32609 WHERE "Home team score" = '12.13 (85)'
wikisql
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...
SELECT zyjzjlb.JZLSH FROM person_info JOIN hz_info JOIN zyjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX WHERE person_info.XM = '李红旭' AND NOT zyjzjlb.JZLSH IN (SELECT JZLSH FROM jybgb WHERE BGRQ <= '2006-03-20')
css
CREATE TABLE jyjgzbb ( BGDH text, BGRQ time, CKZFWDX text, CKZFWSX number, CKZFWXX number, JCFF text, JCRGH text, JCRXM text, JCXMMC text, JCZBDM text, JCZBJGDL number, JCZBJGDW text, JCZBJGDX text, JCZBMC text, JLDW text, JYRQ time, JYZBLSH text, ...
SELECT wdmzjzjlb.YLJGDM FROM hz_info JOIN wdmzjzjlb ON hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX WHERE hz_info.RYBH = '52382275' UNION SELECT bdmzjzjlb.YLJGDM FROM hz_info JOIN bdmzjzjlb ON hz_info.YLJGDM = bdmzjzjlb.YLJGDM AND hz_info.KH = bdmzjzjlb.KH AND hz_info....
css
CREATE TABLE table_65995 ( "Year" real, "Formula" text, "Driver" text, "Constructor" text, "Location" text, "Report" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many years had a formula of Grand Prix?
SELECT COUNT("Year") FROM table_65995 WHERE "Formula" = 'grand prix'
wikisql
CREATE TABLE t_kc21_t_kc22 ( MED_CLINIC_ID text, MED_EXP_DET_ID number ) 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, C...
SELECT AVG(t_kc24.MED_AMOUT) FROM t_kc24 WHERE t_kc24.MED_CLINIC_ID IN (SELECT t_kc21.MED_CLINIC_ID FROM t_kc21 WHERE t_kc21.PERSON_AGE < 23)
css
CREATE TABLE table_dev_28 ( "id" int, "gender" string, "systolic_blood_pressure_sbp" int, "consent" bool, "hemoglobin_a1c_hba1c" float, "hematocrit_hct" float, "fasting_triglycerides" int, "fasting_blood_glucose_fbg" float, "diastolic_blood_pressure_dbp" int, "hba1c" float, "...
SELECT * FROM table_dev_28 WHERE hba1c > 7 AND hemoglobin_a1c_hba1c < 10 AND fasting_blood_glucose_fbg < 270 AND fasting_triglycerides < 400
criteria2sql
CREATE TABLE table_26123 ( "Represent" text, "Contestant" text, "Age" real, "Height (ft.)" text, "Height (mtr.)" text, "Hometown" text ) -- Using valid SQLite, answer the following questions for the tables provided above. -- How many meters tall is Ulrike Wolful?
SELECT "Height (mtr.)" FROM table_26123 WHERE "Contestant" = 'Ulrike Wolful'
wikisql
CREATE TABLE table_31172 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "2nd" real, "3rd" real, "Top 10s" real, "Best finish" text, "Earnings ( \u20ac )" text, "Money list rank" text, "Scoring average" text, "Scoring rank" text, "Rolex rankin...
SELECT MIN("Year") FROM table_31172 WHERE "Earnings ( \u20ac )" = '4,050 1'
wikisql
CREATE TABLE table_15319684_1 ( lost INTEGER, team VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Name the most losst for corinthians
SELECT MIN(lost) FROM table_15319684_1 WHERE team = "Corinthians"
sql_create_context
CREATE TABLE Member_of ( FacID INTEGER, DNO INTEGER, Appt_Type VARCHAR(15) ) CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), Credits INTEGER, Instructor INTEGER, Days VARCHAR(5), Hours VARCHAR(11), DNO INTEGER ) CREATE TABLE Minor_in ( StuID INTEGER, DNO INTEGE...
SELECT Days, COUNT(Days) FROM Course GROUP BY Days ORDER BY Credits
nvbench
CREATE TABLE jybgb ( BBCJBW text, BBDM text, BBMC text, BBZT number, BGDH text, BGJGDM text, BGJGMC text, BGRGH text, BGRQ time, BGRXM text, BGSJ time, CJRQ time, JSBBRQSJ time, JSBBSJ time, JYBBH text, JYJGMC text, JYJSGH text, JYJSQM text, JY...
SELECT jybgb.BGRQ FROM jybgb WHERE jybgb.BGDH = '42948232740'
css
CREATE TABLE table_name_71 ( developer VARCHAR, title VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the developer for Vigilance?
SELECT developer FROM table_name_71 WHERE title = "vigilance"
sql_create_context
CREATE TABLE table_name_82 ( event VARCHAR, result VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What event has the result of 7th (5-6)?
SELECT event FROM table_name_82 WHERE result = "7th (5-6)"
sql_create_context
CREATE TABLE table_28962227_1 ( finale VARCHAR, runners_up VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is the date when Miranda Gore Browne was runner-up?
SELECT finale FROM table_28962227_1 WHERE runners_up = "Miranda Gore Browne"
sql_create_context
CREATE TABLE chartevents ( row_id number, subject_id number, hadm_id number, icustay_id number, itemid number, charttime time, valuenum number, valueuom text ) CREATE TABLE inputevents_cv ( row_id number, subject_id number, hadm_id number, icustay_id number, charttim...
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE ...
mimic_iii
CREATE TABLE table_26108103_2 ( opponent VARCHAR, player VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Who was the opponent when Devin Gardner was the player?
SELECT opponent FROM table_26108103_2 WHERE player = "Devin Gardner"
sql_create_context
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "1" AND diagnoses.short_title = "Malnutrition mild degree"
mimicsql_data
CREATE TABLE flight_stop ( flight_id int, stop_number int, stop_days text, stop_airport text, arrival_time int, arrival_airline text, arrival_flight_number int, departure_time int, departure_airline text, departure_flight_number int, stop_time int ) CREATE TABLE flight_fare ...
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 = 'DENVER' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_...
atis
CREATE TABLE table_name_8 ( final_rank INTEGER, lose VARCHAR, point VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Tell me the average final rank for loe more than 10 and point less than 43
SELECT AVG(final_rank) FROM table_name_8 WHERE lose > 10 AND point < 43
sql_create_context
CREATE TABLE allergy_type ( allergy text, allergytype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE has_allergy ( stuid number, allergy text ) -- Using valid SQLite...
SELECT COUNT(DISTINCT advisor) FROM student
spider
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 jyjgzbb.JCRGH, jyjgzbb.JCRXM FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb 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 mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM ...
css
CREATE TABLE table_name_12 ( australian VARCHAR, british VARCHAR ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What is Australian, when British is 'a , , '?
SELECT australian FROM table_name_12 WHERE british = "aɪ, ɪ, ə"
sql_create_context
CREATE TABLE ReviewRejectionReasons ( Id number, Name text, Description text, PostTypeId number ) CREATE TABLE ReviewTaskStates ( Id number, Name text, Description text ) CREATE TABLE Comments ( Id number, PostId number, Score number, Text text, CreationDate time, U...
SELECT DISTINCT p.Id FROM Posts AS p INNER JOIN PostHistory AS ph ON ph.PostId = p.Id INNER JOIN PostHistoryTypes AS pht ON ph.PostHistoryTypeId = pht.Id INNER JOIN PostTags AS pt ON p.Id = pt.PostId INNER JOIN Tags AS t ON pt.TagId = t.Id AND (t.TagName LIKE 'c#' OR t.TagName LIKE 'asp.net%' OR t.TagName LIKE 'powersh...
sede
CREATE TABLE manufacturers ( code number, name text, headquarter text, founder text, revenue number ) CREATE TABLE products ( code number, name text, price number, manufacturer number ) -- Using valid SQLite, answer the following questions for the tables provided above. -- Find t...
SELECT SUM(revenue) FROM manufacturers WHERE revenue > (SELECT MIN(revenue) FROM manufacturers WHERE headquarter = 'Austin')
spider
CREATE TABLE table_65823 ( "Game" real, "Date" text, "Location" text, "Time" text, "Attendance" real ) -- Using valid SQLite, answer the following questions for the tables provided above. -- What was the least attendance when the time was 3:15?
SELECT MIN("Attendance") FROM table_65823 WHERE "Time" = '3:15'
wikisql