text stringlengths 197 8.39k |
|---|
### 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 table_58281 (
"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 lowest crowd with home ... |
### Context: CREATE TABLE table_59371 (
"Station" text,
"Distance from Wellington" text,
"Height above sea level (m)" text,
"Opened" real,
"Closed" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Opened prior to 1877 only 2.44km from Wellington, when... |
### Context: CREATE TABLE results (
resultid number,
raceid number,
driverid number,
constructorid number,
number number,
grid number,
position number,
positiontext text,
positionorder number,
points number,
laps number,
time text,
milliseconds number,
fastestlap ... |
### Context: CREATE TABLE table_name_80 (
percentage INTEGER,
points_for VARCHAR,
losses VARCHAR,
wins VARCHAR,
points_against VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Percentage when there are more than 0 wins, Points A... |
### 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 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_23197088_4 (
score_in_final VARCHAR,
championship VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- such as are entire the rating of closing where championship is moscow
### Query: SELECT score_in_final FROM table_23197088_4 WHE... |
### Context: CREATE TABLE table_name_53 (
player VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player has a score of 79?
### Query: SELECT player FROM table_name_53 WHERE score = "79" |
### Context: CREATE TABLE table_11230937_2 (
us_viewers__millions_ VARCHAR,
no_in_season VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many millions of viewers watched episode 15?
### Query: SELECT us_viewers__millions_ FROM table_11230937_2 WHERE no_i... |
### Context: CREATE TABLE table_9648 (
"Res." text,
"Record" text,
"Opponent" text,
"Method" text,
"Round" real,
"Time" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total number of Round(s), when Time is 'n/a',... |
### Context: CREATE TABLE table_8648 (
"Frequency" text,
"Call sign" text,
"Branding" text,
"Format" text,
"Owner" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Call sign of the Frequency 106.9 the X?
### Query: SELECT "Call sign" FROM... |
### Context: CREATE TABLE table_24302700_6 (
name VARCHAR,
nationality VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are all the players from the united states?
### Query: SELECT name FROM table_24302700_6 WHERE nationality = "United States" |
### Context: CREATE TABLE table_7056 (
"Rank" text,
"Nation" text,
"Gold" real,
"Silver" real,
"Bronze" real,
"Total" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the largest gold number when the total is less than 3, the rank is 5, an... |
### Context: CREATE TABLE player (
player_id TEXT,
birth_year NUMERIC,
birth_month NUMERIC,
birth_day NUMERIC,
birth_country TEXT,
birth_state TEXT,
birth_city TEXT,
death_year NUMERIC,
death_month NUMERIC,
death_day NUMERIC,
death_country TEXT,
death_state TEXT,
deat... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### 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 drivers (
driverId INTEGER,
driverRef TEXT,
number TEXT,
code TEXT,
forename TEXT,
surname TEXT,
dob TEXT,
nationality TEXT,
url TEXT
)
CREATE TABLE results (
resultId INTEGER,
raceId INTEGER,
driverId INTEGER,
constructorId INTEGER,
num... |
### Context: CREATE TABLE table_19178 (
"Home (1st leg)" text,
"Home (2nd leg)" text,
"1st Leg" text,
"2nd leg" text,
"Aggregate" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When temperley is the home (2nd leg) what is the home (1st leg)?
### Qu... |
### Context: CREATE TABLE table_40721 (
"Date" text,
"Time" text,
"Score" text,
"Set 1" text,
"Set 2" text,
"Set 3" text,
"Total" text,
"Report" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the overall score when set 1 was 23 ... |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE chartevents (
row_id number,
subject_... |
### Context: CREATE TABLE table_18461635_1 (
captain VARCHAR,
location VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the captain of the team in Southampton?
### Query: SELECT captain FROM table_18461635_1 WHERE location = "Southampton" |
### Context: CREATE TABLE table_19324 (
"Episode no." real,
"Title" text,
"Director" text,
"Writer(s)" text,
"Original Air Date (ATV)" text,
"Production no." real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the director of the episode orig... |
### Context: CREATE TABLE table_name_20 (
laps INTEGER,
grid VARCHAR,
driver VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the low lap total for henri pescarolo with a grad larger than 6?
### Query: SELECT MIN(laps) FROM table_name_20 WHERE gri... |
### Context: CREATE TABLE table_21197 (
"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 program_requirement (
program_id int,
category varchar,
min_credit int,
additional_req varchar
)
CREATE TABLE course (
course_id int,
name varchar,
department varchar,
number varchar,
credits varchar,
advisory_requirement varchar,
enforced_requireme... |
### Context: CREATE TABLE table_24924 (
"Name" text,
"Position" text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Home Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the weight is the name is Stuart Craig?
### Query: SELE... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVINCE varchar(25),
COUNTRY_ID varchar(2)
)
CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_... |
### Context: CREATE TABLE table_name_3 (
result VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE RESULT WITH A FILM TITLE FIREDANCER?
### Query: SELECT result FROM table_name_3 WHERE film_title_used_in_nomina... |
### Context: CREATE TABLE procedures (
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_... |
### Context: CREATE TABLE table_44557 (
"School" text,
"Bask" text,
"Golf" text,
"Soccer" text,
"Soft" text,
"Swimming" text,
"Tennis" text,
"Indoor track" text,
"Volleyball" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Does Detroi... |
### Context: CREATE TABLE table_name_54 (
name VARCHAR,
town_city VARCHAR,
type VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Name of the Multiple Type museum in Anchorage?
### Query: SELECT name FROM table_name_54 WHERE town_city = "anchor... |
### Context: CREATE TABLE table_204_784 (
id number,
"player" text,
"league" number,
"cup" number,
"europa league" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many goals did ismail isa score this season ?
### Query: SEL... |
### Context: CREATE TABLE table_5918 (
"Character" text,
"French voice actor" text,
"Italian voice actor" text,
"German voice actor" text,
"Spanish voice actor" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What character does Italian voice actor E... |
### Context: CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
cost number
)
CREATE TABLE medication (
medicationid number,
patientunitstayid number,
drugname text,
dosage text,
routeadmi... |
### Context: CREATE TABLE cost (
row_id number,
subject_id number,
hadm_id number,
event_type text,
event_id number,
chargetime time,
cost number
)
CREATE TABLE microbiologyevents (
row_id number,
subject_id number,
hadm_id number,
charttime time,
spec_type_desc text,
... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE vitalperiodic (
vitalperiodicid number,
patientunitstayid number,
temperature number,
sao2 number,
heartrate number,
respir... |
### Context: CREATE TABLE table_59235 (
"Club" text,
"Played" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
... |
### Context: CREATE TABLE table_name_13 (
company_name VARCHAR,
accreditation_level VARCHAR,
accreditation_status VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Company Name, when the Accreditation Level is Joyn Hot Fixes, and when the Accred... |
### Context: CREATE TABLE table_name_27 (
country_of_origin VARCHAR,
year_of_intro VARCHAR,
primary_cartridge VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Country of Origin, when Year of Intro is greater than 1985, and when Primary Cartridge is... |
### 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_204_130 (
id number,
"#" number,
"date" text,
"venue" text,
"opponent" text,
"score" text,
"result" text,
"competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the date above 19 october 2013... |
### Context: CREATE TABLE table_2361788_1 (
regular_season VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of regular season for 2007
### Query: SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = 2007 |
### Context: CREATE TABLE table_name_31 (
rank INTEGER,
date VARCHAR,
mark VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average rank of the record on 2007-06-21 with a mark less than 91.29?
### Query: SELECT AVG(rank) FROM table_name_31 WH... |
### Context: CREATE TABLE table_10432351_1 (
mass__m___ INTEGER,
radius__r___ VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If a radius is 10, what is the lowest possible mass?
### Query: SELECT MIN(mass__m___) FROM table_10432351_1 WHERE radius__r___ = 10 |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE d_icd_procedures (
row_id number,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE icustays (
row_id number,
subject_id ... |
### Context: CREATE TABLE table_33984 (
"Tournament" text,
"2006" text,
"2007" text,
"2008-12" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which 2006 has a 2007 of A?
### Query: SELECT "2006" FROM table_33984 WHERE "2007" = 'a' |
### Context: CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
intakeoutputtime time
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
cul... |
### Context: CREATE TABLE SuggestedEdits (
Id number,
PostId number,
CreationDate time,
ApprovalDate time,
RejectionDate time,
OwnerUserId number,
Comment text,
Text text,
Title text,
Tags text,
RevisionGUID other
)
CREATE TABLE Votes (
Id number,
PostId number,
... |
### Context: CREATE TABLE prescriptions (
row_id number,
subject_id number,
hadm_id number,
startdate time,
enddate time,
drug text,
dose_val_rx text,
dose_unit_rx text,
route text
)
CREATE TABLE icustays (
row_id number,
subject_id number,
hadm_id number,
icustay_id... |
### Context: CREATE TABLE table_203_676 (
id number,
"pick #" number,
"cfl team" text,
"player" text,
"position" text,
"college" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who was the last pick in round four ?
### Query: SELECT "player" FRO... |
### Context: CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostHistory (
Id number,
PostHistoryTypeId number,
PostId number,
RevisionGUID other,
CreationDate time,
UserId number,
UserDisplayNa... |
### Context: CREATE TABLE table_20457 (
"S No" real,
"Team (A)" text,
"Team (B)" text,
"Winner" text,
"Margin" text,
"Match Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the winner for date of nov 5, 1987
### Query: SELECT "Winner" ... |
### Context: CREATE TABLE table_75775 (
"Position" real,
"Team" text,
"Points" real,
"Played" real,
"Drawn" real,
"Lost" real,
"Against" real,
"Difference" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team has an against more than... |
### Context: CREATE TABLE table_name_74 (
driver VARCHAR,
constructor VARCHAR,
grid VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who has a grid smaller than 24, less than 61 laps, and a ferrari constructor?
### Query: SELECT driver F... |
### Context: CREATE TABLE table_8660 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total attendance for Candlestick Park?
... |
### 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 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 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 t_kc22 (
MED_EXP_DET_ID text,
OVERALL_CD_ORG text,
OVERALL_CD_PERSON text,
MED_CLINIC_ID text,
MED_EXP_BILL_ID text,
SOC_SRT_DIRE_CD text,
SOC_SRT_DIRE_NM text,
DIRE_TYPE number,
CHA_ITEM_LEV number,
MED_INV_ITEM_TYPE text,
MED_DIRE_CD text,
MED_... |
### Context: CREATE TABLE table_60243 (
"Name" text,
"Pos." text,
"Height" text,
"Weight" text,
"Date of Birth" text,
"Club" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is born on 1982-01-29?
### Query: SELECT "Name" FROM table_60243 WHE... |
### Context: CREATE TABLE table_name_23 (
date VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of the tournament held in Indonesia?
### Query: SELECT date FROM table_name_23 WHERE country = "indonesia" |
### Context: CREATE TABLE table_18468 (
"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.
-- Which candidates were in the election where Frank W. Boykin... |
### Context: CREATE TABLE table_name_36 (
position INTEGER,
played VARCHAR,
goal_difference VARCHAR,
drawn VARCHAR,
lost VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the positions for the player who had less than 25 losses, a... |
### 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 table_71293 (
"Position" real,
"Club" text,
"Played" real,
"Points" text,
"Wins" real,
"Draws" real,
"Losses" real,
"Goals for" real,
"Goals against" real,
"Goal Difference" real
)
-- Using valid SQLite, answer the following questions for the tables pr... |
### Context: CREATE TABLE table_58174 (
"Heir" text,
"Status" text,
"Relationship to Monarch" text,
"Became heir" text,
"Reason" text,
"Ceased to be heir" text,
"Monarch" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Status when... |
### Context: CREATE TABLE table_name_80 (
until INTEGER,
titles VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total Until when the Titles was 5?
### Query: SELECT SUM(until) FROM table_name_80 WHERE titles = "5" |
### Context: CREATE TABLE diagnoses_icd (
row_id number,
subject_id number,
hadm_id number,
icd9_code text,
charttime time
)
CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_locatio... |
### Context: CREATE TABLE table_name_61 (
pick VARCHAR,
college VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- College of boston college has what pick?
### Query: SELECT pick FROM table_name_61 WHERE college = "boston college" |
### Context: CREATE TABLE table_16064 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Vikings points" real,
"Opponents" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- The record of 7-3 had t... |
### Context: CREATE TABLE table_name_71 (
player VARCHAR,
country VARCHAR,
place VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What player placed t6 for the United States with a score of 67-69=136?
### Query: SELECT player FROM table... |
### Context: CREATE TABLE table_67781 (
"Type" text,
"Fleet numbers" text,
"Quantity made" real,
"Manufacturer" text,
"Date made" text,
"Date withdrawn" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the date made that has an associated ... |
### Context: CREATE TABLE table_1939405_2 (
latin_americans_2001 INTEGER,
_percentage_2001 VARCHAR,
_percentage_2011 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many Latin Americans were there in 2001 in the province with 0.0% 2001 and 0.2% 2011?
... |
### Context: CREATE TABLE table_197446_1 (
branch VARCHAR,
term_began VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What branch was involved when the term began in January 3, 1985?
### Query: SELECT branch FROM table_197446_1 WHERE term_began = "January 3,... |
### Context: CREATE TABLE course_tags_count (
course_id int,
clear_grading int,
pop_quiz int,
group_projects int,
inspirational int,
long_lectures int,
extra_credit int,
few_tests int,
good_feedback int,
tough_tests int,
heavy_papers int,
cares_for_students int,
heavy... |
### Context: CREATE TABLE table_name_52 (
time VARCHAR,
laps VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total time that it took for the driver to finish 14 laps?
### Query: SELECT time FROM table_name_52 WHERE laps = 14 |
### Context: CREATE TABLE t_kc21 (
CLINIC_ID text,
CLINIC_TYPE text,
COMP_ID text,
DATA_ID text,
DIFF_PLACE_FLG number,
FERTILITY_STS number,
FLX_MED_ORG_ID text,
HOSP_LEV number,
HOSP_STS number,
IDENTITY_CARD text,
INPT_AREA_BED text,
INSURED_IDENTITY number,
INSURE... |
### Context: CREATE TABLE table_41425 (
"Tournament" text,
"2003" text,
"2004" text,
"2012" text,
"2013" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon?
### Query: SE... |
### Context: CREATE TABLE table_name_12 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score on April 6, 2008?
### Query: SELECT score FROM table_name_12 WHERE date = "april 6, 2008" |
### Context: CREATE TABLE table_61443 (
"S.no." real,
"Power Plant" text,
"State" text,
"Total Capacity (MW)" real,
"Completion Schedule" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the completion schedule for himachal pradesh state with ... |
### Context: CREATE TABLE table_name_51 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the nationality for rudolf vercik
### Query: SELECT nationality FROM table_name_51 WHERE player = "rudolf vercik" |
### Context: CREATE TABLE table_32538 (
"Pool" text,
"Age Group" text,
"Time" text,
"Event" text,
"Date" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What age group has a time of 6:37.73 at the 200m breaststroke?
### Query: SELECT "Age Group" FRO... |
### Context: CREATE TABLE table_name_17 (
nationality VARCHAR,
round VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Nationality has a Round of 4?
### Query: SELECT nationality FROM table_name_17 WHERE round = 4 |
### Context: CREATE TABLE table_55045 (
"Tournament" text,
"1980" text,
"1981" text,
"1982" text,
"1983" text,
"1984" text,
"1985" text,
"1986" text,
"1987" text,
"1988" text,
"1989" text,
"1990" text,
"1991" text,
"1992" text,
"1993" text,
"1994" text,
... |
### Context: CREATE TABLE table_name_99 (
constructor VARCHAR,
location VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company constructed the vehicle in the location not held in 1933?
### Query: SELECT constructor FROM table_name_99 ... |
### Context: CREATE TABLE table_name_33 (
date_of_appointment VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE APPOINTMENT DATE FOR AC HORSENS?
### Query: SELECT date_of_appointment FROM table_name_33 WHERE team = "ac horsens" |
### 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_58 (
game INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Game, when Date is 'December 23'?
### Query: SELECT AVG(game) FROM table_name_58 WHERE date = "december 23" |
### Context: CREATE TABLE table_name_17 (
top_25 INTEGER,
wins INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the fewest number of top-25s for events with more than 0 wins?
### Query: SELECT MIN(top_25) FROM table_name_17 WHERE wins > 0 |
### Context: CREATE TABLE Products (
product_id INTEGER,
product_type_code VARCHAR(15),
product_name VARCHAR(80),
product_price DOUBLE
)
CREATE TABLE Customer_Address_History (
customer_id INTEGER,
address_id INTEGER,
date_from DATETIME,
date_to DATETIME
)
CREATE TABLE Customers (
... |
### Context: CREATE TABLE table_21098 (
"Rank" real,
"Team" text,
"Round1" real,
"Round2" real,
"Round3" real,
"Round4" real,
"Round5" real,
"Total Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the highest score for rou... |
### Context: CREATE TABLE table_204_79 (
id number,
"season" text,
"tier" number,
"division" text,
"place" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- after the 1990/91 season , which place was earned in the next season ?
### Query: SELECT "plac... |
### Context: CREATE TABLE table_52445 (
"Year" real,
"Network" text,
"Lap-by-lap" text,
"Color commentator(s)" text,
"Pit reporters" text,
"Host" text,
"Ratings" text,
"Viewers" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What were th... |
### Context: CREATE TABLE table_34096 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Game site" text,
"Record" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- In what week was the attendance 25,000?
### Query... |
### 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_name_51 (
points INTEGER,
touchdowns INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Points is the lowest one that has Touchdowns smaller than 1?
### Query: SELECT MAX(points) FROM table_name_51 WHERE touchdowns < 1 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.