text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE mzb (
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... |
### Context: CREATE TABLE table_26293 (
"Bowl Game" text,
"Date" text,
"Stadium" text,
"City" text,
"Television" text,
"Matchup/Results" text,
"Attendance" real,
"Payout (US$)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many diff... |
### Context: CREATE TABLE table_72083 (
"Country ( exonym )" text,
"Capital ( exonym )" text,
"Country ( endonym )" text,
"Capital ( endonym )" text,
"Official or native language(s) (alphabet/script)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- W... |
### Context: CREATE TABLE table_27713583_11 (
location_attendance VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the location attendance april 5
### Query: SELECT location_attendance FROM table_27713583_11 WHERE date = "April 5" |
### Context: CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_2626495_1 (
originalairdate VARCHAR,
directed_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many times was the episode directed by maury geraghty originally aired?
### Query: SELECT COUNT(originalairdate) FROM table_2... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### 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 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... |
### Context: CREATE TABLE table_name_60 (
other VARCHAR,
player VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number for other when Adam Pepper is the player with a total more than 7?
### Query: SELECT COUNT(other) FROM table... |
### Context: CREATE TABLE table_17434 (
"#" real,
"President" text,
"Date of birth" text,
"Date of inauguration" text,
"Age at inauguration" text,
"End of term" text,
"Length of retirement" text,
"Date of death" text,
"Lifespan" text
)
-- Using valid SQLite, answer the following qu... |
### Context: CREATE TABLE zyb (
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... |
### Context: CREATE TABLE table_14260687_3 (
blackberry_os VARCHAR,
other VARCHAR,
quarter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During the quarter of 2012 Q2, how many millions of Blackberry OS phones where shipped when 0.1 million others were ... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,... |
### Context: CREATE TABLE table_204_699 (
id number,
"district" text,
"name" text,
"party" text,
"residence" text,
"first served" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- angel fuentes and gilbert wilson were both from which residence ?
... |
### Context: CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE company (
Company_ID int,
Rank int,
Company text,
Headquarters text,
Main_Industry text,
Sales_billion real,
Profits_billion real,
Assets_billion real,
Market_... |
### 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 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,
gend... |
### Context: CREATE TABLE table_51935 (
"Club" text,
"Sport" text,
"League" text,
"Venue" text,
"Established" real,
"Championships" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many championships did the team or teams established in 1976 w... |
### Context: CREATE TABLE table_38233 (
"Nation" text,
"T Score" real,
"A Score" real,
"E Score" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average T score when the E score was larger than 9.6 and the team was from Spa... |
### 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_name_32 (
date VARCHAR,
livery VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When was the livery of Kinneil Sandy Red?
### Query: SELECT date FROM table_name_32 WHERE livery = "kinneil sandy red" |
### Context: 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... |
### Context: CREATE TABLE table_25831 (
"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 table_14006_1 (
condition VARCHAR,
bleeding_time VARCHAR,
prothrombin_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what's the condition with bleeding time being unaffected and prothrombin time being prolonged
### Query: ... |
### Context: CREATE TABLE Students (
student_id INTEGER,
date_of_registration DATETIME,
date_of_latest_logon DATETIME,
login_name VARCHAR(40),
password VARCHAR(10),
personal_name VARCHAR(40),
middle_name VARCHAR(40),
family_name VARCHAR(40)
)
CREATE TABLE Student_Course_Enrolment (
... |
### Context: CREATE TABLE table_22329 (
"Serial No." real,
"District" text,
"Headquartered City" text,
"City Population (2009)" real,
"City Area(km 2 )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the area of the city in the Sargodha dist... |
### Context: CREATE TABLE gradeconversion (
lettergrade text,
gradepoint number
)
CREATE TABLE enrolled_in (
stuid number,
cid text,
grade text
)
CREATE TABLE member_of (
facid number,
dno number,
appt_type text
)
CREATE TABLE student (
stuid number,
lname text,
fname text... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostLinks... |
### Context: CREATE TABLE table_20023 (
"Locale" text,
"Skip" text,
"W" real,
"L" real,
"PF" real,
"PA" real,
"Ends Won" real,
"Ends Lost" real,
"Blank Ends" real,
"Stolen Ends" real,
"Shot Pct." real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_name_99 (
score VARCHAR,
away_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the score when the away team is rivercity rage?
### Query: SELECT score FROM table_name_99 WHERE away_team = "rivercity rage" |
### Context: CREATE TABLE table_63270 (
"Name" text,
"Games" text,
"A-League" text,
"Finals" text,
"Goals" real,
"Assists" real,
"Years" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest number of goals joe keenan, who has mo... |
### 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 table_15637071_1 (
commenced_operations INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When did the oldest airline start operations?
### Query: SELECT MIN(commenced_operations) FROM table_15637071_1 |
### Context: CREATE TABLE pilot_record (
Record_ID int,
Pilot_ID int,
Aircraft_ID int,
Date text
)
CREATE TABLE aircraft (
Aircraft_ID int,
Order_Year int,
Manufacturer text,
Model text,
Fleet_Series text,
Powertrain text,
Fuel_Propulsion text
)
CREATE TABLE pilot (
Pil... |
### Context: 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 gsi (
course_offering_id int,
student_id int
)
CREAT... |
### Context: CREATE TABLE table_32573 (
"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.
-- On what date was the venue of Glenf... |
### Context: CREATE TABLE table_47058 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score of the golfer from the united states who had a To par of e?
### Query: SEL... |
### Context: CREATE TABLE table_name_58 (
teams VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What teams has a home of 5-0?
### Query: SELECT teams FROM table_name_58 WHERE home = "5-0" |
### Context: CREATE TABLE table_75654 (
"Outcome" text,
"Event" text,
"Year" text,
"Venue" text,
"Partner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the Outcome in 1983 of the WD Event?
### Query: SELECT "Outcome" FROM table_75654 WHE... |
### Context: 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... |
### Context: 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,
reli... |
### Context: 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,
... |
### Context: 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,
reli... |
### 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... |
### 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 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,
... |
### Context: CREATE TABLE table_dev_41 (
"id" int,
"gender" string,
"serum_potassium" float,
"systolic_blood_pressure_sbp" int,
"serum_bicarbonate" int,
"renal_disease" bool,
"temperature" float,
"diastolic_blood_pressure_dbp" int,
"liver_disease" bool,
"hdl" int,
"serum_sodi... |
### Context: CREATE TABLE table_name_44 (
share_of_votes VARCHAR,
election VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the share of votes in the 2008 election?
### Query: SELECT share_of_votes FROM table_name_44 WHERE election = 2008 |
### Context: CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body t... |
### Context: CREATE TABLE table_68447 (
"Need" text,
"Being (qualities)" text,
"Having (things)" text,
"Doing (actions)" text,
"Interacting (settings)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the interacting for need of protection
### Q... |
### 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_10306 (
"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 name of the away team w... |
### Context: CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
org_name text
)
CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
... |
### Context: CREATE TABLE table_1140103_6 (
date VARCHAR,
circuit VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date has a solitudering circuit
### Query: SELECT date FROM table_1140103_6 WHERE circuit = "Solitudering" |
### 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 table_5410 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the 2007 gulf cup of nations?
### Query: SELECT "Result" FROM table_5... |
### Context: CREATE TABLE Order_Items (
order_item_id INTEGER,
order_id INTEGER,
product_id INTEGER,
product_quantity VARCHAR(50),
other_order_item_details VARCHAR(255)
)
CREATE TABLE Financial_Transactions (
transaction_id INTEGER,
account_id INTEGER,
invoice_number INTEGER,
transa... |
### Context: CREATE TABLE volume (
volume_id number,
volume_issue text,
issue_date text,
weeks_on_top number,
song text,
artist_id number
)
CREATE TABLE music_festival (
id number,
music_festival text,
date_of_ceremony text,
category text,
volume number,
result text
)
C... |
### Context: CREATE TABLE table_203_562 (
id number,
"state" text,
"no. of candidates" number,
"no. of elected" number,
"total no. of seats in assembly" number,
"year of election" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what state comes... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE area (
course_id int,
area varchar
... |
### Context: CREATE TABLE Roles (
Role_Code CHAR(15),
Role_Name VARCHAR(255),
Role_Description VARCHAR(255)
)
CREATE TABLE Ref_Document_Types (
Document_Type_Code CHAR(15),
Document_Type_Name VARCHAR(255),
Document_Type_Description VARCHAR(255)
)
CREATE TABLE All_Documents (
Document_ID IN... |
### Context: CREATE TABLE table_13769 (
"School" text,
"Location" text,
"Mascot" text,
"County" text,
"Year joined" real,
"Previous Conference" text,
"Year Left" real,
"Conference joined" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Wh... |
### Context: CREATE TABLE jobs (
job_id int,
job_title varchar,
description varchar,
requirement varchar,
city varchar,
state varchar,
country varchar,
zip int
)
CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE area (
course_id int,
area varchar
... |
### Context: CREATE TABLE table_53214 (
"Election" text,
"1st Member" text,
"1st Party" text,
"2nd Member" text,
"2nd Party" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date of the election where Sir Christopher William Codrington was... |
### Context: 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... |
### Context: CREATE TABLE table_204_115 (
id number,
"year" number,
"track" text,
"number" number,
"team" text,
"car" text,
"round result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which year had a higher round placement , 2006 or 2010 ... |
### Context: CREATE TABLE paperfield (
fieldid int,
paperid int
)
CREATE TABLE paperkeyphrase (
paperid int,
keyphraseid int
)
CREATE TABLE journal (
journalid int,
journalname varchar
)
CREATE TABLE author (
authorid int,
authorname varchar
)
CREATE TABLE field (
fieldid int
)
... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_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,
... |
### Context: CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE airline (
airline_code varchar,
airlin... |
### Context: CREATE TABLE table_1342359_15 (
party VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the party with district being kansas 1
### Query: SELECT party FROM table_1342359_15 WHERE district = "Kansas 1" |
### Context: CREATE TABLE table_name_35 (
points VARCHAR,
try_bonus VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many points were there when the try bonus was 2?
### Query: SELECT points FROM table_name_35 WHERE try_bonus = "2" |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gend... |
### Context: CREATE TABLE t_kc21_t_kc24 (
MED_CLINIC_ID text,
MED_SAFE_PAY_ID number
)
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... |
### Context: CREATE TABLE table_25597136_1 (
date_first_lit VARCHAR,
focal_plane_in_ft__m_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Focal plane in ft (m) is 43ft (13.1m) is the first date lit.
### Query: SELECT date_first_lit FROM table_25597136_1 WHE... |
### Context: CREATE TABLE table_19643196_1 (
fleet__number VARCHAR,
transmission VARCHAR,
engine VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fleet number when the transmission is Voith D863.4 and the engine is Cummins ISL?
### Query: SELE... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
... |
### Context: CREATE TABLE table_name_77 (
player VARCHAR,
position VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player is a wide receiver picked in round 7?
### Query: SELECT player FROM table_name_77 WHERE position = "wide receiv... |
### Context: CREATE TABLE table_18975 (
"Institution" text,
"Location" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Nickname" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which institution was founded in 1923?
### Query: SELE... |
### Context: CREATE TABLE table_16278602_1 (
pop_density__per_km²_ VARCHAR,
english_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population density of the Capital Region of Denmark?
### Query: SELECT pop_density__per_km²_ FROM table_16278... |
### Context: CREATE TABLE table_3103 (
"Year" real,
"Location" text,
"Entries" real,
"Winning Boat" text,
"Country" text,
"Skipper" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When 2012 is the year what is the winning boat?
### Query: SELECT... |
### 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 table_name_82 (
venue VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Venue, when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
### Query: SELECT venue FROM table_name_82 WHERE date = "23,24,26,27,28,29 feb, 1 mar... |
### 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 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,
ME... |
### 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 table_47341 (
"Party" text,
"Previous council" real,
"Staying councillors" real,
"Seats up for election" real,
"Election result" real,
"New council" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Staying councillo... |
### Context: CREATE TABLE MINOR_IN (
DNO VARCHAR
)
CREATE TABLE DEPARTMENT (
DName VARCHAR,
DNO VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the name of the department that has no students minored in?
### Query: SELECT DName FROM DEPARTMENT EXCE... |
### Context: CREATE TABLE t_kc24 (
MED_SAFE_PAY_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
REF_SLT_FLG number,
CLINIC_SLT_DATE time,
COMP_ID text,
PERSON_ID text,
FLX_MED_ORG_ID text,
INSU_TYPE text,
MED_AMOUT number,
PER_ACC_PAY number,
... |
### Context: CREATE TABLE time_interval (
period text,
begin_time int,
end_time int
)
CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
... |
### Context: CREATE TABLE table_17324 (
"Game" real,
"Date" text,
"Team" text,
"Score" text,
"High points" text,
"High rebounds" text,
"High assists" text,
"Location Attendance" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided abov... |
### Context: CREATE TABLE table_60717 (
"Greek Designation" text,
"Collegiate Institution" text,
"Charter Date" text,
"Status" text,
"City" text,
"U.S. State/District" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What California city has an ac... |
### Context: CREATE TABLE table_23408094_14 (
total_career_titles VARCHAR,
span_of_years_led VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were the total career titles of the player who led for 5 years?
### Query: SELECT COUNT(total_career_titles) FRO... |
### 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 captain (
Captain_ID int,
Name text,
Ship_ID int,
age text,
Class text,
Rank text
)
CREATE TABLE Ship (
Ship_ID int,
Name text,
Type text,
Built_Year real,
Class text,
Flag text
)
-- Using valid SQLite, answer the following questions for the t... |
### Context: CREATE TABLE table_name_50 (
tournament VARCHAR,
margin_of_victory VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For which tournament was the margin of victory 7 strokes?
### Query: SELECT tournament FROM table_name_50 WHERE margin_of_victory ... |
### Context: CREATE TABLE table_name_95 (
state VARCHAR,
percent__2009_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which state has a Percent (2009) of 6.2%?
### Query: SELECT state FROM table_name_95 WHERE percent__2009_ = "6.2%" |
### Context: CREATE TABLE table_73375 (
"Season" text,
"League" text,
"Division" text,
"GP" real,
"W" real,
"L" real,
"T" real,
"OTL" real,
"SOL" real,
"Pts" real,
"PCT" text,
"GF" real,
"GA" real,
"PIM" real,
"Coach(es)" text,
"Result" text
)
-- Using v... |
### Context: CREATE TABLE table_17719 (
"Year" real,
"Total Region" real,
"Rockhampton" real,
"Livingstone" real,
"Fitzroy" real,
"Mt Morgan" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the maximum total region with fitzroy being 8047... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.