text stringlengths 197 8.39k |
|---|
### Context: CREATE TABLE table_69000 (
"Engine code" text,
"Displacement" text,
"Power, Torque@rpm" text,
"Redline (rpm)" real,
"Year" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- From what year is the engine with engine code M57D30?
### Query: ... |
### 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_25771 (
"No. in series" real,
"No. in season" real,
"Title" text,
"Directed by" text,
"Written by" text,
"Original air date" text,
"Production code" text,
"U.S. viewers (millions)" text
)
-- Using valid SQLite, answer the following questions for the tabl... |
### Context: CREATE TABLE table_name_10 (
nationality VARCHAR,
player VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is John Flatters' nationality?
### Query: SELECT nationality FROM table_name_10 WHERE player = "john flatters" |
### Context: CREATE TABLE table_name_12 (
opponent VARCHAR,
method VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent used the Ko method, and a 6-0 record?
### Query: SELECT opponent FROM table_name_12 WHERE method = "ko" AND r... |
### Context: CREATE TABLE table_34353 (
"Season" text,
"Player" text,
"Position" text,
"Nationality" text,
"Team" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What position did the kr team player play?
### Query: SELECT "Position" FROM table_3435... |
### Context: CREATE TABLE table_54498 (
"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.
-- Which Date has a Venue of junction ... |
### Context: CREATE TABLE table_204_455 (
id number,
"rd." number,
"grand prix" text,
"date" text,
"location" text,
"pole position" text,
"fastest lap" text,
"winning driver" text,
"constructor" text,
"report" text
)
-- Using valid SQLite, answer the following questions for the... |
### Context: CREATE TABLE table_17288825_10 (
high_points VARCHAR,
location_attendance VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many different items appear in the high points column when the location attendance was US Airways Center 18,422?
### Qu... |
### Context: CREATE TABLE table_65416 (
"Branding" text,
"Call-Sign" text,
"Frequency" text,
"Power (kw)" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What's the call sign if the branding is 1062 DXKI Koronadal?
### Query: SELECT... |
### Context: CREATE TABLE table_name_16 (
series VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which series was won by Paul Morris?
### Query: SELECT series FROM table_name_16 WHERE winner = "paul morris" |
### Context: CREATE TABLE table_64271 (
"Period" text,
"Internet Explorer" text,
"Chrome" text,
"Firefox" text,
"Safari" text,
"Opera" text,
"Other Mozilla" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What period has 0.25% as the other mo... |
### Context: CREATE TABLE table_17510803_2 (
club VARCHAR,
points VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many clubs have 62 points?
### Query: SELECT COUNT(club) FROM table_17510803_2 WHERE points = "62" |
### Context: CREATE TABLE ship (
ship_id number,
name text,
type text,
nationality text,
tonnage number
)
CREATE TABLE mission (
mission_id number,
ship_id number,
code text,
launched_year number,
location text,
speed_knots number,
fate text
)
-- Using valid SQLite, an... |
### Context: CREATE TABLE lab (
subject_id text,
hadm_id text,
itemid text,
charttime text,
flag text,
value_unit text,
label text,
fluid text
)
CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE... |
### Context: CREATE TABLE table_71849 (
"7:00" text,
"7:30" text,
"8:00" text,
"8:30" text,
"9:00" text,
"9:30" text,
"10:00" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What show comes on at 9:00 on the channel that shows the Insider at ... |
### Context: CREATE TABLE table_name_71 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What score has october 16, 2000 as the date?
### Query: SELECT score FROM table_name_71 WHERE date = "october 16, 2000" |
### Context: CREATE TABLE VoteTypes (
Id number,
Name text
)
CREATE TABLE SuggestedEditVotes (
Id number,
SuggestedEditId number,
UserId number,
VoteTypeId number,
CreationDate time,
TargetUserId number,
TargetRepChange number
)
CREATE TABLE Tags (
Id number,
TagName text,
... |
### Context: 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,
outtime time
)
CREATE TABLE prescriptions (
row_id number,
subject_id ... |
### Context: CREATE TABLE table_name_34 (
position INTEGER,
drawn VARCHAR,
played VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has Drawn larger than 1, and a Played smaller than 14?
### Query: SELECT MAX(position) FROM table_name_34 WHE... |
### Context: CREATE TABLE table_56916 (
"Year" text,
"2010" real,
"2009" real,
"2008" real,
"2005" real,
"2000" real
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sum of 2010 for 2000 of 17 and 2005 more than 16
### Query: SELECT SUM("2010... |
### 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 SportsInfo (
StuID INTEGER,
SportName VARCHAR(32),
HoursPerWeek INTEGER,
GamesPlayed INTEGER,
OnScholarship VARCHAR(1)
)
CREATE TABLE Student (
StuID INTEGER,
LName VARCHAR(12),
Fname VARCHAR(12),
Age INTEGER,
Sex VARCHAR(1),
Major INTEGER,
Advi... |
### Context: CREATE TABLE table_19463 (
"Rnd" real,
"Race Name" text,
"Circuit" text,
"City/Location" text,
"Date" text,
"Pole position" text,
"Fastest lap" text,
"Winning driver" text,
"Winning team" text,
"Report" text
)
-- Using valid SQLite, answer the following questions f... |
### Context: CREATE TABLE table_name_54 (
date_of_replacement VARCHAR,
reason_of_departure VARCHAR,
team VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- On what date did the manager for PSIS Semarang take over for the manager that was sacked?
### Query: ... |
### Context: CREATE TABLE table_55964 (
"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 Venue had Carlton has the Away... |
### 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_12321870_32 (
goals VARCHAR,
player_name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many goals have been scored by Tiago Gomes?
### Query: SELECT goals FROM table_12321870_32 WHERE player_name = "Tiago Gomes" |
### Context: CREATE TABLE list (
grade VARCHAR,
classroom VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.
### Query: SELECT grade,... |
### Context: CREATE TABLE record (
ID int,
Result text,
Swimmer_ID int,
Event_ID int
)
CREATE TABLE event (
ID int,
Name text,
Stadium_ID int,
Year text
)
CREATE TABLE stadium (
ID int,
name text,
Capacity int,
City text,
Country text,
Opening_year int
)
CREATE... |
### Context: CREATE TABLE table_572 (
"Club" text,
"Played" text,
"Won" text,
"Drawn" text,
"Lost" text,
"Points for" text,
"Points against" text,
"Tries for" text,
"Tries against" text,
"Try bonus" text,
"Losing bonus" text,
"Points" text
)
-- Using valid SQLite, answe... |
### Context: CREATE TABLE table_name_15 (
pick VARCHAR,
school VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which pick was from Lamar High School?
### Query: SELECT pick FROM table_name_15 WHERE school = "lamar high school" |
### Context: CREATE TABLE table_name_28 (
winner VARCHAR,
jockey VARCHAR,
owner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- which winner has a jockery containing jerry bailey and the owner of overbrook farm?
### Query: SELECT winner FROM table_name_2... |
### 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_97 (
silver VARCHAR,
gold VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many silver metals are possessed by countries with 2 gold medals?
### Query: SELECT COUNT(silver) FROM table_name_97 WHERE gold = 2 |
### Context: CREATE TABLE table_19917 (
"Series Ep." text,
"Episode" real,
"Segment A" text,
"Segment B" text,
"Segment C" text,
"Segment D" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the number of episods for segment c being s oyster
... |
### Context: CREATE TABLE table_203_222 (
id number,
"category" text,
"#" number,
"name" text,
"hanzi" text,
"hanyu pinyin" text,
"population (2010 census)" number,
"area (km2)" number,
"density (/km2)" number
)
-- Using valid SQLite, answer the following questions for the tables p... |
### Context: CREATE TABLE PostTypes (
Id number,
Name text
)
CREATE TABLE PostLinks (
Id number,
CreationDate time,
PostId number,
RelatedPostId number,
LinkTypeId number
)
CREATE TABLE PostNoticeTypes (
Id number,
ClassId number,
Name text,
Body text,
IsHidden boolean,... |
### Context: CREATE TABLE table_name_74 (
total VARCHAR,
year_won VARCHAR,
to_par VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the total of the player who won before 1991 and has a to par less than 14?
### Query: SELECT COUNT(total) FROM table... |
### Context: CREATE TABLE table_name_43 (
source VARCHAR,
chrome VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which source reported 32.60% of browsers used Chrome?
### Query: SELECT source FROM table_name_43 WHERE chrome = "32.60%" |
### Context: CREATE TABLE table_name_73 (
score VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the score for the April 12 game?
### Query: SELECT score FROM table_name_73 WHERE date = "april 12" |
### Context: CREATE TABLE table_17085981_2 (
date_of_appointment VARCHAR,
outgoing_manager VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the date of appointment when J rgen Kohler was the outgoing manager?
### Query: SELECT date_of_appointment FRO... |
### Context: CREATE TABLE table_67576 (
"Status" text,
"Name" text,
"First Performance" text,
"Last Performance" text,
"Style" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had a last performance of 3 july 2011?
### Query: SELECT "Name" FROM t... |
### Context: CREATE TABLE tags (
index number,
id number,
tag text
)
CREATE TABLE torrents (
groupname text,
totalsnatched number,
artist text,
groupyear number,
releasetype text,
groupid number,
id number
)
-- Using valid SQLite, answer the following questions for the tables ... |
### Context: CREATE TABLE procedures_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_locati... |
### 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 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 hz_info_mzjzjlb (
JZLSH number,
YLJGDM number,
mzjzjlb_id number
)
CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text
)
CREATE TABLE jybgb (
BBCJBW text,
BBDM text,
BBMC text,
BBZT number,
BGDH text,
BGJGDM text,
BGJGMC ... |
### Context: CREATE TABLE table_204_344 (
id number,
"player" text,
"games played" number,
"field goals" number,
"free throws" number,
"points" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- who had the most points scored for the 191617 illino... |
### Context: CREATE TABLE table_204_235 (
id number,
"season" text,
"team" text,
"country" text,
"competition" text,
"matches" number,
"goals" number
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what country is team djurg rdens if not from ?
#... |
### Context: CREATE TABLE table_name_75 (
score VARCHAR,
result VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT SCORE HAD A LOSS AND RECORD OF 1-1?
### Query: SELECT score FROM table_name_75 WHERE result = "loss" AND record = "1-1" |
### Context: CREATE TABLE table_16647 (
"#" real,
"Episode" text,
"Air Date" text,
"Rating" text,
"Share" real,
"Rating/Share 18\u201349" text,
"Viewers (m)" text,
"Timeslot Rank" real,
"Night Rank" text,
"Overall Rank" real
)
-- Using valid SQLite, answer the following questio... |
### Context: CREATE TABLE table_name_52 (
team VARCHAR,
position_in_table VARCHAR,
manner_of_departure VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What Team's Pre-Season Manager's manner of departure was the end of tenure as caretaker?
### Query: SEL... |
### Context: CREATE TABLE table_name_15 (
bronze INTEGER,
rank VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the high bronze total for nations ranked 12?
### Query: SELECT MAX(bronze) FROM table_name_15 WHERE rank = "12" |
### 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 film_market_estimation (
Estimation_ID int,
Low_Estimate real,
High_Estimate real,
Film_ID int,
Type text,
Market_ID int,
Year int
)
CREATE TABLE film (
Film_ID int,
Title text,
Studio text,
Director text,
Gross_in_dollar int
)
CREATE TABLE mar... |
### 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_47685 (
"Rider" text,
"Manufacturer" text,
"Laps" text,
"Time/Retired" text,
"Grid" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- WHAT IS THE MANUFACTURER WITH 24 LAPS AND GRID 27?
### Query: SELECT "Manufacturer" F... |
### Context: CREATE TABLE people (
People_ID int,
District text,
Name text,
Party text,
Age int
)
CREATE TABLE debate_people (
Debate_ID int,
Affirmative int,
Negative int,
If_Affirmative_Win bool
)
CREATE TABLE debate (
Debate_ID int,
Date text,
Venue text,
Num_of_... |
### Context: CREATE TABLE table_204_948 (
id number,
"year" number,
"award" text,
"category" text,
"film" text,
"result" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- how many results are indicated as won ?
### Query: SELECT COUNT("result") FR... |
### Context: CREATE TABLE table_72988 (
"Game" real,
"Date" text,
"Opponent" text,
"Result" text,
"Raiders points" real,
"Opponents" real,
"Raiders first downs" real,
"Record" text,
"Attendance" real
)
-- Using valid SQLite, answer the following questions for the tables provided ab... |
### Context: CREATE TABLE table_name_12 (
Id VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What was the position for 2008, where 2012 was q1, and 2010 was 1r?
### Query: SELECT 2008 FROM table_name_12 WHERE 2012 = "q1" AND 2010 = "1r" |
### Context: CREATE TABLE table_28889 (
"District" text,
"Incumbent" text,
"Party" text,
"First elected" text,
"Result" text,
"Candidates" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Samuel Smith's party?
### Query: SELECT "Party" FR... |
### Context: CREATE TABLE table_16387700_1 (
crowd INTEGER,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the most crowd for saturday 16 february
### Query: SELECT MAX(crowd) FROM table_16387700_1 WHERE date = "Saturday 16 February" |
### Context: CREATE TABLE Engineer_Visits (
engineer_visit_id INTEGER,
contact_staff_id INTEGER,
engineer_id INTEGER,
fault_log_entry_id INTEGER,
fault_status VARCHAR(10),
visit_start_datetime DATETIME,
visit_end_datetime DATETIME,
other_visit_details VARCHAR(255)
)
CREATE TABLE Fault_L... |
### Context: CREATE TABLE table_name_90 (
location VARCHAR,
call_sign VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Location has a Call sign of cjtw-fm?
### Query: SELECT location FROM table_name_90 WHERE call_sign = "cjtw-fm" |
### Context: CREATE TABLE table_9262 (
"Date" text,
"Event" text,
"Home Team" text,
"Away Team" text,
"Score" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which away team played on June 9, 2015 with a home team of f1?
### Query: SELECT "Away Team... |
### 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 jybgb (
BBCJBW text,... |
### Context: CREATE TABLE table_name_31 (
opponent VARCHAR,
record VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What opponent does she fight when she is 10-1?
### Query: SELECT opponent FROM table_name_31 WHERE record = "10-1" |
### Context: CREATE TABLE table_name_17 (
position VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Which Position has a Name of john taft?
### Query: SELECT position FROM table_name_17 WHERE name = "john taft" |
### Context: CREATE TABLE table_14345690_15 (
series VARCHAR,
main_presenter VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What series have Caroline Flack as a main presenter?
### Query: SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline... |
### Context: CREATE TABLE ReviewTaskResults (
Id number,
ReviewTaskId number,
ReviewTaskResultTypeId number,
CreationDate time,
RejectionReasonId number,
Comment text
)
CREATE TABLE FlagTypes (
Id number,
Name text,
Description text
)
CREATE TABLE SuggestedEdits (
Id number,
... |
### Context: CREATE TABLE table_name_88 (
transfer_fee VARCHAR,
transfer_window VARCHAR,
name VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the transfer fee with a transfer window of summer for schollen
### Query: SELECT transfer_fee FROM table_na... |
### Context: CREATE TABLE Claims (
Claim_ID INTEGER,
Policy_ID INTEGER,
Date_Claim_Made DATE,
Date_Claim_Settled DATE,
Amount_Claimed INTEGER,
Amount_Settled INTEGER
)
CREATE TABLE Customers (
Customer_ID INTEGER,
Customer_Details VARCHAR(255)
)
CREATE TABLE Settlements (
Settlemen... |
### 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 countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE jobs (
JOB_ID varchar(10... |
### 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 Elimination (
Elimination_ID text,
Wrestler_ID text,
Team text,
Eliminated_By text,
Elimination_Move text,
Time text
)
CREATE TABLE wrestler (
Wrestler_ID int,
Name text,
Reign text,
Days_held text,
Location text,
Event text
)
-- Using valid S... |
### Context: CREATE TABLE table_1164 (
"Rnd" real,
"Pick" real,
"Player name" text,
"Position" text,
"College" text,
"Height" text,
"Weight" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- How many heights does chad henne have?
### Query: SE... |
### Context: CREATE TABLE table_1613 (
"Game" real,
"Date" text,
"Opponent" 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 a... |
### Context: CREATE TABLE table_name_21 (
season INTEGER,
venue VARCHAR,
second VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the sum of season when the venue was donington park, and Brazil came in second?
### Query: SELECT SUM(season) FROM tab... |
### Context: CREATE TABLE table_13452 (
"Name" text,
"Party" text,
"Member of" text,
"First elected" text,
"Constiuency" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is Myron Walwyn with a Territorial at-large Constiuency's First Elected Date... |
### Context: CREATE TABLE table_name_82 (
team VARCHAR,
start VARCHAR,
finish VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What team had a finish of 25 in a smaller than 28?
### Query: SELECT team FROM table_name_82 WHERE start < 28 AND finish = 25 |
### Context: CREATE TABLE jobs (
JOB_ID varchar(10),
JOB_TITLE varchar(35),
MIN_SALARY decimal(6,0),
MAX_SALARY decimal(6,0)
)
CREATE TABLE countries (
COUNTRY_ID varchar(2),
COUNTRY_NAME varchar(40),
REGION_ID decimal(10,0)
)
CREATE TABLE locations (
LOCATION_ID decimal(4,0),
STRE... |
### Context: CREATE TABLE table_204_202 (
id number,
"year" number,
"tournament" text,
"venue" text,
"result" text,
"rank" text,
"event" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- did kaseorg compete in the decathlon or the heptathlon in... |
### Context: CREATE TABLE table_name_79 (
floors INTEGER,
building_type VARCHAR,
sr_no VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the least floors when the building type is residential and the sr no is 8?
### Query: SELECT MIN(floors) FROM t... |
### Context: CREATE TABLE table_22713796_14 (
sprint_classification VARCHAR,
winner VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Name the sprint classification being alejandro valverde
### Query: SELECT sprint_classification FROM table_22713796_14 WHERE w... |
### Context: CREATE TABLE table_27901 (
"meas. num" real,
"passed" text,
"YES votes" real,
"NO votes" real,
"% YES" text,
"Const. Amd.?" text,
"type" text,
"description" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the lowest o... |
### Context: CREATE TABLE zzmzjzjlb (
HXPLC number,
HZXM text,
JLSJ time,
JZJSSJ time,
JZKSBM text,
JZKSMC text,
JZKSRQ time,
JZLSH number,
JZZDBM text,
JZZDSM text,
JZZTDM number,
JZZTMC text,
KH text,
KLX number,
MJZH text,
ML number,
MZZYZDZZBM text... |
### 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 locations (
LOCATION_ID decimal(4,0),
STREET_ADDRESS varchar(40),
POSTAL_CODE varchar(12),
CITY varchar(30),
STATE_PROVIN... |
### Context: CREATE TABLE ReviewRejectionReasons (
Id number,
Name text,
Description text,
PostTypeId number
)
CREATE TABLE Tags (
Id number,
TagName text,
Count number,
ExcerptPostId number,
WikiPostId number
)
CREATE TABLE ReviewTasks (
Id number,
ReviewTaskTypeId number,... |
### Context: CREATE TABLE d_labitems (
row_id number,
itemid number,
label text
)
CREATE TABLE labevents (
row_id number,
subject_id number,
hadm_id number,
itemid number,
charttime time,
valuenum number,
valueuom text
)
CREATE TABLE d_icd_diagnoses (
row_id number,
icd... |
### Context: CREATE TABLE table_66436 (
"Class" text,
"Wheel arrangement" text,
"Fleet number(s)" text,
"Manufacturer" text,
"Serial numbers" text,
"Year made" text,
"Quantity made" text,
"Quantity preserved" text,
"Year(s) retired" text
)
-- Using valid SQLite, answer the followin... |
### Context: CREATE TABLE table_59737 (
"Year" text,
"Winner" text,
"Runner-up" text,
"Venue" text,
"Location" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- Who is the winner in des moines, iowa where p.h. finkbank was the runner-up?
### Query: SE... |
### Context: CREATE TABLE d_items (
row_id number,
itemid number,
label text,
linksto text
)
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,... |
### Context: CREATE TABLE table_27755603_7 (
high_rebounds VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- For how many games on December 19 is there information on who scored the most rebounds?
### Query: SELECT COUNT(high_rebounds) FROM table... |
### Context: CREATE TABLE procedures (
subject_id text,
hadm_id text,
icd9_code text,
short_title text,
long_title text
)
CREATE TABLE demographic (
subject_id text,
hadm_id text,
name text,
marital_status text,
age text,
dob text,
gender text,
language text,
rel... |
### Context: CREATE TABLE table_203_545 (
id number,
"single/ep" text,
"release date" text,
"label" text,
"format(s)" text,
"uk singles chart position" number,
"notes" text
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- what is the difference in ... |
### Context: CREATE TABLE hz_info (
KH text,
KLX number,
RYBH text,
YLJGDM text,
person_info_CSD text,
person_info_CSRQ time,
person_info_GJDM text,
person_info_GJMC text,
person_info_JGDM text,
person_info_JGMC text,
person_info_MZDM text,
person_info_MZMC text,
pers... |
### Context: CREATE TABLE airport (
airport_code varchar,
airport_name text,
airport_location text,
state_code varchar,
country_name varchar,
time_zone_code varchar,
minimum_connect_time int
)
CREATE TABLE food_service (
meal_code text,
meal_number int,
compartment text,
mea... |
### Context: CREATE TABLE table_29033869_3 (
round INTEGER,
opponent VARCHAR,
date VARCHAR
)
-- Using valid SQLite, answer the following questions for the tables provided above.
-- What is the round number of the round against melbourne on saturday, 4 april 2:10pm?
### Query: SELECT MIN(round) FROM tabl... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.