answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(stations_served) FROM table_name_39 WHERE line_color = "brown"
CREATE TABLE table_name_39 (stations_served INTEGER, line_color VARCHAR)
What route with the line color brown has the lowest number of stations served?
SELECT MAX(round) FROM table_name_10 WHERE college_junior_club_team__league_ = "torpedo yaroslavl (rus)"
CREATE TABLE table_name_10 (round INTEGER, college_junior_club_team__league_ VARCHAR)
Which Round is the highest one that has a College/Junior/Club Team (League) of torpedo yaroslavl (rus)?
SELECT SUM(round) FROM table_name_28 WHERE player = "todd fedoruk"
CREATE TABLE table_name_28 (round INTEGER, player VARCHAR)
Which Round has a Player of todd fedoruk?
SELECT COUNT(grid) FROM table_name_89 WHERE time_retired = "+1 lap" AND driver = "sébastien bourdais" AND laps > 70
CREATE TABLE table_name_89 (grid VARCHAR, laps VARCHAR, time_retired VARCHAR, driver VARCHAR)
How much Grid has a Time/Retired of +1 lap, and a Driver of sébastien bourdais, and Laps larger than 70?
SELECT SUM(laps) FROM table_name_70 WHERE driver = "david coulthard" AND grid < 14
CREATE TABLE table_name_70 (laps INTEGER, driver VARCHAR, grid VARCHAR)
How many Laps have a Driver of david coulthard, and a Grid smaller than 14?
SELECT COUNT(laps) FROM table_name_52 WHERE grid = 15
CREATE TABLE table_name_52 (laps VARCHAR, grid VARCHAR)
How many Laps have a Grid of 15?
SELECT catalogno FROM table_name_31 WHERE remark = "#160 us"
CREATE TABLE table_name_31 (catalogno VARCHAR, remark VARCHAR)
Which Catalogno was #160 us?
SELECT title FROM table_name_54 WHERE year = 1971
CREATE TABLE table_name_54 (title VARCHAR, year VARCHAR)
What title was released in 1971?
SELECT format FROM table_name_26 WHERE catalogno = "st 491"
CREATE TABLE table_name_26 (format VARCHAR, catalogno VARCHAR)
Whati s the format for the catalogno of st 491?
SELECT year FROM table_name_58 WHERE remark = "#104 us"
CREATE TABLE table_name_58 (year VARCHAR, remark VARCHAR)
What year was remark #104 us?
SELECT title FROM table_name_61 WHERE remark = "#21 us [riaa certified gold january 3, 1990]"
CREATE TABLE table_name_61 (title VARCHAR, remark VARCHAR)
What title had a remark of #21 us [riaa certified gold january 3, 1990]?
SELECT catalogno FROM table_name_31 WHERE year = 1971 AND remark = "#27 us"
CREATE TABLE table_name_31 (catalogno VARCHAR, year VARCHAR, remark VARCHAR)
What catalogno was in 1971 and had a remark of #27 us?
SELECT class_aAAAA FROM table_name_56 WHERE school_year = "1990-91"
CREATE TABLE table_name_56 (class_aAAAA VARCHAR, school_year VARCHAR)
what AAAAA class has the school year of 1990-91?
SELECT class_aAA FROM table_name_50 WHERE school_year = "1989-90"
CREATE TABLE table_name_50 (class_aAA VARCHAR, school_year VARCHAR)
what AAA class has a school year of 1989-90?
SELECT class_aA FROM table_name_46 WHERE class_aAA = commerce
CREATE TABLE table_name_46 (class_aA VARCHAR, class_aAA VARCHAR, commerce VARCHAR)
what AA class has a AAA class of commerce?
SELECT AVG(week) FROM table_name_12 WHERE opponent = "baltimore colts" AND attendance < 41 OFFSET 062
CREATE TABLE table_name_12 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
What is the average week for the game against baltimore colts with less than 41,062 in attendance?
SELECT AVG(week) FROM table_name_14 WHERE opponent = "philadelphia eagles" AND attendance < 31 OFFSET 066
CREATE TABLE table_name_14 (week INTEGER, opponent VARCHAR, attendance VARCHAR)
What was the average week for the gaime against the philadelphia eagles with less than 31,066 in attendance?
SELECT MAX(attendance) FROM table_name_27 WHERE week > 1 AND date = "november 12, 1961"
CREATE TABLE table_name_27 (attendance INTEGER, week VARCHAR, date VARCHAR)
What is the highest attendance for the game after week 1 on November 12, 1961?
SELECT result FROM table_name_37 WHERE week = 4
CREATE TABLE table_name_37 (result VARCHAR, week VARCHAR)
What was the result of the game on week 4?
SELECT MIN(round) FROM table_name_79 WHERE player = "joe patterson"
CREATE TABLE table_name_79 (round INTEGER, player VARCHAR)
What is the lowest Round of joe patterson?
SELECT school_club_team FROM table_name_16 WHERE round > 16
CREATE TABLE table_name_16 (school_club_team VARCHAR, round INTEGER)
Which School/Club Team has a Round larger than 16?
SELECT MAX(points) FROM table_name_64 WHERE position < 1
CREATE TABLE table_name_64 (points INTEGER, position INTEGER)
What is listed as the highest Points that's got a Position that's smaller than 1?
SELECT AVG(draws) FROM table_name_46 WHERE played < 18
CREATE TABLE table_name_46 (draws INTEGER, played INTEGER)
What is the Draws average that has a Played that's smaller than 18?
SELECT MIN(wins) FROM table_name_21 WHERE team = "olimpia" AND draws < 4
CREATE TABLE table_name_21 (wins INTEGER, team VARCHAR, draws VARCHAR)
What is the lowest Wins that has the Team of Olimpia and Draws that's smaller than 4?
SELECT MAX(played) FROM table_name_59 WHERE team = "cerro porteño" AND position > 1
CREATE TABLE table_name_59 (played INTEGER, team VARCHAR, position VARCHAR)
What is the highest Played that's for the Team of Cerro Porteño, with a Position that's larger than 1?
SELECT tournament FROM table_name_74 WHERE opponent = "marinko matosevic"
CREATE TABLE table_name_74 (tournament VARCHAR, opponent VARCHAR)
Which tournament included an opponent of Marinko Matosevic?
SELECT opponent FROM table_name_89 WHERE score = "6-3, 6-3"
CREATE TABLE table_name_89 (opponent VARCHAR, score VARCHAR)
Who was the opponent when the score was 6-3, 6-3?
SELECT record FROM table_name_26 WHERE home = "ny islanders"
CREATE TABLE table_name_26 (record VARCHAR, home VARCHAR)
Can you tell me the Record that has the Home of ny islanders?
SELECT record FROM table_name_42 WHERE date = "december 15"
CREATE TABLE table_name_42 (record VARCHAR, date VARCHAR)
Can you tell me the Record that has the Date of december 15?
SELECT record FROM table_name_59 WHERE home = "detroit" AND visitor = "phoenix"
CREATE TABLE table_name_59 (record VARCHAR, home VARCHAR, visitor VARCHAR)
Can you tell me the Record that has the Home of detroit, and the Visitor of phoenix?
SELECT date FROM table_name_84 WHERE visitor = "florida"
CREATE TABLE table_name_84 (date VARCHAR, visitor VARCHAR)
Can you tell me the Date that has the Visitor of florida?
SELECT position FROM table_name_39 WHERE f_laps = "test driver"
CREATE TABLE table_name_39 (position VARCHAR, f_laps VARCHAR)
Which position had f/laps that was test driver?
SELECT poles FROM table_name_47 WHERE position = "8th"
CREATE TABLE table_name_47 (poles VARCHAR, position VARCHAR)
Which poles were there for the 8th position?
SELECT races FROM table_name_40 WHERE series = "formula one" AND poles = "test driver"
CREATE TABLE table_name_40 (races VARCHAR, series VARCHAR, poles VARCHAR)
What race was there in the formula one series when there was a test driver?
SELECT AVG(extra_points_1_point) FROM table_name_22 WHERE total_points < 30 AND touchdowns__5_points_ = 5
CREATE TABLE table_name_22 (extra_points_1_point INTEGER, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
Which Extra points 1 point has a Total Points smaller than 30, and Touchdowns (5 points) of 5?
SELECT COUNT(touchdowns__5_points_) FROM table_name_50 WHERE extra_points_1_point = 0 AND field_goals__5_points_ > 0
CREATE TABLE table_name_50 (touchdowns__5_points_ VARCHAR, extra_points_1_point VARCHAR, field_goals__5_points_ VARCHAR)
How many Touchdowns (5 points) have an Extra points 1 point of 0, and a Field goals (5 points) larger than 0?
SELECT MAX(extra_points_1_point) FROM table_name_59 WHERE total_points < 8
CREATE TABLE table_name_59 (extra_points_1_point INTEGER, total_points INTEGER)
Which Extra points 1 point is the highest one that has a Total Points smaller than 8?
SELECT MIN(extra_points_1_point) FROM table_name_95 WHERE player = "walter shaw"
CREATE TABLE table_name_95 (extra_points_1_point INTEGER, player VARCHAR)
Which Extra points 1 point is the lowest one that has a Player of walter shaw?
SELECT COUNT(field_goals__5_points_) FROM table_name_59 WHERE total_points = 123 AND touchdowns__5_points_ > 13
CREATE TABLE table_name_59 (field_goals__5_points_ VARCHAR, total_points VARCHAR, touchdowns__5_points_ VARCHAR)
How many Field goals (5 points) have a Total Points of 123, and Touchdowns (5 points) larger than 13?
SELECT SUM(attendance) FROM table_name_52 WHERE decision = "parent" AND record = "42–18–10"
CREATE TABLE table_name_52 (attendance INTEGER, decision VARCHAR, record VARCHAR)
How many people attended the game with parent recording the decision and a Record of 42–18–10?
SELECT record FROM table_name_8 WHERE home = "vancouver"
CREATE TABLE table_name_8 (record VARCHAR, home VARCHAR)
What is the team's record when vancouver was at home?
SELECT opponent FROM table_name_6 WHERE date = "november 22, 1942"
CREATE TABLE table_name_6 (opponent VARCHAR, date VARCHAR)
Name the opponent on november 22, 1942
SELECT score FROM table_name_8 WHERE visitor = "green bay packers"
CREATE TABLE table_name_8 (score VARCHAR, visitor VARCHAR)
What score did the Green Bay Packers get as visitor?
SELECT home FROM table_name_56 WHERE date = "october 31"
CREATE TABLE table_name_56 (home VARCHAR, date VARCHAR)
On October 31 what team played at home?
SELECT home FROM table_name_20 WHERE date = "december 5"
CREATE TABLE table_name_20 (home VARCHAR, date VARCHAR)
On December 5 what team played their home game?
SELECT attendance FROM table_name_40 WHERE date = "october 31"
CREATE TABLE table_name_40 (attendance VARCHAR, date VARCHAR)
How many people attended the game on October 31?
SELECT nationality FROM table_name_19 WHERE player = "rob nicholson"
CREATE TABLE table_name_19 (nationality VARCHAR, player VARCHAR)
What nationality is Rob Nicholson?
SELECT college_junior_club_team__league_ FROM table_name_48 WHERE player = "steve jones"
CREATE TABLE table_name_48 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
What college or club team did Steve Jones play for?
SELECT nationality FROM table_name_6 WHERE player = "barry duench"
CREATE TABLE table_name_6 (nationality VARCHAR, player VARCHAR)
What nationality is Barry Duench?
SELECT score FROM table_name_66 WHERE home_team = "saskatoon accelerators" AND date = "january 6, 2008"
CREATE TABLE table_name_66 (score VARCHAR, home_team VARCHAR, date VARCHAR)
What was Saskatoon Accelerators score on January 6, 2008?
SELECT score FROM table_name_12 WHERE date = "april 6, 2008"
CREATE TABLE table_name_12 (score VARCHAR, date VARCHAR)
What was the score on April 6, 2008?
SELECT home_team FROM table_name_61 WHERE date = "april 5, 2008"
CREATE TABLE table_name_61 (home_team VARCHAR, date VARCHAR)
Which home team played on April 5, 2008?
SELECT home_team FROM table_name_79 WHERE date = "january 5, 2008"
CREATE TABLE table_name_79 (home_team VARCHAR, date VARCHAR)
Which home team played on January 5, 2008?
SELECT score FROM table_name_99 WHERE stadium = "cn centre" AND date = "april 5, 2008"
CREATE TABLE table_name_99 (score VARCHAR, stadium VARCHAR, date VARCHAR)
What was the score at CN Centre on April 5, 2008?
SELECT score FROM table_name_88 WHERE visiting_team = "edmonton drillers" AND date = "january 6, 2008"
CREATE TABLE table_name_88 (score VARCHAR, visiting_team VARCHAR, date VARCHAR)
What was the score for Edmonton Drillers on January 6, 2008?
SELECT SUM(silver) FROM table_name_47 WHERE nation = "mexico" AND total > 1
CREATE TABLE table_name_47 (silver INTEGER, nation VARCHAR, total VARCHAR)
How much Silver has a Nation of mexico, and a Total larger than 1?
SELECT COUNT(bronze) FROM table_name_88 WHERE gold > 0 AND total < 1
CREATE TABLE table_name_88 (bronze VARCHAR, gold VARCHAR, total VARCHAR)
How much Bronze has a Gold larger than 0, and a Total smaller than 1?
SELECT SUM(bronze) FROM table_name_58 WHERE nation = "mexico" AND total > 1
CREATE TABLE table_name_58 (bronze INTEGER, nation VARCHAR, total VARCHAR)
How much Bronze has a Nation of mexico, and a Total larger than 1?
SELECT district FROM table_name_12 WHERE party = "democrat" AND elected > 1998
CREATE TABLE table_name_12 (district VARCHAR, party VARCHAR, elected VARCHAR)
In which District(s) has a Democrat held office since 1998?
SELECT MIN(rank) FROM table_name_94 WHERE country = "soviet union" AND total < 19
CREATE TABLE table_name_94 (rank INTEGER, country VARCHAR, total VARCHAR)
Which Rank is the Country of soviet union with a Total smaller than 19?
SELECT MIN(rank) FROM table_name_2 WHERE country = "denmark" AND total < 1
CREATE TABLE table_name_2 (rank INTEGER, country VARCHAR, total VARCHAR)
What is the lowest Rank of Denmark County with a Total smaller than 1?
SELECT loser FROM table_name_10 WHERE weight_division = "heavyweight" AND time = "2:24"
CREATE TABLE table_name_10 (loser VARCHAR, weight_division VARCHAR, time VARCHAR)
Who was the loser of the heavyweight division fight that lasted a time of 2:24?
SELECT weight_division FROM table_name_55 WHERE method = "tko (strikes)"
CREATE TABLE table_name_55 (weight_division VARCHAR, method VARCHAR)
What was the weight division for the fight that ended in a TKO (strikes)?
SELECT loser FROM table_name_87 WHERE winner = "antonio silva"
CREATE TABLE table_name_87 (loser VARCHAR, winner VARCHAR)
Who was the loser of the fight against antonio silva?
SELECT AVG(round) FROM table_name_66 WHERE loser = "tank abbott"
CREATE TABLE table_name_66 (round INTEGER, loser VARCHAR)
What was the average number of rounds in the fight where Tank Abbott lost?
SELECT COUNT(round) FROM table_name_1 WHERE position = "defensive tackle" AND pick__number < 19
CREATE TABLE table_name_1 (round VARCHAR, position VARCHAR, pick__number VARCHAR)
In what Round was a Defensive Tackle Pick # less than 19?
SELECT MAX(pick__number) FROM table_name_22 WHERE overall = 19
CREATE TABLE table_name_22 (pick__number INTEGER, overall VARCHAR)
What is the Pick # with an Overall of 19?
SELECT event FROM table_name_71 WHERE athlete = "ali ekranpour"
CREATE TABLE table_name_71 (event VARCHAR, athlete VARCHAR)
What is the event result for athlete Ali Ekranpour?
SELECT final FROM table_name_73 WHERE event = "63.5 kg"
CREATE TABLE table_name_73 (final VARCHAR, event VARCHAR)
What is the final result for the 63.5 kg?
SELECT date FROM table_name_71 WHERE score = "270 (–18)" AND location = "scotland"
CREATE TABLE table_name_71 (date VARCHAR, score VARCHAR, location VARCHAR)
What was the date of the tournament in Scotland with a score of 270 (–18)?
SELECT location FROM table_name_93 WHERE winner = "hale irwin (19)"
CREATE TABLE table_name_93 (location VARCHAR, winner VARCHAR)
Where was the tournament won by Hale Irwin (19)?
SELECT vinculum FROM table_name_72 WHERE parentheses = "0.(81)"
CREATE TABLE table_name_72 (vinculum VARCHAR, parentheses VARCHAR)
How much is vinculum when the parentheses are 0.(81)?
SELECT fraction FROM table_name_85 WHERE dots = "0.\dot{3}"
CREATE TABLE table_name_85 (fraction VARCHAR, dots VARCHAR)
What fraction has a value for dots of 0.\dot{3}?
SELECT dots FROM table_name_29 WHERE ellipsis = "0.012345679…"
CREATE TABLE table_name_29 (dots VARCHAR, ellipsis VARCHAR)
What is the dot value when the ellipsis is 0.012345679…?
SELECT fraction FROM table_name_58 WHERE parentheses = "0.(3)"
CREATE TABLE table_name_58 (fraction VARCHAR, parentheses VARCHAR)
What fraction has parentheses of 0.(3)?
SELECT parentheses FROM table_name_91 WHERE dots = "0.\dot{6}"
CREATE TABLE table_name_91 (parentheses VARCHAR, dots VARCHAR)
What is the value for parentheses with a dots value of 0.\dot{6}?
SELECT vinculum FROM table_name_13 WHERE parentheses = "0.(6)"
CREATE TABLE table_name_13 (vinculum VARCHAR, parentheses VARCHAR)
What is the value of vinculum for parentheses of 0.(6)?
SELECT date FROM table_name_73 WHERE score = "7-1"
CREATE TABLE table_name_73 (date VARCHAR, score VARCHAR)
When was the score 7-1?
SELECT loss FROM table_name_26 WHERE score = "7-1"
CREATE TABLE table_name_26 (loss VARCHAR, score VARCHAR)
What was the loss when the score was 7-1?
SELECT loss FROM table_name_71 WHERE record = "46-59"
CREATE TABLE table_name_71 (loss VARCHAR, record VARCHAR)
What was the loss when the record was 46-59?
SELECT score FROM table_name_48 WHERE opponent = "@ giants" AND record = "8–12"
CREATE TABLE table_name_48 (score VARCHAR, opponent VARCHAR, record VARCHAR)
Opponent of @ giants, and a Record of 8–12 had what score?
SELECT COUNT(attendance) FROM table_name_71 WHERE score = "4–0"
CREATE TABLE table_name_71 (attendance VARCHAR, score VARCHAR)
Score of 4–0 had what attendance number?
SELECT losing_bonus FROM table_name_12 WHERE try_bonus = "3" AND tries_for = "47"
CREATE TABLE table_name_12 (losing_bonus VARCHAR, try_bonus VARCHAR, tries_for VARCHAR)
What was the losing bonus for the team with a try bonus of 3 and 47 tries for?
SELECT tries_for FROM table_name_13 WHERE points_against = "263"
CREATE TABLE table_name_13 (tries_for VARCHAR, points_against VARCHAR)
How many tries for does the team with 263 points against have?
SELECT drawn FROM table_name_98 WHERE points_for = "385"
CREATE TABLE table_name_98 (drawn VARCHAR, points_for VARCHAR)
How many draws does the team with 385 points for have?
SELECT lost FROM table_name_49 WHERE drawn = "1" AND tries_against = "34"
CREATE TABLE table_name_49 (lost VARCHAR, drawn VARCHAR, tries_against VARCHAR)
What is the number of losses for the team with 1 draw and 34 tries against?
SELECT tries_for FROM table_name_33 WHERE points = "35" AND try_bonus = "1"
CREATE TABLE table_name_33 (tries_for VARCHAR, points VARCHAR, try_bonus VARCHAR)
How many tries for does the team with a try bonus of 1 and 35 points earned?
SELECT points FROM table_name_52 WHERE lost = "3"
CREATE TABLE table_name_52 (points VARCHAR, lost VARCHAR)
How many points does the team with 3 losses have?
SELECT score FROM table_name_94 WHERE record = "10-9-7"
CREATE TABLE table_name_94 (score VARCHAR, record VARCHAR)
What was the score in the game where the record was 10-9-7?
SELECT MIN(december) FROM table_name_76 WHERE opponent = "colorado avalanche"
CREATE TABLE table_name_76 (december INTEGER, opponent VARCHAR)
What was the first time in December they played the Colorado Avalanche?
SELECT date FROM table_name_67 WHERE winner = "new york jets" AND result = "30–28"
CREATE TABLE table_name_67 (date VARCHAR, winner VARCHAR, result VARCHAR)
What date was the winner the new york jets and a Result of 30–28?
SELECT location FROM table_name_26 WHERE result = "21–16"
CREATE TABLE table_name_26 (location VARCHAR, result VARCHAR)
What is the name of the location of the game with a Result of 21–16?
SELECT MIN(year) FROM table_name_35 WHERE winner = "new york jets" AND location = "harvard stadium"
CREATE TABLE table_name_35 (year INTEGER, winner VARCHAR, location VARCHAR)
What is the earliest year the new york jets won at harvard stadium?
SELECT loser FROM table_name_89 WHERE location = "schaefer stadium" AND winner = "new england patriots" AND date = "october 18"
CREATE TABLE table_name_89 (loser VARCHAR, date VARCHAR, location VARCHAR, winner VARCHAR)
Who lost at schaefer stadium when the Winner was new england patriots, and a Date of october 18?
SELECT points_for FROM table_name_44 WHERE losing_bonus = "2" AND points_against = "300"
CREATE TABLE table_name_44 (points_for VARCHAR, losing_bonus VARCHAR, points_against VARCHAR)
How many points did the club with a losing bonus of 2 and 300 points against have?
SELECT tries_for FROM table_name_12 WHERE losing_bonus = "3" AND points = "45"
CREATE TABLE table_name_12 (tries_for VARCHAR, losing_bonus VARCHAR, points VARCHAR)
How many tries for did the club with a 3 losing bonus and 45 points have?
SELECT try_bonus FROM table_name_87 WHERE "played" = "played"
CREATE TABLE table_name_87 (try_bonus VARCHAR)
What is the try bonus of the club with played?
SELECT "points" AS _against FROM table_name_21 WHERE "points" = "points"
CREATE TABLE table_name_21 (Id VARCHAR)
How many points against did the club with points have?
SELECT drawn FROM table_name_79 WHERE points_against = "542"
CREATE TABLE table_name_79 (drawn VARCHAR, points_against VARCHAR)
What is the drawn by the club with 542 points against?
SELECT lost FROM table_name_1 WHERE played = "22" AND points_against = "334"
CREATE TABLE table_name_1 (lost VARCHAR, played VARCHAR, points_against VARCHAR)
How many losses did the club with 22 played and 334 points against have?