text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_72 (
class VARCHAR,
year VARCHAR,
chassis VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which class has a year prior to 2011 and audi r15 tdi as the chassis?
### Query: SELECT class FROM table_name_72 WHERE year < 2... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time... |
### Context: CREATE TABLE table_65019 (
"District" text,
"Number of Households" real,
"Total Population" real,
"Male" real,
"Female" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of females where the total population is les... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### 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 diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_76395 (
"Year (Ceremony)" text,
"Film title used in nomination" text,
"Original title" text,
"Language(s)" text,
"Director" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Zona Sur's result ... |
### Context: CREATE TABLE table_48060 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the method when the time is 5:... |
### Context: CREATE TABLE table_45135 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Event" text,
"Round" real,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What event had a tko (punches) method and jason macdona... |
### 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 table_74150 (
"Institution" text,
"Team" text,
"City" text,
"Province" text,
"Founded" real,
"Affiliation" text,
"Enrollment" real,
"Endowment" text,
"Football stadium" text,
"Capacity" real
)
-- Using valid SQLite, answer the following questions for t... |
### Context: CREATE TABLE table_30930 (
"No. overall" real,
"No. for series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"UK viewers (million)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What date... |
### Context: CREATE TABLE table_74133 (
"Game" real,
"November" real,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is every record for game 13?
### Qu... |
### 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 demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age tex... |
### Context: CREATE TABLE table_1341423_35 (
incumbent VARCHAR,
first_elected VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was elected in 1972
### Query: SELECT incumbent FROM table_1341423_35 WHERE first_elected = 1972 |
### Context: CREATE TABLE View_Unit_Status (
apt_id INTEGER,
apt_booking_id INTEGER,
status_date DATETIME,
available_yn BIT
)
CREATE TABLE Guests (
guest_id INTEGER,
gender_code CHAR(1),
guest_first_name VARCHAR(80),
guest_last_name VARCHAR(80),
date_of_birth DATETIME
)
CREATE TABL... |
### Context: CREATE TABLE table_name_46 (
score VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the score for opponent in the final being paul baccanello
### Query: SELECT score FROM table_name_46 WHERE opponent_in_the_fin... |
### Context: CREATE TABLE table_2009095_2 (
surface VARCHAR,
championship VARCHAR,
outcome VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the surface for australian open for winner
### Query: SELECT surface FROM table_2009095_2 WHERE championship =... |
### Context: CREATE TABLE ship (
ship_id number,
name text,
type text,
nationality text,
tonnage number
)
CREATE TABLE mission (
mission_id number,
ship_id number,
code text,
launched_year number,
location text,
speed_knots number,
fate text
)
-- Using valid SQLite, an... |
### 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 PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
AcceptedAnswerId number,
ParentId number,
CreationDate time,
DeletionDate time,
Score number,
ViewCount number,
Body text,
OwnerUserId number... |
### Context: CREATE TABLE products (
product_id number,
color_code text,
product_category_code text,
product_name text,
typical_buying_price text,
typical_selling_price text,
product_description text,
other_product_details text
)
CREATE TABLE ref_colors (
color_code text,
color_... |
### Context: CREATE TABLE table_name_35 (
score VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score with a Team with @ houston?
### Query: SELECT score FROM table_name_35 WHERE team = "@ houston" |
### Context: CREATE TABLE regions (
region_id number,
region_name text
)
CREATE TABLE employees (
employee_id number,
first_name text,
last_name text,
email text,
phone_number text,
hire_date time,
job_id text,
salary number,
commission_pct number,
manager_id number,
... |
### Context: CREATE TABLE table_45429 (
"Player" text,
"Nationality" text,
"Jersey Number(s)" text,
"Position" text,
"Years" text,
"From" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what years was the Jersey Numbers 34, 30 played?
###... |
### Context: CREATE TABLE table_name_62 (
agricultural_panel INTEGER,
total VARCHAR,
labour_panel VARCHAR,
nominated_by_the_taoiseach VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average agricultural panel of the composition with a labo... |
### Context: CREATE TABLE table_35573 (
"Position" real,
"Pilot" text,
"Glider" text,
"Speed" text,
"Distance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pilot has a position above 5 and a speed of 118.8km/h?
### Query: SELECT "Pilot" 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 table_204_799 (
id number,
"name" text,
"built" text,
"listed" text,
"location" text,
"county" text,
"type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- homochitto river bridge is in the same county as what other ... |
### Context: CREATE TABLE table_name_50 (
stopping_pattern VARCHAR,
platform VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Stopping pattern has a Platform of [2777] mciver station platforms?
### Query: SELECT stopping_pattern FROM table_name_50 WHERE... |
### Context: CREATE TABLE table_33211 (
"Name" text,
"Team" text,
"Qual 1" text,
"Qual 2" text,
"Best" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who in Qual 2 had the best time of 1:31.327?
### Query: SELECT "Qual 2" FROM table_33211 WHERE "Be... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_15354 (
"Date" text,
"City" text,
"Event" text,
"Winner" text,
"Prize" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner of the European Poker Tour Grand Final?
### Query: SELECT "Winner" FROM table_15... |
### Context: CREATE TABLE table_name_98 (
city_of_license VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which city of license has the Kyli call sign?
### Query: SELECT city_of_license FROM table_name_98 WHERE call_sign = "kyli" |
### Context: CREATE TABLE table_21501564_1 (
week__number VARCHAR,
original_artist VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What week #(s featured sara bareilles as the original artist?
### Query: SELECT week__number FROM table_21501564_1 WHERE origin... |
### Context: CREATE TABLE table_name_22 (
country VARCHAR,
total VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which country has a total less than 289 and finished t2?
### Query: SELECT country FROM table_name_22 WHERE total < 289 AND f... |
### Context: CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propulsion varchar,
wide_body varchar,
wing_span int,
length int,
weight int,
capacity int,
pay_load int,
cruising_speed in... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE ... |
### Context: CREATE TABLE table_32891 (
"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 home side's score at we... |
### 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 table_name_52 (
runner_s__up VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the Runner(s)-up of the 1956 Championship?
### Query: SELECT runner_s__up FROM table_name_52 WHERE year = "1956" |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE lab (
subject_id text,
hadm... |
### Context: CREATE TABLE table_203_501 (
id number,
"title" text,
"genre" text,
"sub\u00addivisions" text,
"libretto" text,
"premiere date" text,
"place, theatre" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many of his operettas were... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
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,
... |
### 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 table_70415 (
"Year" real,
"Competition" text,
"Venue" text,
"Position" text,
"Performance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the latest year in which she took 4th position in Budapest, Hungary?
### Q... |
### Context: CREATE TABLE staff (
staff_id TINYINT UNSIGNED,
first_name VARCHAR(45),
last_name VARCHAR(45),
address_id SMALLINT UNSIGNED,
picture BLOB,
email VARCHAR(50),
store_id TINYINT UNSIGNED,
active BOOLEAN,
username VARCHAR(16),
password VARCHAR(40),
last_update TIMEST... |
### Context: CREATE TABLE table_name_44 (
rank INTEGER,
nation VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What rank is Belarus (BLR), which earned 15 medals total?
### Query: SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus... |
### Context: CREATE TABLE gsi (
course_offering_id int,
student_id int
)
CREATE TABLE course_prerequisite (
pre_course_id int,
course_id int
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE semester (
semester_id int,
semester varchar,
... |
### Context: CREATE TABLE bdmzjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH number,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC tex... |
### Context: CREATE TABLE table_77236 (
"Opposing Team" text,
"Against" real,
"Date" text,
"Venue" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which venue has an against value larger than 21 and had Argentina as an opposing team.
... |
### Context: CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,... |
### Context: CREATE TABLE table_name_25 (
republican VARCHAR,
lead_margin INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage did Republish Christopher Reed receive when the lead margin was smaller than 16?
### Query: SELECT republican AS :_chris... |
### Context: CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
miles_distant int,
direction varchar,
minutes_distant int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description varchar
)
CREATE TABLE restriction (
... |
### Context: CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid number,
wardid number,
admissionheight number,
admissionweight number,
dischargeweight number,
hospitaladmitti... |
### Context: CREATE TABLE table_1717824_3 (
indians_admitted VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Indians were admitted in 2001?
### Query: SELECT indians_admitted FROM table_1717824_3 WHERE year = 2001 |
### Context: 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 int,
Event_Name text,
Party_ID int,
Member_in_charge_ID int
)
CREATE TABLE member (
Member_ID int,
Me... |
### 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_25723 (
"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 organisations (
organisation_id number,
organisation_type text,
organisation_details text
)
CREATE TABLE project_staff (
staff_id number,
project_id number,
role_code text,
date_from time,
date_to time,
other_details text
)
CREATE TABLE projects (
proj... |
### Context: CREATE TABLE table_33401 (
"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 was the venue where the home t... |
### Context: CREATE TABLE table_36859 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Leading scorer" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the visitor on March 27?
### Query: SE... |
### Context: CREATE TABLE table_43303 (
"Television service" text,
"Country" text,
"Language" text,
"Content" text,
"HDTV" text,
"Package/Option" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What language is telemarket for you?
### Query: SEL... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
... |
### Context: CREATE TABLE table_1220125_4 (
fate VARCHAR,
commissioned VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fate for 11 april 1944?
### Query: SELECT fate FROM table_1220125_4 WHERE commissioned = "11 April 1944" |
### Context: CREATE TABLE table_23639 (
"County" text,
"Obama %" text,
"Obama #" real,
"McCain %" text,
"McCain #" real,
"Others %" text,
"Others #" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What percentage of voters voted for a third p... |
### Context: CREATE TABLE table_204_548 (
id number,
"team" text,
"basic elements" number,
"tumbling" number,
"stunts" number,
"tosses" number,
"pyramids" number,
"deductions" number,
"total score" number,
"result" text
)
-- Using valid SQLite, answer the following questions fo... |
### Context: CREATE TABLE club (
clubid number,
clubname text,
clubdesc text,
clublocation text
)
CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE member_of_club (
stuid nu... |
### Context: CREATE TABLE table_19749 (
"Institution" text,
"Location" text,
"Team Nickname" text,
"Tenure" text,
"New Conference" text,
"New Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the new classification for the U... |
### Context: CREATE TABLE table_37454 (
"Team" text,
"Driver" text,
"Laps" real,
"Time" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest laps driver Christian Vietoris with a grid smaller than 6 has?
### Query: SELECT ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
YLJGDM text,
RYBH text
)
CREATE TABLE zyjzjlb (
YLJGDM text,
JZLSH text,
MZJZLSH text,
KH text,
KLX number,
HZXM text,
WDBZ number,
RYDJSJ time,
RYTJDM number,
RYTJMC text,
JZKSDM text,
JZKSMC text,... |
### Context: CREATE TABLE table_33681 (
"Network" text,
"Origin of Programming" text,
"Language" text,
"Genre" text,
"Service" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What network has an origin in India, a genre of general, and broadcasts in ... |
### 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 locations (
LOCATION_ID decimal(4,0),
STRE... |
### Context: CREATE TABLE table_204_457 (
id number,
"ship name" text,
"desig" text,
"status" text,
"notes" text,
"links" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the name of the ship listed before the maryland ?
### Query: SELE... |
### 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 treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE patient (
uniquepid text,
patienthealthsystemstayid number,
patientunitstayid number,
gender text,
age text,
ethnicity text,
hospitalid n... |
### Context: CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE TagSynonyms (
... |
### Context: CREATE TABLE table_name_81 (
format VARCHAR,
label VARCHAR,
catalog VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Format for the alfa records Label, and a Catalog of alca-9016?
### Query: SELECT format FROM table_name_81 WHERE ... |
### Context: CREATE TABLE table_17163 (
"Series" text,
"Monday" text,
"Tuesday" text,
"Wednesday" text,
"Thursday" text,
"Friday" text,
"Saturday" text,
"Sunday" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the thursday presente... |
### Context: CREATE TABLE table_27614707_1 (
week__number VARCHAR,
theme VARCHAR,
order__number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different weeks are there in order number 4 that were judge's choice?
### Query: SELECT COUNT(week__n... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
C... |
### Context: CREATE TABLE election (
Election_ID int,
Counties_Represented text,
District int,
Delegate text,
Party int,
First_Elected real,
Committee text
)
CREATE TABLE party (
Party_ID int,
Year real,
Party text,
Governor text,
Lieutenant_Governor text,
Comptrolle... |
### 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 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... |
### Context: CREATE TABLE table_22669044_8 (
team VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the team for w 115 104 (ot)
### Query: SELECT team FROM table_22669044_8 WHERE score = "W 115–104 (OT)" |
### Context: CREATE TABLE table_28622 (
"Year" real,
"Under-11" text,
"Under-13" text,
"Under-15" text,
"Under-17" text,
"Under-19" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is everyone Under-11 if Under-17 is Salma Nassar?
### Query: ... |
### Context: CREATE TABLE table_35170 (
"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 school of club team has a pick of 46?
### Query: SELECT "School/Club Team" FR... |
### Context: CREATE TABLE cinema (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many cinema do we have?
### Query: SELECT COUNT(*) FROM cinema |
### Context: CREATE TABLE table_name_23 (
fleet_series__quantity_ VARCHAR,
builder VARCHAR,
order_year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Fleet Series (Quantity) that has a Builder of mci, and an Order Year of 2002?
### Query: SELECT f... |
### Context: CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text,
hadm_id text,
icustay_id text,
drug_type text,
drug text,
formulary_drug_cd text,
route text,
drug_d... |
### Context: CREATE TABLE weather (
date TEXT,
max_temperature_f INTEGER,
mean_temperature_f INTEGER,
min_temperature_f INTEGER,
max_dew_point_f INTEGER,
mean_dew_point_f INTEGER,
min_dew_point_f INTEGER,
max_humidity INTEGER,
mean_humidity INTEGER,
min_humidity INTEGER,
max_... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE diagnoses (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE prescriptions (
subject_id text... |
### Context: CREATE TABLE table_204_481 (
id number,
"poll source" text,
"date(s)\nadministered" text,
"sample\nsize" number,
"margin of\nerror" text,
"andrew\ncuomo (d)" text,
"rob\nastorino (r)" text,
"other" text,
"undecided" text
)
-- Using valid SQLite, answer the following qu... |
### Context: CREATE TABLE table_2148 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of the Georgia 8 district?
### Query: S... |
### Context: CREATE TABLE table_name_83 (
riding_penalties__pts_ VARCHAR,
swimming_time__pts_ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the riding penaltie (pts) for the athlete that has a Swimming Time (pts) of 2:18.16 (1264)?
### Query: SELEC... |
### Context: CREATE TABLE table_name_12 (
median_family_income VARCHAR,
median_household_income VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Median family income has a Median household income of $43,125?
### Query: SELECT median_family_income FROM t... |
### Context: CREATE TABLE semester (
semester_id int,
semester varchar,
year int
)
CREATE TABLE requirement (
requirement_id int,
requirement varchar,
college varchar
)
CREATE TABLE instructor (
instructor_id int,
name varchar,
uniqname varchar
)
CREATE TABLE course_prerequisite (... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE outputevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
charttime time,
itemid number,
value number
)
CREATE TABLE d_icd_diagnoses (
row_id number,
... |
### Context: CREATE TABLE technician (
technician_id real,
Name text,
Team text,
Starting_Year real,
Age int
)
CREATE TABLE repair_assignment (
technician_id int,
repair_ID int,
Machine_ID int
)
CREATE TABLE machine (
Machine_ID int,
Making_Year int,
Class text,
Team te... |
### Context: CREATE TABLE table_54889 (
"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 highest crowd for Home ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.