text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_name_49 (
points INTEGER,
goals_against VARCHAR,
games VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the most points when the goals against are 354 and games less than 82?
### Query: SELECT MAX(points) FROM table... |
### Context: CREATE TABLE table_name_9 (
time VARCHAR,
city VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the time in Baltimore?
### Query: SELECT time FROM table_name_9 WHERE city = "baltimore" |
### Context: CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
meal_description ... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE intakeoutput (
intakeoutputid number,
patientunitstayid number,
cellpath text,
celllabel text,
cellvaluenumeric number,
int... |
### Context: CREATE TABLE table_name_60 (
round INTEGER,
nfl_club VARCHAR,
pick VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of the round of the new york jets NFL club, which has a pick less than 166?
### Query: SELECT SUM(round) FROM ... |
### Context: CREATE TABLE table_2701625_1 (
male_life_expectancy INTEGER,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most male life expectancy for pakistan
### Query: SELECT MAX(male_life_expectancy) FROM table_2701625_1 WHERE country =... |
### Context: CREATE TABLE course_offering (
offering_id int,
course_id int,
semester int,
section_number int,
start_time time,
end_time time,
monday varchar,
tuesday varchar,
wednesday varchar,
thursday varchar,
friday varchar,
saturday varchar,
sunday varchar,
ha... |
### Context: CREATE TABLE table_name_86 (
artist VARCHAR,
record_label VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Artist has a Record label of vertigo?
### Query: SELECT artist FROM table_name_86 WHERE record_label = "vertigo" |
### Context: CREATE TABLE table_16494599_1 (
nationality VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What nationality is the player who went to school at South Florida?
### Query: SELECT nationality FROM table_16494599_1 WHERE s... |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
Belong... |
### Context: CREATE TABLE student (
city_code VARCHAR,
age INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Find the number and average age of students living in each city.
### Query: SELECT COUNT(*), AVG(age), city_code FROM student GROUP BY city_code |
### Context: CREATE TABLE table_22332 (
"District" text,
"s Barangay" real,
"Population (2010 census)" real,
"Area ( has .)" text,
"Pop. density (per km2)" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the population (2010 census) if s bara... |
### 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_39 (
runner_up VARCHAR,
year VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the runner-up in 1887 competition for 'Articles with HCards'?
### Query: SELECT runner_up FROM table_name_39 WHERE year = 1887 |
### Context: CREATE TABLE table_70703 (
"Model" text,
"Floating point" text,
"Decimal" text,
"Byte string" text,
"Memory map" text,
"Max memory (kwords)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What model has both a standard byte string a... |
### Context: CREATE TABLE table_62793 (
"Name" text,
"Population (2011)" real,
"Population (2006)" real,
"Change (%)" real,
"Land area (km\u00b2)" real,
"Population density (per km\u00b2)" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How much ... |
### 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 mzjzjlb (
YLJGDM text,
JZLSH text,
KH text,
KLX number,
MJZH text,
HZXM text,
NLS number,
NLY number,
ZSEBZ number,
JZZTDM number,
JZZTMC text,
JZJSSJ time,
TXBZ number,
ZZBZ number,
WDBZ number,
JZKSBM text,
JZKSMC text,
... |
### Context: CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResultTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
... |
### Context: CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
Ta... |
### Context: CREATE TABLE train_station (
Train_ID int,
Station_ID int
)
CREATE TABLE station (
Station_ID int,
Name text,
Annual_entry_exit real,
Annual_interchanges real,
Total_Passengers real,
Location text,
Main_Services text,
Number_of_Platforms int
)
CREATE TABLE train (
... |
### 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 Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
Dele... |
### Context: CREATE TABLE table_41396 (
"Week" real,
"Date" text,
"Result" text,
"Record" text,
"Opponent" text,
"Points For" real,
"Points Against" real,
"First Downs" real,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
service_name text
)
CREATE TABLE equipment_sequence (
aircraft_code_sequence varchar,
aircraft_code varchar
)
CREATE TABLE compartment_class (
compartment... |
### Context: CREATE TABLE table_13619105_4 (
high_points VARCHAR,
high_assists VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who had the high point total when dee brown (5) had the high assist total?
### Query: SELECT high_points FROM table_13619105_4 WHER... |
### Context: CREATE TABLE job_history (
EMPLOYEE_ID decimal(6,0),
START_DATE date,
END_DATE date,
JOB_ID varchar(10),
DEPARTMENT_ID decimal(4,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROV... |
### 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_6286 (
"Round" text,
"Date" text,
"Opponent" text,
"Venue" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where was the game with a result of won 5-0?
### Query: SELECT "Venue" F... |
### Context: CREATE TABLE table_204_229 (
id number,
"property" text,
"test method" text,
"units" text,
"4275" text,
"4301" text,
"4435" text,
"4630" text,
"4645" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what are the number of ... |
### 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_51423 (
"Date" text,
"Venue" text,
"Score" text,
"Result" text,
"Competition" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue of the match that had a win result and a score of 0-4 in the 2002 Tiger Cu... |
### Context: CREATE TABLE person_info (
CSD text,
CSRQ time,
GJDM text,
GJMC text,
JGDM text,
JGMC text,
MZDM text,
MZMC text,
RYBH text,
XBDM number,
XBMC text,
XLDM text,
XLMC text,
XM text,
ZYLBDM text,
ZYMC text
)
CREATE TABLE wdmzjzjlb (
HXPLC nu... |
### Context: CREATE TABLE table_67104 (
"Ship" text,
"Length" text,
"Passengers" real,
"Speed" text,
"Built" real,
"Company" text,
"Registry" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What company built the ship named excellent in 1998?... |
### Context: CREATE TABLE table_74882 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which District has a Result of Re-elected and a First Elected of 1898?
### Query:... |
### Context: CREATE TABLE date_day (
month_number int,
day_number int,
year int,
day_name varchar
)
CREATE TABLE ground_service (
city_code text,
airport_code text,
transport_type text,
ground_fare int
)
CREATE TABLE airport_service (
city_code varchar,
airport_code varchar,
... |
### Context: CREATE TABLE table_name_64 (
score VARCHAR,
home VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Home of kings had what score?
### Query: SELECT score FROM table_name_64 WHERE home = "kings" |
### Context: CREATE TABLE table_61003 (
"Date" text,
"Opponent" text,
"Home/Away" text,
"Field" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What field resulted with w 18-12?
### Query: SELECT "Field" FROM table_61003 WHERE "Result... |
### Context: CREATE TABLE table_11066 (
"Name" text,
"Club" text,
"Date of departure" text,
"Replacement" text,
"Date of appointment" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the club with date of appointment of 1 november 2007
### Query... |
### Context: CREATE TABLE state (
state_code text,
state_name text,
country_name text
)
CREATE TABLE code_description (
code varchar,
description text
)
CREATE TABLE dual_carrier (
main_airline varchar,
low_flight_number int,
high_flight_number int,
dual_airline varchar,
servic... |
### Context: CREATE TABLE chartevents (
row_id number,
subject_id number,
hadm_id number,
icustay_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE patients (
row_id number,
subject_id number,
gender text,
dob time,
dod time
)
C... |
### Context: CREATE TABLE table_15918 (
"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_name_92 (
director_s_ VARCHAR,
film_title_used_in_nomination VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the director of Cannibal vegetarian, which is the film title used in nomination?
### Query: SELECT director_s_... |
### Context: CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term varchar,
test_id varchar
)
CREATE TABLE comment_instructor (
instructor_id int,
student_id int,
s... |
### Context: CREATE TABLE table_20402 (
"Player" text,
"Matches" real,
"Overs" text,
"Maidens" real,
"Runs" real,
"Wickets" real,
"Average" text,
"Economy" text,
"5w" real,
"10w" real,
"Best Bowling" text
)
-- Using valid SQLite, answer the following questions for the table... |
### Context: CREATE TABLE table_69859 (
"Name" text,
"Years" text,
"Gender" text,
"Area" text,
"Authority" text,
"Decile" real,
"Roll" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which years have a Decile smaller than 6, an Area of te kui... |
### Context: CREATE TABLE table_2679061_1 (
college_junior_club_team VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the college/junior/club team for the player alfie turcotte?
### Query: SELECT college_junior_club_team FROM table_267... |
### Context: CREATE TABLE table_40065 (
"Year" real,
"Venue" text,
"City" text,
"State" text,
"Host" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the venue in 2011, when the state is California?
### Query: SELECT "Venue" FROM table_40065 ... |
### 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 Votes (
Id number,
PostId number,
VoteTypeId number,
UserId number,
CreationDate time,
BountyAmount number
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
... |
### Context: CREATE TABLE table_15417439_1 (
length VARCHAR,
genus_species VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For the genus/species arabidopsis thaliana, what are the lengths?
### Query: SELECT length FROM table_15417439_1 WHERE genus_species = ... |
### Context: CREATE TABLE table_53697 (
"Driver" text,
"Constructor" text,
"Laps" real,
"Time/Retired" text,
"Grid" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Grid has a Driver of johnny dumfries?
### Query: SELECT "Grid" FROM table_53697... |
### Context: CREATE TABLE table_name_84 (
college_junior_club_team__league_ VARCHAR,
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which College/Junior/Club Team has a Nationality of Canada and Jeff brown?
### Query: SELECT ... |
### 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 Subjects (
subject_id INTEGER,
subject_name VARCHAR(120)
)
CREATE TABLE Course_Authors_and_Tutors (
author_id INTEGER,
author_tutor_ATB VARCHAR(3),
login_name VARCHAR(40),
password VARCHAR(40),
personal_name VARCHAR(80),
middle_name VARCHAR(80),
family_name... |
### Context: CREATE TABLE station (
id number,
name text,
lat number,
long number,
dock_count number,
city text,
installation_date text
)
CREATE TABLE weather (
date text,
max_temperature_f number,
mean_temperature_f number,
min_temperature_f number,
max_dew_point_f numb... |
### 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 PostHistoryTypes (
Id number,
Name text
)
CREATE TABLE Badges (
Id number,
UserId number,
Name text,
Date time,
Class number,
TagBased boolean
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,
CreationDate time,
DeletionDate time... |
### 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 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 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_15 (
transmitting_from VARCHAR,
coverage VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Where is the station with a coverage of yucat n quintana roo campeche transmitting from?
### Query: SELECT transmitting_from FROM ta... |
### Context: CREATE TABLE table_15346 (
"Sydney" text,
"Melbourne" text,
"Perth" text,
"Adelaide" text,
"Gold Coast" text,
"Auckland" text
)
-- 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 ... |
### Context: CREATE TABLE table_22966 (
"Year" real,
"Division" real,
"League" text,
"Regular Season" text,
"Playoffs" text,
"U.S. Open Cup" text,
"Avg. Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year at the US Open Cup ... |
### 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 jybgb (
YLJGDM text,
YLJGDM_MZJZJLB text,
YLJGDM_ZYJZJLB text,
BGDH text,
BGRQ time,
JYLX number,
JZLSH text,
JZLSH_MZJZJLB text,
JZLSH_ZYJZJLB text,
JZLX number,
KSBM text,
KSMC text,
SQRGH text,
SQRXM text,
BGRGH text,
BGRXM tex... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE lab (
labid number,
patientunitstayid number,
labname text,
labresult number,
labresulttime time
)
CREATE TABLE intakeoutput (... |
### Context: CREATE TABLE table_name_56 (
tyres VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which tyres received 8 points?
### Query: SELECT tyres FROM table_name_56 WHERE points = 8 |
### 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 Users (
Id number,
Reputation number,
CreationDate time,
DisplayName text,
LastAccessDate time,
WebsiteUrl text,
Location text,
AboutMe text,
Views number,
UpVotes number,
DownVotes number,
ProfileImageUrl text,
EmailHash text,
AccountId ... |
### Context: CREATE TABLE table_22662 (
"Doctor" text,
"Season" text,
"Story no." text,
"Serial" text,
"Number of episodes" text,
"Total footage remaining from missing episodes (mm:ss)" text,
"Missing episodes with recovered footage" text,
"Country/Territory" text,
"Source" text,
... |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE CloseReasonTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Bod... |
### 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_74206 (
"Series #" real,
"Season #" text,
"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.
-- Who wrote episo... |
### Context: CREATE TABLE table_35092 (
"Year" text,
"Best Film" text,
"Best Director" text,
"Best Actor" text,
"Best Actress" text,
"Best Supporting Actress" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Best Film has a Best Supporting A... |
### Context: CREATE TABLE table_68105 (
"Player" text,
"Wkts" real,
"Runs" real,
"Econ" real,
"Ovrs" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- If the Ovrs is less than 2, what's the average in Wkts?
### Query: SELECT AVG("Wkts") FROM table_681... |
### Context: CREATE TABLE table_name_35 (
bronze INTEGER,
silver VARCHAR,
total VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest bronze number when silver shows 2, and the total is 8?
### Query: SELECT MIN(bronze) FROM table_name_35 WHE... |
### 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 paperkeyphrase (
paperid int,
... |
### 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_name_50 (
remixed_by VARCHAR,
album VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who remixed an album of dance remixes?
### Query: SELECT remixed_by FROM table_name_50 WHERE album = "dance remixes" |
### Context: CREATE TABLE table_name_86 (
order_year VARCHAR,
length__ft_ VARCHAR,
model VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What order year has a 30 Length (ft.) and 05.505 model?
### Query: SELECT order_year FROM table_name_86 WHERE length_... |
### Context: CREATE TABLE table_71200 (
"Sport" text,
"Event" text,
"Nation" text,
"Gold" text,
"Silver" text,
"Bronze" text,
"Total" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the winner of gold that also has 1 in the sport of c... |
### Context: CREATE TABLE table_25391981_3 (
number_of_dances VARCHAR,
average VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the number of dances for the team that averages 20.6?
### Query: SELECT number_of_dances FROM table_25391981_3 WHERE averag... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
C... |
### 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 drivers (
driverid VARCHAR,
forename VARCHAR
)
CREATE TABLE results (
raceid VARCHAR,
driverid VARCHAR
)
CREATE TABLE races (
name VARCHAR,
year VARCHAR,
raceid VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Gi... |
### Context: CREATE TABLE table_20466963_13 (
presenter VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the presenter 11 may
### Query: SELECT presenter FROM table_20466963_13 WHERE date = "11 May" |
### Context: CREATE TABLE ReviewTaskTypes (
Id number,
Name text,
Description text
)
CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
Belong... |
### Context: CREATE TABLE table_9900 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location" text,
"Attendance" real,
"Record" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest Game, when Loca... |
### Context: CREATE TABLE CloseAsOffTopicReasonTypes (
Id number,
IsUniversal boolean,
InputTitle text,
MarkdownInputGuidance text,
MarkdownPostOwnerGuidance text,
MarkdownPrivilegedUserGuidance text,
MarkdownConcensusDescription text,
CreationDate time,
CreationModeratorId number,
... |
### Context: CREATE TABLE station_company (
Station_ID int,
Company_ID int,
Rank_of_the_Year int
)
CREATE TABLE gas_station (
Station_ID int,
Open_Year int,
Location text,
Manager_Name text,
Vice_Manager_Name text,
Representative_Name text
)
CREATE TABLE company (
Company_ID in... |
### Context: CREATE TABLE people (
People_ID int,
Name text,
Height real,
Weight real,
Date_of_Birth text
)
CREATE TABLE entrepreneur (
Entrepreneur_ID int,
People_ID int,
Company text,
Money_Requested real,
Investor text
)
-- Using valid SQLite, answer the following questions... |
### Context: CREATE TABLE table_name_55 (
winning_driver VARCHAR,
winning_team VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the Winning Driver that has a Winning team of Engstler Motorsport Engstler Motorsport and also the Date 22 ... |
### Context: CREATE TABLE admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_type text,
admission_location text,
discharge_location text,
insurance text,
language text,
marital_status text,
ethnicity text,
age numb... |
### Context: CREATE TABLE table_name_38 (
tournament VARCHAR,
country VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the tournament when the country is united states?
### Query: SELECT tournament FROM table_name_38 WHERE country = "united states" |
### Context: CREATE TABLE allergy (
allergyid number,
patientunitstayid number,
drugname text,
allergyname text,
allergytime time
)
CREATE TABLE treatment (
treatmentid number,
patientunitstayid number,
treatmentname text,
treatmenttime time
)
CREATE TABLE medication (
medicati... |
### Context: CREATE TABLE table_name_27 (
team_1 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the 2nd leg score between Patronage Sainte-Anne and Asante Kotoko?
### Query: SELECT 2 AS nd_leg FROM table_name_27 WHERE team_1 = "asante kotoko" |
### Context: CREATE TABLE table_48106 (
"Rank" real,
"Title" text,
"Studio" text,
"Director" text,
"Worldwide Gross" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the worldwide gross for the film directed by joe pytka?
### Query: SELECT "... |
### 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 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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.