text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_34 (
grid VARCHAR,
time_retired VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What grid has a Time/Retired of +5 laps?
### Query: SELECT grid FROM table_name_34 WHERE time_retired = "+5 laps" |
### Context: CREATE TABLE document_structures (
document_structure_code text,
parent_document_structure_code text,
document_structure_description text
)
CREATE TABLE document_sections_images (
section_id number,
image_id number
)
CREATE TABLE document_sections (
section_id number,
document... |
### Context: CREATE TABLE table_225099_3 (
successor VARCHAR,
state__class_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the successor for the state of Maine (2) ?
### Query: SELECT successor FROM table_225099_3 WHERE state__class_ = "Maine (2)" |
### 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,
JYZBL... |
### Context: CREATE TABLE table_5714 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points have pittsburgh as the visitor, and philadelphia as the home?
... |
### Context: 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 INTEG... |
### Context: CREATE TABLE basketball_match (
Team_ID int,
School_ID int,
Team_Name text,
ACC_Regular_Season text,
ACC_Percent text,
ACC_Home text,
ACC_Road text,
All_Games text,
All_Games_Percent int,
All_Home text,
All_Road text,
All_Neutral text
)
CREATE TABLE universi... |
### Context: CREATE TABLE Ref_Budget_Codes (
Budget_Type_Code CHAR(15),
Budget_Type_Description VARCHAR(255)
)
CREATE TABLE Projects (
Project_ID INTEGER,
Project_Details VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document... |
### Context: CREATE TABLE table_77855 (
"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.
-- Which Venue has a Home team score o... |
### Context: CREATE TABLE table_name_20 (
venue VARCHAR,
event VARCHAR,
year VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the venue when the year is 2006, the competition is asian games and the event is 400 m?
### Quer... |
### Context: CREATE TABLE table_name_99 (
sub_parish__sogn_ VARCHAR,
church_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sub-Parish (Sogn) has a church named Jostedal Kyrkje?
### Query: SELECT sub_parish__sogn_ FROM table_name_99 WHERE church_n... |
### Context: CREATE TABLE table_73746 (
"Position" real,
"Driver" text,
"Points" real,
"Winnings" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much did Jeff Burton win?
### Query: SELECT "Winnings" FROM table_73746 WHERE "Drive... |
### Context: 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 cost (
... |
### Context: CREATE TABLE table_43971 (
"Pilot" text,
"Date" text,
"Place" text,
"Weapon" text,
"Effect" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Pilot, when Weapon is '35mm fire', and when Date is '4 May 1982'?
### Query: SELECT "Pil... |
### Context: 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 lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_255829_1 (
municipality VARCHAR,
pop_density__per_km_2__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What municipality has a 130.6 pupulation density?
### Query: SELECT municipality FROM table_255829_1 WHERE pop_density__p... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE labevents (
row_id number,
subject_id... |
### Context: CREATE TABLE member (
member_id number,
card_number text,
name text,
hometown text,
level number
)
CREATE TABLE branch (
branch_id number,
name text,
open_year text,
address_road text,
city text,
membership_amount text
)
CREATE TABLE membership_register_branch ... |
### Context: CREATE TABLE table_name_1 (
leading_man VARCHAR,
year VARCHAR,
director VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What leading man earlier than 1932 was directed by archie mayo?
### Query: SELECT leading_man FROM table_name_1 WHERE yea... |
### Context: 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_25807 (
"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 abov... |
### Context: 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 ... |
### Context: CREATE TABLE table_23285761_7 (
high_assists VARCHAR,
high_rebounds VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who did the high assists in the game where Amar'e Stoudemire (10) did the high rebounds?
### Query: SELECT high_assists FROM tabl... |
### Context: CREATE TABLE program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
score int,
comment_text varchar
)
CREATE TABLE student_record (
student_id int,
course... |
### Context: CREATE TABLE table_name_91 (
week VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which week was the game against the San Diego Chargers?
### Query: SELECT week FROM table_name_91 WHERE opponent = "san diego chargers" |
### Context: CREATE TABLE table_2618142_1 (
title VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- name the title of the episode that ed sherin directed.
### Query: SELECT title FROM table_2618142_1 WHERE directed_by = "Ed Sherin" |
### Context: CREATE TABLE table_37940 (
"School" text,
"City" text,
"Team Name" text,
"Enrollment" real,
"IHSAA Class" text,
"IHSAA Football Class" text,
"County" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the IHSAA class in Bate... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE program_requirement (
p... |
### Context: CREATE TABLE table_26998 (
"Name of Village" text,
"Name in Syriac" text,
"Number of Believers" real,
"Number of Priests" real,
"Number of Churches" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the name in syriac for 500 believer... |
### Context: CREATE TABLE table_23672 (
"Malayalam name" text,
"Transliteration" text,
"Concurrent Gregorian months" text,
"Sanskrit word and meaning" text,
"Zodiac sign" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the transliteration for
#... |
### Context: CREATE TABLE table_203_374 (
id number,
"rank" number,
"nation" text,
"gold" number,
"silver" number,
"bronze" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the only nation with more total medals than ... |
### Context: CREATE TABLE table_42849 (
"Year" real,
"Chassis" text,
"Engine" text,
"Start" real,
"Finish" real,
"Entrant" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest finish that has a start greater than 27, with a year aft... |
### Context: CREATE TABLE table_72201 (
"Chart" text,
"Date of Entry" text,
"Entry Position" real,
"Peak Position" real,
"Weeks on Peak" real,
"Weeks on Chart" real,
"Date of Exit" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the e... |
### 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 transfers (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_t... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Posts (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
... |
### Context: CREATE TABLE table_name_53 (
package_option VARCHAR,
content VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the package/option for the calcio content?
### Query: SELECT package_option FROM table_name_53 WHERE content = "calcio" |
### Context: CREATE TABLE table_40733 (
"Year" real,
"Chart" text,
"Track" text,
"Peak" real,
"Weeks on Chart" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When the Track is ESO, the peak is smaller than 25, and the year is larger than 2004, what ... |
### Context: CREATE TABLE table_33535 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which network has an origina of Programming in India, a general genre, a se... |
### Context: CREATE TABLE table_46684 (
"Player" text,
"Games Played" real,
"Minutes Played" real,
"Minutes Played Per Game" real,
"Rebounds" real,
"Rebounds Per Game" real,
"Assists" real,
"Assists Per Game" real,
"Field Goal %" real,
"Free Throw %" real,
"Points" real,
... |
### Context: CREATE TABLE table_46240 (
"Season" text,
"Episodes" real,
"Season premiere" text,
"Season finale" text,
"Peak Series rating[ citation needed ]" text,
"Average series rating" text,
"DVD release date" text,
"Discs" real
)
-- Using valid SQLite, answer the following question... |
### Context: CREATE TABLE mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE table_26173058_2 (
× VARCHAR,
jeel VARCHAR,
ramtha VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what the team where the record is 1-1 and the player is 1-1
### Query: SELECT × FROM table_26173058_2 WHERE jeel = "1-1" AND ramt... |
### Context: CREATE TABLE table_name_81 (
opponents VARCHAR,
partner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was Manuela Maleeva opponent when she played a match partnered with michelle strebel?
### Query: SELECT opponents FROM table_name_81 WHER... |
### Context: CREATE TABLE fare_basis (
fare_basis_code text,
booking_class text,
class_type text,
premium text,
economy text,
discounted text,
night text,
season text,
basis_days text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_... |
### Context: 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 ques... |
### Context: CREATE TABLE table_name_88 (
royal_house VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which royal house has the name huai?
### Query: SELECT royal_house FROM table_name_88 WHERE name = "huai" |
### Context: CREATE TABLE table_name_81 (
week_2 VARCHAR,
week_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Week 2 that has a Week 1 of mackenzie ryan?
### Query: SELECT week_2 FROM table_name_81 WHERE week_1 = "mackenzie ryan" |
### Context: CREATE TABLE table_1965650_3 (
nhl_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the nhl times for jeff jacques
### Query: SELECT nhl_team FROM table_1965650_3 WHERE player = "Jeff Jacques" |
### Context: CREATE TABLE table_61730 (
"Result" text,
"Record" text,
"Opponent" text,
"Method" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the record when the method is decision and the location is Martigues, France?
##... |
### Context: CREATE TABLE table_57542 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which constructor had a grid number of less than 3 and where the Time/Retired was 1:34... |
### 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... |
### Context: 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,
JSBBSJ time,
JYBBH text,
JYJGMC text,
JYJSGH text,
JY... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE table_68678 (
"Year" text,
"Title" text,
"( Title in English )" text,
"Director" text,
"Character" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title of the TV series with a character of Sheyda/Ashraf?
### Qu... |
### Context: 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,
JY... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_ti... |
### Context: CREATE TABLE table_70073 (
"Home Run" real,
"Game" real,
"Date" text,
"Inning" text,
"Location" text,
"Opposing Pitcher" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team has a Home Run of 27?
### Query: SE... |
### Context: CREATE TABLE table_name_66 (
opposition VARCHAR,
score VARCHAR,
round VARCHAR,
competition VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Opposition in the First Round of the UEFA Cup with a Score of 3 1 (h), 2 0 (a)?
### Qu... |
### Context: CREATE TABLE table_35936 (
"Round" real,
"Pick" real,
"Player" text,
"Position" text,
"School/Club Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player had a round of 27?
### Query: SELECT "Player" FROM table_35936 WHERE "... |
### Context: CREATE TABLE table_9827 (
"Model number" text,
"sSpec number" text,
"Frequency" text,
"GPU frequency" text,
"L2 cache" text,
"I/O bus" text,
"Memory" text,
"Voltage" text,
"Socket" text,
"Release date" text,
"Part number(s)" text
)
-- Using valid SQLite, answer... |
### Context: CREATE TABLE table_64822 (
"Name (pinyin)" text,
"Name (Wade Giles)" text,
"Characters" text,
"Type" text,
"Construction" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a Construction of 1873, foochow navy yard?
### Query: SELE... |
### Context: CREATE TABLE buildings (
id number,
name text,
city text,
height number,
stories number,
status text
)
CREATE TABLE companies (
id number,
name text,
headquarters text,
industry text,
sales_billion number,
profits_billion number,
assets_billion number,
... |
### Context: CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_dose text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
val... |
### Context: CREATE TABLE table_name_26 (
original_name VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the real name of the movie about love?
### Query: SELECT original_name FROM table_name_26 WHERE film_title_... |
### Context: CREATE TABLE table_26996293_7 (
position VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the position of the player bill simmons?
### Query: SELECT position FROM table_26996293_7 WHERE player = "Bill Simmons" |
### Context: CREATE TABLE table_203_382 (
id number,
"date" text,
"opponent" text,
"site" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what were the number of wins in the month of october ?
### Query: SELECT COUNT(*) FROM table_203... |
### Context: CREATE TABLE game (
stadium_id int,
id int,
Season int,
Date text,
Home_team text,
Away_team text,
Score text,
Competition text
)
CREATE TABLE injury_accident (
game_id int,
id int,
Player text,
Injury text,
Number_of_matches text,
Source text
)
CRE... |
### Context: CREATE TABLE table_name_52 (
city_state VARCHAR,
status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city/state was associated with a contestant whose status was 2nd runner-up?
### Query: SELECT city_state FROM table_name_52 WHERE statu... |
### Context: CREATE TABLE table_37211 (
"Name" text,
"Birth" text,
"Marriage" text,
"Became Duchess" text,
"Ceased to be Duchess" text,
"Death" text,
"Spouse" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did eleonor magdalene of the p... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE cost (
row_id number,
subject_id num... |
### Context: 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 varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_name_56 (
laps INTEGER,
time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Laps that shows spun off for time?
### Query: SELECT AVG(laps) FROM table_name_56 WHERE time = "spun off" |
### 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,
JCZB... |
### Context: CREATE TABLE table_113 (
"Title" text,
"System" text,
"Publisher" text,
"Product No." text,
"Compatible with 20/60GB NTSC PS3 (CECHA/CECHB)" text,
"Compatible with 60GB PAL/80GB NTSC PS3 (CECHC/CECHE)" text
)
-- Using valid SQLite, answer the following questions for the tables pro... |
### Context: CREATE TABLE table_name_76 (
date VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date was Ipswich Town the away team?
### Query: SELECT date FROM table_name_76 WHERE away_team = "ipswich town" |
### Context: 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,
... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text
)
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... |
### Context: CREATE TABLE table_name_87 (
elected INTEGER,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the year elected in District 17?
### Query: SELECT MIN(elected) FROM table_name_87 WHERE district = 17 |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
ST... |
### Context: CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid number,
last_wardid number,
intime time,
outtime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_cod... |
### Context: 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 ... |
### Context: CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
... |
### Context: CREATE TABLE table_19268 (
"Player" text,
"Touchdowns (5 points)" real,
"Extra points 1 point" real,
"Field goals (5 points)" real,
"Safeties (2 points)" real,
"Total Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many e... |
### Context: CREATE TABLE table_77337 (
"Official Name" text,
"Status" text,
"Area km 2" real,
"Population" real,
"Census Ranking" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Can you tell me the sum of Area km 2 that has the Official Name of glen... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE ... |
### Context: CREATE TABLE table_33554 (
"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 largest crowd for the S... |
### Context: CREATE TABLE table_name_66 (
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which team did they play on September 19?
### Query: SELECT opponent FROM table_name_66 WHERE date = "september 19" |
### Context: CREATE TABLE table_30120560_1 (
barony VARCHAR,
area__acres__ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the barony and an area of 560?
### Query: SELECT barony FROM table_30120560_1 WHERE area__acres__ = 560 |
### Context: CREATE TABLE table_71508 (
"Television Network" text,
"Founded" text,
"% of Venezuelan households reached" text,
"# of households viewable" text,
"Type of network" text,
"# of Full-Power Affiliates" text,
"# of Low-Power/Class-A Affiliates & Transmitters" text
)
-- Using valid... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE table_10333757_1 (
frequency VARCHAR,
market_rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Frequency at the Market/Rank of Burlington - Plattsburgh , Vermont - New York /143?
### Query: SELECT COUNT(frequency) FRO... |
### Context: CREATE TABLE table_28007 (
"Episode #" real,
"The W\u00f8rd" text,
"Guest" text,
"Introductory phrase" text,
"Original airdate" text,
"Production code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the smallest production ... |
### Context: CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
religion text,
admission_type text,
days_stay text,
insurance text,
ethnicity text,
expire_flag text,
admissi... |
### Context: CREATE TABLE checking (
custid number,
balance number
)
CREATE TABLE accounts (
custid number,
name text
)
CREATE TABLE savings (
custid number,
balance number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total checking b... |
### Context: CREATE TABLE table_4444 (
"Engine" text,
"Horsepower" text,
"Torque" text,
"Carburetor" text,
"Compression Ratio" text,
"Bore & Stroke" text,
"VIN Code" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the carburetor for e... |
### Context: CREATE TABLE table_60884 (
"Player" text,
"Country" text,
"Year(s) won" text,
"Total" real,
"To par" text,
"Finish" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the To par when there was a total of 291?
### Query: SELECT ... |
### Context: CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_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,
XL... |
### Context: CREATE TABLE table_name_80 (
ranking INTEGER,
years VARCHAR,
goals VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has the highest ranking from 1996 13, and more than 17 goals?
### Query: SELECT MAX(ranking) FROM table_name_80 WHERE year... |
### Context: CREATE TABLE table_39727 (
"Game" real,
"February" real,
"Opponent" text,
"Score" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score when the points are larger than 74 and the game is 57?
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.