text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_36385 (
"Series Ep." text,
"Episode" real,
"Netflix" text,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What largest episode number's Netflix... |
### Context: CREATE TABLE table_62185 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What visiting team has a record of 4-3?
### Query: SELECT "Visitor" FROM table_62185 WHERE "Reco... |
### 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_19753079_12 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who are the candidates in Florida 13 district?
### Query: SELECT candidates FROM table_19753079_12 WHERE district = "Florida 13" |
### Context: CREATE TABLE table_name_37 (
week VARCHAR,
eastern__number2 VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Tell me the wekk for eastern #2 of houston
### Query: SELECT week FROM table_name_37 WHERE eastern__number2 = "houston" |
### Context: CREATE TABLE table_203_543 (
id number,
"year" text,
"show" text,
"role" text,
"channel" text,
"extra" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which show was the last to air ?
### Query: SELECT "show" FROM table_203_543 ORDE... |
### Context: CREATE TABLE table_74613 (
"Player" text,
"Nationality" text,
"Position" text,
"From" text,
"School/Country" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which player started in 2001?
### Query: SELECT "Player" FROM table_74613 WHERE... |
### 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 admissions (
row_id number,
subject_id number,
hadm_id number,
admittime time,
dischtime time,
admission_t... |
### Context: CREATE TABLE city (
city_code varchar,
city_name varchar,
state_code varchar,
country_name varchar,
time_zone_code varchar
)
CREATE TABLE aircraft (
aircraft_code varchar,
aircraft_description varchar,
manufacturer varchar,
basic_type varchar,
engines int,
propu... |
### Context: CREATE TABLE table_name_2 (
january INTEGER,
game VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which January has a Game of 50?
### Query: SELECT AVG(january) FROM table_name_2 WHERE game = 50 |
### Context: CREATE TABLE Comments (
Id number,
PostId number,
Score number,
Text text,
CreationDate time,
UserDisplayName text,
UserId number,
ContentLicense text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
... |
### Context: CREATE TABLE TagSynonyms (
Id number,
SourceTagName text,
TargetTagName text,
CreationDate time,
OwnerUserId number,
AutoRenameCount number,
LastAutoRename time,
Score number,
ApprovedByUserId number,
ApprovalDate time
)
CREATE TABLE VoteTypes (
Id number,
N... |
### Context: CREATE TABLE table_name_34 (
manner_of_departure VARCHAR,
replaced_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the manner of departure replaced by tita?
### Query: SELECT manner_of_departure FROM table_name_34 WHERE replaced_by =... |
### Context: CREATE TABLE table_26609958_1 (
groundwater_discharge__million_m_3__ INTEGER,
hydrographic_basin VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)?... |
### 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 table_48200 (
"Period" text,
"Team" text,
"Goal" text,
"Time" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT SCORE HAS A TIME OF 18:27?
### Query: SELECT "Score" FROM table_48200 WHERE "Time" = '18:27' |
### 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 regions (
REGION_ID decimal(5,0),
REGION_NAME varchar(25)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STREET_ADDR... |
### Context: CREATE TABLE table_26914076_3 (
us_viewers__millions_ VARCHAR,
story_by VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many viewers watched the episode with a story by david simon & mari kornhauser?
### Query: SELECT us_viewers__millions_ F... |
### Context: CREATE TABLE table_50112 (
"Date" text,
"H/A/N" text,
"Opponent" text,
"Score" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is H/A/N when Date is February 24?
### Query: SELECT "H/A/N" FROM table_50112 WHERE "Date... |
### Context: CREATE TABLE table_name_31 (
opponent VARCHAR,
surface VARCHAR,
score VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who played on clay and had a score of 6 1, 7 6?
### Query: SELECT opponent FROM table_name_31 WHERE surface = "clay" AND sc... |
### Context: CREATE TABLE table_name_24 (
outcome VARCHAR,
year VARCHAR,
opponent_in_the_final VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the outcome when the opponent in the final is william renshaw after year 1882?
### Query: SELECT outcom... |
### Context: CREATE TABLE table_57790 (
"Phoneme" text,
"Realization" text,
"Environment" text,
"Example" text,
"Gloss" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the phoneme when the realizationis [ ]
### Query: SELECT "Phoneme" FROM tabl... |
### Context: CREATE TABLE channel (
Channel_ID int,
Name text,
Owner text,
Share_in_percent real,
Rating_in_percent real
)
CREATE TABLE broadcast (
Channel_ID int,
Program_ID int,
Time_of_day text
)
CREATE TABLE program (
Program_ID int,
Name text,
Origin text,
Launch r... |
### 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 table_name_89 (
player VARCHAR,
nhl_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- I want the player for NHL team for mighty ducks of anaheim
### Query: SELECT player FROM table_name_89 WHERE nhl_team = "mighty ducks of anahei... |
### 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 prereq (
course_id varchar(8),
prereq_id varchar(8)
)
CREATE TABLE student (
ID varchar(5),
name varchar(20),
dept_name varchar(20),
tot_cred numeric(3,0)
)
CREATE TABLE teaches (
ID varchar(5),
course_id varchar(8),
sec_id varchar(8),
semester varchar... |
### Context: CREATE TABLE Customers (
Customer_ID INTEGER,
Customer_Details VARCHAR(255)
)
CREATE TABLE Settlements (
Settlement_ID INTEGER,
Claim_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER,
Customer_Policy_ID INTEGER
)
... |
### Context: CREATE TABLE certificate (
eid number(9,0),
aid number(9,0)
)
CREATE TABLE aircraft (
aid number(9,0),
name varchar2(30),
distance number(6,0)
)
CREATE TABLE flight (
flno number(4,0),
origin varchar2(20),
destination varchar2(20),
distance number(6,0),
departure_d... |
### Context: CREATE TABLE table_204_514 (
id number,
"date" text,
"sub" number,
"flight" text,
"dead" number,
"hurt" number,
"pax." number,
"type" text,
"perpetrator" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE... |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
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_tes... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE hz_info_zyjzjlb (
JZLSH number,
YLJGDM number,
zyjzjlb_id number
)
CREATE TABLE mzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZ... |
### Context: CREATE TABLE diagnosis (
diagnosisid number,
patientunitstayid number,
diagnosisname text,
diagnosistime time,
icd9code text
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### 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 table_75375 (
"Week" real,
"Date" text,
"Opponent" text,
"Result" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many attendances have w 48-10 as the result?
### Query: SELECT SUM("Attendance") FROM ... |
### Context: CREATE TABLE PostNotices (
Id number,
PostId number,
PostNoticeTypeId number,
CreationDate time,
DeletionDate time,
ExpiryDate time,
Body text,
OwnerUserId number,
DeletionUserId number
)
CREATE TABLE PostsWithDeleted (
Id number,
PostTypeId number,
Accepted... |
### Context: CREATE TABLE table_1924975_1 (
q1 VARCHAR,
q2_time VARCHAR,
q1_time VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the q1+q2 time in which q1 is 1:18.574?
### Query: SELECT q1 + q2_time FROM table_1924975_1 WHERE q1_time = "1:18.574... |
### Context: CREATE TABLE table_2668243_22 (
candidates VARCHAR,
district VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who were the 'candidate' of South Carolina 6?
### Query: SELECT candidates FROM table_2668243_22 WHERE district = "South Carolina 6" |
### 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_52 (
score VARCHAR,
opponent VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Opponent is 'Ivo Min '?
### Query: SELECT score FROM table_name_52 WHERE opponent = "ivo minář" |
### Context: CREATE TABLE PendingFlags (
Id number,
FlagTypeId number,
PostId number,
CreationDate time,
CloseReasonTypeId number,
CloseAsOffTopicReasonTypeId number,
DuplicateOfQuestionId number,
BelongsOnBaseHostAddress text
)
CREATE TABLE PostFeedback (
Id number,
PostId numb... |
### Context: CREATE TABLE table_11222744_3 (
studio VARCHAR,
catalog_number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many studios have the catalog number 'cal03 / 0091037137333'?
### Query: SELECT COUNT(studio) FROM table_11222744_3 WHERE catalog_... |
### 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 table_10322 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Attendance" real,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score when Minnesota visited?
### Query... |
### 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 submission (
Submission_ID int,
Scores real,
Author text,
College text
)
CREATE TABLE Acceptance (
Submission_ID int,
Workshop_ID int,
Result text
)
CREATE TABLE workshop (
Workshop_ID int,
Date text,
Venue text,
Name text
)
-- Using valid SQLite... |
### Context: CREATE TABLE table_68627 (
"Year" real,
"Team" text,
"Chassis" text,
"Engine" text,
"Points" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What year was a Rial Arc2 chassis used?
### Query: SELECT SUM("Year") FROM table_68627 WHERE "C... |
### Context: CREATE TABLE table_53300 (
"D 50 O" text,
"D 49 \u221a" text,
"D 48 \u221a" text,
"D 47 \u221a" text,
"D 46 \u221a" text,
"D 45 \u221a" text,
"D 44 \u221a" text,
"D 43 \u221a" text,
"D 42 \u221a" text,
"D 41 \u221a" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_name_1 (
years VARCHAR,
jersey_number_s_ INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What years was the jersey number(s) smaller than 3?
### Query: SELECT years FROM table_name_1 WHERE jersey_number_s_ < 3 |
### Context: CREATE TABLE table_11603006_1 (
score VARCHAR,
tournament VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different scores are there for the Verizon Classic?
### Query: SELECT COUNT(score) FROM table_11603006_1 WHERE tournament = "Veriz... |
### Context: CREATE TABLE table_62226 (
"Battle No." real,
"Broadcast Date" text,
"Name of Battle" text,
"Theme" text,
"Celebrities Taking Part" text,
"Winner" text,
"Runner-up" text,
"Notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-... |
### Context: CREATE TABLE table_name_22 (
framed_size VARCHAR,
date_completed VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the frame size in 08/87?
### Query: SELECT framed_size FROM table_name_22 WHERE date_completed = "08/87" |
### Context: CREATE TABLE table_name_7 (
time VARCHAR,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Time of the Rowers in Rank 1?
### Query: SELECT time FROM table_name_7 WHERE rank = 1 |
### Context: CREATE TABLE table_55585 (
"Stage (Winner)" text,
"General Classification" text,
"Mountains Classification" text,
"Points Classification" text,
"Sprints classification" text,
"Team Classification" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### Context: CREATE TABLE table_name_58 (
colour_commentator_s_ VARCHAR,
play_by_play VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the colour commentator when the play-by-play announcer was Bob Cole?
### Query: SELECT colour_commentator_s_ FROM ta... |
### Context: CREATE TABLE table_54579 (
"Week" text,
"Date" text,
"Opponent" text,
"Home/Away Game" text,
"Result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who was the opponent on week 7?
### Query: SELECT "Opponent" FROM table_54579 WHERE "W... |
### Context: CREATE TABLE restriction (
restriction_code text,
advance_purchase int,
stopovers text,
saturday_stay_required text,
minimum_stay int,
maximum_stay int,
application text,
no_discounts text
)
CREATE TABLE flight_stop (
flight_id int,
stop_number int,
stop_days te... |
### Context: CREATE TABLE microlab (
microlabid number,
patientunitstayid number,
culturesite text,
organism text,
culturetakentime time
)
CREATE TABLE cost (
costid number,
uniquepid text,
patienthealthsystemstayid number,
eventtype text,
eventid number,
chargetime time,
... |
### Context: CREATE TABLE table_10454 (
"Pick #" real,
"CFL Team" text,
"Player" text,
"Position" text,
"College" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which CFL Team has a College of montreal, and a Player of marc trepanier?
### Query: SE... |
### Context: CREATE TABLE mzjzjlb_jybgb (
YLJGDM_MZJZJLB text,
BGDH number,
YLJGDM number
)
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,
XLM... |
### Context: CREATE TABLE table_2803 (
"Season" text,
"Mittelfranken Nord" text,
"Mittelfranken S\u00fcd" text,
"Unterfranken West" text,
"Unterfranken Ost" text,
"Oberfranken West" text,
"Oberfranken Ost" text
)
-- Using valid SQLite, answer the following questions for the tables provided... |
### 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_26826304_2 (
timeslot VARCHAR,
air_date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- A what time was the title aired in October 22, 2009
### Query: SELECT timeslot FROM table_26826304_2 WHERE air_date = "October 22, 2009" |
### Context: CREATE TABLE table_17088705_2 (
interview VARCHAR,
preliminary VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Number of participants with a score 8.895 in preliminary
### Query: SELECT COUNT(interview) FROM table_17088705_2 WHERE preliminary = ... |
### Context: CREATE TABLE table_203_303 (
id number,
"tribunal" text,
"number of autos da fe" number,
"executions in persona" number,
"executions in effigie" number,
"penanced" number,
"total" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
--... |
### 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 table_12271718_1 (
station VARCHAR,
network_affiliation VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What station has a univision network affiliation?
### Query: SELECT station FROM table_12271718_1 WHERE network_affiliation = "U... |
### Context: CREATE TABLE area (
course_id int,
area varchar
)
CREATE TABLE program (
program_id int,
name varchar,
college varchar,
introduction varchar
)
CREATE TABLE ta (
campus_job_id int,
student_id int,
location varchar
)
CREATE TABLE course (
course_id int,
name var... |
### 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_17538810_10 (
lead_margin VARCHAR,
dates_administered VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different lead margins were stated in the poll administered on September 11, 2008?
### Query: SELECT COUNT(lead_mar... |
### Context: CREATE TABLE table_15761 (
"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_name_58 (
games VARCHAR,
position VARCHAR,
number VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the games number when the Position was wr, and a Number larger than 17?
### Query: SELECT COUNT(games) AS ↑ FROM tab... |
### Context: 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 TABLE Apartments (
apt_id INTEGER,
building_id INTEGER,
apt_type_code CHAR(15),
apt_number CHAR(10),
bathroom_coun... |
### Context: CREATE TABLE table_25052 (
"Rank Subcontinent" real,
"Rank Asia" real,
"Rank World" real,
"Country" text,
"2011 GDP (PPP) billions of USD" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the 2011 gdp for 65 rank world
### Query: SE... |
### Context: CREATE TABLE airports (
apid number,
name text,
city text,
country text,
x number,
y number,
elevation number,
iata text,
icao text
)
CREATE TABLE routes (
rid number,
dst_apid number,
dst_ap text,
src_apid number,
src_ap text,
alid number,
a... |
### Context: CREATE TABLE table_203_777 (
id number,
"years" text,
"building" text,
"city" text,
"height (ctbuh)" text,
"floors" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which is the only to hold the record for a year ?
### Query: SELEC... |
### Context: CREATE TABLE table_name_90 (
project_name VARCHAR,
country VARCHAR,
peak VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the Project Name with a Country that is kazakhstan and a Peak that is 150?
### Query: SELECT project_name FROM t... |
### Context: CREATE TABLE table_204_584 (
id number,
"pos" text,
"no" number,
"driver" text,
"constructor" text,
"laps" number,
"time/retired" text,
"grid" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many dr... |
### Context: CREATE TABLE Rooms (
RoomId TEXT,
roomName TEXT,
beds INTEGER,
bedType TEXT,
maxOccupancy INTEGER,
basePrice INTEGER,
decor TEXT
)
CREATE TABLE Reservations (
Code INTEGER,
Room TEXT,
CheckIn TEXT,
CheckOut TEXT,
Rate REAL,
LastName TEXT,
FirstName T... |
### Context: CREATE TABLE student (
stuid number,
lname text,
fname text,
age number,
sex text,
major number,
advisor number,
city_code text
)
CREATE TABLE voting_record (
stuid number,
registration_date text,
election_cycle text,
president_vote number,
vice_presiden... |
### Context: CREATE TABLE table_train_232 (
"id" int,
"metastatic_cancer" bool,
"hemoglobin_a1c_hba1c" float,
"diabetic" string,
"short_life_expectancy" bool,
"body_mass_index_bmi" float,
"a1c" float,
"NOUSE" float
)
-- Using valid SQLite, answer the following questions for the tables ... |
### 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_54154 (
"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 number of the crowd whe... |
### Context: CREATE TABLE table_name_48 (
dutch VARCHAR,
crimean_gothic VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Dutch word for Apel?
### Query: SELECT dutch FROM table_name_48 WHERE crimean_gothic = "apel" |
### Context: CREATE TABLE program_course (
program_id int,
course_id int,
workload int,
category varchar
)
CREATE TABLE student_record (
student_id int,
course_id int,
semester int,
grade varchar,
how varchar,
transfer_source varchar,
earn_credit varchar,
repeat_term var... |
### Context: CREATE TABLE table_name_77 (
position VARCHAR,
overall VARCHAR,
school_club_team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was Cal State-Los Angeles' position with an Overall above 22?
### Query: SELECT position FROM table_name_77... |
### Context: CREATE TABLE table_36069 (
"Place" text,
"Player" text,
"Nation" text,
"Score" text,
"To par" text,
"Money ( $ )" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for a match where Sophie Gustafson played?
### Quer... |
### Context: CREATE TABLE table_204_629 (
id number,
"first tops" text,
"second tops" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many first tops class numbers are less than 200 ?
### Query: SELECT COUNT("first tops") FROM table_204_629 WHERE "first... |
### Context: CREATE TABLE table_61240 (
"Date" text,
"Opponent#" text,
"Site" text,
"Result" text,
"Attendance" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who were the opponents when there was an attendance of 48,165?
### Query: SELECT "Opponen... |
### Context: CREATE TABLE table_name_77 (
type VARCHAR,
population VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What type has a population of 370?
### Query: SELECT type FROM table_name_77 WHERE population = 370 |
### Context: CREATE TABLE table_name_65 (
draw INTEGER,
place INTEGER
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the average Draw when the Place is larger than 5?
### Query: SELECT AVG(draw) FROM table_name_65 WHERE place > 5 |
### Context: CREATE TABLE table_46383 (
"Date" text,
"Visitor" text,
"Score" text,
"Home" text,
"Decision" text,
"Series" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Decision has a Visitor of calgary, a Score of 2 1, and a Series of 4 3... |
### Context: CREATE TABLE Player (
player_name VARCHAR,
player_api_id VARCHAR
)
CREATE TABLE Player_Attributes (
player_api_id VARCHAR,
crossing VARCHAR,
preferred_foot VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- List the names of all players... |
### Context: CREATE TABLE table_name_70 (
original_title VARCHAR,
english_title VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the Original Title of the English title A Judgement in Stone?
### Query: SELECT original_title FROM table_name_70 WHERE eng... |
### Context: CREATE TABLE table_22117 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" real,
"Results" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- During what year was Representative Spencer Bachus first e... |
### Context: CREATE TABLE table_8363 (
"Game" real,
"Date" text,
"Opponent" text,
"Score" text,
"Location/Attendance" text,
"Record" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Score, when Game is greater than 49, and when Opponent is... |
### Context: CREATE TABLE t_kc21_t_kc22 (
MED_CLINIC_ID text,
MED_EXP_DET_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_42605 (
"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 table_name_58 (
goals_against INTEGER,
points_1 VARCHAR,
drawn VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the smallest number of goals against when there are 1 of 18 points, and more than 8 are drawn?
### Query: SEL... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.