instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE table_25794010_1 (
name VARCHAR,
organization_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name for organization date being unknown
| SELECT name FROM table_25794010_1 WHERE organization_date = "Unknown" | sql_create_context |
CREATE TABLE table_name_69 (
score VARCHAR,
outcome VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Score has an Outcome of runner-up, and a Tournament of johannesburg?
| SELECT score FROM table_name_69 WHERE outcome = "runner-up" AND tournament = "johannesburg" | sql_create_context |
CREATE TABLE table_8042 (
"Name" text,
"Death" text,
"Assumed Office" text,
"Left Office" text,
"Years in office" text,
"Monarch" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which monarch assumed office on December 15, 1876?
| SELECT "Monarch" FROM table_8042 WHERE "Assumed Office" = 'december 15, 1876' | wikisql |
CREATE TABLE table_11424 (
"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 score for the team that ha... | SELECT "Away team score" FROM table_11424 WHERE "Home team score" = '19.13 (127)' | wikisql |
CREATE TABLE jybgb_jyjgzbb (
JYZBLSH number,
YLJGDM text,
jyjgzbb_id number
)
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... | SELECT zyjzjlb.JZLSH FROM hz_info JOIN zyjzjlb ON hz_info.YLJGDM = zyjzjlb.YLJGDM AND hz_info.KH = zyjzjlb.KH AND hz_info.KLX = zyjzjlb.KLX WHERE hz_info.RYBH = '27848867' AND NOT zyjzjlb.JZLSH IN (SELECT jybgb.JZLSH FROM jybgb WHERE jybgb.BGRQ <= '2004-10-16') | css |
CREATE TABLE table_204_235 (
id number,
"season" text,
"team" text,
"country" text,
"competition" text,
"matches" number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many teams had above 20 matches in the season ?
| SELECT COUNT("season") FROM table_204_235 WHERE "matches" > 20 | squall |
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy_assignments ... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id WHERE program_cour... | advising |
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
... | SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.credits = 1 AND program_course.category LIKE 'ULCS' | advising |
CREATE TABLE table_47198 (
"Region" text,
"Date" text,
"Label" text,
"Format" text,
"Catalog" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which date has a region of united kingdom?
| SELECT "Date" FROM table_47198 WHERE "Region" = 'united kingdom' | wikisql |
CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE jyjgzbb (
BGDH text,
BGRQ tim... | SELECT jyjgzbb.JCFF FROM person_info JOIN hz_info JOIN mzjzjlb 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 = jyjgzbb.jybgb_YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jyjgzbb.jybgb_JZLSH_MZJZJLB WHERE person_info... | css |
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 jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb 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 AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jyb... | css |
CREATE TABLE team (
year INTEGER,
league_id TEXT,
team_id TEXT,
franchise_id TEXT,
div_id TEXT,
rank INTEGER,
g INTEGER,
ghome NUMERIC,
w INTEGER,
l INTEGER,
div_win TEXT,
wc_win TEXT,
lg_win TEXT,
ws_win TEXT,
r INTEGER,
ab INTEGER,
h INTEGER,
dou... | SELECT year, COUNT(*) FROM postseason AS T1 JOIN team AS T2 ON T1.team_id_winner = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' GROUP BY T1.year ORDER BY year DESC | nvbench |
CREATE TABLE table_name_20 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Date, when Away Team is 'Ipswich Town'?
| SELECT date FROM table_name_20 WHERE away_team = "ipswich town" | sql_create_context |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Ascites" | mimicsql_data |
CREATE TABLE table_name_35 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Venue, when Date is 'January 6, 1995'?
| SELECT venue FROM table_name_35 WHERE date = "january 6, 1995" | 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 qtb.MED_ORG_DEPT_NM, qtb.IN_DIAG_DIS_CD, AVG(qtb.PERSON_AGE) FROM qtb WHERE qtb.MED_SER_ORG_NO = '8754336' GROUP BY qtb.MED_ORG_DEPT_NM, qtb.IN_DIAG_DIS_CD UNION SELECT gyb.MED_ORG_DEPT_NM, gyb.IN_DIAG_DIS_CD, AVG(gyb.PERSON_AGE) FROM gyb WHERE gyb.MED_SER_ORG_NO = '8754336' GROUP BY gyb.MED_ORG_DEPT_NM, gyb.IN_... | 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 demographic ... | SELECT diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "94756" | mimicsql_data |
CREATE TABLE table_37543 (
"Round" real,
"Player" text,
"Position" text,
"Nationality" text,
"College/Junior/Club Team (League)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position does Drew Callander play?
| SELECT "Position" FROM table_37543 WHERE "Player" = 'drew callander' | wikisql |
CREATE TABLE table_37993 (
"Date" text,
"Opponent" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Result of the game on 10/11/1930?
| SELECT "Result" FROM table_37993 WHERE "Date" = '10/11/1930' | wikisql |
CREATE TABLE table_name_23 (
games INTEGER,
points VARCHAR,
goals_for VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the most games when the points are 100 and goals for less than 356?
| SELECT MAX(games) FROM table_name_23 WHERE points = 100 AND goals_for < 356 | sql_create_context |
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.insurance = "Government" AND lab.label = "Lactate Dehydrogenase, CSF" | mimicsql_data |
CREATE TABLE table_name_56 (
bronze INTEGER,
silver VARCHAR,
sport VARCHAR,
gold VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the lowest Bronze for gold of 3 in the winter for cross-country skiing and silver less than 0
| SELECT MIN(bronze) FROM table_name_56 WHERE gold = 3 AND games = "winter" AND sport = "cross-country skiing" AND silver < 0 | sql_create_context |
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number... | SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime, patient.patienthealthsystemstayid FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'sertraline hcl 5... | eicu |
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.JYZBLSH FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = ... | css |
CREATE TABLE table_name_34 (
average INTEGER,
evening_gown VARCHAR,
swimsuit VARCHAR,
state VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average of the swimsuit smaller than 9.545 , of Iowa, with an evening gown larger than 9.625?
| SELECT AVG(average) FROM table_name_34 WHERE swimsuit < 9.545 AND state = "iowa" AND evening_gown > 9.625 | sql_create_context |
CREATE TABLE table_65557 (
"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's year was the genre Adventure?
| SELECT "Year" FROM table_65557 WHERE "Genre" = 'adventure' | wikisql |
CREATE TABLE table_name_35 (
score VARCHAR,
opponents VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Diego Junqueira Gabriel Trujillo-Soler's opponent's score?
| SELECT score FROM table_name_35 WHERE opponents = "diego junqueira gabriel trujillo-soler" | sql_create_context |
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId numbe... | WITH joe AS (SELECT u.CreationDate, u.DisplayName, u.DownVotes, u.UpVotes, DATEDIFF(DAY, u.CreationDate, GETDATE()) AS joe_days FROM dbo.Users AS u WHERE u.Id = 104717) SELECT *, joe.DownVotes / joe.joe_days AS dv_day, joe.UpVotes / joe.joe_days AS uv_day FROM joe | sede |
CREATE TABLE table_24018112_1 (
frequency VARCHAR,
model__list_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What frequency does model L34xx use?
| SELECT frequency FROM table_24018112_1 WHERE model__list_ = "L34xx" | sql_create_context |
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 demographic ... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.diagnosis = "LIVER TRANSPLANT" | mimicsql_data |
CREATE TABLE table_name_19 (
conv VARCHAR,
span VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- on the span of 1992-2000, what was the conv ?
| SELECT conv FROM table_name_19 WHERE span = "1992-2000" | sql_create_context |
CREATE TABLE gwyjzb (
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 gwyjzb.OUT_DIAG_DIS_CD, gwyjzb.OUT_DIAG_DIS_NM FROM gwyjzb WHERE gwyjzb.PERSON_ID = '78122301' AND gwyjzb.MED_CLINIC_ID IN (SELECT t_kc24.MED_CLINIC_ID FROM t_kc24 WHERE t_kc24.MED_AMOUT >= 6369.46) UNION SELECT fgwyjzb.OUT_DIAG_DIS_CD, fgwyjzb.OUT_DIAG_DIS_NM FROM fgwyjzb WHERE fgwyjzb.PERSON_ID = '78122301' AN... | css |
CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy_assignments ... | SELECT COUNT(DISTINCT course.course_id) FROM course, course_offering, program_course, semester WHERE course.course_id = course_offering.course_id AND course.credits = 17 AND course.department = 'PATH' AND program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id AND semester.semester = 'Spri... | advising |
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 qtb.MED_CLINIC_ID FROM qtb WHERE qtb.PERSON_ID = '43770039' AND NOT qtb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc22.AMOUNT > 9882.0) UNION SELECT gyb.MED_CLINIC_ID FROM gyb WHERE gyb.PERSON_ID = '43770039' AND NOT gyb.MED_CLINIC_ID IN (SELECT t_kc22.MED_CLINIC_ID FROM t_kc22 WHERE t_kc... | css |
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Chr tot occlus cor artry" AND lab."CATEGORY" = "Blood Gas" | mimicsql_data |
CREATE TABLE table_61020 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Country has a Score of 69-66=135?
| SELECT "Country" FROM table_61020 WHERE "Score" = '69-66=135' | 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Malig neo brain NEC" AND lab.fluid = "Urine" | mimicsql_data |
CREATE TABLE table_2668347_14 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who are the candidates for district new york 10?
| SELECT candidates FROM table_2668347_14 WHERE district = "New York 10" | sql_create_context |
CREATE TABLE table_name_40 (
frequency__mhz_ INTEGER,
type VARCHAR,
call_letters VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Type of primary, and a Call letters of kktx-fm has what average Frequency (MHz)?
| SELECT AVG(frequency__mhz_) FROM table_name_40 WHERE type = "primary" AND call_letters = "kktx-fm" | sql_create_context |
CREATE TABLE table_51828 (
"Outcome" text,
"Date" real,
"Championship" text,
"Surface" text,
"Opponent in the final" text,
"Score in the final" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which championship had a score in the final of 3 6, 6 ... | SELECT "Championship" FROM table_51828 WHERE "Score in the final" = '3–6, 6–4, 5–7' | wikisql |
CREATE TABLE table_63592 (
"Draw" real,
"Language" text,
"Artist" text,
"English translation" text,
"Place" real,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total point value when there are less than 12 draws, the rank i... | SELECT COUNT("Points") FROM table_63592 WHERE "Draw" < '12' AND "Artist" = 'philipp kirkorov' AND "Place" < '17' | wikisql |
CREATE TABLE table_64352 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many weeks in total has bye as the date?
| SELECT COUNT("Week") FROM table_64352 WHERE "Date" = 'bye' | wikisql |
CREATE TABLE table_name_72 (
losing_bp VARCHAR,
played VARCHAR,
try_bp VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the Losing BP with 22 played and 9 Try BP.
| SELECT losing_bp FROM table_name_72 WHERE played = "22" AND try_bp = "9" | sql_create_context |
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 demographic.admission_location FROM demographic WHERE demographic.name = "Alice Nixon" | mimicsql_data |
CREATE TABLE table_19744915_14 (
couple VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the couples name where the average is 15.9?
| SELECT couple FROM table_19744915_14 WHERE average = "15.9" | sql_create_context |
CREATE TABLE table_64053 (
"Rank\u2003" real,
"Largest U.S. City\u2003" text,
"Total" real,
"Partners\u2003" real,
"Other" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest rank for the city having partners of 342, other under 147,... | SELECT MIN("Rank\u2003") FROM table_64053 WHERE "Partners\u2003" = '342' AND "Largest U.S. City\u2003" = 'cleveland' AND "Other" < '147' | wikisql |
CREATE TABLE table_name_43 (
points INTEGER,
goals_for VARCHAR,
draws VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have Goals for smaller than 33, and Draws larger than 9?
| SELECT SUM(points) FROM table_name_43 WHERE goals_for < 33 AND draws > 9 | sql_create_context |
CREATE TABLE wedding (
church_id number,
male_id number,
female_id number,
year number
)
CREATE TABLE church (
church_id number,
name text,
organized_by text,
open_date number,
continuation_of text
)
CREATE TABLE people (
people_id number,
name text,
country text,
i... | SELECT COUNT(*) FROM church WHERE open_date < 1850 | spider |
CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
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,
... | SELECT * 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 person_info.XM = '孙咏歌' AND hz_info.YLJGDM = '0919539' AND NOT mzjzjlb.JZZDSM LIKE '%抽动%' | css |
CREATE TABLE table_28824 (
"Category" text,
"Player" text,
"Games played" real,
"Totals" text,
"Average" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of average for steals per game
| SELECT COUNT("Average") FROM table_28824 WHERE "Category" = 'Steals per game' | wikisql |
CREATE TABLE table_name_80 (
award VARCHAR,
result VARCHAR,
organization VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where Result is nominated and Organization is 54th the television academy drama awards, what is the award?
| SELECT award FROM table_name_80 WHERE result = "nominated" AND organization = "54th the television academy drama awards" | sql_create_context |
CREATE TABLE table_1444201_1 (
year_model VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the year model for 1.3
| SELECT year_model FROM table_1444201_1 WHERE model = "1.3" | sql_create_context |
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 demographic (... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "48" AND lab.flag = "delta" | mimicsql_data |
CREATE TABLE table_68275 (
"Value" text,
"Khmer" text,
"Word form" text,
"UNGEGN" text,
"ALA-LC" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the ungen for ?
| SELECT "UNGEGN" FROM table_68275 WHERE "Word form" = 'ត្រីទស' | wikisql |
CREATE TABLE table_43372 (
"Season" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Round when the series shows 5th place, and a Season of 2006 07?
| SELECT "Round" FROM table_43372 WHERE "Series" = '5th place' AND "Season" = '2006–07' | wikisql |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "50" AND lab.itemid = "50903" | mimicsql_data |
CREATE TABLE Allergy_Type (
Allergy VARCHAR(20),
AllergyType VARCHAR(20)
)
CREATE TABLE Has_Allergy (
StuID INTEGER,
Allergy VARCHAR(20)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor INTEGER... | SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code | nvbench |
CREATE TABLE table_21154679_1 (
top_speed VARCHAR,
max_power VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the maximum speed for total power of ps (kw; bhp)?
| SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)" | sql_create_context |
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,
Predefined boolean,
PostNoticeDurationId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE PostsWit... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%India%' OR UPPER(Location) LIKE '%India%' OR Location LIKE '%India%' AND Reputation >= 1000 ORDER BY Reputation DESC | sede |
CREATE TABLE table_name_44 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on July 27?
| SELECT opponent FROM table_name_44 WHERE date = "july 27" | sql_create_context |
CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE SuggestedEdits (
Id number,
... | SELECT DISTINCT Posts.Id AS "post_link", COUNT(DISTINCT TagId) AS NumTags, PH.Comment, PH.CreationDate FROM Posts LEFT JOIN PostHistory AS PH ON PH.PostId = Posts.Id JOIN PostTags AS PT ON PT.PostId = Posts.Id WHERE Posts.PostTypeId = 1 AND PH.UserId = -1 GROUP BY Posts.Id, PH.Comment, PH.CreationDate HAVING COUNT(DIST... | sede |
CREATE TABLE table_29816 (
"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.
-- Who's ... | SELECT "High assists" FROM table_29816 WHERE "Score" = 'W 97–94 (OT)' | wikisql |
CREATE TABLE table_37177 (
"Date" text,
"Winning Team" text,
"Score" text,
"Winning Pitcher" text,
"Losing Pitcher" text,
"Attendance" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What winning team has a losing pitcher of ... | SELECT "Winning Team" FROM table_37177 WHERE "Losing Pitcher" = 'juan dominguez' | wikisql |
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id t... | 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.icd9_code = "7756" AND prescriptions.drug_type = "MAIN" | mimicsql_data |
CREATE TABLE wdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
MZZYZD... | SELECT 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 NOT wdmzjzjlb.JZLSH IN (SELECT jybgb.JZLSH FROM jybgb WHERE jybgb.BGRQ >= '2019-07-1... | css |
CREATE TABLE table_37505 (
"Date" text,
"Tournament" text,
"Location" text,
"Winner" text,
"Score" text,
"1st prize ( $ )" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of Johnny Miller (7)?
| SELECT "Score" FROM table_37505 WHERE "Winner" = 'johnny miller (7)' | wikisql |
CREATE TABLE table_29163303_4 (
opponent VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times has the score been 6 4, 3 6, [11 13]?
| SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]" | sql_create_context |
CREATE TABLE table_name_97 (
cashes VARCHAR,
match_play VARCHAR,
events VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Cashes has a Match Play smaller than 13, and a Events of 7?
| SELECT COUNT(cashes) FROM table_name_97 WHERE match_play < 13 AND events = 7 | sql_create_context |
CREATE TABLE table_25432 (
"Year" real,
"Tournaments played" real,
"Cuts made" real,
"Wins" real,
"2nd" real,
"Top 10s" real,
"Best finish" text,
"Earnings ($)" real,
"Money list rank" real,
"Scoring average" text,
"Scoring rank" real
)
-- Using valid SQLite, answer the fol... | SELECT MAX("Money list rank") FROM table_25432 | wikisql |
CREATE TABLE table_78275 (
"Player" text,
"Rec." real,
"Yards" real,
"Avg." real,
"TD's" real,
"Long" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many receptions for players with over 647 yards and an under 14 yard average?
| SELECT MIN("Rec.") FROM table_78275 WHERE "Yards" > '647' AND "Avg." < '14' | wikisql |
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
... | SELECT demographic.name, demographic.ethnicity FROM demographic WHERE demographic.subject_id = "81923" | mimicsql_data |
CREATE TABLE table_name_56 (
losses INTEGER,
wins VARCHAR,
against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Losses has a Wins of 6, and an Against smaller than 1741?
| SELECT MIN(losses) FROM table_name_56 WHERE wins = 6 AND against < 1741 | sql_create_context |
CREATE TABLE table_74222 (
"No." real,
"Name" text,
"Place of Birth" text,
"Date of Birth" text,
"Previous Club" text,
"Date Joined" text,
"Fee" text,
"Contract Expiry" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the fee for a... | SELECT "Fee" FROM table_74222 WHERE "Previous Club" = 'Ankaragücü' | wikisql |
CREATE TABLE debate_people (
Debate_ID int,
Affirmative int,
Negative int,
If_Affirmative_Win bool
)
CREATE TABLE people (
People_ID int,
District text,
Name text,
Party text,
Age int
)
CREATE TABLE debate (
Debate_ID int,
Date text,
Venue text,
Num_of_Audience int
... | SELECT Name, COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative = T2.People_ID GROUP BY T2.Name | nvbench |
CREATE TABLE section (
course_id varchar(8),
sec_id varchar(8),
semester varchar(6),
year numeric(4,0),
building varchar(15),
room_number varchar(7),
time_slot_id varchar(4)
)
CREATE TABLE department (
dept_name varchar(20),
building varchar(15),
budget numeric(12,2)
)
CREATE T... | SELECT T1.dept_name, COUNT(DISTINCT T2.ID) FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name ORDER BY T1.dept_name DESC | nvbench |
CREATE TABLE table_test_10 (
"id" int,
"left_ventricular_ejection_fraction_lvef" int,
"systolic_blood_pressure_sbp" int,
"immunosuppressive_disease" bool,
"systolic_arterial_pressure_sap" int,
"lymphomas" bool,
"left_ventricular_dysfunction" bool,
"tissue_hypoperfusion" bool,
"heart_... | SELECT * FROM table_test_10 WHERE hypertension = 1 | criteria2sql |
CREATE TABLE table_12886 (
"Engine" text,
"Cyl." text,
"Power" text,
"Torque" text,
"Engine code" text,
"0\u2013100km/h (sec.)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much torque does the engine with code om611 have?
| SELECT "Torque" FROM table_12886 WHERE "Engine code" = 'om611' | 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 patient (
uniquep... | SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605... | eicu |
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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2150" AND lab."CATEGORY" = "Hematology" | mimicsql_data |
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service... | 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 = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DALLAS'... | atis |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE mzjybgb (
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 jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW 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... | css |
CREATE TABLE table_8942 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did John Mahaffey have?
| SELECT "Score" FROM table_8942 WHERE "Player" = 'john mahaffey' | wikisql |
CREATE TABLE table_22529 (
"Series #" text,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Prod. code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote the episode originally aired on September 29, 1999?
| SELECT "Written by" FROM table_22529 WHERE "Original air date" = 'September 29, 1999' | 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 IN_DIAG_DIS_NM, AVG(PERSON_AGE) FROM t_kc21 WHERE MED_SER_ORG_NO = '2959284' GROUP BY IN_DIAG_DIS_NM | css |
CREATE TABLE table_name_52 (
call_sign VARCHAR,
network VARCHAR,
digital_psip VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Call sign of the Omni television network with a Digitial PSIP of 14.1?
| SELECT call_sign FROM table_name_52 WHERE network = "omni television" AND digital_psip = 14.1 | sql_create_context |
CREATE TABLE table_name_22 (
score VARCHAR,
venue VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Venue is Riyadh, Saudi Arabia, and when Result is 'Win'?
| SELECT score FROM table_name_22 WHERE venue = "riyadh, saudi arabia" AND result = "win" | sql_create_context |
CREATE TABLE table_16010376_1 (
bullet_weight VARCHAR,
source VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight of the bullet used in a Weatherby?
| SELECT bullet_weight FROM table_16010376_1 WHERE source = "Weatherby" | sql_create_context |
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 jyjgzbb.JYZBLSH FROM person_info JOIN hz_info JOIN wdmzjzjlb JOIN jybgb JOIN jyjgzbb 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 AND wdmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND wdmzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jyb... | css |
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "79" AND prescriptions.route = "NEB" | mimicsql_data |
CREATE TABLE table_2076557_2 (
accreditation VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the accrediatation for southeast technical institute
| SELECT accreditation FROM table_2076557_2 WHERE school = "Southeast Technical Institute" | sql_create_context |
CREATE TABLE table_63763 (
"play" text,
"author" text,
"company" text,
"base" text,
"country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What play is from the country Belgium?
| SELECT "play" FROM table_63763 WHERE "country" = 'belgium' | wikisql |
CREATE TABLE table_name_63 (
skip VARCHAR,
second VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which skip has Oliver Dupont as a second?
| SELECT skip FROM table_name_63 WHERE second = "oliver dupont" | sql_create_context |
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugst... | SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-67644') AND NOT patient.unitdischargetime I... | eicu |
CREATE TABLE table_2293402_2 (
left VARCHAR,
nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of left for cardinals
| SELECT COUNT(left) FROM table_2293402_2 WHERE nickname = "Cardinals" | sql_create_context |
CREATE TABLE table_204_724 (
id number,
"outcome" text,
"no." number,
"date" text,
"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.
-- ... | SELECT "partner" FROM table_204_724 WHERE "tournament" = 'atp world tour finals' | squall |
CREATE TABLE table_name_8 (
first_season INTEGER,
city VARCHAR,
capacity VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the smallest season for Montreal that's greater than 5,100 for capacity?
| SELECT MIN(first_season) FROM table_name_8 WHERE city = "montreal" AND capacity > 5 OFFSET 100 | sql_create_context |
CREATE TABLE table_204_106 (
id number,
"year" number,
"title" text,
"image" text,
"dimensions" text,
"collection" text,
"comments" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how long after 1944 did terence cuneo complete his next work ?... | SELECT MIN("year") - 1944 FROM table_204_106 WHERE "year" > 1944 | 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 jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jy... | css |
CREATE TABLE table_name_92 (
site VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Site when the Result was w52-0?
| SELECT site FROM table_name_92 WHERE result = "w52-0" | sql_create_context |
CREATE TABLE table_14624447_24 (
name VARCHAR,
position VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are all names for the position FS?
| SELECT name FROM table_14624447_24 WHERE position = "FS" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.