text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_28054 (
"Episode no." real,
"Airdate" text,
"Dave Viewers" real,
"Dave Rank" real,
"Rank (cable)" real,
"Dave ja vu Viewers" real,
"Total viewers" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many episod... |
### Context: CREATE TABLE table_63351 (
"Season" real,
"Team" text,
"League" text,
"Games" text,
"Total Tackles" text,
"Solo" text,
"TFL\u00b9" text,
"Sacks" text,
"Int." text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tot... |
### Context: CREATE TABLE table_name_58 (
ice_level_reporters VARCHAR,
year VARCHAR,
color_commentator_s_ VARCHAR,
play_by_play VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Ice level reporter after 1992 with the color commentator John Da... |
### 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 Students (
date_of_latest_logon VARCHAR,
family_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What are the dates of the latest logon of the students with family name 'Jaskolski' or 'Langosh'?
### Query: SELECT date_of_latest_... |
### Context: CREATE TABLE table_203_699 (
id number,
"name" text,
"parentage" text,
"size" text,
"flower colour" text,
"flower type" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many flowers have the same type as the freedom bell ?
### Qu... |
### Context: CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayName text,
Comment text,
Text text,
ContentLicense text
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number... |
### Context: CREATE TABLE table_204_771 (
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.
-- what is the number of silver medals won by peru and ... |
### Context: CREATE TABLE table_11318462_5 (
u16_2nd_viii VARCHAR,
u15_3rd_iv VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are all the u16 2nd viii with u15 3rd iv being bbc
### Query: SELECT u16_2nd_viii FROM table_11318462_5 WHERE u15_3rd_iv = "BBC... |
### 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_23786 (
"Tournament" text,
"Also currently known as" text,
"City(s)" text,
"Country" text,
"Court surface" text,
"Tier IV in" text,
"Years" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current to... |
### Context: CREATE TABLE table_19702 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Record" text,
"Game Site" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the team's result in week 4?
### Query: ... |
### Context: CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
disch... |
### Context: CREATE TABLE table_14758 (
"Series" text,
"Name" text,
"Hometown" text,
"Occupation" text,
"Status" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series was Sam Evans on?
### Query: SELECT "Series" FROM table_14758 WHERE "Name" =... |
### 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 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 medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmin text,
drugstarttime time,
drugstoptime time
)
CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
... |
### Context: CREATE TABLE table_24949975_1 (
home_team VARCHAR,
season VARCHAR,
result VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the home team for the 2013 season and the result was 0 0?
### Query: SELECT home_team FROM table_24949975_1 WHE... |
### 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_27196 (
"No. in series" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the title when the writ... |
### Context: CREATE TABLE hosting_city (
year number,
match_id number,
host_city text
)
CREATE TABLE match (
match_id number,
date text,
venue text,
score text,
result text,
competition text
)
CREATE TABLE temperature (
city_id number,
jan number,
feb number,
mar nu... |
### 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 hosting_city (
host_city VARCHAR
)
CREATE TABLE city (
city VARCHAR,
city_id VARCHAR
)
CREATE TABLE temperature (
city_id VARCHAR,
Feb INTEGER,
Jun VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Give me a list of c... |
### 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_a... |
### Context: CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE swimmer (
ID int,
name text,
Nationality text,
meter_100 real,
meter_200 text,
meter_300 text,
meter_400 text,
meter_500 text,
meter_600 text,
meter_700 text,
Time t... |
### Context: CREATE TABLE church (
Church_ID int,
Name text,
Organized_by text,
Open_Date int,
Continuation_of text
)
CREATE TABLE wedding (
Church_ID int,
Male_ID int,
Female_ID int,
Year int
)
CREATE TABLE people (
People_ID int,
Name text,
Country text,
Is_Male t... |
### Context: CREATE TABLE table_34581 (
"Position" text,
"Artist" text,
"Single" text,
"Year" text,
"Weeks" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what year did david whitfield win
### Query: SELECT "Year" FROM table_34581 WHERE "Artist" = ... |
### Context: CREATE TABLE table_30322 (
"Year Location" text,
"Mens Singles" text,
"Womens Singles" text,
"Mens Doubles" text,
"Womens Doubles" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the mens singles for lee eun-sil moon hyun-jung
### ... |
### Context: CREATE TABLE table_name_45 (
current_club VARCHAR,
position VARCHAR,
height VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the current club with a position of sg/sf and a height less than 1.96?
### Query: SELECT current_club FROM ta... |
### Context: CREATE TABLE table_46753 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the T4 Place Player with a Score of more than 66?
### Query: SELECT "Player" FROM tab... |
### Context: CREATE TABLE month (
month_number int,
month_name text
)
CREATE TABLE flight_fare (
flight_id int,
fare_id int
)
CREATE TABLE flight_leg (
flight_id int,
leg_number int,
leg_flight int
)
CREATE TABLE time_zone (
time_zone_code text,
time_zone_name text,
hours_from... |
### Context: CREATE TABLE table_31112 (
"Provider" text,
"Country" text,
"Subscribers (2005) (thousands)" real,
"Subscribers (2006) (thousands)" real,
"Growth %" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of 2005 subscr... |
### Context: CREATE TABLE table_25594271_2 (
loa__metres_ VARCHAR,
skipper VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many LOA metres were there when the skipper is lou abrahams?
### Query: SELECT loa__metres_ FROM table_25594271_2 WHERE skipper = "... |
### Context: CREATE TABLE table_name_7 (
county VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which county is named broderick wood products?
### Query: SELECT county FROM table_name_7 WHERE name = "broderick wood products" |
### Context: CREATE TABLE gwyjzb (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_42064 (
"Season" text,
"Conf." text,
"Conf. finish" text,
"Div." text,
"Div. Finish" text,
"Head coach" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the division when Jim O'Brien was the head coach and ... |
### 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 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 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_63 (
memory VARCHAR,
chipset VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which model's chipset is intel 955?
### Query: SELECT memory FROM table_name_63 WHERE chipset = "intel 955" |
### Context: CREATE TABLE departments (
DEPARTMENT_ID decimal(4,0),
DEPARTMENT_NAME varchar(30),
MANAGER_ID decimal(6,0),
LOCATION_ID decimal(4,0)
)
CREATE TABLE employees (
EMPLOYEE_ID decimal(6,0),
FIRST_NAME varchar(20),
LAST_NAME varchar(25),
EMAIL varchar(25),
PHONE_NUMBER varc... |
### Context: CREATE TABLE table_name_49 (
result VARCHAR,
year VARCHAR,
episode VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the result of nomination for Season 6 after 1995?
### Query: SELECT result FROM table_name_49 WHERE year > 1995 AND e... |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE SuggestedEditVotes (
Id number,
Sugge... |
### Context: CREATE TABLE table_name_47 (
races VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many races did he do in the year he had 8 points?
### Query: SELECT races FROM table_name_47 WHERE points = "8" |
### Context: CREATE TABLE table_49166 (
"Place" text,
"Player" text,
"Country" text,
"Score" text,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What place had a score of 71-70=141?
### Query: SELECT "Place" FROM table_49166 WHERE "Score"... |
### Context: CREATE TABLE table_2818164_2 (
production_code INTEGER,
original_air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the production code of the episode originally aired on February 21, 1985?
### Query: SELECT MIN(production_code) FRO... |
### Context: CREATE TABLE Has_amenity (
dormid INTEGER,
amenid INTEGER
)
CREATE TABLE Dorm_amenity (
amenid INTEGER,
amenity_name VARCHAR(25)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advisor IN... |
### Context: CREATE TABLE Products (
Code INTEGER,
Name VARCHAR(255),
Price DECIMAL,
Manufacturer INTEGER
)
CREATE TABLE Manufacturers (
Code INTEGER,
Name VARCHAR(255),
Headquarter VARCHAR(255),
Founder VARCHAR(255),
Revenue REAL
)
-- Using valid SQLite, answer the following ques... |
### Context: CREATE TABLE table_211791_1 (
remarks VARCHAR,
nato_reporting_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the remarks for sawhouse
### Query: SELECT remarks FROM table_211791_1 WHERE nato_reporting_name = "SAWHOUSE" |
### Context: CREATE TABLE chip_model (
Model_name text,
Launch_year real,
RAM_MiB real,
ROM_MiB real,
Slots text,
WiFi text,
Bluetooth text
)
CREATE TABLE phone (
Company_name text,
Hardware_Model_name text,
Accreditation_type text,
Accreditation_level text,
Date text,
... |
### Context: CREATE TABLE zyjzjlb (
CYBQDM text,
CYBQMC text,
CYCWH text,
CYKSDM text,
CYKSMC text,
CYSJ time,
CYZTDM number,
HZXM text,
JZKSDM text,
JZKSMC text,
JZLSH text,
KH text,
KLX number,
MZBMLX number,
MZJZLSH text,
MZZDBM text,
MZZDMC text,
... |
### Context: CREATE TABLE table_name_17 (
no_5 VARCHAR,
no_6 VARCHAR,
no_10 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was No. 5 when No. 6 Mason and No. 10 Jackson?
### Query: SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jac... |
### Context: CREATE TABLE table_name_17 (
house_1950 VARCHAR,
governors_1950 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What shows for House 1950 with a 1950 less than 1980, and Governors 1950 of governors 1970?
### Query: SELECT house_1950 FROM table_n... |
### Context: CREATE TABLE table_203_238 (
id number,
"year" number,
"competition" text,
"venue" text,
"position" text,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- in how many international competitions did kazlou throw a length of abo... |
### Context: CREATE TABLE table_name_44 (
kit_maker VARCHAR,
manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which kit maker have Trond Sollied as a manager?
### Query: SELECT kit_maker FROM table_name_44 WHERE manager = "trond sollied" |
### Context: CREATE TABLE people (
People_ID int,
Sex text,
Name text,
Date_of_Birth text,
Height real,
Weight real
)
CREATE TABLE candidate (
Candidate_ID int,
People_ID int,
Poll_Source text,
Date text,
Support_rate real,
Consider_rate real,
Oppose_rate real,
U... |
### Context: CREATE TABLE perpetrator (
perpetrator_id number,
people_id number,
date text,
year number,
location text,
country text,
killed number,
injured number
)
CREATE TABLE people (
people_id number,
name text,
height number,
weight number,
home town text
)
-... |
### 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 station (
id number,
name text,
lat number,
long number,
dock_count number,
city text,
installation_date text
)
CREATE TABLE status (
station_id number,
bikes_available number,
docks_available number,
time text
)
CREATE TABLE trip (
id number,
... |
### Context: CREATE TABLE catalog_contents (
catalog_entry_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the names of all the catalog entries.
### Query: SELECT DISTINCT (catalog_entry_name) FROM catalog_contents |
### 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 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_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_name_61 (
laps VARCHAR,
manufacturer VARCHAR,
grid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many laps did the driver with the yamaha manufacturer go on grid 3?
### Query: SELECT laps FROM table_name_61 WHERE man... |
### 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_DIRE_CD text,
MED_... |
### 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_12817 (
"Date" text,
"Team" text,
"Competition" text,
"Round" text,
"Opponent" text,
"Location" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Score of the competition on October 25?
... |
### 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_12032893_1 (
home_town VARCHAR,
high_school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which home town was the high school Catholic University located in?
### Query: SELECT home_town FROM table_12032893_1 WHERE high_schoo... |
### Context: CREATE TABLE table_36678 (
"Name" text,
"Capacity" text,
"Power" text,
"Type" text,
"Torque" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the torque of the 1.6 petrol with daewoo power?
### Query: SELECT "Torque" FROM table_3... |
### Context: CREATE TABLE table_12751 (
"Place" text,
"Player" text,
"Country" text,
"Score" real,
"To par" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What did Steve Stricker score?
### Query: SELECT "Score" FROM table_12751 WHERE "Player" = 's... |
### Context: CREATE TABLE table_name_43 (
round INTEGER,
pick__number VARCHAR,
overall VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the first Round with a Pick # greater than 1 and 140 Overall?
### Query: SELECT MIN(round) FROM table_name_43 ... |
### Context: CREATE TABLE settlements (
settlement_id number,
claim_id number,
effective_date time,
settlement_amount number
)
CREATE TABLE services (
service_id number,
service_name text
)
CREATE TABLE available_policies (
policy_id number,
policy_type_code text,
customer_phone te... |
### Context: CREATE TABLE table_318 (
"Player" text,
"Position" text,
"School" text,
"Hometown" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where did robert nkemdiche go to college
### Query: SELECT "College" FROM table_318 WHERE... |
### Context: CREATE TABLE table_50626 (
"Home team" text,
"Home team score" text,
"Away team" text,
"Away team score" text,
"Ground" text,
"Crowd" real,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the average crowd size fo... |
### 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 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 treatment (
... |
### Context: CREATE TABLE table_516 (
"Series Ep #" real,
"Season 2 Ep #" real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original Airdate" text,
"Production Code" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the production... |
### Context: CREATE TABLE table_15323 (
"Version" text,
"Code name" text,
"Release date" text,
"API level" real,
"Distribution" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- with api level 3, what is the code name?
### Query: SELECT "Code name" FR... |
### Context: CREATE TABLE field (
fieldid int
)
CREATE TABLE paper (
paperid int,
title varchar,
venueid int,
year int,
numciting int,
numcitedby int,
journalid int
)
CREATE TABLE dataset (
datasetid int,
datasetname varchar
)
CREATE TABLE keyphrase (
keyphraseid int,
... |
### Context: CREATE TABLE table_30840 (
"Age" real,
"Date" text,
"Track" text,
"Race" text,
"Distance (miles)" text,
"Jockey" text,
"Handicap" text,
"Field (No. horses)" text,
"Place" text,
"Time" text,
"Prize Money" text,
"+ Sweepstake" text,
"Archer\u2019s winnings"... |
### Context: CREATE TABLE table_39368 (
"Game" real,
"December" real,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the record after game 41?
### Query: SELECT "Record" FROM table_39368 WHERE "Game"... |
### Context: CREATE TABLE employee (
emp_num number,
emp_lname text,
emp_fname text,
emp_initial text,
emp_jobcode text,
emp_hiredate time,
emp_dob time
)
CREATE TABLE enroll (
class_code text,
stu_num number,
enroll_grade text
)
CREATE TABLE student (
stu_num number,
s... |
### Context: CREATE TABLE table_name_83 (
away_team VARCHAR,
crowd INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the score of the away team when the crowd was larger than 8,000?
### Query: SELECT away_team AS score FROM table_name_83 WHERE crowd > ... |
### 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_51512 (
"Channel" real,
"Video" text,
"Aspect" text,
"PSIP Short Name" text,
"Network" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What network has an aspect of 4:3 and a PSIP Short Name of qvc?
### Query: SELECT ... |
### 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 demographic (
subject_id text,
... |
### Context: CREATE TABLE table_204_697 (
id number,
"song" text,
"artist(s)" text,
"concert" number,
"film" number,
"1978 album" number,
"2002 album" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the largest number of films ?
##... |
### Context: CREATE TABLE Maintenance_Engineers (
engineer_id VARCHAR,
first_name VARCHAR,
last_name VARCHAR
)
CREATE TABLE Engineer_Visits (
engineer_id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Among those engineers who have visited, which en... |
### Context: CREATE TABLE table_25685 (
"Autonomous Community" text,
"Organization" text,
"Television Channels" text,
"Radio Stations" text,
"Foundation" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the autonomous community with television... |
### Context: CREATE TABLE table_55101 (
"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.
-- In which venue is South Melbourne t... |
### 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 diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
first_careunit text,
last_careunit text,
first_wardid... |
### Context: CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE lab (
labid n... |
### Context: CREATE TABLE ReviewTaskStates (
Id number,
Name text,
Description text
)
CREATE TABLE Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE Tags... |
### 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_5326 (
"Bullet weight gram (grain)" text,
"8.23 g (127 gr)" real,
"9.72 g (150 gr)" real,
"11.34 g (175 gr)" real,
"12.96 g (200 gr)" real,
"14.26 g (220 gr)" real,
"Case capacity (%)" real
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_name_13 (
sydney VARCHAR,
auckland VARCHAR,
gold_coast VARCHAR,
adelaide VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Sydney has a Gold Coast of yes, an Adelaide of no, and an Auckland of yes?
### Query: SELEC... |
### Context: CREATE TABLE table_204_278 (
id number,
"name of president" text,
"picture" text,
"life span" text,
"year of presidency" text,
"place of conference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the first president in the 1... |
### Context: CREATE TABLE table_1717824_1 (
_percentage_2011 VARCHAR,
province VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the percentage in Manitoba in 2011?
### Query: SELECT _percentage_2011 FROM table_1717824_1 WHERE province = "Manitoba" |
### Context: CREATE TABLE table_name_53 (
song VARCHAR,
artist_s_ VARCHAR,
work_done VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 Cobra Starship song has work done of guest vocals?
### Query: SELECT song FROM table_name_53... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.