instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE product_characteristics (
product_id number,
characteristic_id number,
product_characteristic_value text
)
CREATE TABLE products (
product_id number,
color_code text,
product_category_code text,
product_name text,
typical_buying_price text,
typical_selling_price text,
... | SELECT product_category_code FROM products WHERE product_name = "flax" | spider |
CREATE TABLE table_48684 (
"Outcome" text,
"Date" text,
"Tournament" text,
"Surface" text,
"Opponent" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Outcome of the game with a Score of 6 4, 6 4?
| SELECT "Outcome" FROM table_48684 WHERE "Score" = '6–4, 6–4' | wikisql |
CREATE TABLE table_25711913_8 (
points INTEGER,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most points recorded for a right halfback?
| SELECT MAX(points) FROM table_25711913_8 WHERE position = "Right halfback" | sql_create_context |
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE LOWER(Location) LIKE '%Bhubaneswar%' OR UPPER(Location) LIKE '%Bhubaneswar%' OR Location LIKE '%Bhubaneswar%' OR LOWER(Location) LIKE '%Bhubaneshwar%' OR UPPER(Location) LIKE '%Bhubaneshwar%' O... | sede |
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requirement varchar,
description varchar,
num_semesters ... | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN student_record ON student_record.offering_id = offering_instructor.offering_id INNER JOIN student ON student.student_id = student_record.student_id WHERE (student_rec... | advising |
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 COUNT(*) FROM (SELECT jybgb.KSBM FROM mzjzjlb JOIN jybgb ON mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE mzjzjlb.YLJGDM = '5309668' AND jybgb.BGRQ BETWEEN '2007-09-27' AND '2008-01-04' GROUP BY jybgb.KSBM HAVING COUNT(*) >= 20) AS T | css |
CREATE TABLE table_40121 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest number of Played games with... | SELECT MAX("Played") FROM table_40121 WHERE "Position" < '2' AND "Drawn" < '4' | wikisql |
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 microlab (
microl... | SELECT AVG(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 lab.patientunitstayid FROM lab WHERE lab.labname = 'cortisol')) AND STRFTIME('%y', cost.chargetime) >= '2104' GROUP BY c... | eicu |
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,
... | SELECT demographic.diagnosis, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "18077" | mimicsql_data |
CREATE TABLE table_8684 (
"Player" text,
"Nationality" text,
"Position" text,
"Years for Grizzlies" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player played for the Grizzlies from 1997-1998?
| SELECT "Player" FROM table_8684 WHERE "Years for Grizzlies" = '1997-1998' | wikisql |
CREATE TABLE table_12526990_1 (
mundubbera INTEGER,
biggenden VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the minimum mundubbera when biggenden is 1882
| SELECT MIN(mundubbera) FROM table_12526990_1 WHERE biggenden = 1882 | sql_create_context |
CREATE TABLE table_name_88 (
ground VARCHAR,
home_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the ground of the game where the home team was Adelaide?
| SELECT ground FROM table_name_88 WHERE home_team = "adelaide" | sql_create_context |
CREATE TABLE table_12573 (
"Central Murray" text,
"Wins" real,
"Byes" real,
"Losses" real,
"Draws" real,
"Against" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of wins of the central murray of koondrook-barham, which h... | SELECT COUNT("Wins") FROM table_12573 WHERE "Central Murray" = 'koondrook-barham' AND "Draws" > '0' | wikisql |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "3343" | mimicsql_data |
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE cost (
costid number,
uniquepi... | SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime) <= DATETIME(CURRENT_TIME(), '-1 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 3 | eicu |
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 ... | SELECT ZYZYZDZZBM, ZYZYZDZZMC FROM zyjzjlb WHERE JZLSH = '84485404154' | css |
CREATE TABLE table_21568 (
"1391 Carelia" text,
"1398 Donnera" text,
"1405 Sibelius" text,
"1406 Komppa" text,
"1407 Lindel\u00f6f" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the 1406 komppa of asteroid which 1405 sibelius is 2737 kotka
| SELECT "1406 Komppa" FROM table_21568 WHERE "1405 Sibelius" = '2737 Kotka' | wikisql |
CREATE TABLE table_39836 (
"Rank" text,
"s Wicket" text,
"Player" text,
"Matches" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank has andy bichel (qld) as the player?
| SELECT "Rank" FROM table_39836 WHERE "Player" = 'andy bichel (qld)' | wikisql |
CREATE TABLE table_name_23 (
result VARCHAR,
nominee VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of Declan Donnellan's nomination?
| SELECT result FROM table_name_23 WHERE nominee = "declan donnellan" | sql_create_context |
CREATE TABLE table_name_2 (
award_ceremony VARCHAR,
role VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Award Ceremony in 2009 has a Role of Glinda?
| SELECT award_ceremony FROM table_name_2 WHERE role = "glinda" AND year = 2009 | sql_create_context |
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 CHA_ITEM_LEV FROM t_kc22 WHERE MED_CLINIC_ID = '46298054925' AND SOC_SRT_DIRE_NM = '盐酸氟西汀片' | css |
CREATE TABLE table_35136 (
"Hand" text,
"1 credit" text,
"2 credits" text,
"3 credits" text,
"4 credits" text,
"5 credits" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the listed Hand has 3 credits of 6?
| SELECT "Hand" FROM table_35136 WHERE "3 credits" = '6' | wikisql |
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 jyjgzbb.YQBH, jyjgzbb.YQMC FROM hz_info JOIN mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzbb.YLJGDM AND zyjybgb.BGDH = ... | css |
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 Name, Weight FROM people ORDER BY Weight DESC | nvbench |
CREATE TABLE table_68691 (
"Episode #" real,
"Title" text,
"Part 1" text,
"Part 2" text,
"Part 3" text,
"Part 4" text,
"Part 5" text,
"Part 6" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When is Part 6, when Part 4 is on March 2, 2008... | SELECT "Part 6" FROM table_68691 WHERE "Part 4" = 'march 2, 2008' | wikisql |
CREATE TABLE table_60932 (
"Outcome" text,
"Date" real,
"Tournament" text,
"Surface" text,
"Partner" text,
"Opponents in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many days had a score of 4 6, 4... | SELECT COUNT("Date") FROM table_60932 WHERE "Score in the final" = '4–6, 4–6' | wikisql |
CREATE TABLE table_17942 (
"Year" real,
"Starts" real,
"Wins (Majors)" text,
"2nd" real,
"3rd" real,
"Earnings ($)" real,
"Money list rank" text,
"Scoring average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the money list ran... | SELECT "Money list rank" FROM table_17942 WHERE "Year" = '1966' | wikisql |
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name var... | SELECT DISTINCT aircraft_code FROM aircraft WHERE capacity = (SELECT MAX(AIRCRAFTalias1.capacity) FROM aircraft AS AIRCRAFTalias1) | atis |
CREATE TABLE song (
song_name text,
artist_name text,
country text,
f_id number,
genre_is text,
rating number,
languages text,
releasedate time,
resolution number
)
CREATE TABLE files (
f_id number,
artist_name text,
file_size text,
duration text,
formats text
)
... | SELECT T1.artist_name, T1.country FROM artist AS T1 JOIN song AS T2 ON T1.artist_name = T2.artist_name WHERE T2.song_name LIKE "%love%" | spider |
CREATE TABLE table_name_9 (
cup_goals INTEGER,
league_apps INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cup goals for the season with more than 34 league apps?
| SELECT AVG(cup_goals) FROM table_name_9 WHERE league_apps > 34 | sql_create_context |
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 procedures (
... | SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "29690" | mimicsql_data |
CREATE TABLE table_27700375_10 (
high_points VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had high points on march 14?
| SELECT high_points FROM table_27700375_10 WHERE date = "March 14" | sql_create_context |
CREATE TABLE table_204_358 (
id number,
"species" text,
"common name" text,
"ncbi accession #" text,
"ncbi name" text,
"length" text,
"sequence identity" text,
"sequence similarity" text,
"years since divergence from human (mya)" number
)
-- Using valid SQLite, answer the following... | SELECT "species" FROM table_204_358 ORDER BY "years since divergence from human (mya)" DESC LIMIT 1 | squall |
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.BBCJBW FROM hz_info JOIN wdmzjzjlb JOIN jybgb ON hz_info.YLJGDM = wdmzjzjlb.YLJGDM AND hz_info.KH = wdmzjzjlb.KH AND hz_info.KLX = wdmzjzjlb.KLX AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE hz_info.RYBH = '93103311' AND jybgb.BGRQ BETWEEN '2015-06-29' AND '201... | css |
CREATE TABLE table_60874 (
"Opposing Teams" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the average Against thaylt has the Date of 23/03/2002?
| SELECT AVG("Against") FROM table_60874 WHERE "Date" = '23/03/2002' | wikisql |
CREATE TABLE table_name_78 (
game INTEGER,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Game, when Team is 'Milwaukee'?
| SELECT AVG(game) FROM table_name_78 WHERE team = "milwaukee" | sql_create_context |
CREATE TABLE table_2665085_1 (
park VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many parks is Zippin Pippin located in
| SELECT COUNT(park) FROM table_2665085_1 WHERE name = "Zippin Pippin" | sql_create_context |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
... | SELECT TIME_TO_STR(p.CreationDate, '%YEAR') AS Year, TIME_TO_STR(p.CreationDate, '%-mONT%-H') AS Month, COUNT(*) AS Questions, SUM(p.AnswerCount) AS Answers, SUM(p.Score) AS QuestionUpvotes, SUM(p.ViewCount) AS "views", SUM(CASE WHEN p.Score > 1 THEN 1 ELSE 0 END) AS "upvotedquestions", SUM(CASE WHEN NOT p.AcceptedAnsw... | sede |
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 person_info.JGDM, person_info.JGMC, COUNT(person_info.RYBH) FROM person_info JOIN hz_info JOIN mzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE mzjzjlb.JZZDSM = '沙眼' GROUP BY person_info.JGDM | css |
CREATE TABLE table_name_92 (
attendance VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the attendance at the game with a record of 4-5?
| SELECT attendance FROM table_name_92 WHERE record = "4-5" | sql_create_context |
CREATE TABLE table_39723 (
"Round" real,
"Pick #" real,
"Overall" real,
"Name" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Roy Hall's highest round?
| SELECT MAX("Round") FROM table_39723 WHERE "Name" = 'roy hall' | wikisql |
CREATE TABLE table_80168 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Joined" text,
"Previous Conference" text,
"Left" text,
"Conference joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which conference held at ... | SELECT "Previous Conference" FROM table_80168 WHERE "School" = 'whiting' | wikisql |
CREATE TABLE table_204_392 (
id number,
"#" number,
"stadium" text,
"capacity" number,
"city" text,
"country" text,
"domed or retractable roof" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many stadiums have a capacity of more than 70,... | SELECT COUNT("stadium") FROM table_204_392 WHERE "capacity" > 70000 | squall |
CREATE TABLE person_info (
RYBH text,
XBDM number,
XBMC text,
XM text,
CSRQ time,
CSD text,
MZDM text,
MZMC text,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
XLDM text,
XLMC text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH ... | (SELECT jybgb.BGDH 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 = '60676464' AND NOT jybgb.BGDH IN (SELECT BGDH FROM jyjgzbb WHERE JCZ... | css |
CREATE TABLE table_79383 (
"Year" real,
"Game" text,
"Genre" text,
"Platform(s)" text,
"Developer(s)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What game was in 2001?
| SELECT "Game" FROM table_79383 WHERE "Year" = '2001' | wikisql |
CREATE TABLE table_name_29 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position is played by farmar, jordan jordan farmar?
| SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar" | sql_create_context |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE zyjybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH number,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
... | SELECT * FROM person_info JOIN hz_info JOIN mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzb... | css |
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respiration number,
systemicsysto... | SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antiemetic - anticholinergic' AND DATETI... | eicu |
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... | SELECT decor, AVG(basePrice) FROM Rooms GROUP BY decor ORDER BY AVG(basePrice) | nvbench |
CREATE TABLE table_1876825_5 (
title VARCHAR,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is title of episode aired on March 2, 2003?
| SELECT title FROM table_1876825_5 WHERE original_air_date = "March 2, 2003" | sql_create_context |
CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Student_Tests_Taken (
registration_id IN... | SELECT subject_name, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY T1.subject_id ORDER BY subject_name | nvbench |
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_labitems... | 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 = 23938)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial ... | mimic_iii |
CREATE TABLE affiliated_with (
physician number,
department number,
primaryaffiliation boolean
)
CREATE TABLE block (
blockfloor number,
blockcode number
)
CREATE TABLE nurse (
employeeid number,
name text,
position text,
registered boolean,
ssn number
)
CREATE TABLE patient (... | SELECT T1.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.employeeid = T2.physician JOIN department AS T3 ON T2.department = T3.departmentid WHERE T3.name = 'Surgery' OR T3.name = 'Psychiatry' | spider |
CREATE TABLE table_10244 (
"Software" text,
"Calculations" text,
"Macros" text,
"Loci" text,
"Animations" text,
"Multilingual" text,
"Proofs" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Is there Loci in the Cinderella software?
| SELECT "Loci" FROM table_10244 WHERE "Software" = 'cinderella' | wikisql |
CREATE TABLE table_name_49 (
headquarters VARCHAR,
primary_industry VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is Exxon Mobil, an oil and gas corporation, headquartered?
| SELECT headquarters FROM table_name_49 WHERE primary_industry = "oil and gas" AND name = "exxon mobil" | sql_create_context |
CREATE TABLE table_41441 (
"Pos." text,
"Player" text,
"Free Agent Type" text,
"2007 Team" text,
"Contract" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the 2007 Team with player Deshaun Foster?
| SELECT "2007 Team" FROM table_41441 WHERE "Player" = 'deshaun foster' | wikisql |
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
-- Using valid SQLite, answer the following questions for the... | SELECT Name, COUNT(Name) FROM Products WHERE Price <= 200 GROUP BY Name ORDER BY COUNT(Name) DESC | nvbench |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostFeedback (
Id number,
PostId number,
IsAnonymous boolean,
... | SELECT ROW_NUMBER() OVER (ORDER BY COUNT(Id) DESC) AS "#", UserId AS "user_link", COUNT(Id) AS c FROM Comments WHERE Text LIKE '%##CommentText##%' AND LENGTH(Text) <= '##CommentLength##' AND NOT UserId IS NULL GROUP BY UserId ORDER BY c DESC LIMIT 50 | sede |
CREATE TABLE table_25493 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name t... | SELECT "Score" FROM table_25493 WHERE "Record" = '49-31' | wikisql |
CREATE TABLE table_71875 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which result has a Date of november 2, 2007?
| SELECT "Result" FROM table_71875 WHERE "Date" = 'november 2, 2007' | wikisql |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospit... | SELECT treatment.treatmentname FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-30133' AND NOT patient.hospitaldischargetime IS NULL ORDER BY... | eicu |
CREATE TABLE table_42643 (
"Date" text,
"Location" text,
"Country" text,
"Event" text,
"Winner" text,
"Runner-up" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the Runner-up in Hossegor?
| SELECT "Runner-up" FROM table_42643 WHERE "Location" = 'hossegor' | wikisql |
CREATE TABLE table_name_59 (
date VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game played at Moorabbin Oval?
| SELECT date FROM table_name_59 WHERE venue = "moorabbin oval" | sql_create_context |
CREATE TABLE table_72185 (
"Week" text,
"Date" text,
"Opponent" text,
"Result" text,
"Kickoff [a ]" text,
"Game site" text,
"TV" text,
"Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give me the kickoff tim... | SELECT "Kickoff [a ]" FROM table_72185 WHERE "TV" = 'CBS' AND "Opponent" = 'St. Louis Cardinals' | wikisql |
CREATE TABLE table_name_11 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what was the venue on 7 october 2011?
| SELECT venue FROM table_name_11 WHERE date = "7 october 2011" | sql_create_context |
CREATE TABLE table_name_99 (
week_3 VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the week 3 for team of mark/jennifer
| SELECT week_3 FROM table_name_99 WHERE team = "mark/jennifer" | sql_create_context |
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREAT... | SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-22327')) AND intakeoutput.cellpath LIKE '%intake%' AND intakeoutpu... | eicu |
CREATE TABLE table_203_370 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"event" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which competition is listed the most in this chart ?
| SELECT "competition" FROM table_203_370 GROUP BY "competition" ORDER BY COUNT(*) DESC LIMIT 1 | squall |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Milrinone" | mimicsql_data |
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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
C... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DEAD/EXPIRED" AND demographic.age < "41" | mimicsql_data |
CREATE TABLE ref_calendar (
calendar_date time,
day_number number
)
CREATE TABLE roles (
role_code text,
role_name text,
role_description text
)
CREATE TABLE ref_document_types (
document_type_code text,
document_type_name text,
document_type_description text
)
CREATE TABLE documents_... | SELECT role_code FROM employees GROUP BY role_code HAVING COUNT(*) >= 3 | spider |
CREATE TABLE movie (
movie_id number,
title text,
year number,
director text,
budget_million number,
gross_worldwide number
)
CREATE TABLE culture_company (
company_name text,
type text,
incorporated_in text,
group_equity_shareholding number,
book_club_id text,
movie_id ... | SELECT publisher FROM book_club GROUP BY publisher ORDER BY COUNT(*) DESC LIMIT 1 | spider |
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number,
OwnerDisplayName text,
LastEditorUserId number,
LastEditorDisplayName text... | SELECT b.Id AS "post_link", 'site://questions/' + CAST(MAX(a.Id) AS TEXT) AS "answer_link" FROM Posts AS a INNER JOIN Posts AS b ON a.ParentId = b.Id INNER JOIN Posts AS c ON c.ParentId = b.Id WHERE a.PostTypeId = 2 AND a.OwnerUserId = @UserId AND b.PostTypeId = 1 AND b.AcceptedAnswerId IS NULL AND c.PostTypeId = 2 AND... | sede |
CREATE TABLE table_name_30 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is 2000, when 1996 is 'A', when 1997 is 'A', and when 2007 is 'A'?
| SELECT 2000 FROM table_name_30 WHERE 1996 = "a" AND 1997 = "a" AND 2007 = "a" | sql_create_context |
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid numb... | SELECT patient.admissionweight FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-86978') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) <= DATETIME(CURRENT_TIME(), '-4 month') ORDER BY patient.unitad... | eicu |
CREATE TABLE table_19013 (
"Rank" real,
"Airport" text,
"Total Passengers 2008" real,
"Total Passengers 2009" real,
"Change 2008/09" text,
"Aircraft movements 2009" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the airport with total pas... | SELECT "Airport" FROM table_19013 WHERE "Total Passengers 2009" = '157933' | 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 COUNT(*) FROM t_kc21 JOIN t_kc22 ON t_kc21.MED_CLINIC_ID = t_kc22.MED_CLINIC_ID WHERE t_kc21.PERSON_ID = '52511497' AND t_kc22.STA_DATE BETWEEN '2004-11-24' AND '2016-01-08' AND t_kc22.SOC_SRT_DIRE_CD = '107476384' | css |
CREATE TABLE table_66609 (
"School" text,
"Location" text,
"Mascot" text,
"Enrollment" real,
"IHSAA Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the lacrosse school located?
| SELECT "Location" FROM table_66609 WHERE "School" = 'lacrosse' | wikisql |
CREATE TABLE table_name_39 (
crowd INTEGER,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the most crowd for arden street oval venue
| SELECT MAX(crowd) FROM table_name_39 WHERE venue = "arden street oval" | sql_create_context |
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number... | SELECT Posts.Id AS "post_link", Posts.Tags, PostHistory.CreationDate FROM Posts, PostHistory WHERE Posts.Id = PostHistory.PostId AND PostHistory.Text LIKE '%<game-systems>%' ORDER BY Posts.Id DESC, PostHistory.CreationDate | sede |
CREATE TABLE table_72579 (
"Cardinal direction" text,
"Burmese" text,
"Sanskrit" text,
"English" text,
"Planet" text,
"Sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Burmese term for Thursday?
| SELECT "Burmese" FROM table_72579 WHERE "English" = 'Thursday' | 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
)
-- Using valid SQLite, answer the following questions for the... | SELECT T1.Code, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder | nvbench |
CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational... | SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Medieval Literature%' AND NOT instructor.name LIKE '%Navvab%' AND offering_instructor.instructor_id = ins... | advising |
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 lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "LEFT COLON CANCER" AND demographic.age < "76" | mimicsql_data |
CREATE TABLE table_1404456_1 (
area__km_2__ VARCHAR,
population_census_2009 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the area (km 2 ) with population census 2009 being 939370
| SELECT area__km_2__ FROM table_1404456_1 WHERE population_census_2009 = 939370 | sql_create_context |
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CRE... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%paris%' OR UPPER(Location) LIKE '%PARIS%' ORDER BY Reputation DESC | sede |
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 COUNT(*) FROM (SELECT jybgb.KSBM FROM zzmzjzjlb JOIN jybgb ON zzmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND zzmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB WHERE zzmzjzjlb.YLJGDM = '2121304' AND jybgb.BGRQ BETWEEN '2004-12-03' AND '2010-02-06' GROUP BY jybgb.KSBM HAVING COUNT(*) > 21 UNION SELECT jybgb.KSBM FROM fzzmzjzjlb ... | css |
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varch... | SELECT COUNT(*) = 0 FROM course, course_offering, instructor, offering_instructor WHERE (NOT instructor.name LIKE '%Aghapi Mordovanakis%' AND NOT instructor.name LIKE '%Pj Mcgann%') AND course.course_id = course_offering.course_id AND course.department = 'SAC' AND course.number = 440 AND offering_instructor.instructor_... | advising |
CREATE TABLE table_56430 (
"Episode #" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original airdate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed the episode 'Approaching Zero'?
| SELECT "Directed by" FROM table_56430 WHERE "Title" = 'approaching zero' | wikisql |
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 jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB ... | css |
CREATE TABLE table_70145 (
"Year" text,
"Starts" real,
"Cuts made" real,
"Wins" real,
"Top 10" real,
"Top 25" real,
"Earnings (\u20ac)" real,
"Money list rank" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of Top 10 perf... | SELECT SUM("Top 10") FROM table_70145 WHERE "Wins" > '2' AND "Top 25" < '16' | wikisql |
CREATE TABLE table_name_24 (
strain VARCHAR,
species VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Strain name of Species Thiomicrospira crunogena?
| SELECT strain FROM table_name_24 WHERE species = "thiomicrospira crunogena" | 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 hz_info_zyjzjlb (
JZLSH number,
... | SELECT person_info.JGDM, person_info.JGMC, COUNT(person_info.RYBH) FROM person_info JOIN hz_info JOIN mzjzjlb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX WHERE mzjzjlb.JZZDBM = 'N08.618' GROUP BY person_info.JGDM | css |
CREATE TABLE table_31357 (
"Season" text,
"Division" text,
"League Apps" real,
"League Goals" real,
"FA Cup Apps" real,
"FA Cup Goals" real,
"Other Apps" real,
"Other Goals" real,
"Total Apps" real,
"Total Goals" real
)
-- Using valid SQLite, answer the following questions for ... | SELECT "League Goals" FROM table_31357 WHERE "League Apps" = '2' | wikisql |
CREATE TABLE table_name_53 (
game INTEGER,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest game when the score is 102-104?
| SELECT MIN(game) FROM table_name_53 WHERE score = "102-104" | sql_create_context |
CREATE TABLE table_42382 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many years was the 400 m event in the olympic games?
| SELECT COUNT("Year") FROM table_42382 WHERE "Competition" = 'olympic games' AND "Event" = '400 m' | wikisql |
CREATE TABLE table_60579 (
"Year (Ceremony)" text,
"Original title" text,
"Film title used in nomination" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the original title of the nomination title, 'brecha en el... | SELECT "Original title" FROM table_60579 WHERE "Film title used in nomination" = 'brecha en el silencio' | wikisql |
CREATE TABLE table_name_60 (
event VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the events in the 1976 Innsbruck Games?
| SELECT event FROM table_name_60 WHERE games = "1976 innsbruck" | sql_create_context |
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time,
ReviewTaskStateId number,
PostId number,
SuggestedEditId number,
CompletedByReviewTaskId number
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId... | SELECT COUNT(DISTINCT OwnerUserId) FROM Posts WHERE CreationDate > DATEADD(year, -1, GETDATE()) | sede |
CREATE TABLE table_name_12 (
to_par VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is fuzzy zoeller's to par?
| SELECT to_par FROM table_name_12 WHERE player = "fuzzy zoeller" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.