instruction stringlengths 151 7.46k | output stringlengths 2 4.44k | source stringclasses 26
values |
|---|---|---|
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE offering_instructor (
offering_instructor_id int,
offering_id int,
instructor_id int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE cour... | SELECT DISTINCT instructor.name FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN cou... | advising |
CREATE TABLE table_36250 (
"Rank by average" real,
"Place" real,
"Couple" text,
"Total" real,
"Number of dances" real,
"Average" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Rank by average is the lowest one that has a Total of 425, and ... | SELECT MIN("Rank by average") FROM table_36250 WHERE "Total" = '425' AND "Place" > '1' | wikisql |
CREATE TABLE table_name_86 (
author___editor___source VARCHAR,
world_ranking__1_ VARCHAR,
countries_sampled VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?
| SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100 | sql_create_context |
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
I... | SELECT * FROM Posts WHERE CreationDate > '2017-1-1' AND CreationDate < '2017-5-5' AND Tags LIKE '%python%' LIMIT 10 | sede |
CREATE TABLE table_name_21 (
tournament VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Tournament in the Year of 1986?
| SELECT tournament FROM table_name_21 WHERE year = "1986" | sql_create_context |
CREATE TABLE table_45675 (
"City" text,
"Country" text,
"IATA" text,
"ICAO" text,
"Airport" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What airport is in Toronto?
| SELECT "Airport" FROM table_45675 WHERE "City" = 'toronto' | wikisql |
CREATE TABLE book (
book_id number,
title text,
issues number,
writer text
)
CREATE TABLE publication (
publication_id number,
book_id number,
publisher text,
publication_date text,
price number
)
-- Using valid SQLite, answer the following questions for the tables provided above.... | SELECT publisher FROM publication GROUP BY publisher HAVING COUNT(*) > 1 | spider |
CREATE TABLE table_name_70 (
nfl_recap VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the NFL Recap of the game held on December 24, 2005?
| SELECT nfl_recap FROM table_name_70 WHERE date = "december 24, 2005" | 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 demographic.age, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560" | mimicsql_data |
CREATE TABLE table_22606 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who wrote episode 74?
| SELECT "Written by" FROM table_22606 WHERE "No. in series" = '74' | wikisql |
CREATE TABLE table_22171978_1 (
enrollment VARCHAR,
athletic_nickname VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the athletic nickname of golden knights how many entries are shown for enrollment?
| SELECT COUNT(enrollment) FROM table_22171978_1 WHERE athletic_nickname = "Golden Knights" | sql_create_context |
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id nu... | SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'chlorthalidone' AND STRFTIME('%y', prescriptions.startdate) <= '2... | mimic_iii |
CREATE TABLE table_name_47 (
overall VARCHAR,
pick__number INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the overall of the player with a pick # higher than 13?
| SELECT overall FROM table_name_47 WHERE pick__number < 13 | sql_create_context |
CREATE TABLE table_55217 (
"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 size of the smallest crowd that watc... | SELECT MIN("Crowd") FROM table_55217 WHERE "Venue" = 'arden street oval' | wikisql |
CREATE TABLE table_16779068_5 (
total VARCHAR,
snatch VARCHAR,
one_hand_clean_ VARCHAR,
_jerk VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the total with one hand clean and jerk is 87.5 and snatch is 87.5
| SELECT total FROM table_16779068_5 WHERE one_hand_clean_ & _jerk = "87.5" AND snatch = "87.5" | sql_create_context |
CREATE TABLE table_60734 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Player is 'Vijay Singh'?
| SELECT "Score" FROM table_60734 WHERE "Player" = 'vijay singh' | wikisql |
CREATE TABLE table_203_7 (
id number,
"pos." number,
"artist" text,
"single" text,
"year" number,
"sales" number,
"peak" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many sales did the single tic tic tac have ?
| SELECT "sales" FROM table_203_7 WHERE "single" = '"tic, tic tac"' | squall |
CREATE TABLE table_name_8 (
composer VARCHAR,
duration VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What composer has a duration time of 3:31?
| SELECT composer FROM table_name_8 WHERE duration = "3:31" | sql_create_context |
CREATE TABLE table_2850912_4 (
college_junior_club_team VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which junior team is associated with an NHL pick by the Buffalo Sabres?
| SELECT college_junior_club_team FROM table_2850912_4 WHERE nhl_team = "Buffalo Sabres" | sql_create_context |
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
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,
... | SELECT jyjgzbb.JYZBLSH FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN mzjzjlb_jybgb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.B... | css |
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
... | SELECT EMAIL, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) | nvbench |
CREATE TABLE table_25887826_17 (
avg VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many 07 A points for the team with 1.4902 average?
| SELECT MAX(07 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.4902" | sql_create_context |
CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURED_STS text,
... | SELECT SUM(t_kc24.PER_ACC_PAY) FROM t_kc21 JOIN t_kc24 JOIN t_kc21_t_kc24 ON t_kc21.MED_CLINIC_ID = t_kc21_t_kc24.MED_CLINIC_ID AND t_kc21_t_kc24.MED_SAFE_PAY_ID = t_kc24.MED_SAFE_PAY_ID WHERE t_kc21.PERSON_NM = '葛星光' AND t_kc24.CLINIC_SLT_DATE BETWEEN '2011-04-05' AND '2020-07-04' | css |
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 varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE T... | SELECT COUNTRY_NAME, SUM(EMPLOYEE_ID) FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID JOIN locations AS T3 ON T2.LOCATION_ID = T3.LOCATION_ID JOIN countries AS T4 ON T3.COUNTRY_ID = T4.COUNTRY_ID GROUP BY COUNTRY_NAME ORDER BY SUM(EMPLOYEE_ID) | nvbench |
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE procedures (
... | SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "27" AND demographic.days_stay > "16" | mimicsql_data |
CREATE TABLE t_kc24 (
ACCOUNT_DASH_DATE time,
ACCOUNT_DASH_FLG number,
CASH_PAY number,
CIVIL_SUBSIDY number,
CKC102 number,
CLINIC_ID text,
CLINIC_SLT_DATE time,
COMP_ID text,
COM_ACC_PAY number,
COM_PAY number,
DATA_ID text,
ENT_ACC_PAY number,
ENT_PAY number,
F... | SELECT t_kc22.SOC_SRT_DIRE_CD, t_kc22.SOC_SRT_DIRE_NM FROM t_kc22 WHERE t_kc22.t_kc21_PERSON_NM = '孙弘量' AND t_kc22.MED_INV_ITEM_TYPE = '检查费' | css |
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
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,
... | SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0 INNER JOIN course_prerequisite ON COURSE_0.course_id = course_prerequisite.course_id INNER JOIN course AS COURSE_1 ON COURSE_1.course_id = course_prerequisite.pre_course_id WHERE COURSE_1.department = 'ELI' AND COURSE_1.number =... | advising |
CREATE TABLE table_name_76 (
prohibition_ticket VARCHAR,
greenback_ticket VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was on the prohibition ticket when the Greenback ticket had Thomas Armstrong?
| SELECT prohibition_ticket FROM table_name_76 WHERE greenback_ticket = "thomas armstrong" | sql_create_context |
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from_gmt int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE airline (
airline_code varchar,
airline_name ... | SELECT DISTINCT airport.airport_code FROM airport, airport_service, city WHERE airport.airport_code = airport_service.airport_code AND city.city_code = airport_service.city_code AND city.city_name = 'WASHINGTON' | atis |
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
applica... | SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE ((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND CI... | atis |
CREATE TABLE table_79255 (
"Japanese Title" text,
"Romaji Title" text,
"TV Station" text,
"Theme Song(s)" text,
"Episodes" real,
"Average Ratings" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Theme Song of Iryu -Team Medical Dragon... | SELECT "Theme Song(s)" FROM table_79255 WHERE "Romaji Title" = 'iryu -team medical dragon-2' | wikisql |
CREATE TABLE table_name_69 (
team VARCHAR,
stadium VARCHAR,
top_division_titles VARCHAR,
founded VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has Top division titles larger than 0, a Founded larger than 1927, and a Stadium of miguel grau... | SELECT team FROM table_name_69 WHERE top_division_titles > 0 AND founded > 1927 AND stadium = "miguel grau" | sql_create_context |
CREATE TABLE table_4047 (
"Team" text,
"Points per game" text,
"Rebounds per game" text,
"Assists per game" text,
"Steals per game" text,
"Minutes per game" text,
"Ranking per game" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many reb... | SELECT "Rebounds per game" FROM table_4047 WHERE "Minutes per game" = '35' | wikisql |
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 qtb.OUT_DIAG_DIS_CD, qtb.OUT_DIAG_DIS_NM FROM qtb WHERE qtb.PERSON_NM = '奚丽珠' AND qtb.MED_CLINIC_ID IN (SELECT t_kc24.MED_CLINIC_ID FROM t_kc24 WHERE t_kc24.MED_AMOUT >= 381.88) UNION SELECT gyb.OUT_DIAG_DIS_CD, gyb.OUT_DIAG_DIS_NM FROM gyb WHERE gyb.PERSON_NM = '奚丽珠' AND gyb.MED_CLINIC_ID IN (SELECT t_kc24.MED_... | css |
CREATE TABLE table_217785_2 (
season VARCHAR,
ranking VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the season finale ranked at 73 first air?
| SELECT season AS finale FROM table_217785_2 WHERE ranking = 73 | sql_create_context |
CREATE TABLE table_name_60 (
circuit VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the circuit when the date is 16 april?
| SELECT circuit FROM table_name_60 WHERE date = "16 april" | 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 (SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855)) AND DATETIME(inputevents_cv.charttime, 'start of month') = DATETIME(CURREN... | mimic_iii |
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 DIRE_TYPE FROM t_kc22 WHERE MED_CLINIC_ID = '82940377602' AND SOC_SRT_DIRE_NM = '格列美脲片' | css |
CREATE TABLE table_60680 (
"HD designation" text,
"Constellation" text,
"Distance ( ly )" real,
"Spectral type" text,
"Signal power ( kW )" real,
"Date sent" text,
"Arrival date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Constel... | SELECT "Constellation" FROM table_60680 WHERE "Date sent" = 'september 4, 2001' AND "Distance ( ly )" < '57.4' | wikisql |
CREATE TABLE DEPARTMENT (
DEPT_CODE varchar(10),
DEPT_NAME varchar(30),
SCHOOL_CODE varchar(8),
EMP_NUM int,
DEPT_ADDRESS varchar(20),
DEPT_EXTENSION varchar(4)
)
CREATE TABLE EMPLOYEE (
EMP_NUM int,
EMP_LNAME varchar(15),
EMP_FNAME varchar(12),
EMP_INITIAL varchar(1),
EMP_J... | SELECT DEPT_CODE, SUM(CRS_CREDIT) FROM COURSE GROUP BY DEPT_CODE ORDER BY SUM(CRS_CREDIT) | nvbench |
CREATE TABLE university (
School_ID int,
School text,
Location text,
Founded real,
Affiliation text,
Enrollment real,
Nickname text,
Primary_conference text
)
CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Per... | SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Neutral | 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.SHSJ FROM person_info JOIN hz_info JOIN mzjzjlb JOIN jybgb JOIN person_info_hz_info ON person_info.RYBH = person_info_hz_info.RYBH AND hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB ... | css |
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Statements (
Statement_ID INTEGER,
Statement_Details VARCHAR(255)
)
CREATE TABLE Accounts (
Account_ID INTEGER,
Statement_ID INTEGER,
Account_Details VARCHAR(255)
)
CREATE TABLE Ref_Budget_Codes (
... | SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code | nvbench |
CREATE TABLE table_name_17 (
points INTEGER,
entrant VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Points when equipe ligier gauloises blondes is the entrant?
| SELECT AVG(points) FROM table_name_17 WHERE entrant = "equipe ligier gauloises blondes" | sql_create_context |
CREATE TABLE table_name_76 (
school VARCHAR,
enrollment INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What School has an Enrollement smaller than 301?
| SELECT school FROM table_name_76 WHERE enrollment < 301 | sql_create_context |
CREATE TABLE table_name_37 (
constellation VARCHAR,
object_type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the constellation for open cluster?
| SELECT constellation FROM table_name_37 WHERE object_type = "open cluster" | sql_create_context |
CREATE TABLE table_name_3 (
stage__winner_ VARCHAR,
general_classification VARCHAR,
young_rider_classification VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What stage (winner) has thor hushovd as a general classification, and trent lowe as a rider clas... | SELECT stage__winner_ FROM table_name_3 WHERE general_classification = "thor hushovd" AND young_rider_classification = "trent lowe" | sql_create_context |
CREATE TABLE table_name_98 (
to_par VARCHAR,
score VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is To Par, when Score is 70, and when Player is 'Craig Stadler'?
| SELECT to_par FROM table_name_98 WHERE score = 70 AND player = "craig stadler" | sql_create_context |
CREATE TABLE table_name_71 (
week INTEGER,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week was the opponent the San Diego Chargers?
| SELECT AVG(week) FROM table_name_71 WHERE opponent = "san diego chargers" | sql_create_context |
CREATE TABLE table_69369 (
"Date" text,
"Visiting Team" text,
"Final Score" text,
"Host Team" text,
"Stadium" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the final score in Robert F. Kennedy Memorial Stadium?
| SELECT "Final Score" FROM table_69369 WHERE "Stadium" = 'robert f. kennedy memorial stadium' | wikisql |
CREATE TABLE table_name_82 (
probable_future VARCHAR,
simple_present_future VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the probable future word for the simple present/future word high grade?
| SELECT probable_future FROM table_name_82 WHERE NOT simple_present_future = "high grade" | sql_create_context |
CREATE TABLE table_1188 (
"Name" text,
"GP" real,
"Solo" real,
"Ast" real,
"Total" real,
"TFL-Yds" text,
"No-Yds" text,
"BrUp" real,
"QBH" real,
"No.-Yds" text,
"Avg" text,
"TD" real,
"Rcv-Yds" text,
"FF" real,
"Blkd Kick" real
)
-- Using valid SQLite, answe... | SELECT "GP" FROM table_1188 WHERE "FF" = '0' AND "QBH" = '1' | wikisql |
CREATE TABLE table_name_82 (
home_team VARCHAR,
venue VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the home team's score at brunswick street oval?
| SELECT home_team AS score FROM table_name_82 WHERE venue = "brunswick street oval" | sql_create_context |
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
... | SELECT COUNT(VoteTypeId) AS Downvotes, Posts.Id AS "post_link" FROM PostFeedback LEFT JOIN Posts ON PostId = Posts.Id WHERE VoteTypeId = 3 GROUP BY Posts.Id ORDER BY Downvotes DESC | sede |
CREATE TABLE table_67033 (
"Number" text,
"Player" text,
"Position" text,
"Height" text,
"Weight" text,
"Home Town" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much does number 26 weigh?
| SELECT "Weight" FROM table_67033 WHERE "Number" = '26' | 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 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Government" AND lab.label = "CD34" | mimicsql_data |
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,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
... | SELECT jyjgzbb.CKZFWXX, jyjgzbb.CKZFWSX FROM mzjzjlb JOIN zyjybgb JOIN jyjgzbb ON mzjzjlb.YLJGDM = zyjybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = zyjybgb.JZLSH_MZJZJLB AND zyjybgb.YLJGDM = jyjgzbb.YLJGDM AND zyjybgb.BGDH = jyjgzbb.BGDH WHERE mzjzjlb.JZZDBM = 'K94.890' AND jyjgzbb.JCZBDM = '397278' UNION SELECT jyjgzbb.CKZF... | 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 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 WHERE demographic.expire_flag = "1" AND demographic.dob_year < "2097" | mimicsql_data |
CREATE TABLE table_1524 (
"Poll Source" text,
"Dates administered" text,
"Democrat: Jim Martin" text,
"Republican: Saxby Chambliss" text,
"Lead Margin" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many times did Saxby Chambliss have a lead mar... | SELECT COUNT("Republican: Saxby Chambliss") FROM table_1524 WHERE "Lead Margin" = '21' | wikisql |
CREATE TABLE table_203_789 (
id number,
"season" text,
"team" text,
"country" text,
"division" number,
"apps" number,
"goals" number,
"assists" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many seasons were no goals scored ?
| SELECT COUNT("season") FROM table_203_789 WHERE "goals" = 0 | squall |
CREATE TABLE table_name_10 (
to_par VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par when there was a total of 291?
| SELECT to_par FROM table_name_10 WHERE total = 291 | sql_create_context |
CREATE TABLE table_12723 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the country listed that has a place of t4 with a score of 72-70=142?
| SELECT "Country" FROM table_12723 WHERE "Place" = 't4' AND "Score" = '72-70=142' | wikisql |
CREATE TABLE ftxmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text,
MZZYZD... | SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM person_info JOIN hz_info JOIN txmzjzjlb JOIN jybgb JOIN jyjgzbb ON person_info.RYBH = hz_info.RYBH AND hz_info.YLJGDM = txmzjzjlb.YLJGDM AND hz_info.KH = txmzjzjlb.KH AND hz_info.KLX = txmzjzjlb.KLX AND txmzjzjlb.YLJGDM = jybgb.YLJGDM_MZJZJLB AND txmzjzjlb.JZLSH = jybgb.JZ... | css |
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
Par... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%noida' OR UPPER(Location) LIKE '%NOIDA' ORDER BY Reputation DESC LIMIT 50 | sede |
CREATE TABLE table_22360_3 (
total INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most total
| SELECT MAX(total) FROM table_22360_3 | sql_create_context |
CREATE TABLE table_1342013_31 (
party VARCHAR,
incumbent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What party did Frank J. Becker represent?
| SELECT party FROM table_1342013_31 WHERE incumbent = "Frank J. Becker" | sql_create_context |
CREATE TABLE table_name_34 (
qual_2 VARCHAR,
team VARCHAR,
best VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the qual 2 of team rocketsports racing, which has the best of 1:10.949?
| SELECT qual_2 FROM table_name_34 WHERE team = "rocketsports racing" AND best = "1:10.949" | sql_create_context |
CREATE TABLE table_27832075_2 (
directed_by VARCHAR,
episode__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who directed episode number 23 in the season?
| SELECT directed_by FROM table_27832075_2 WHERE episode__number = "23" | 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 jybgb_jyjgzbb (
JYZBLSH number,
... | SELECT jyjgzbb.JCZBJGDL, jyjgzbb.JCZBJGDW FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN jybgb_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 = jybgb_jyjgzbb.Y... | css |
CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_ID number
)
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 ... | SELECT t_kc22.HOSP_DOC_CD, t_kc22.HOSP_DOC_NM 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 = '82297571639' | css |
CREATE TABLE inputevents_cv (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
amount number
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_typ... | SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT procedures_icd.icd9_code FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 23620 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admit... | mimic_iii |
CREATE TABLE table_9059 (
"Event" text,
"Time" text,
"Club" text,
"Date" text,
"Meet" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Time has an Event of 200 m butterfly?
| SELECT "Time" FROM table_9059 WHERE "Event" = '200 m butterfly' | wikisql |
CREATE TABLE table_27909 (
"Settlement" text,
"Cyrillic Name Other Names" text,
"Type" text,
"Population (2011)" real,
"Largest ethnic group (2002)" text,
"Dominant religion (2002)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowe... | SELECT MIN("Population (2011)") FROM table_27909 WHERE "Settlement" = 'Čortanovci' | wikisql |
CREATE TABLE table_name_7 (
type VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type has song as the name?
| SELECT type FROM table_name_7 WHERE name = "song" | sql_create_context |
CREATE TABLE days (
days_code varchar,
day_name varchar
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varcha... | 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 = 'WASHINGTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'ATL... | atis |
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE Tags (
Id number,
TagName text,
... | SELECT * FROM Tags AS t LEFT OUTER JOIN TagSynonyms AS s ON (t.TagName = s.SourceTagName) WHERE (t.TagName IN ('param', 'params', 'parameter', 'parameters', 'memorystream', 'stream', 'streams') OR s.SourceTagName IN ('param', 'params', 'parameter', 'parameters', 'memorystream', 'stream', 'streams') OR s.TargetTagName I... | sede |
CREATE TABLE table_name_78 (
recipient VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What movie won with a date of 12/11/03
| SELECT recipient FROM table_name_78 WHERE date = "12/11/03" | sql_create_context |
CREATE TABLE table_29395291_2 (
subscribers__2006___thousands_ VARCHAR,
provider VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many subscribers, in 2006, does Glo Mobile have?
| SELECT subscribers__2006___thousands_ FROM table_29395291_2 WHERE provider = "Glo Mobile" | sql_create_context |
CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,... | SELECT Id AS "post_link", * FROM Posts WHERE LENGTH(Title) > 150 | sede |
CREATE TABLE table_17058226_7 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for january 26
| SELECT score FROM table_17058226_7 WHERE date = "January 26" | sql_create_context |
CREATE TABLE table_name_79 (
date VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the game played in Zagreb?
| SELECT date FROM table_name_79 WHERE city = "zagreb" | sql_create_context |
CREATE TABLE table_name_41 (
player VARCHAR,
year_s__won VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Player, when Year(s) Won is 1978 , 1985?
| SELECT player FROM table_name_41 WHERE year_s__won = "1978 , 1985" | sql_create_context |
CREATE TABLE table_10015132_21 (
school_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which school did Herb Williams go to?
| SELECT school_club_team FROM table_10015132_21 WHERE player = "Herb Williams" | sql_create_context |
CREATE TABLE table_name_85 (
score VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score did Australia get?
| SELECT score FROM table_name_85 WHERE country = "australia" | sql_create_context |
CREATE TABLE table_17273 (
"Series #" real,
"Season #" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Musical guest and song" text,
"Original air date" text,
"Production code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... | SELECT "Original air date" FROM table_17273 WHERE "Title" = 'No Place Like Hell' | wikisql |
CREATE TABLE table_204_874 (
id number,
"year" number,
"winner" text,
"runner-up" text,
"final score" text,
"third" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the next winner after azovmash in 2004 ?
| SELECT "winner" FROM table_204_874 WHERE "year" > (SELECT "year" FROM table_204_874 WHERE "year" = 2004 AND "winner" = 'azovmash') ORDER BY "year" LIMIT 1 | squall |
CREATE TABLE table_8999 (
"Rider" text,
"Manufacturer" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the manufacter of the car with a time/retired of +0.122?
| SELECT "Manufacturer" FROM table_8999 WHERE "Time/Retired" = '+0.122' | 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 SOC_SRT_DIRE_CD, SOC_SRT_DIRE_NM FROM t_kc22 WHERE MED_CLINIC_ID = '93533608212' AND OVE_SELF_AMO > 7130.31 | css |
CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX n... | SELECT * FROM hz_info JOIN mzjzjlb JOIN jybgb JOIN jyjgzbb JOIN mzjzjlb_jybgb ON hz_info.YLJGDM = mzjzjlb.YLJGDM AND hz_info.KH = mzjzjlb.KH AND hz_info.KLX = mzjzjlb.KLX AND mzjzjlb.YLJGDM = mzjzjlb_jybgb.YLJGDM_MZJZJLB AND mzjzjlb.JZLSH = jybgb.JZLSH_MZJZJLB AND jybgb.YLJGDM = jyjgzbb.YLJGDM AND jybgb.BGDH = jyjgzbb.... | css |
CREATE TABLE table_13443 (
"Debut year" real,
"Player" text,
"Games" real,
"Goals" real,
"Years at club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Player has Goals larger than 10, and a Debut year smaller than 1993, and Years at club of 1... | SELECT "Player" FROM table_13443 WHERE "Goals" > '10' AND "Debut year" < '1993' AND "Years at club" = '1990–1993' | wikisql |
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC text,
BGRGH text,
BGRQ time,
BGRXM text,
BGSJ time,
CJRQ time,
JSBBRQSJ time,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JYJSQM text,
JY... | SELECT * 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 = jyjgzbb.YLJGDM... | css |
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 DATE(STR(YEAR(q.CreationDate)) + '-' + STR(MONTH(q.CreationDate)) + '-' + STR(DAY(q.CreationDate))) AS FullDate, CAST(COUNT(*) AS FLOAT) AS "#Questions" FROM Posts AS q WHERE q.PostTypeId = 1 AND q.AnswerCount >= '##minAnswers##' GROUP BY STR(YEAR(q.CreationDate)) + '-' + STR(MONTH(q.CreationDate)) + '-' + STR(D... | sede |
CREATE TABLE table_76678 (
"Club" text,
"Location" text,
"Manager" text,
"Venue" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the highest capacity for the venue of the club, vihren?
| SELECT MAX("Capacity") FROM table_76678 WHERE "Club" = 'vihren' | wikisql |
CREATE TABLE table_204_634 (
id number,
"tour" number,
"official title" text,
"venue" text,
"city" text,
"date\nstart" text,
"date\nfinish" text,
"prize money\nusd" number,
"report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- whic... | SELECT "official title" FROM table_204_634 WHERE "date\nfinish" = 12 | squall |
CREATE TABLE table_204_867 (
id number,
"number" number,
"date" text,
"name" text,
"age\n(at execution)" number,
"age\n(at offense)" number,
"race" text,
"state" text,
"method" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name all ... | SELECT "name" FROM table_204_867 WHERE "name" <> 'lois nadean smith' AND "date" = (SELECT "date" FROM table_204_867 WHERE "name" = 'lois nadean smith') | squall |
CREATE TABLE region (
Region_ID int,
Region_name text,
Date text,
Label text,
Format text,
Catalogue text
)
CREATE TABLE party (
Party_ID int,
Minister text,
Took_office text,
Left_office text,
Region_ID int,
Party_name text
)
CREATE TABLE party_events (
Event_ID in... | SELECT Left_office, COUNT(Left_office) FROM party GROUP BY Minister ORDER BY COUNT(Left_office) DESC | nvbench |
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId numb... | SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS PositionNumber, Id, DisplayName, Reputation, WebsiteUrl, Location FROM Users WHERE Location LIKE '%Bangladesh%' ORDER BY Reputation DESC LIMIT 300 | sede |
CREATE TABLE table_69539 (
"Date" text,
"Opponent" text,
"Score" text,
"Loss" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record on September 4?
| SELECT "Record" FROM table_69539 WHERE "Date" = 'september 4' | wikisql |
CREATE TABLE table_name_7 (
laps VARCHAR,
constructor VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps were there when the constructor was Renault, and when the Driver was Fernando Alonso?
| SELECT laps FROM table_name_7 WHERE constructor = "renault" AND driver = "fernando alonso" | sql_create_context |
CREATE TABLE table_name_94 (
haat VARCHAR,
city_of_license VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the HAAT of devils lake
| SELECT haat FROM table_name_94 WHERE city_of_license = "devils lake" | sql_create_context |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.