answer
stringlengths
32
484
context
stringlengths
27
489
question
stringlengths
12
244
SELECT MIN(seats) FROM table_name_55 WHERE share_of_votes = "27.0%"
CREATE TABLE table_name_55 (seats INTEGER, share_of_votes VARCHAR)
What is the lowest number of seats from the election with 27.0% of votes?
SELECT share_of_votes FROM table_name_67 WHERE dáil = "6th"
CREATE TABLE table_name_67 (share_of_votes VARCHAR, dáil VARCHAR)
What is the 6th dail share of votes?
SELECT MAX(week) FROM table_name_48 WHERE record = "1-3"
CREATE TABLE table_name_48 (week INTEGER, record VARCHAR)
What was the highest week when the record was 1-3?
SELECT opponent FROM table_name_34 WHERE attendance = "62,657"
CREATE TABLE table_name_34 (opponent VARCHAR, attendance VARCHAR)
Who was the opponent at the game attended by 62,657?
SELECT MAX(year_built) FROM table_name_47 WHERE name = "fay no. 4"
CREATE TABLE table_name_47 (year_built INTEGER, name VARCHAR)
What is the year built for the Fay No. 4?
SELECT year_built FROM table_name_38 WHERE length = "91'"
CREATE TABLE table_name_38 (year_built VARCHAR, length VARCHAR)
Where the length is 91', what is the year built?
SELECT address FROM table_name_80 WHERE mascot = "scorpions"
CREATE TABLE table_name_80 (address VARCHAR, mascot VARCHAR)
What is the address for the Scorpions' mascot?
SELECT mascot FROM table_name_7 WHERE principal__2013_2014_ = "frank hendricsen"
CREATE TABLE table_name_7 (mascot VARCHAR, principal__2013_2014_ VARCHAR)
What was the mascot for the 2013-2014 principal named Frank Hendricsen?
SELECT Assistant AS principal__2013_2014_ FROM table_name_97 WHERE principal__2013_2014_ = "kat hughes"
CREATE TABLE table_name_97 (Assistant VARCHAR, principal__2013_2014_ VARCHAR)
Who were the assistant and main principals of Kat Hughes?
SELECT address FROM table_name_44 WHERE mascot = "coyotes"
CREATE TABLE table_name_44 (address VARCHAR, mascot VARCHAR)
What is the address for the school that has the coyotes mascot?
SELECT result FROM table_name_26 WHERE venue = "jinan"
CREATE TABLE table_name_26 (result VARCHAR, venue VARCHAR)
What is the result of the game played at Jinan?
SELECT score FROM table_name_17 WHERE date = "november 10, 2006"
CREATE TABLE table_name_17 (score VARCHAR, date VARCHAR)
What is the score of the game on November 10, 2006?
SELECT date FROM table_name_87 WHERE venue = "lahore"
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
What is the date of the game held at Lahore?
SELECT COUNT(entries) FROM table_name_55 WHERE season = "2001" AND front_row_starts < 13
CREATE TABLE table_name_55 (entries VARCHAR, season VARCHAR, front_row_starts VARCHAR)
What were the total number of entries in 2001 that had a front row smaller than 13?
SELECT MIN(entries) FROM table_name_87 WHERE front_row_starts < 15 AND driver = "michael schumacher"
CREATE TABLE table_name_87 (entries INTEGER, front_row_starts VARCHAR, driver VARCHAR)
What are the lowest entries for a front row smaller than 15 where Michael Schumacher was driving?
SELECT MAX(front_row_starts) FROM table_name_52 WHERE driver = "alain prost"
CREATE TABLE table_name_52 (front_row_starts INTEGER, driver VARCHAR)
What was the highest front row starts for Alain Prost?
SELECT SUM(against) FROM table_name_65 WHERE losses > 2 AND wins = 8 AND byes < 0
CREATE TABLE table_name_65 (against INTEGER, byes VARCHAR, losses VARCHAR, wins VARCHAR)
Which Against has Losses larger than 2, and Wins of 8, and Byes smaller than 0?
SELECT SUM(draws) FROM table_name_23 WHERE wins > 14
CREATE TABLE table_name_23 (draws INTEGER, wins INTEGER)
Which Draws have Wins larger than 14?
SELECT COUNT(losses) FROM table_name_45 WHERE ntfa_div_2 = "perth" AND wins < 10
CREATE TABLE table_name_45 (losses VARCHAR, ntfa_div_2 VARCHAR, wins VARCHAR)
How many Losses have an NTFA Div 2 of perth, and Wins smaller than 10?
SELECT MAX(byes) FROM table_name_80 WHERE against < 1647 AND ntfa_div_2 = "fingal valley" AND wins < 14
CREATE TABLE table_name_80 (byes INTEGER, wins VARCHAR, against VARCHAR, ntfa_div_2 VARCHAR)
Which Byes have an Against smaller than 1647, and an NTFA Div 2 of fingal valley, and Wins smaller than 14?
SELECT COUNT(grid) FROM table_name_83 WHERE time = "+34.121" AND laps > 10
CREATE TABLE table_name_83 (grid VARCHAR, time VARCHAR, laps VARCHAR)
How many grids were there races with more than 10 laps and a time of +34.121?
SELECT MIN(grid) FROM table_name_31 WHERE laps = 10 AND driver = "jonathan summerton"
CREATE TABLE table_name_31 (grid INTEGER, laps VARCHAR, driver VARCHAR)
What is the smallest grid number that had 10 laps listed with Jonathan Summerton as the driver?
SELECT AVG(grid) FROM table_name_29 WHERE laps < 10 AND team = "china"
CREATE TABLE table_name_29 (grid INTEGER, laps VARCHAR, team VARCHAR)
What is the average grid number that had Team China with less than 10 laps?
SELECT creator FROM table_name_33 WHERE latest_stable_release = "unknown" AND name = "myeclipse"
CREATE TABLE table_name_33 (creator VARCHAR, latest_stable_release VARCHAR, name VARCHAR)
Which Creator has the Latest stable release of unknown, and a Name of myeclipse?
SELECT platform___os FROM table_name_97 WHERE name = "altova umodel"
CREATE TABLE table_name_97 (platform___os VARCHAR, name VARCHAR)
Which Platform / OS has a Name of altova umodel?
SELECT programming_language_used FROM table_name_52 WHERE first_public_release = "1997"
CREATE TABLE table_name_52 (programming_language_used VARCHAR, first_public_release VARCHAR)
Which Programming language used has a First public release of 1997?
SELECT first_public_release FROM table_name_25 WHERE name = "rational software modeler"
CREATE TABLE table_name_25 (first_public_release VARCHAR, name VARCHAR)
Which First public release has a Name of rational software modeler?
SELECT MAX(overall) FROM table_name_62 WHERE position = "guard" AND college = "rice"
CREATE TABLE table_name_62 (overall INTEGER, position VARCHAR, college VARCHAR)
What is the College of Rice's highest overall for the guard position?
SELECT position FROM table_name_80 WHERE pick__number < 16 AND name = "tommy nobis"
CREATE TABLE table_name_80 (position VARCHAR, pick__number VARCHAR, name VARCHAR)
What is Tommy Nobis' position that has fewer than 16 picks?
SELECT score FROM table_name_99 WHERE opponent = "vancouver canucks"
CREATE TABLE table_name_99 (score VARCHAR, opponent VARCHAR)
What was the score when the Rangers were playing against the Vancouver Canucks?
SELECT opponent FROM table_name_34 WHERE january = 27
CREATE TABLE table_name_34 (opponent VARCHAR, january VARCHAR)
Who were the opponents on January 27?
SELECT opponent FROM table_name_34 WHERE game < 47 AND record = "24-13-4"
CREATE TABLE table_name_34 (opponent VARCHAR, game VARCHAR, record VARCHAR)
Who was the opponent for game number less than 47 and a record of 24-13-4?
SELECT AVG(january) FROM table_name_72 WHERE opponent = "vancouver canucks" AND game > 39
CREATE TABLE table_name_72 (january INTEGER, opponent VARCHAR, game VARCHAR)
What is the average january number when the game number was higher than 39 and the opponent was the Vancouver Canucks?
SELECT drawn FROM table_name_11 WHERE points_against = "correct as of 08:50 10 may 2009"
CREATE TABLE table_name_11 (drawn VARCHAR, points_against VARCHAR)
What is the Drawn number with a Points against of correct as of 08:50 10 may 2009?
SELECT tries_against FROM table_name_79 WHERE lost = "12" AND club = "pontycymmer rfc"
CREATE TABLE table_name_79 (tries_against VARCHAR, lost VARCHAR, club VARCHAR)
What is the Tries against when lost shows 12 for pontycymmer rfc?
SELECT points_against FROM table_name_58 WHERE club = "ystradgynlais rfc"
CREATE TABLE table_name_58 (points_against VARCHAR, club VARCHAR)
What is the Points against for the ystradgynlais rfc club?
SELECT club FROM table_name_11 WHERE points_against = "405"
CREATE TABLE table_name_11 (club VARCHAR, points_against VARCHAR)
What is the Club name what shows 405 for the Points against?
SELECT try_bonus FROM table_name_37 WHERE points_against = "451"
CREATE TABLE table_name_37 (try_bonus VARCHAR, points_against VARCHAR)
What shows for Try bonus when the points against are 451?
SELECT SUM(pos) FROM table_name_41 WHERE make = "chevrolet" AND driver = "jack sprague" AND car__number < 2
CREATE TABLE table_name_41 (pos INTEGER, car__number VARCHAR, make VARCHAR, driver VARCHAR)
Which Pos has a Make of chevrolet, and a Driver of jack sprague, and a Car # smaller than 2?
SELECT COUNT(car__number) FROM table_name_93 WHERE driver = "erik darnell" AND pos < 2
CREATE TABLE table_name_93 (car__number VARCHAR, driver VARCHAR, pos VARCHAR)
How many Car numbers have a Driver of erik darnell, and a Pos smaller than 2?
SELECT SUM(pos) FROM table_name_72 WHERE car__number = 33
CREATE TABLE table_name_72 (pos INTEGER, car__number VARCHAR)
Which Pos has a Car # of 33?
SELECT MAX(pos) FROM table_name_64 WHERE team = "circle bar racing" AND car__number < 14
CREATE TABLE table_name_64 (pos INTEGER, team VARCHAR, car__number VARCHAR)
Which Pos has a Team of circle bar racing, and a Car # smaller than 14?
SELECT AVG(pos) FROM table_name_38 WHERE car__number > 2 AND team = "billy ballew motorsports"
CREATE TABLE table_name_38 (pos INTEGER, car__number VARCHAR, team VARCHAR)
Which Pos has a Car # larger than 2, and a Team of billy ballew motorsports?
SELECT rank FROM table_name_42 WHERE director_s_ = "satoko okita"
CREATE TABLE table_name_42 (rank VARCHAR, director_s_ VARCHAR)
What Rank is the Director(s) of satoko okita?
SELECT country FROM table_name_21 WHERE film = "hi no tsugi ha rekishi"
CREATE TABLE table_name_21 (country VARCHAR, film VARCHAR)
What country is the film hi no tsugi ha rekishi from?
SELECT director_s_ FROM table_name_21 WHERE prize = "¥300,000" AND film = "hanzubon no ojisan"
CREATE TABLE table_name_21 (director_s_ VARCHAR, prize VARCHAR, film VARCHAR)
Which Director(s) made the film hanzubon no ojisan and received a prize of ¥300,000?
SELECT country FROM table_name_59 WHERE prize = "¥300,000" AND director_s_ = "kota nagaoka"
CREATE TABLE table_name_59 (country VARCHAR, prize VARCHAR, director_s_ VARCHAR)
Which country did the Director(s) of kota nagaoka come from and win ¥300,000?
SELECT director_s_ FROM table_name_42 WHERE prize = "¥2,000,000"
CREATE TABLE table_name_42 (director_s_ VARCHAR, prize VARCHAR)
What Director won a prize of ¥2,000,000?
SELECT rank FROM table_name_95 WHERE director_s_ = "maximilian jezo-parovsky"
CREATE TABLE table_name_95 (rank VARCHAR, director_s_ VARCHAR)
What Rank is the director of maximilian jezo-parovsky?
SELECT high_assists FROM table_name_73 WHERE team = "milwaukee"
CREATE TABLE table_name_73 (high_assists VARCHAR, team VARCHAR)
Who had the most high assists from Milwaukee?
SELECT high_points FROM table_name_28 WHERE date = "december 13"
CREATE TABLE table_name_28 (high_points VARCHAR, date VARCHAR)
Who scored the most point on December 13?
SELECT loss FROM table_name_24 WHERE record = "22-24"
CREATE TABLE table_name_24 (loss VARCHAR, record VARCHAR)
What's the Loss for the game that had a 22-24 record?
SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic"
CREATE TABLE table_name_78 (date VARCHAR, athlete VARCHAR)
What was the date that Elvir Krehmic made a high jump record?
SELECT spine FROM table_name_99 WHERE number_of_issues = 12
CREATE TABLE table_name_99 (spine VARCHAR, number_of_issues VARCHAR)
Which spine has 12 issues?
SELECT SUM(number_of_issues) FROM table_name_82 WHERE end_month = "jan–72"
CREATE TABLE table_name_82 (number_of_issues INTEGER, end_month VARCHAR)
How many issues end on jan–72?
SELECT masthead FROM table_name_15 WHERE end_month = "oct–69"
CREATE TABLE table_name_15 (masthead VARCHAR, end_month VARCHAR)
Which masthead ends on oct–69?
SELECT AVG(game) FROM table_name_51 WHERE date = "may 2"
CREATE TABLE table_name_51 (game INTEGER, date VARCHAR)
What is the game number held on May 2?
SELECT season FROM table_name_33 WHERE postseason = "promoted runner-up"
CREATE TABLE table_name_33 (season VARCHAR, postseason VARCHAR)
Which Season has a Postseason of promoted runner-up?
SELECT attendance FROM table_name_97 WHERE record = "20-11"
CREATE TABLE table_name_97 (attendance VARCHAR, record VARCHAR)
What is the attendance of the match with a record 20-11?
SELECT date FROM table_name_24 WHERE record = "28-15"
CREATE TABLE table_name_24 (date VARCHAR, record VARCHAR)
What is the date of the match with a 28-15 record?
SELECT opponent FROM table_name_79 WHERE date = "april 16"
CREATE TABLE table_name_79 (opponent VARCHAR, date VARCHAR)
Which opponent did they play against on April 16?
SELECT circuit FROM table_name_64 WHERE round > 2 AND state_territory = "victoria"
CREATE TABLE table_name_64 (circuit VARCHAR, round VARCHAR, state_territory VARCHAR)
What circuit was after round 2 in Victoria?
SELECT state_territory FROM table_name_8 WHERE winning_driver = "jamie whincup" AND round = 2
CREATE TABLE table_name_8 (state_territory VARCHAR, winning_driver VARCHAR, round VARCHAR)
What is the state the winning driver Jamie Whincup from in round 2?
SELECT october FROM table_name_11 WHERE opponent = "toronto maple leafs"
CREATE TABLE table_name_11 (october VARCHAR, opponent VARCHAR)
What date in October did the Flyers play against the Toronto Maple Leafs?
SELECT score FROM table_name_17 WHERE points > 8
CREATE TABLE table_name_17 (score VARCHAR, points INTEGER)
What was the score of the game that had more than 8 points?
SELECT result FROM table_name_11 WHERE round = "final"
CREATE TABLE table_name_11 (result VARCHAR, round VARCHAR)
The round that had the final, what was the result?
SELECT score FROM table_name_7 WHERE opponent = "andry laffita"
CREATE TABLE table_name_7 (score VARCHAR, opponent VARCHAR)
Opponent of andry laffita had what score?
SELECT result FROM table_name_11 WHERE opponent = "igor samoilenco"
CREATE TABLE table_name_11 (result VARCHAR, opponent VARCHAR)
Opponent of igor samoilenco had what result?
SELECT round FROM table_name_14 WHERE score = "33-22"
CREATE TABLE table_name_14 (round VARCHAR, score VARCHAR)
Score of 33-22 had what round?
SELECT opponent FROM table_name_75 WHERE round = "first"
CREATE TABLE table_name_75 (opponent VARCHAR, round VARCHAR)
Round of first had what opponent?
SELECT event FROM table_name_4 WHERE result = "win" AND score = "33-22"
CREATE TABLE table_name_4 (event VARCHAR, result VARCHAR, score VARCHAR)
Result of win, and a Score of 33-22 involved what event?
SELECT MIN(points) FROM table_name_99 WHERE game = 60
CREATE TABLE table_name_99 (points INTEGER, game VARCHAR)
What were the lowest points of game 60?
SELECT championship FROM table_name_81 WHERE opponent_in_the_final = "francesca schiavone"
CREATE TABLE table_name_81 (championship VARCHAR, opponent_in_the_final VARCHAR)
What championship had Francesca Schiavone in the finals?
SELECT COUNT(national_titles) FROM table_name_2 WHERE mascot = "doane tigers"
CREATE TABLE table_name_2 (national_titles VARCHAR, mascot VARCHAR)
What is the total number of national titles for the team with doane tigers as the mascot?
SELECT year FROM table_name_63 WHERE crew = "varsity 8+" AND record = "7-3"
CREATE TABLE table_name_63 (year VARCHAR, crew VARCHAR, record VARCHAR)
Which year's crew is varsity 8+ when the record is 7-3?
SELECT SUM(win__percentage) FROM table_name_78 WHERE coach = "john gartin" AND crew = "varsity 8+" AND year = "2005"
CREATE TABLE table_name_78 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, crew VARCHAR)
What is the total number of win % when John Gartin is coach, the crew is varsity 8+, and the year is 2005?
SELECT MAX(win__percentage) FROM table_name_80 WHERE coach = "john gartin" AND record = "11-0" AND year = "2009"
CREATE TABLE table_name_80 (win__percentage INTEGER, year VARCHAR, coach VARCHAR, record VARCHAR)
What is the largest win percentage when John Gartin is coach, the record is 11-0, and the year is 2009?
SELECT SUM(win__percentage) FROM table_name_74 WHERE year = "2008" AND crew = "varsity 8+"
CREATE TABLE table_name_74 (win__percentage INTEGER, year VARCHAR, crew VARCHAR)
What is the total of win percentages when the year is 2008 and the crew is varsity 8+?
SELECT COUNT(pick) FROM table_name_67 WHERE round > 6 AND position = "tight end"
CREATE TABLE table_name_67 (pick VARCHAR, round VARCHAR, position VARCHAR)
What is the pick number for the tight end who was picked after round 6?
SELECT MIN(round) FROM table_name_84 WHERE position = "guard" AND pick < 144
CREATE TABLE table_name_84 (round INTEGER, position VARCHAR, pick VARCHAR)
What is the lowest round for the player whose position is guard and had a pick number smaller than 144?
SELECT position FROM table_name_59 WHERE pick > 256 AND player = "terry jones"
CREATE TABLE table_name_59 (position VARCHAR, pick VARCHAR, player VARCHAR)
What was the position of terry jones whose pick number was after 256?
SELECT loss FROM table_name_85 WHERE record = "30-32"
CREATE TABLE table_name_85 (loss VARCHAR, record VARCHAR)
Which Loss has a Record of 30-32?
SELECT MAX(attendance) FROM table_name_45 WHERE record = "37-38"
CREATE TABLE table_name_45 (attendance INTEGER, record VARCHAR)
Which Attendance is the highest one that has a Record of 37-38?
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-2)"
CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR)
Which Score has a Loss of buehrle (7-2)?
SELECT AVG(overall) FROM table_name_30 WHERE pick__number > 7 AND round > 4 AND name = "glen howe"
CREATE TABLE table_name_30 (overall INTEGER, name VARCHAR, pick__number VARCHAR, round VARCHAR)
Which Overall is the average one that has a Pick # larger than 7, and a Round larger than 4, and a Name of glen howe?
SELECT MIN(round) FROM table_name_97 WHERE pick__number > 10 AND position = "tight end" AND overall < 132
CREATE TABLE table_name_97 (round INTEGER, overall VARCHAR, pick__number VARCHAR, position VARCHAR)
Which Round is the lowest one that has a Pick # larger than 10, and a Position of tight end, and an Overall smaller than 132?
SELECT MAX(round) FROM table_name_85 WHERE overall = 32 AND pick__number < 4
CREATE TABLE table_name_85 (round INTEGER, overall VARCHAR, pick__number VARCHAR)
Which Round is the highest one that has an Overall of 32, and a Pick # smaller than 4?
SELECT COUNT(pick__number) FROM table_name_4 WHERE round > 8 AND college = "fresno state"
CREATE TABLE table_name_4 (pick__number VARCHAR, round VARCHAR, college VARCHAR)
How many Picks have a Round larger than 8, and a College of fresno state?
SELECT MAX(overall) FROM table_name_19 WHERE college = "oklahoma" AND pick__number < 4
CREATE TABLE table_name_19 (overall INTEGER, college VARCHAR, pick__number VARCHAR)
Which Overall is the highest one that has a College of oklahoma, and a Pick # smaller than 4?
SELECT result FROM table_name_78 WHERE date = "30 july 2004"
CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR)
What is the result of the match on 30 July 2004?
SELECT result FROM table_name_60 WHERE date = "3 march 2004"
CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR)
What is the result of the match on 3 March 2004?
SELECT score FROM table_name_63 WHERE competition = "friendly match"
CREATE TABLE table_name_63 (score VARCHAR, competition VARCHAR)
What is the score of the friendly match?
SELECT COUNT(week) FROM table_name_5 WHERE result = "w 10-0" AND attendance < 58 OFFSET 571
CREATE TABLE table_name_5 (week VARCHAR, result VARCHAR, attendance VARCHAR)
Which Week had a Result of w 10-0, and an Attendance smaller than 58,571?
SELECT SUM(week) FROM table_name_58 WHERE result = "w 23-17"
CREATE TABLE table_name_58 (week INTEGER, result VARCHAR)
Which Week had a Result of w 23-17?
SELECT attendance FROM table_name_48 WHERE date = "october 2, 1977"
CREATE TABLE table_name_48 (attendance VARCHAR, date VARCHAR)
What was the Attendance on october 2, 1977?
SELECT SUM(gold) FROM table_name_99 WHERE bronze = 2 AND silver < 0
CREATE TABLE table_name_99 (gold INTEGER, bronze VARCHAR, silver VARCHAR)
Bronze of 2, and a Silver smaller than 0 then what is the sum of the gold?
SELECT SUM(total) FROM table_name_77 WHERE gold < 4 AND silver > 0 AND rank = "3" AND bronze < 6
CREATE TABLE table_name_77 (total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR)
Smaller than 4, and a Silver larger than 0, and a Rank of 3, and a Bronze smaller than 6 then what is the sum of the gold?
SELECT AVG(gold) FROM table_name_2 WHERE total > 3 AND rank = "4" AND silver > 0
CREATE TABLE table_name_2 (gold INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR)
Total larger than 3, and a Rank of 4, and a Silver larger than 0 has what average gold?
SELECT MIN(silver) FROM table_name_86 WHERE total < 10 AND gold > 1
CREATE TABLE table_name_86 (silver INTEGER, total VARCHAR, gold VARCHAR)
Total smaller than 10, and a Gold larger than 1 then what is the lowest silver?
SELECT date FROM table_name_76 WHERE week = 9
CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR)
What was the date of the week 9 game?