Question: Tell me singles W-L that has years larger than 1 and highest singles ranking of 1346

Context: CREATE TABLE table_name_7 (singles_w_l VARCHAR, years_played VARCHAR, highest_singles_ranking VARCHAR)

SELECT singles_w_l FROM table_name_7 WHERE years_played > 1 AND highest_singles_ranking = "1346"


Question: When the Top 10s is larger than 0 and the scoring average 73.04, what is the best finish?

Context: CREATE TABLE table_name_10 (best_finish VARCHAR, top_10s VARCHAR, scoring_average VARCHAR)

SELECT best_finish FROM table_name_10 WHERE top_10s > 0 AND scoring_average = 73.04


Question: Tell me the score of praterstadion, vienna, and competition of euro 1980 qualifier

Context: CREATE TABLE table_name_54 (result VARCHAR, venue VARCHAR, competition VARCHAR)

SELECT result FROM table_name_54 WHERE venue = "praterstadion, vienna" AND competition = "euro 1980 qualifier"


Question: I want the score for 28 march 1979

Context: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_37 WHERE date = "28 march 1979"


Question: I want the score for 30 april 1977

Context: CREATE TABLE table_name_72 (score VARCHAR, date VARCHAR)

SELECT score FROM table_name_72 WHERE date = "30 april 1977"


Question: What competition was the World Championships before 2011?

Context: CREATE TABLE table_name_38 (event VARCHAR, competition VARCHAR, year VARCHAR)

SELECT event FROM table_name_38 WHERE competition = "world championships" AND year < 2011


Question: What event took place in Erfurt, Germany?

Context: CREATE TABLE table_name_56 (event VARCHAR, venue VARCHAR)

SELECT event FROM table_name_56 WHERE venue = "erfurt, germany"


Question: Name the team nickname for enrollment more than 42,326

Context: CREATE TABLE table_name_21 (team_nickname VARCHAR, enrollment INTEGER)

SELECT team_nickname FROM table_name_21 WHERE enrollment > 42 OFFSET 326


Question: With the lost of 3, how many points?

Context: CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR)

SELECT points_against FROM table_name_9 WHERE lost = "3"


Question: How many against points for 16 matches?

Context: CREATE TABLE table_name_38 (points_against VARCHAR, matches VARCHAR)

SELECT points_against FROM table_name_38 WHERE matches = "16"


Question: The 51 points against, how many are for?

Context: CREATE TABLE table_name_36 (points_for VARCHAR, points_against VARCHAR)

SELECT points_for FROM table_name_36 WHERE points_against = "51"


Question: For the played in, what are the total points?

Context: CREATE TABLE table_name_36 (points_for VARCHAR, played_in VARCHAR)

SELECT points_for FROM table_name_36 WHERE played_in = "total"


Question: What country is the Eurasia Astana team from?

Context: CREATE TABLE table_name_69 (country VARCHAR, team VARCHAR)

SELECT country FROM table_name_69 WHERE team = "eurasia astana"


Question: Tell me the 2008 for 2012 of 4r and 2009 of a

Context: CREATE TABLE table_name_38 (Id VARCHAR)

SELECT 2008 FROM table_name_38 WHERE 2012 = "4r" AND 2009 = "a"


Question: Tell me the 2008 of 2001 olympic games

Context: CREATE TABLE table_name_69 (Id VARCHAR)

SELECT 2008 FROM table_name_69 WHERE 2011 = "olympic games"


Question: Tell me the tournament of 2009 of atp masters series

Context: CREATE TABLE table_name_26 (tournament VARCHAR)

SELECT tournament FROM table_name_26 WHERE 2009 = "atp masters series"


Question: Tell me the 2011 tournament of monte carlo masters

Context: CREATE TABLE table_name_73 (tournament VARCHAR)

SELECT 2011 FROM table_name_73 WHERE tournament = "monte carlo masters"


Question: Tell me the 2011 with 2012 of 2r

Context: CREATE TABLE table_name_40 (Id VARCHAR)

SELECT 2011 FROM table_name_40 WHERE 2012 = "2r" AND 2010 = "2r" AND 2009 = "2r"


Question: What was the latest round with a running back from a California college?

Context: CREATE TABLE table_name_55 (round INTEGER, position VARCHAR, college VARCHAR)

SELECT MAX(round) FROM table_name_55 WHERE position = "running back" AND college = "california"


Question: What were the results for november 25, 1973?

Context: CREATE TABLE table_name_36 (result VARCHAR, date VARCHAR)

SELECT result FROM table_name_36 WHERE date = "november 25, 1973"


Question: Which Opponent had a week of 14?

Context: CREATE TABLE table_name_60 (opponent VARCHAR, week VARCHAR)

SELECT opponent FROM table_name_60 WHERE week = 14


Question: Tell me the date for new orleans saints

Context: CREATE TABLE table_name_22 (date VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_22 WHERE opponent = "new orleans saints"


Question: Tell me the result for week of 4

Context: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR)

SELECT result FROM table_name_46 WHERE week = 4


Question: Tell me the lowest week for w 10-3

Context: CREATE TABLE table_name_50 (week INTEGER, result VARCHAR)

SELECT MIN(week) FROM table_name_50 WHERE result = "w 10-3"


Question: Tell me the average heat rank with a lane of 2 and time less than 27.66

Context: CREATE TABLE table_name_48 (heat_rank INTEGER, lane VARCHAR, time VARCHAR)

SELECT AVG(heat_rank) FROM table_name_48 WHERE lane = 2 AND time < 27.66


Question: Tell me the highest overall rank for lane less than 8 and time less than 27.16

Context: CREATE TABLE table_name_37 (overall_rank INTEGER, lane VARCHAR, time VARCHAR)

SELECT MAX(overall_rank) FROM table_name_37 WHERE lane < 8 AND time < 27.16


Question: Tell me the total number of time for luke hall overall rank being larger than 105

Context: CREATE TABLE table_name_68 (time VARCHAR, swimmer VARCHAR, overall_rank VARCHAR)

SELECT COUNT(time) FROM table_name_68 WHERE swimmer = "luke hall" AND overall_rank > 105


Question: Tell me the left team for josh vanlandingham

Context: CREATE TABLE table_name_60 (left_team VARCHAR, name VARCHAR)

SELECT left_team FROM table_name_60 WHERE name = "josh vanlandingham"


Question: Who had less than 7 goals, was ranked under 7, and had more than 8 appearances?

Context: CREATE TABLE table_name_86 (name VARCHAR, appearances VARCHAR, goals VARCHAR, rank VARCHAR)

SELECT name FROM table_name_86 WHERE goals < 7 AND rank < 7 AND appearances > 8


Question: What was the sum of ranks of those called Fernando Cavenaghi who appeared less than 7.

Context: CREATE TABLE table_name_5 (rank INTEGER, name VARCHAR, appearances VARCHAR)

SELECT SUM(rank) FROM table_name_5 WHERE name = "fernando cavenaghi" AND appearances < 7


Question: How many appearances were made by people that had 5 goals and less than 7 rank?

Context: CREATE TABLE table_name_95 (appearances VARCHAR, goals VARCHAR, rank VARCHAR)

SELECT COUNT(appearances) FROM table_name_95 WHERE goals = 5 AND rank < 7


Question: What was the surface for the game that had a partner of vania king?

Context: CREATE TABLE table_name_85 (surface VARCHAR, partner VARCHAR)

SELECT surface FROM table_name_85 WHERE partner = "vania king"


Question: Who was the partner for the game on October 20, 2013?

Context: CREATE TABLE table_name_80 (partner VARCHAR, date VARCHAR)

SELECT partner FROM table_name_80 WHERE date = "october 20, 2013"


Question: Tell me the name for round of e

Context: CREATE TABLE table_name_29 (name VARCHAR, round VARCHAR)

SELECT name FROM table_name_29 WHERE round = "e"


Question: Name the team one for preliminary final

Context: CREATE TABLE table_name_74 (team_1 VARCHAR, name VARCHAR)

SELECT team_1 FROM table_name_74 WHERE name = "preliminary final"


Question: Name the team 1 for round 3

Context: CREATE TABLE table_name_64 (team_1 VARCHAR, round VARCHAR)

SELECT team_1 FROM table_name_64 WHERE round = "3"


Question: Name the round for 2nd elimination final

Context: CREATE TABLE table_name_36 (round VARCHAR, match VARCHAR)

SELECT round FROM table_name_36 WHERE match = "2nd elimination final"


Question: In less than 58 laps, what is the highest grid for Alexander Wurz?

Context: CREATE TABLE table_name_32 (grid INTEGER, driver VARCHAR, laps VARCHAR)

SELECT MAX(grid) FROM table_name_32 WHERE driver = "alexander wurz" AND laps < 58


Question: What is the total laps for grid 19?

Context: CREATE TABLE table_name_24 (laps VARCHAR, grid VARCHAR)

SELECT COUNT(laps) FROM table_name_24 WHERE grid = 19


Question: Name the winning driver for mobilecast impul and twin ring motegi

Context: CREATE TABLE table_name_98 (winning_driver VARCHAR, winning_team VARCHAR, circuit VARCHAR)

SELECT winning_driver FROM table_name_98 WHERE winning_team = "mobilecast impul" AND circuit = "twin ring motegi"


Question: Name the winning driver for round 7

Context: CREATE TABLE table_name_24 (winning_driver VARCHAR, round VARCHAR)

SELECT winning_driver FROM table_name_24 WHERE round = 7


Question: Name the number of total for 3 gold and rank less than 3

Context: CREATE TABLE table_name_25 (total VARCHAR, gold VARCHAR, rank VARCHAR)

SELECT COUNT(total) FROM table_name_25 WHERE gold = 3 AND rank < 3


Question: Tell me the naame of Investigation of thrombus imaging

Context: CREATE TABLE table_name_19 (name VARCHAR, investigation VARCHAR)

SELECT name FROM table_name_19 WHERE investigation = "thrombus imaging"


Question: Tell me the name for Investigation of thrombus imaging and Route of administration of iv

Context: CREATE TABLE table_name_68 (name VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)

SELECT name FROM table_name_68 WHERE route_of_administration = "iv" AND investigation = "thrombus imaging"


Question: Tell me the in-vitro for Route of administration of iv and Investigation of somatostatin receptor imaging

Context: CREATE TABLE table_name_96 (in_vitro___in_vivo VARCHAR, route_of_administration VARCHAR, investigation VARCHAR)

SELECT in_vitro___in_vivo FROM table_name_96 WHERE route_of_administration = "iv" AND investigation = "somatostatin receptor imaging"


Question: The player is Tim Regan and the pick # is position of d, what's the sum?

Context: CREATE TABLE table_name_37 (pick__number INTEGER, position VARCHAR, player VARCHAR)

SELECT SUM(pick__number) FROM table_name_37 WHERE position = "d" AND player = "tim regan"


Question: The position that has a pick # of 16 is what?

Context: CREATE TABLE table_name_66 (position VARCHAR, pick__number VARCHAR)

SELECT position FROM table_name_66 WHERE pick__number = 16


Question: Damani Ralph is associated with which lowest pick #?

Context: CREATE TABLE table_name_39 (pick__number INTEGER, player VARCHAR)

SELECT MIN(pick__number) FROM table_name_39 WHERE player = "damani ralph"


Question: Chicago fire has a total of a total of how many #s?

Context: CREATE TABLE table_name_5 (pick__number VARCHAR, mls_team VARCHAR)

SELECT COUNT(pick__number) FROM table_name_5 WHERE mls_team = "chicago fire"


Question: Tell me the score for score in legs and year less than 2012

Context: CREATE TABLE table_name_51 (score__l__ VARCHAR, _score_in_legs VARCHAR, __s__ VARCHAR, _score_in_sets VARCHAR, year INTEGER)

SELECT score__l__ = _score_in_legs, __s__ = _score_in_sets FROM table_name_51 WHERE year < 2012


Question: Tell me the championship for runner-up outcome of 2010

Context: CREATE TABLE table_name_30 (championship VARCHAR, outcome VARCHAR, year VARCHAR)

SELECT championship FROM table_name_30 WHERE outcome = "runner-up" AND year = 2010


Question: Tell me the outcome for premier league darts

Context: CREATE TABLE table_name_12 (outcome VARCHAR, championship VARCHAR)

SELECT outcome FROM table_name_12 WHERE championship = "premier league darts"


Question: Tell me the sum of Year for outcome of runner-up for world darts championship

Context: CREATE TABLE table_name_41 (year INTEGER, outcome VARCHAR, championship VARCHAR)

SELECT SUM(year) FROM table_name_41 WHERE outcome = "runner-up" AND championship = "world darts championship"


Question: In 2007, how many points were won when more than 5 matches were played?

Context: CREATE TABLE table_name_74 (points_won VARCHAR, year VARCHAR, total_matches VARCHAR)

SELECT COUNT(points_won) FROM table_name_74 WHERE year = "2007" AND total_matches > 5


Question: In 2007, what is the average total matches with points % larger than 33.3?

Context: CREATE TABLE table_name_73 (total_matches INTEGER, points__percentage VARCHAR, year VARCHAR)

SELECT AVG(total_matches) FROM table_name_73 WHERE points__percentage > 33.3 AND year = "2007"


Question: Which player attended school at Georgia Tech?

Context: CREATE TABLE table_name_74 (player VARCHAR, school_club_team VARCHAR)

SELECT player FROM table_name_74 WHERE school_club_team = "georgia tech"


Question: What position does Ed Stokes hold?

Context: CREATE TABLE table_name_87 (position VARCHAR, player VARCHAR)

SELECT position FROM table_name_87 WHERE player = "ed stokes"


Question: What is Michael Stewart's school or club team?

Context: CREATE TABLE table_name_93 (school_club_team VARCHAR, player VARCHAR)

SELECT school_club_team FROM table_name_93 WHERE player = "michael stewart"


Question: What tournament was played on May 29, 2010?

Context: CREATE TABLE table_name_8 (tournament VARCHAR, date VARCHAR)

SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010"


Question: What was the surface made of in the contest where Paula Ormaechea was the partner?

Context: CREATE TABLE table_name_50 (surface VARCHAR, partner VARCHAR)

SELECT surface FROM table_name_50 WHERE partner = "paula ormaechea"


Question: Tell me the method with a record of 4-2

Context: CREATE TABLE table_name_1 (method VARCHAR, record VARCHAR)

SELECT method FROM table_name_1 WHERE record = "4-2"


Question: Tell me the record for yukiya naito

Context: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR)

SELECT record FROM table_name_78 WHERE opponent = "yukiya naito"


Question: Tell me the record for kazuhiro nakamura

Context: CREATE TABLE table_name_25 (record VARCHAR, opponent VARCHAR)

SELECT record FROM table_name_25 WHERE opponent = "kazuhiro nakamura"


Question: Tell me the method for stanislav nuschik

Context: CREATE TABLE table_name_60 (method VARCHAR, opponent VARCHAR)

SELECT method FROM table_name_60 WHERE opponent = "stanislav nuschik"


Question: What was the Result of IFL: Los Angeles?

Context: CREATE TABLE table_name_88 (res VARCHAR, event VARCHAR)

SELECT res FROM table_name_88 WHERE event = "ifl: los angeles"


Question: Which Event resulted in a Win for Opponent, Shane Ott?

Context: CREATE TABLE table_name_4 (event VARCHAR, res VARCHAR, opponent VARCHAR)

SELECT event FROM table_name_4 WHERE res = "win" AND opponent = "shane ott"


Question: Which crystal structures has a Tc(K) of 110 and the number of Cu-O planes in the unit cell is 3?

Context: CREATE TABLE table_name_67 (crystal_structure VARCHAR, no_of_cu_o_planes_in_unit_cell VARCHAR, t_c__k_ VARCHAR)

SELECT crystal_structure FROM table_name_67 WHERE no_of_cu_o_planes_in_unit_cell = 3 AND t_c__k_ = 110


Question: Name the gold with total larger than 33

Context: CREATE TABLE table_name_46 (gold VARCHAR, total INTEGER)

SELECT gold FROM table_name_46 WHERE total > 33


Question: Name the fewest gold for tanzania with bronze less than 0

Context: CREATE TABLE table_name_54 (gold INTEGER, nation VARCHAR, bronze VARCHAR)

SELECT MIN(gold) FROM table_name_54 WHERE nation = "tanzania" AND bronze < 0


Question: Who is the opponent for week 10?

Context: CREATE TABLE table_name_17 (opponent VARCHAR, week VARCHAR)

SELECT opponent FROM table_name_17 WHERE week = 10


Question: For countries that won more than 32 gold medals, what was the highest number of golds?

Context: CREATE TABLE table_name_81 (gold INTEGER, total INTEGER)

SELECT MAX(gold) FROM table_name_81 WHERE total > 32


Question: Tell me fourth place for year of 2010

Context: CREATE TABLE table_name_36 (fourth_place VARCHAR, year VARCHAR)

SELECT fourth_place FROM table_name_36 WHERE year = 2010


Question: Tell me the result for 2010 fifa world cup qualification

Context: CREATE TABLE table_name_81 (result VARCHAR, competition VARCHAR)

SELECT result FROM table_name_81 WHERE competition = "2010 fifa world cup qualification"


Question: Tell me the date for 2010 fifa world cup qualification

Context: CREATE TABLE table_name_85 (date VARCHAR, competition VARCHAR)

SELECT date FROM table_name_85 WHERE competition = "2010 fifa world cup qualification"


Question: Tell me the surface for november 28, 2010

Context: CREATE TABLE table_name_34 (surface VARCHAR, date VARCHAR)

SELECT surface FROM table_name_34 WHERE date = "november 28, 2010"


Question: Tell me the tournament with a hard surface for 6–1, 6–2

Context: CREATE TABLE table_name_99 (tournament VARCHAR, surface VARCHAR, score VARCHAR)

SELECT tournament FROM table_name_99 WHERE surface = "hard" AND score = "6–1, 6–2"


Question: Tell me the date for 6–3, 6–2

Context: CREATE TABLE table_name_87 (date VARCHAR, score VARCHAR)

SELECT date FROM table_name_87 WHERE score = "6–3, 6–2"


Question: Tell me the date for johanna konta

Context: CREATE TABLE table_name_8 (date VARCHAR, opponent_in_the_final VARCHAR)

SELECT date FROM table_name_8 WHERE opponent_in_the_final = "johanna konta"


Question: What is the time value for the rider Brian Finch and a rank greater than 3?

Context: CREATE TABLE table_name_42 (time VARCHAR, rank VARCHAR, rider VARCHAR)

SELECT time FROM table_name_42 WHERE rank > 3 AND rider = "brian finch"


Question: What result does the project Once Upon A Time In The West, directed by Sergio Leone have?

Context: CREATE TABLE table_name_40 (result VARCHAR, director VARCHAR, project VARCHAR)

SELECT result FROM table_name_40 WHERE director = "sergio leone" AND project = "once upon a time in the west"


Question: What year was Bulworth nominated?

Context: CREATE TABLE table_name_92 (year VARCHAR, project VARCHAR)

SELECT year FROM table_name_92 WHERE project = "bulworth"


Question: What is the average Year for the project The Untouchables?

Context: CREATE TABLE table_name_16 (year INTEGER, project VARCHAR)

SELECT AVG(year) FROM table_name_16 WHERE project = "the untouchables"


Question: Tell me the section for position of 8th and season of 2003

Context: CREATE TABLE table_name_29 (section VARCHAR, position VARCHAR, season VARCHAR)

SELECT section FROM table_name_29 WHERE position = "8th" AND season = "2003"


Question: What is the date of week 17?

Context: CREATE TABLE table_name_35 (date VARCHAR, week VARCHAR)

SELECT date FROM table_name_35 WHERE week = 17


Question: What was the latest week that the Tampa Bay Buccaneers were an opponent?

Context: CREATE TABLE table_name_29 (week INTEGER, opponent VARCHAR)

SELECT MAX(week) FROM table_name_29 WHERE opponent = "tampa bay buccaneers"


Question: Name the fewest tries for leicester tigers with points less than 207

Context: CREATE TABLE table_name_6 (tries INTEGER, club VARCHAR, points VARCHAR)

SELECT MIN(tries) FROM table_name_6 WHERE club = "leicester tigers" AND points < 207


Question: Name the date of st albans city for result of drew 0-0

Context: CREATE TABLE table_name_73 (date VARCHAR, opponent VARCHAR, result VARCHAR)

SELECT date FROM table_name_73 WHERE opponent = "st albans city" AND result = "drew 0-0"


Question: Name the venue for 15 august 2006

Context: CREATE TABLE table_name_89 (venue VARCHAR, date VARCHAR)

SELECT venue FROM table_name_89 WHERE date = "15 august 2006"


Question: Name the most attendance for tamworth with home venue

Context: CREATE TABLE table_name_4 (attendance INTEGER, opponent VARCHAR, venue VARCHAR)

SELECT MAX(attendance) FROM table_name_4 WHERE opponent = "tamworth" AND venue = "home"


Question: Name the least attendance for 10 october 2006

Context: CREATE TABLE table_name_82 (attendance INTEGER, date VARCHAR)

SELECT MIN(attendance) FROM table_name_82 WHERE date = "10 october 2006"


Question: I want the average bronze for total of 19 and silver of 8 with rank of 31

Context: CREATE TABLE table_name_12 (bronze INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR)

SELECT AVG(bronze) FROM table_name_12 WHERE total = 19 AND silver = 8 AND rank = "31"


Question: Tell me the average bronze for rank of 43 and total less than 11

Context: CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR)

SELECT AVG(bronze) FROM table_name_41 WHERE rank = "43" AND total < 11


Question: Say the frequency of 1290 khz

Context: CREATE TABLE table_name_31 (format VARCHAR, frequency VARCHAR)

SELECT format FROM table_name_31 WHERE frequency = "1290 khz"


Question: Tell me the timeslot of calls of wrko

Context: CREATE TABLE table_name_21 (timeslot VARCHAR, calls VARCHAR)

SELECT timeslot FROM table_name_21 WHERE calls = "wrko"


Question: Tell me the format for calls of wrko

Context: CREATE TABLE table_name_56 (format VARCHAR, calls VARCHAR)

SELECT format FROM table_name_56 WHERE calls = "wrko"


Question: Tell me the calls for frequency of 1290 khz

Context: CREATE TABLE table_name_88 (calls VARCHAR, frequency VARCHAR)

SELECT calls FROM table_name_88 WHERE frequency = "1290 khz"


Question: Tell me the branding for frequency of 680 khz

Context: CREATE TABLE table_name_88 (branding VARCHAR, frequency VARCHAR)

SELECT branding FROM table_name_88 WHERE frequency = "680 khz"


Question: Tell me the timeslot for calls of whyn

Context: CREATE TABLE table_name_74 (timeslot VARCHAR, calls VARCHAR)

SELECT timeslot FROM table_name_74 WHERE calls = "whyn"


Question: For how long did Bolivia have a lane greater than 6?

Context: CREATE TABLE table_name_56 (time VARCHAR, country VARCHAR, lane VARCHAR)

SELECT COUNT(time) FROM table_name_56 WHERE country = "bolivia" AND lane > 6


Question: In heat rank 7, what is the sum of lanes?

Context: CREATE TABLE table_name_48 (lane INTEGER, heat_rank VARCHAR)

SELECT SUM(lane) FROM table_name_48 WHERE heat_rank = 7


Question: Which country is ranked 56 overall and has a heat rank smaller than 8?

Context: CREATE TABLE table_name_72 (country VARCHAR, heat_rank VARCHAR, overall_rank VARCHAR)

SELECT country FROM table_name_72 WHERE heat_rank < 8 AND overall_rank = "56"


Question: What is the greatest lane with an overall rank of 79 and a time larger than 26.1?

Context: CREATE TABLE table_name_24 (lane INTEGER, overall_rank VARCHAR, time VARCHAR)

SELECT MAX(lane) FROM table_name_24 WHERE overall_rank = "79" AND time > 26.1


Question: Tell me the highest week for metropolitan stadium for attendance more than 47,644

Context: CREATE TABLE table_name_80 (week INTEGER, venue VARCHAR, attendance VARCHAR)

SELECT MAX(week) FROM table_name_80 WHERE venue = "metropolitan stadium" AND attendance > 47 OFFSET 644


Question: Name the sum of played for serik berdalin and drawn more than 4

Context: CREATE TABLE table_name_25 (played INTEGER, manager VARCHAR, drawn VARCHAR)

SELECT SUM(played) FROM table_name_25 WHERE manager = "serik berdalin" AND drawn > 4


Question: Who had the highest total PR seats of 48 with a District seat larger than than 73?

Context: CREATE TABLE table_name_28 (total_seats INTEGER, pr_seats VARCHAR, district_seats VARCHAR)

SELECT MAX(total_seats) FROM table_name_28 WHERE pr_seats = 48 AND district_seats > 73


Question: In 1955 which party did Thomas Mitchell belong to?

Context: CREATE TABLE table_name_97 (party VARCHAR, year VARCHAR, candidate VARCHAR)

SELECT party FROM table_name_97 WHERE year = "1955" AND candidate = "thomas mitchell"


Question: What are the number of days did the ulster unionist Party have the constituate fermanagh and south tyrone?

Context: CREATE TABLE table_name_79 (days VARCHAR, party VARCHAR, constituency VARCHAR)

SELECT days FROM table_name_79 WHERE party = "ulster unionist" AND constituency = "fermanagh and south tyrone"


Question: What are the number of days in 1945 where the constituent was heywood and radcliffe?

Context: CREATE TABLE table_name_18 (days VARCHAR, year VARCHAR, constituency VARCHAR)

SELECT days FROM table_name_18 WHERE year = "1945" AND constituency = "heywood and radcliffe"


Question: What year was Hazel Grove the constituent for the liberal party?

Context: CREATE TABLE table_name_15 (year VARCHAR, party VARCHAR, constituency VARCHAR)

SELECT year FROM table_name_15 WHERE party = "liberal" AND constituency = "hazel grove"


Question: Tell me the average Laps for grid larger than 12 and bikes of ducati 999rs for dean ellison

Context: CREATE TABLE table_name_74 (laps INTEGER, rider VARCHAR, grid VARCHAR, bike VARCHAR)

SELECT AVG(laps) FROM table_name_74 WHERE grid > 12 AND bike = "ducati 999rs" AND rider = "dean ellison"


Question: Tell me the highest Laps for grid less than 22 and riderS of ruben xaus

Context: CREATE TABLE table_name_40 (laps INTEGER, grid VARCHAR, rider VARCHAR)

SELECT MAX(laps) FROM table_name_40 WHERE grid < 22 AND rider = "ruben xaus"


Question: Tell me the total number of grid for rider of james toseland

Context: CREATE TABLE table_name_14 (grid VARCHAR, rider VARCHAR)

SELECT COUNT(grid) FROM table_name_14 WHERE rider = "james toseland"


Question: Tell me the least Laps for grid larger than 2 with 35:26.734

Context: CREATE TABLE table_name_45 (laps INTEGER, time VARCHAR, grid VARCHAR)

SELECT MIN(laps) FROM table_name_45 WHERE time = "35:26.734" AND grid > 2


Question: Tell me the date with week of 13

Context: CREATE TABLE table_name_21 (date VARCHAR, week VARCHAR)

SELECT date FROM table_name_21 WHERE week = 13


Question: Tell me the average week for attendance of 48,113

Context: CREATE TABLE table_name_74 (week INTEGER, attendance VARCHAR)

SELECT AVG(week) FROM table_name_74 WHERE attendance = "48,113"


Question: Which Album had a year less than 2005 with a Label by Ministry of Sound?

Context: CREATE TABLE table_name_94 (album VARCHAR, year VARCHAR, label VARCHAR)

SELECT album FROM table_name_94 WHERE year < 2005 AND label = "ministry of sound"


Question: Which Album had a bigger year than 2005 and whose country was Australia?

Context: CREATE TABLE table_name_32 (album VARCHAR, year VARCHAR, country VARCHAR)

SELECT album FROM table_name_32 WHERE year > 2005 AND country = "australia"


Question: Which song had Central Station as a label and whose album was Various - Wild Nights 4?

Context: CREATE TABLE table_name_33 (song VARCHAR, label VARCHAR, album VARCHAR)

SELECT song FROM table_name_33 WHERE label = "central station" AND album = "various - wild nights 4"


Question: Where did Zimbabwe play?

Context: CREATE TABLE table_name_63 (venue VARCHAR, opponent VARCHAR)

SELECT venue FROM table_name_63 WHERE opponent = "zimbabwe"


Question: What is the date when Canada played?

Context: CREATE TABLE table_name_68 (date VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_68 WHERE opponent = "canada"


Question: Tell me the lowest silver for rank of 9 and bronze less than 2

Context: CREATE TABLE table_name_26 (silver INTEGER, rank VARCHAR, bronze VARCHAR)

SELECT MIN(silver) FROM table_name_26 WHERE rank = 9 AND bronze < 2


Question: Name the report for raymond sommer

Context: CREATE TABLE table_name_66 (report VARCHAR, winning_driver VARCHAR)

SELECT report FROM table_name_66 WHERE winning_driver = "raymond sommer"


Question: Name the winning driver for monaco grand prix

Context: CREATE TABLE table_name_41 (winning_driver VARCHAR, name VARCHAR)

SELECT winning_driver FROM table_name_41 WHERE name = "monaco grand prix"


Question: Name the circuit for marcel lehoux

Context: CREATE TABLE table_name_95 (circuit VARCHAR, winning_driver VARCHAR)

SELECT circuit FROM table_name_95 WHERE winning_driver = "marcel lehoux"


Question: Name the report for per-viktor widengren and alfa romeo

Context: CREATE TABLE table_name_48 (report VARCHAR, winning_driver VARCHAR, winning_constructor VARCHAR)

SELECT report FROM table_name_48 WHERE winning_driver = "per-viktor widengren" AND winning_constructor = "alfa romeo"


Question: Tell me the date for warsaw 1929

Context: CREATE TABLE table_name_50 (date VARCHAR, location VARCHAR, year VARCHAR)

SELECT date FROM table_name_50 WHERE location = "warsaw" AND year = 1929


Question: Tell me the result for warsaw 1929

Context: CREATE TABLE table_name_8 (result VARCHAR, location VARCHAR, year VARCHAR)

SELECT result FROM table_name_8 WHERE location = "warsaw" AND year = 1929


Question: Tell me the result for harrogate

Context: CREATE TABLE table_name_34 (result VARCHAR, location VARCHAR)

SELECT result FROM table_name_34 WHERE location = "harrogate"


Question: Tell me the overall rank for roland schoeman

Context: CREATE TABLE table_name_50 (overall_rank VARCHAR, swimmer VARCHAR)

SELECT overall_rank FROM table_name_50 WHERE swimmer = "roland schoeman"


Question: How many Silver medals did nation who is ranked greater than 1 and has 4 Gold medals have?

Context: CREATE TABLE table_name_45 (silver INTEGER, rank VARCHAR, gold VARCHAR)

SELECT SUM(silver) FROM table_name_45 WHERE rank > 1 AND gold = 4


Question: Which nation has more than 6 Silver medals and fewer than 8 Gold medals?

Context: CREATE TABLE table_name_59 (total INTEGER, silver VARCHAR, gold VARCHAR)

SELECT AVG(total) FROM table_name_59 WHERE silver > 6 AND gold < 8


Question: What is the rank of the Nation that has fewer than 24 total medals are more than 7 Gold medals?

Context: CREATE TABLE table_name_51 (rank INTEGER, total VARCHAR, gold VARCHAR)

SELECT AVG(rank) FROM table_name_51 WHERE total < 24 AND gold > 7


Question: What is the rank of the nation that has more than 1 Bronze medals and fewer than 4 Gold medals?

Context: CREATE TABLE table_name_75 (rank INTEGER, bronze VARCHAR, gold VARCHAR)

SELECT MIN(rank) FROM table_name_75 WHERE bronze > 1 AND gold < 4


Question: How many silver medals does Belarus (blr) along with 4 gold and 4 bronze?

Context: CREATE TABLE table_name_92 (silver INTEGER, bronze VARCHAR, gold VARCHAR, nation VARCHAR)

SELECT SUM(silver) FROM table_name_92 WHERE gold = 4 AND nation = "belarus (blr)" AND bronze > 4


Question: What rank is Belarus (BLR), which earned 15 medals total?

Context: CREATE TABLE table_name_44 (rank INTEGER, nation VARCHAR, total VARCHAR)

SELECT MAX(rank) FROM table_name_44 WHERE nation = "belarus (blr)" AND total < 15


Question: What was the name of the race on 24 September?

Context: CREATE TABLE table_name_37 (name VARCHAR, date VARCHAR)

SELECT name FROM table_name_37 WHERE date = "24 september"


Question: What is the name of the race on 9 July?

Context: CREATE TABLE table_name_72 (name VARCHAR, date VARCHAR)

SELECT name FROM table_name_72 WHERE date = "9 july"


Question: What was the race that was won by a Maserati being driven by Giuseppe Campari?

Context: CREATE TABLE table_name_67 (circuit VARCHAR, winning_constructor VARCHAR, winning_drivers VARCHAR)

SELECT circuit FROM table_name_67 WHERE winning_constructor = "maserati" AND winning_drivers = "giuseppe campari"


Question: What date was the race won by Louis Chiron?

Context: CREATE TABLE table_name_81 (date VARCHAR, winning_drivers VARCHAR)

SELECT date FROM table_name_81 WHERE winning_drivers = "louis chiron"


Question: What brand of vehicle won a race driven by Tazio Nuvolari?

Context: CREATE TABLE table_name_81 (winning_constructor VARCHAR, winning_drivers VARCHAR)

SELECT winning_constructor FROM table_name_81 WHERE winning_drivers = "tazio nuvolari"


Question: What race was won by Tazio Nuvolari?

Context: CREATE TABLE table_name_63 (name VARCHAR, winning_drivers VARCHAR)

SELECT name FROM table_name_63 WHERE winning_drivers = "tazio nuvolari"


Question: Tell me the result for week less than 4 and september 7, 1986

Context: CREATE TABLE table_name_46 (result VARCHAR, week VARCHAR, date VARCHAR)

SELECT result FROM table_name_46 WHERE week < 4 AND date = "september 7, 1986"


Question: Tell me the result for week of 3

Context: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR)

SELECT result FROM table_name_33 WHERE week = 3


Question: Tell me the lowest week for attedance less thaan 32,738

Context: CREATE TABLE table_name_77 (week INTEGER, attendance INTEGER)

SELECT MIN(week) FROM table_name_77 WHERE attendance < 32 OFFSET 738


Question: Tell me the ship for lieutenant montagu verling

Context: CREATE TABLE table_name_52 (ship VARCHAR, captain VARCHAR)

SELECT ship FROM table_name_52 WHERE captain = "lieutenant montagu verling"


Question: Tell me the class for admiral and hms frobisher

Context: CREATE TABLE table_name_35 (class VARCHAR, rank VARCHAR, ship VARCHAR)

SELECT class FROM table_name_35 WHERE rank = "admiral" AND ship = "hms frobisher"


Question: Tell me the guns for third-rate ship of the line and rank of vice-admiral with year of 1802

Context: CREATE TABLE table_name_63 (guns VARCHAR, year VARCHAR, class VARCHAR, rank VARCHAR)

SELECT guns FROM table_name_63 WHERE class = "third-rate ship of the line" AND rank = "vice-admiral" AND year = "1802"


Question: Tell me the captain for 1774 and guns of 14

Context: CREATE TABLE table_name_23 (captain VARCHAR, year VARCHAR, guns VARCHAR)

SELECT captain FROM table_name_23 WHERE year = "1774" AND guns = "14"


Question: Tell me the captain for guns of 28

Context: CREATE TABLE table_name_15 (captain VARCHAR, guns VARCHAR)

SELECT captain FROM table_name_15 WHERE guns = "28"


Question: Tell me the status of eliminated of anton dela paz

Context: CREATE TABLE table_name_15 (status VARCHAR, eliminated VARCHAR)

SELECT status FROM table_name_15 WHERE eliminated = "anton dela paz"


Question: Tell me the finalists for week # less than 2

Context: CREATE TABLE table_name_40 (finalists VARCHAR, week__number INTEGER)

SELECT finalists FROM table_name_40 WHERE week__number < 2


Question: Tell me the eliminated for week # larger than 4

Context: CREATE TABLE table_name_83 (eliminated VARCHAR, week__number INTEGER)

SELECT eliminated FROM table_name_83 WHERE week__number > 4


Question: At the UFC 78, what is the average round when the time is 5:00?

Context: CREATE TABLE table_name_32 (round INTEGER, time VARCHAR, event VARCHAR)

SELECT AVG(round) FROM table_name_32 WHERE time = "5:00" AND event = "ufc 78"


Question: When there was a draw, what was the time?

Context: CREATE TABLE table_name_43 (time VARCHAR, res VARCHAR)

SELECT time FROM table_name_43 WHERE res = "draw"


Question: What is the sum of points in 2010 when the driver had more than 14 races and an F.L. of less than 0?

Context: CREATE TABLE table_name_8 (points INTEGER, fl VARCHAR, year VARCHAR, races VARCHAR)

SELECT SUM(points) FROM table_name_8 WHERE year = 2010 AND races > 14 AND fl < 0


Question: What was the outcome of the game that had a week number of less than 2?

Context: CREATE TABLE table_name_67 (result VARCHAR, week INTEGER)

SELECT result FROM table_name_67 WHERE week < 2


Question: What heat and what lane is thi hue pham in?

Context: CREATE TABLE table_name_25 (heat_ VARCHAR, _lane VARCHAR, name VARCHAR)

SELECT heat_ & _lane FROM table_name_25 WHERE name = "thi hue pham"


Question: What Heat & Lane is the person who has a time of 1:01.12?

Context: CREATE TABLE table_name_72 (heat_ VARCHAR, _lane VARCHAR, time VARCHAR)

SELECT heat_ & _lane FROM table_name_72 WHERE time = "1:01.12"


Question: How many laps did Fernando Alonso do?

Context: CREATE TABLE table_name_3 (laps VARCHAR, driver VARCHAR)

SELECT laps FROM table_name_3 WHERE driver = "fernando alonso"


Question: What was Jenson Button's constructor?

Context: CREATE TABLE table_name_13 (constructor VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_13 WHERE driver = "jenson button"


Question: Tell me the package for EEPROM less than 128

Context: CREATE TABLE table_name_17 (package VARCHAR, eeprom INTEGER)

SELECT package FROM table_name_17 WHERE eeprom < 128


Question: Tell me the chip with frequency larger than 10

Context: CREATE TABLE table_name_63 (chip VARCHAR, frequency_ VARCHAR, mhz VARCHAR)

SELECT chip FROM table_name_63 WHERE frequency_[mhz] > 10


Question: I want the highest Grid for Toyota and jarno trulli

Context: CREATE TABLE table_name_95 (grid INTEGER, constructor VARCHAR, driver VARCHAR)

SELECT MAX(grid) FROM table_name_95 WHERE constructor = "toyota" AND driver = "jarno trulli"


Question: Tell me the average Laps for grid larger than 22

Context: CREATE TABLE table_name_39 (laps INTEGER, grid INTEGER)

SELECT AVG(laps) FROM table_name_39 WHERE grid > 22


Question: Tell me the constructor for grid of 17

Context: CREATE TABLE table_name_9 (constructor VARCHAR, grid VARCHAR)

SELECT constructor FROM table_name_9 WHERE grid = 17


Question: What years had a manager who lost more than 1 and drawn more than 11?

Context: CREATE TABLE table_name_26 (ukraine_career VARCHAR, lost VARCHAR, drawn VARCHAR)

SELECT ukraine_career FROM table_name_26 WHERE lost > 1 AND drawn > 11


Question: what is the total win % of manager viktor prokopenko, when he lost fewer than 2?

Context: CREATE TABLE table_name_43 (win__percentage VARCHAR, manager VARCHAR, lost VARCHAR)

SELECT COUNT(win__percentage) FROM table_name_43 WHERE manager = "viktor prokopenko" AND lost < 2


Question: When 4 clubs are involved, what is the average number of fixtures?

Context: CREATE TABLE table_name_3 (fixtures INTEGER, clubs_involved VARCHAR)

SELECT AVG(fixtures) FROM table_name_3 WHERE clubs_involved = 4


Question: In the sixth round, what is the sum of fixtures when there were more than 15 clubs involved?

Context: CREATE TABLE table_name_67 (fixtures INTEGER, round VARCHAR, clubs_involved VARCHAR)

SELECT SUM(fixtures) FROM table_name_67 WHERE round = "sixth round" AND clubs_involved > 15


Question: Tell me the league for year of 1915/16

Context: CREATE TABLE table_name_3 (league VARCHAR, year VARCHAR)

SELECT league FROM table_name_3 WHERE year = "1915/16"


Question: What is the make of the car that drove 54 laps?

Context: CREATE TABLE table_name_26 (constructor VARCHAR, laps VARCHAR)

SELECT constructor FROM table_name_26 WHERE laps = 54


Question: Who has a 59 cap?

Context: CREATE TABLE table_name_9 (name VARCHAR, caps VARCHAR)

SELECT name FROM table_name_9 WHERE caps = 59


Question: Tell me the sum of frequency for ERP W less than 1

Context: CREATE TABLE table_name_43 (frequency_mhz INTEGER, erp_w INTEGER)

SELECT SUM(frequency_mhz) FROM table_name_43 WHERE erp_w < 1


Question: Tell me the lowest ties played with a debut of 1936

Context: CREATE TABLE table_name_15 (ties_played INTEGER, debut VARCHAR)

SELECT MIN(ties_played) FROM table_name_15 WHERE debut = 1936


Question: Where did the Paris Marathon occur?

Context: CREATE TABLE table_name_47 (venue VARCHAR, competition VARCHAR)

SELECT venue FROM table_name_47 WHERE competition = "paris marathon"


Question: Tell me the capacity for city park stadium

Context: CREATE TABLE table_name_15 (capacity VARCHAR, stadium VARCHAR)

SELECT capacity FROM table_name_15 WHERE stadium = "city park stadium"


Question: Tell me the tournament for opponents of andrei pavel rogier wassen

Context: CREATE TABLE table_name_53 (tournament VARCHAR, opponents_in_the_final VARCHAR)

SELECT tournament FROM table_name_53 WHERE opponents_in_the_final = "andrei pavel rogier wassen"


Question: Tell me the tournament for score in the final of 1–6, 3–6

Context: CREATE TABLE table_name_20 (tournament VARCHAR, score_in_the_final VARCHAR)

SELECT tournament FROM table_name_20 WHERE score_in_the_final = "1–6, 3–6"


Question: Tell me the opponents for score in the final of 1–6, 2–6

Context: CREATE TABLE table_name_68 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)

SELECT opponents_in_the_final FROM table_name_68 WHERE score_in_the_final = "1–6, 2–6"


Question: Tell me the surface for 16 april 2007

Context: CREATE TABLE table_name_72 (surface VARCHAR, date VARCHAR)

SELECT surface FROM table_name_72 WHERE date = "16 april 2007"


Question: I want the average pages for  ISBN of 978-0-9766580-5-4

Context: CREATE TABLE table_name_77 (pages INTEGER, isbn VARCHAR)

SELECT AVG(pages) FROM table_name_77 WHERE isbn = "978-0-9766580-5-4"


Question: Tell me the sum of year for 244 pages

Context: CREATE TABLE table_name_84 (year INTEGER, pages VARCHAR)

SELECT SUM(year) FROM table_name_84 WHERE pages = 244


Question: Tell me the title for pages of 96

Context: CREATE TABLE table_name_99 (title VARCHAR, pages VARCHAR)

SELECT title FROM table_name_99 WHERE pages = 96


Question: What was the date of birth of a republican member of the United States House of Representatives who held the term of 1863-1865?

Context: CREATE TABLE table_name_80 (date_of_birth VARCHAR, party VARCHAR, house_term VARCHAR)

SELECT date_of_birth FROM table_name_80 WHERE party = "republican" AND house_term = "1863-1865"


Question: What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?

Context: CREATE TABLE table_name_66 (age__years VARCHAR, _days_ VARCHAR, begin_date VARCHAR)

SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"


Question: What was the date of birth of the member of the United States House of Representatives that began their term on April 24, 1902?

Context: CREATE TABLE table_name_66 (date_of_birth VARCHAR, begin_date VARCHAR)

SELECT date_of_birth FROM table_name_66 WHERE begin_date = "april 24, 1902"


Question: Which member of the United States House of Representatives began their term on January 4, 1997?

Context: CREATE TABLE table_name_72 (representative VARCHAR, begin_date VARCHAR)

SELECT representative FROM table_name_72 WHERE begin_date = "january 4, 1997"


Question: Which state did Samuel Thatcher of the Federalist party represent?

Context: CREATE TABLE table_name_27 (state_served VARCHAR, party VARCHAR, representative VARCHAR)

SELECT state_served FROM table_name_27 WHERE party = "federalist" AND representative = "samuel thatcher"


Question: What position does Hedo Türkoğlu play?

Context: CREATE TABLE table_name_93 (position VARCHAR, player VARCHAR)

SELECT position FROM table_name_93 WHERE player = "hedo türkoğlu"


Question: How long has Sebastian Telfair played for Toronto?

Context: CREATE TABLE table_name_83 (years_in_toronto VARCHAR, player VARCHAR)

SELECT years_in_toronto FROM table_name_83 WHERE player = "sebastian telfair"


Question: Tell me the title for japan august 23, 2012

Context: CREATE TABLE table_name_30 (title VARCHAR, japan VARCHAR)

SELECT title FROM table_name_30 WHERE japan = "august 23, 2012"


Question: Tell me the title for japan august 23, 2012

Context: CREATE TABLE table_name_57 (title VARCHAR, japan VARCHAR)

SELECT title FROM table_name_57 WHERE japan = "august 23, 2012"


Question: Tell me the Australia march 17, 2005

Context: CREATE TABLE table_name_84 (australia VARCHAR, japan VARCHAR)

SELECT australia FROM table_name_84 WHERE japan = "march 17, 2005"


Question: Tell me the Europe for z.h.p. unlosing ranger vs darkdeath evilman

Context: CREATE TABLE table_name_79 (europe VARCHAR, title VARCHAR)

SELECT europe FROM table_name_79 WHERE title = "z.h.p. unlosing ranger vs darkdeath evilman"


Question: Name the total losses for 4 place and ties less than 0

Context: CREATE TABLE table_name_35 (losses VARCHAR, place VARCHAR, ties VARCHAR)

SELECT COUNT(losses) FROM table_name_35 WHERE place = 4 AND ties < 0


Question: Name the average place for ties less than 1 and losess more than 3 with points of 6 qc

Context: CREATE TABLE table_name_70 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)

SELECT AVG(place) FROM table_name_70 WHERE ties < 1 AND points = "6 qc" AND losses > 3


Question: Name the most wins for losses more than 2 and points of two with place larger than 7

Context: CREATE TABLE table_name_4 (wins INTEGER, place VARCHAR, losses VARCHAR, points VARCHAR)

SELECT MAX(wins) FROM table_name_4 WHERE losses > "2" AND points = "2" AND place > 7


Question: Name the sum of place with ties larger than 0 and point sof 7 qc and losses more than 2

Context: CREATE TABLE table_name_58 (place INTEGER, losses VARCHAR, ties VARCHAR, points VARCHAR)

SELECT SUM(place) FROM table_name_58 WHERE ties > 0 AND points = "7 qc" AND losses > 2


Question: Tell me the number range for 4vip

Context: CREATE TABLE table_name_36 (no_range VARCHAR, type VARCHAR)

SELECT no_range FROM table_name_36 WHERE type = "4vip"


Question: Name the heat rank for senegal

Context: CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)

SELECT heat_rank FROM table_name_22 WHERE country = "senegal"


Question: What is the value for 2010 when the 2012 value is Q2?

Context: CREATE TABLE table_name_95 (Id VARCHAR)

SELECT 2010 FROM table_name_95 WHERE 2012 = "q2"


Question: What is the value for 2010 when the value for 2006 is A and the value for 2009 is 1R?

Context: CREATE TABLE table_name_59 (Id VARCHAR)

SELECT 2010 FROM table_name_59 WHERE 2006 = "a" AND 2009 = "1r"


Question: What is the value for 2012 when the value for 2009 is 1R and the vale for 2007 is 2R?

Context: CREATE TABLE table_name_51 (Id VARCHAR)

SELECT 2012 FROM table_name_51 WHERE 2009 = "1r" AND 2007 = "2r"


Question: What is the value for 2008 for the US Open Tournament?

Context: CREATE TABLE table_name_84 (tournament VARCHAR)

SELECT 2008 FROM table_name_84 WHERE tournament = "us open"


Question: What is the value for 2009 when the value for 2011 is 138?

Context: CREATE TABLE table_name_87 (Id VARCHAR)

SELECT 2009 FROM table_name_87 WHERE 2011 = "138"


Question: Tell me the highest series # for september 22, 1976

Context: CREATE TABLE table_name_53 (series__number INTEGER, original_air_date VARCHAR)

SELECT MAX(series__number) FROM table_name_53 WHERE original_air_date = "september 22, 1976"


Question: What is the screen size and pixel value when the dimensions are 115.5×83.7×102.5?

Context: CREATE TABLE table_name_7 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR)

SELECT screen_size, pixels FROM table_name_7 WHERE dimensions_w×h×d__mm_ = "115.5×83.7×102.5"


Question: What is the screen size and pixel amount of model p5000 when the dimensions are 98×64.5×41?

Context: CREATE TABLE table_name_28 (screen_size VARCHAR, pixels VARCHAR, dimensions_w×h×d__mm_ VARCHAR, model VARCHAR)

SELECT screen_size, pixels FROM table_name_28 WHERE dimensions_w×h×d__mm_ = "98×64.5×41" AND model = "p5000"


Question: Tell me the championship game for big eight

Context: CREATE TABLE table_name_29 (championship_game VARCHAR, conference VARCHAR)

SELECT championship_game FROM table_name_29 WHERE conference = "big eight"


Question: Name the lowest total for rank of 13 with bronze less than 1

Context: CREATE TABLE table_name_20 (total INTEGER, rank VARCHAR, bronze VARCHAR)

SELECT MIN(total) FROM table_name_20 WHERE rank = 13 AND bronze < 1


Question: Tell me the sum of original week for september 16, 1982

Context: CREATE TABLE table_name_51 (original_week INTEGER, date VARCHAR)

SELECT SUM(original_week) FROM table_name_51 WHERE date = "september 16, 1982"


Question: Tell me the average original week for soldier field

Context: CREATE TABLE table_name_18 (original_week INTEGER, venue VARCHAR)

SELECT AVG(original_week) FROM table_name_18 WHERE venue = "soldier field"


Question: Tell me the date for original week less than 16 and result of l 23–22

Context: CREATE TABLE table_name_81 (date VARCHAR, original_week VARCHAR, result VARCHAR)

SELECT date FROM table_name_81 WHERE original_week < 16 AND result = "l 23–22"


Question: Tell me the call sign for frequency of 0 97.3 fm

Context: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR)

SELECT call_sign FROM table_name_67 WHERE frequency = "0 97.3 fm"


Question: Tell me the owner for classical

Context: CREATE TABLE table_name_81 (owner VARCHAR, format VARCHAR)

SELECT owner FROM table_name_81 WHERE format = "classical"


Question: Tell me the city of license for 0 106.9 fm

Context: CREATE TABLE table_name_1 (city_of_license VARCHAR, frequency VARCHAR)

SELECT city_of_license FROM table_name_1 WHERE frequency = "0 106.9 fm"


Question: What year(s) did Hakeem Olajuwon play Center for Toronto?

Context: CREATE TABLE table_name_33 (years_in_toronto VARCHAR, player VARCHAR)

SELECT years_in_toronto FROM table_name_33 WHERE player = "hakeem olajuwon"


Question: What position did Jimmy Oliver of the United States play?

Context: CREATE TABLE table_name_75 (position VARCHAR, nationality VARCHAR, player VARCHAR)

SELECT position FROM table_name_75 WHERE nationality = "united states" AND player = "jimmy oliver"


Question: Tell me the total number of crest length for year construction larger than 1957 for mattmark

Context: CREATE TABLE table_name_87 (crest_length__meters_ VARCHAR, year_of_construction VARCHAR, name VARCHAR)

SELECT COUNT(crest_length__meters_) FROM table_name_87 WHERE year_of_construction > 1957 AND name = "mattmark"


Question: Tell me the % of wt 2nd for bp 3rd comp of 98.4

Context: CREATE TABLE table_name_77 (_percentage_wt_2nd VARCHAR, bp_3rd_comp__˚c_ VARCHAR)

SELECT _percentage_wt_2nd FROM table_name_77 WHERE bp_3rd_comp__˚c_ = "98.4"


Question: Tell me the 3rd component for bp azeo of 62.1

Context: CREATE TABLE table_name_49 (bp_azeo__˚c_ VARCHAR)

SELECT 3 AS rd_component FROM table_name_49 WHERE bp_azeo__˚c_ = "62.1"


Question: Tell me the name with sør-trøndelag

Context: CREATE TABLE table_name_64 (name VARCHAR, county VARCHAR)

SELECT name FROM table_name_64 WHERE county = "sør-trøndelag"


Question: Tell me the elevation for oslo

Context: CREATE TABLE table_name_20 (elevation VARCHAR, county VARCHAR)

SELECT elevation FROM table_name_20 WHERE county = "oslo"


Question: What was the result of the match against Pat Lawlor?

Context: CREATE TABLE table_name_46 (result VARCHAR, opponent VARCHAR)

SELECT result FROM table_name_46 WHERE opponent = "pat lawlor"


Question: Tell me the sum of cars per set for operator of london midland

Context: CREATE TABLE table_name_3 (cars_per_set INTEGER, operator VARCHAR)

SELECT SUM(cars_per_set) FROM table_name_3 WHERE operator = "london midland"


Question: Tell me the title of japan january 31, 2008

Context: CREATE TABLE table_name_74 (title VARCHAR, japan VARCHAR)

SELECT title FROM table_name_74 WHERE japan = "january 31, 2008"


Question: Tell me japan for jigsaw land: japan graffiti

Context: CREATE TABLE table_name_14 (japan VARCHAR, title VARCHAR)

SELECT japan FROM table_name_14 WHERE title = "jigsaw land: japan graffiti"


Question: Tell me north america for january 23, 2013

Context: CREATE TABLE table_name_83 (north_america VARCHAR, japan VARCHAR)

SELECT north_america FROM table_name_83 WHERE japan = "january 23, 2013"


Question: Tell me the north america for september 18, 2009

Context: CREATE TABLE table_name_64 (north_america VARCHAR, europe VARCHAR)

SELECT north_america FROM table_name_64 WHERE europe = "september 18, 2009"


Question: Tell me europe for japan of january 28, 2010

Context: CREATE TABLE table_name_72 (europe VARCHAR, japan VARCHAR)

SELECT europe FROM table_name_72 WHERE japan = "january 28, 2010"


Question: Tell me the north america for phantom brave

Context: CREATE TABLE table_name_74 (north_america VARCHAR, title VARCHAR)

SELECT north_america FROM table_name_74 WHERE title = "phantom brave"


Question: What is the average played value in Belgrade with attendance greater than 26,222?

Context: CREATE TABLE table_name_83 (played INTEGER, city VARCHAR, average_attendance VARCHAR)

SELECT AVG(played) FROM table_name_83 WHERE city = "belgrade" AND average_attendance > 26 OFFSET 222


Question: Tell me the role of festival theatre

Context: CREATE TABLE table_name_35 (role VARCHAR, theatre VARCHAR)

SELECT role FROM table_name_35 WHERE theatre = "festival theatre"


Question: Tell me the lowest year for shubert theatre

Context: CREATE TABLE table_name_72 (year INTEGER, theatre VARCHAR)

SELECT MIN(year) FROM table_name_72 WHERE theatre = "shubert theatre"


Question: Tell me the total number of years for lady cecily waynflete and opera house, kennedy center

Context: CREATE TABLE table_name_51 (year VARCHAR, role VARCHAR, theatre VARCHAR)

SELECT COUNT(year) FROM table_name_51 WHERE role = "lady cecily waynflete" AND theatre = "opera house, kennedy center"


Question: Tell me the role for tea and sympathy

Context: CREATE TABLE table_name_83 (role VARCHAR, play VARCHAR)

SELECT role FROM table_name_83 WHERE play = "tea and sympathy"


Question: When was the first beatification in Korea that was canonised before 1984?

Context: CREATE TABLE table_name_12 (beatified INTEGER, place VARCHAR, canonised VARCHAR)

SELECT MIN(beatified) FROM table_name_12 WHERE place = "korea" AND canonised < 1984


Question: When was Laurent-Marie-Joseph Imbert / St. Imbert, who was beatified after 1909 and canonised after 1984, martyred?

Context: CREATE TABLE table_name_65 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)

SELECT MAX(martyred) FROM table_name_65 WHERE beatified > 1909 AND name = "laurent-marie-joseph imbert / st. imbert" AND canonised > 1984


Question: When was the person(s) who were canonised before 1988 beatified?

Context: CREATE TABLE table_name_17 (beatified VARCHAR, canonised INTEGER)

SELECT beatified FROM table_name_17 WHERE canonised < 1988


Question: When was John Hoan Trinh Doan / St. John Hoan, who was beatified in 1909 and canonised after 1988, martyred?

Context: CREATE TABLE table_name_64 (martyred INTEGER, canonised VARCHAR, beatified VARCHAR, name VARCHAR)

SELECT MAX(martyred) FROM table_name_64 WHERE beatified = 1909 AND name = "john hoan trinh doan / st. john hoan" AND canonised > 1988


Question: What is the sum of year with the local host Sai?

Context: CREATE TABLE table_name_37 (year INTEGER, local_host_s_ VARCHAR)

SELECT SUM(year) FROM table_name_37 WHERE local_host_s_ = "sai"


Question: Who are the local hosts for the United States in years earlier than 2007?

Context: CREATE TABLE table_name_86 (local_host_s_ VARCHAR, country VARCHAR, year VARCHAR)

SELECT local_host_s_ FROM table_name_86 WHERE country = "united states" AND year < 2007


Question: Which city has a conference of LCC2 and a year earlier than 2009?

Context: CREATE TABLE table_name_70 (city VARCHAR, year VARCHAR, conference VARCHAR)

SELECT city FROM table_name_70 WHERE year < 2009 AND conference = "lcc2"


Question: Tell me the class with rank of 89th

Context: CREATE TABLE table_name_12 (class VARCHAR, rank VARCHAR)

SELECT class FROM table_name_12 WHERE rank = "89th"


Question: Tell me the most year for 3 points

Context: CREATE TABLE table_name_30 (year INTEGER, points VARCHAR)

SELECT MAX(year) FROM table_name_30 WHERE points = 3


Question: Which lane is Goksu Bicer in?

Context: CREATE TABLE table_name_37 (lane VARCHAR, swimmer VARCHAR)

SELECT lane FROM table_name_37 WHERE swimmer = "goksu bicer"


Question: Which Driver that has a Grid less than 9 and a Time/Retired of 2:06:26.358?

Context: CREATE TABLE table_name_59 (driver VARCHAR, grid VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_59 WHERE grid < 9 AND time_retired = "2:06:26.358"


Question: Which driver drove a Ferrari in the 2007 European Grand Prix with a grid less than 3?

Context: CREATE TABLE table_name_78 (driver VARCHAR, constructor VARCHAR, grid VARCHAR)

SELECT driver FROM table_name_78 WHERE constructor = "ferrari" AND grid < 3


Question: Name the location of ufc 98

Context: CREATE TABLE table_name_51 (location VARCHAR, event VARCHAR)

SELECT location FROM table_name_51 WHERE event = "ufc 98"


Question: What is the smallest number of wins for the Totals Tournament with a Top-25 value greater than 3?

Context: CREATE TABLE table_name_25 (wins INTEGER, tournament VARCHAR, top_25 VARCHAR)

SELECT MIN(wins) FROM table_name_25 WHERE tournament = "totals" AND top_25 > 3


Question: What is the sum of Top-5 values with events values less than 2?

Context: CREATE TABLE table_name_35 (top_5 INTEGER, events INTEGER)

SELECT SUM(top_5) FROM table_name_35 WHERE events < 2


Question: What is the smallest value for Wins when the number of cuts is greater than 4 and the Top-5 value is less than 1?

Context: CREATE TABLE table_name_51 (wins INTEGER, cuts_made VARCHAR, top_5 VARCHAR)

SELECT MIN(wins) FROM table_name_51 WHERE cuts_made > 4 AND top_5 < 1


Question: Tell me the competition for 2nd position with year more than 2005

Context: CREATE TABLE table_name_23 (competition VARCHAR, position VARCHAR, year VARCHAR)

SELECT competition FROM table_name_23 WHERE position = "2nd" AND year > 2005


Question: Name the sum of year for 2nd position for junior race

Context: CREATE TABLE table_name_40 (year INTEGER, position VARCHAR, event VARCHAR)

SELECT SUM(year) FROM table_name_40 WHERE position = "2nd" AND event = "junior race"


Question: Name the venue for 2nd position of year before 2008

Context: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, position VARCHAR)

SELECT venue FROM table_name_83 WHERE year < 2008 AND position = "2nd"


Question: Which circuit did Raymond Mays win?

Context: CREATE TABLE table_name_17 (circuit VARCHAR, winning_driver VARCHAR)

SELECT circuit FROM table_name_17 WHERE winning_driver = "raymond mays"


Question: Which Circuit did Johnny Wakefield win?

Context: CREATE TABLE table_name_3 (circuit VARCHAR, winning_driver VARCHAR)

SELECT circuit FROM table_name_3 WHERE winning_driver = "johnny wakefield"


Question: Tell me the lowest bronze for panama and total larger than 8

Context: CREATE TABLE table_name_84 (bronze INTEGER, nation VARCHAR, total VARCHAR)

SELECT MIN(bronze) FROM table_name_84 WHERE nation = "panama" AND total > 8


Question: Tell me the average total for guatemala and bronze less than 2

Context: CREATE TABLE table_name_32 (total INTEGER, nation VARCHAR, bronze VARCHAR)

SELECT AVG(total) FROM table_name_32 WHERE nation = "guatemala" AND bronze < 2


Question: Tell me the number of bronze for silver of 0 and total less than 1

Context: CREATE TABLE table_name_54 (bronze VARCHAR, silver VARCHAR, total VARCHAR)

SELECT COUNT(bronze) FROM table_name_54 WHERE silver = 0 AND total < 1


Question: Tell me the sum of total for rank of 1

Context: CREATE TABLE table_name_35 (total INTEGER, rank VARCHAR)

SELECT SUM(total) FROM table_name_35 WHERE rank = 1


Question: Tell me the total number for costa rica and rank more than 8

Context: CREATE TABLE table_name_82 (total VARCHAR, nation VARCHAR, rank VARCHAR)

SELECT COUNT(total) FROM table_name_82 WHERE nation = "costa rica" AND rank > 8


Question: What years did Tymerlan Huseynov, whose average is larger than 0.361, play?

Context: CREATE TABLE table_name_94 (career VARCHAR, average VARCHAR, player VARCHAR)

SELECT career FROM table_name_94 WHERE average > 0.361 AND player = "tymerlan huseynov"


Question: Who scored more than 8 goals, had more than 75 caps, and averaged 0.432?

Context: CREATE TABLE table_name_42 (player VARCHAR, average VARCHAR, goals VARCHAR, caps VARCHAR)

SELECT player FROM table_name_42 WHERE goals > 8 AND caps > 75 AND average = 0.432


Question: What is the sum of the averages when there are 68 caps and less than 9 goals?

Context: CREATE TABLE table_name_16 (average INTEGER, caps VARCHAR, goals VARCHAR)

SELECT SUM(average) FROM table_name_16 WHERE caps = 68 AND goals < 9


Question: Tell me the 1968 for 1r

Context: CREATE TABLE table_name_76 (Id VARCHAR)

SELECT 1968 FROM table_name_76 WHERE 1967 = "1r"


Question: Tell me the round of 32 for conference of southland

Context: CREATE TABLE table_name_62 (round_of_32 VARCHAR, conference VARCHAR)

SELECT round_of_32 FROM table_name_62 WHERE conference = "southland"


Question: Tell me the lowest # of bids for win percent of .667

Context: CREATE TABLE table_name_38 (_number_of_bids INTEGER, win__percentage VARCHAR)

SELECT MIN(_number_of_bids) FROM table_name_38 WHERE win__percentage = ".667"


Question: Tell me the sum of cap/hor for double chair and vertical less than 479

Context: CREATE TABLE table_name_8 (cap_hour INTEGER, type VARCHAR, vertical VARCHAR)

SELECT SUM(cap_hour) FROM table_name_8 WHERE type = "double chair" AND vertical < 479


Question: What's the compression ratio when the vin code is c?

Context: CREATE TABLE table_name_38 (vin_code VARCHAR)

SELECT "c" AS ompression_ratio FROM table_name_38 WHERE vin_code = "c"


Question: Tell me the sum of year for extra of junior team competition

Context: CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR)

SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"


Question: Tell me the lens zoom for aperture of model s2600

Context: CREATE TABLE table_name_39 (lens_35mmequiv__zoom VARCHAR, _aperture VARCHAR, model VARCHAR)

SELECT lens_35mmequiv__zoom, _aperture FROM table_name_39 WHERE model = "s2600"


Question: Tell me the screen size for pixels of model s6400

Context: CREATE TABLE table_name_69 (screen_size VARCHAR, pixels VARCHAR, model VARCHAR)

SELECT screen_size, pixels FROM table_name_69 WHERE model = "s6400"


Question: Name the sensor res for model of s9200

Context: CREATE TABLE table_name_74 (sensor_res VARCHAR, _size VARCHAR, model VARCHAR)

SELECT sensor_res, _size FROM table_name_74 WHERE model = "s9200"


Question: Tell me the nation for bronze more than 0 and total more than 8 with gold of 4

Context: CREATE TABLE table_name_62 (nation VARCHAR, gold VARCHAR, bronze VARCHAR, total VARCHAR)

SELECT nation FROM table_name_62 WHERE bronze > 0 AND total > 8 AND gold = 4


Question: Who is Team Suzuki's rider and ranks higher than 6?

Context: CREATE TABLE table_name_44 (rider VARCHAR, rank VARCHAR, team VARCHAR)

SELECT rider FROM table_name_44 WHERE rank > 6 AND team = "suzuki"


Question: Who was the lowest division in the 7th season?

Context: CREATE TABLE table_name_11 (division INTEGER, reg_season VARCHAR)

SELECT MIN(division) FROM table_name_11 WHERE reg_season = "7th"


Question: In 1924/25, who was in the playoffs?

Context: CREATE TABLE table_name_27 (playoffs VARCHAR, year VARCHAR)

SELECT playoffs FROM table_name_27 WHERE year = "1924/25"


Question: Which division has no playoff but has a 12th game in their season?

Context: CREATE TABLE table_name_74 (division INTEGER, playoffs VARCHAR, reg_season VARCHAR)

SELECT MAX(division) FROM table_name_74 WHERE playoffs = "no playoff" AND reg_season = "12th"


Question: What was the venue of the competition that held the 1st position in 2011?

Context: CREATE TABLE table_name_68 (venue VARCHAR, position VARCHAR, year VARCHAR)

SELECT venue FROM table_name_68 WHERE position = "1st" AND year = 2011


Question: What was the position of the Olympic Games in the year 2008?

Context: CREATE TABLE table_name_68 (position VARCHAR, competition VARCHAR, year VARCHAR)

SELECT position FROM table_name_68 WHERE competition = "olympic games" AND year = 2008


Question: Which competition held the 1st position in 2009?

Context: CREATE TABLE table_name_89 (competition VARCHAR, position VARCHAR, year VARCHAR)

SELECT competition FROM table_name_89 WHERE position = "1st" AND year = 2009


Question: Which venue did the African Championships have after 2006 with a position of 2nd and 3000 m s'chase in notes?

Context: CREATE TABLE table_name_28 (venue VARCHAR, competition VARCHAR, position VARCHAR, year VARCHAR, notes VARCHAR)

SELECT venue FROM table_name_28 WHERE year > 2006 AND notes = "3000 m s'chase" AND position = "2nd" AND competition = "african championships"


Question: Tell me the label for US region and catalog of 10008-2

Context: CREATE TABLE table_name_2 (label VARCHAR, region VARCHAR, catalog VARCHAR)

SELECT label FROM table_name_2 WHERE region = "us" AND catalog = "10008-2"


Question: Tell me the date for format of cd/dvd

Context: CREATE TABLE table_name_88 (date VARCHAR, format VARCHAR)

SELECT date FROM table_name_88 WHERE format = "cd/dvd"


Question: Tell me the format for european union

Context: CREATE TABLE table_name_99 (format VARCHAR, region VARCHAR)

SELECT format FROM table_name_99 WHERE region = "european union"


Question: Tell me the catalog for date larger than 2004

Context: CREATE TABLE table_name_72 (catalog VARCHAR, date INTEGER)

SELECT catalog FROM table_name_72 WHERE date > 2004


Question: I want the lowest date for catalog of 6561910008-1

Context: CREATE TABLE table_name_87 (date INTEGER, catalog VARCHAR)

SELECT MIN(date) FROM table_name_87 WHERE catalog = "6561910008-1"


Question: What date was there a crowd larger than 30,343?

Context: CREATE TABLE table_name_97 (date VARCHAR, crowd INTEGER)

SELECT date FROM table_name_97 WHERE crowd > 30 OFFSET 343


Question: What was the lowest Crowd total from a game in which Essendon was the Away team?

Context: CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR)

SELECT MIN(crowd) FROM table_name_35 WHERE away_team = "essendon"


Question: Which Venue was used when the Home team was geelong?

Context: CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_47 WHERE home_team = "geelong"


Question: What is the highest scored in the 2010 east asian football championship?

Context: CREATE TABLE table_name_66 (scored INTEGER, competition VARCHAR)

SELECT MAX(scored) FROM table_name_66 WHERE competition = "2010 east asian football championship"


Question: Which country is Wellington located in?

Context: CREATE TABLE table_name_48 (country VARCHAR, city VARCHAR)

SELECT country FROM table_name_48 WHERE city = "wellington"


Question: What label is in download format in the United States?

Context: CREATE TABLE table_name_42 (label VARCHAR, region VARCHAR, format VARCHAR)

SELECT label FROM table_name_42 WHERE region = "united states" AND format = "download"


Question: What label is in download format in the United States?

Context: CREATE TABLE table_name_88 (label VARCHAR, region VARCHAR, format VARCHAR)

SELECT label FROM table_name_88 WHERE region = "united states" AND format = "download"


Question: What label has RTRADLP 346 as catalogue?

Context: CREATE TABLE table_name_90 (label VARCHAR, catalogue VARCHAR)

SELECT label FROM table_name_90 WHERE catalogue = "rtradlp 346"


Question: What label has 22 January 2008 date?

Context: CREATE TABLE table_name_8 (label VARCHAR, date VARCHAR)

SELECT label FROM table_name_8 WHERE date = "22 january 2008"


Question: What is the label for catalogue of RT-346-5?

Context: CREATE TABLE table_name_93 (label VARCHAR, catalogue VARCHAR)

SELECT label FROM table_name_93 WHERE catalogue = "rt-346-5"


Question: What position is mentioned for Rice school?

Context: CREATE TABLE table_name_34 (position VARCHAR, school_club_team VARCHAR)

SELECT position FROM table_name_34 WHERE school_club_team = "rice"


Question: What is the average round for Wisconsin when the overall is larger than 238 and there is a defensive end?

Context: CREATE TABLE table_name_87 (round INTEGER, school_club_team VARCHAR, overall VARCHAR, position VARCHAR)

SELECT AVG(round) FROM table_name_87 WHERE overall > 238 AND position = "defensive end" AND school_club_team = "wisconsin"


Question: What is the average round when there is a defensive back and an overall smaller than 199?

Context: CREATE TABLE table_name_49 (round INTEGER, position VARCHAR, overall VARCHAR)

SELECT AVG(round) FROM table_name_49 WHERE position = "defensive back" AND overall < 199


Question: What was the date of game with a score of 42-6?

Context: CREATE TABLE table_name_23 (date VARCHAR, score VARCHAR)

SELECT date FROM table_name_23 WHERE score = "42-6"


Question: What stadium was the game played at when the result was hunter mariners def. sheffield eagles?

Context: CREATE TABLE table_name_43 (stadium VARCHAR, result VARCHAR)

SELECT stadium FROM table_name_43 WHERE result = "hunter mariners def. sheffield eagles"


Question: What city has a Result of brisbane broncos def. halifax blue sox?

Context: CREATE TABLE table_name_22 (city VARCHAR, result VARCHAR)

SELECT city FROM table_name_22 WHERE result = "brisbane broncos def. halifax blue sox"


Question: Which player was drafted after round 9 and number 464 overall?

Context: CREATE TABLE table_name_83 (player VARCHAR, round VARCHAR, overall VARCHAR)

SELECT player FROM table_name_83 WHERE round > 9 AND overall = 464


Question: What was James Reed's draft round number?

Context: CREATE TABLE table_name_90 (round VARCHAR, player VARCHAR)

SELECT COUNT(round) FROM table_name_90 WHERE player = "james reed"


Question: What was the overall draft number of Tom Fleming, a wide receiver?

Context: CREATE TABLE table_name_28 (overall VARCHAR, position VARCHAR, player VARCHAR)

SELECT COUNT(overall) FROM table_name_28 WHERE position = "wide receiver" AND player = "tom fleming"


Question: Which player is from Dartmouth?

Context: CREATE TABLE table_name_41 (player VARCHAR, school_club_team VARCHAR)

SELECT player FROM table_name_41 WHERE school_club_team = "dartmouth"


Question: What position does the player from tulsa play?

Context: CREATE TABLE table_name_17 (position VARCHAR, school_country VARCHAR)

SELECT position FROM table_name_17 WHERE school_country = "tulsa"


Question: What is the sum of Magnitude on february 12, 1953?

Context: CREATE TABLE table_name_44 (magnitude INTEGER, date VARCHAR)

SELECT SUM(magnitude) FROM table_name_44 WHERE date = "february 12, 1953"


Question: What was the final score of a baseball game that happened before 2005?

Context: CREATE TABLE table_name_41 (final_score VARCHAR, sport VARCHAR, year VARCHAR)

SELECT final_score FROM table_name_41 WHERE sport = "baseball" AND year < 2005


Question: What venue did Richmond play as the away team?

Context: CREATE TABLE table_name_29 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_29 WHERE away_team = "richmond"


Question: What is the team of Essendon's score in the game where they were the home team?

Context: CREATE TABLE table_name_92 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_92 WHERE home_team = "essendon"


Question: Who is the away side when st kilda is the home side?

Context: CREATE TABLE table_name_59 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_59 WHERE home_team = "st kilda"


Question: What is the away side score when footscray is the home side?

Context: CREATE TABLE table_name_38 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_38 WHERE home_team = "footscray"


Question: What is the home team's score at kardinia park?

Context: CREATE TABLE table_name_85 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_85 WHERE venue = "kardinia park"


Question: What was the lowest crowd seen at a game that Richmond was the Away team in?

Context: CREATE TABLE table_name_57 (crowd INTEGER, away_team VARCHAR)

SELECT MIN(crowd) FROM table_name_57 WHERE away_team = "richmond"


Question: What was the highest crowd count seen in the Windy Hill venue?

Context: CREATE TABLE table_name_48 (crowd INTEGER, venue VARCHAR)

SELECT MAX(crowd) FROM table_name_48 WHERE venue = "windy hill"


Question: What was the score of the Away team that played against the Home team of Fitzroy?

Context: CREATE TABLE table_name_10 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_10 WHERE home_team = "fitzroy"


Question: Which was the lowest overall that Wisconsin's team managed?

Context: CREATE TABLE table_name_78 (overall INTEGER, school_club_team VARCHAR)

SELECT MIN(overall) FROM table_name_78 WHERE school_club_team = "wisconsin"


Question: Which team was Roy de Walt a player on?

Context: CREATE TABLE table_name_20 (school_club_team VARCHAR, player VARCHAR)

SELECT school_club_team FROM table_name_20 WHERE player = "roy de walt"


Question: In which round did Paul McDonald have an overall greater than 109?

Context: CREATE TABLE table_name_22 (round INTEGER, player VARCHAR, overall VARCHAR)

SELECT MAX(round) FROM table_name_22 WHERE player = "paul mcdonald" AND overall > 109


Question: What is the total overall in round 1, in which Charles White was a player?

Context: CREATE TABLE table_name_2 (overall INTEGER, player VARCHAR, round VARCHAR)

SELECT SUM(overall) FROM table_name_2 WHERE player = "charles white" AND round < 1


Question: What is the name of a running back in a round before round 3?

Context: CREATE TABLE table_name_4 (player VARCHAR, round VARCHAR, position VARCHAR)

SELECT player FROM table_name_4 WHERE round < 3 AND position = "running back"


Question: What is the win/loss percentage with wins of 63 and losses smaller than 76?

Context: CREATE TABLE table_name_77 (w_l__percentage VARCHAR, wins VARCHAR, losses VARCHAR)

SELECT w_l__percentage FROM table_name_77 WHERE wins = 63 AND losses < 76


Question: What is the away team score when the home team is Geelong?

Context: CREATE TABLE table_name_25 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_25 WHERE home_team = "geelong"


Question: What was the highest order amount in weeks prier to 15 and a major less than 1?

Context: CREATE TABLE table_name_55 (order INTEGER, weeks VARCHAR, majors VARCHAR)

SELECT MAX(order) FROM table_name_55 WHERE weeks < 15 AND majors < 1


Question: What is the position of the player from Temple?

Context: CREATE TABLE table_name_7 (position VARCHAR, school_country VARCHAR)

SELECT position FROM table_name_7 WHERE school_country = "temple"


Question: Which player is associated with Temple?

Context: CREATE TABLE table_name_22 (player VARCHAR, school_country VARCHAR)

SELECT player FROM table_name_22 WHERE school_country = "temple"


Question: Which nationality is associated with Temple?

Context: CREATE TABLE table_name_72 (nationality VARCHAR, school_country VARCHAR)

SELECT nationality FROM table_name_72 WHERE school_country = "temple"


Question: How many goals were achieved when Chievo was the club and the debut year was before 2002?

Context: CREATE TABLE table_name_71 (goals VARCHAR, current_club VARCHAR, debut_year VARCHAR)

SELECT COUNT(goals) FROM table_name_71 WHERE current_club = "chievo" AND debut_year < 2002


Question: How many goals occurred with Diego Milito in a debut year later than 2008?

Context: CREATE TABLE table_name_40 (goals VARCHAR, name VARCHAR, debut_year VARCHAR)

SELECT COUNT(goals) FROM table_name_40 WHERE name = "diego milito" AND debut_year > 2008


Question: Who is the home team at the Punt Road Oval?

Context: CREATE TABLE table_name_99 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_99 WHERE venue = "punt road oval"


Question: Who is the away team at Windy Hill?

Context: CREATE TABLE table_name_69 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_69 WHERE venue = "windy hill"


Question: What is the date of the game that had a crowd larger than 25,000?

Context: CREATE TABLE table_name_3 (date VARCHAR, crowd INTEGER)

SELECT date FROM table_name_3 WHERE crowd > 25 OFFSET 000


Question: What was South Melbourne's score as the home team?

Context: CREATE TABLE table_name_19 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_19 WHERE home_team = "south melbourne"


Question: What was the largest crowd of a game where Collingwood was the away team?

Context: CREATE TABLE table_name_52 (crowd INTEGER, away_team VARCHAR)

SELECT MAX(crowd) FROM table_name_52 WHERE away_team = "collingwood"


Question: What's the lowest round with the opponent John Howard that had a method of Decision (unanimous)?

Context: CREATE TABLE table_name_21 (round INTEGER, method VARCHAR, opponent VARCHAR)

SELECT MIN(round) FROM table_name_21 WHERE method = "decision (unanimous)" AND opponent = "john howard"


Question: What's the time for the match with a record of 2-0?

Context: CREATE TABLE table_name_74 (time VARCHAR, record VARCHAR)

SELECT time FROM table_name_74 WHERE record = "2-0"


Question: Where was the match with a method of submission (standing guillotine choke)?

Context: CREATE TABLE table_name_92 (location VARCHAR, method VARCHAR)

SELECT location FROM table_name_92 WHERE method = "submission (standing guillotine choke)"


Question: What language is the moviein that is on UMP movies network through Sky service?

Context: CREATE TABLE table_name_87 (language VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR)

SELECT language FROM table_name_87 WHERE genre = "movies" AND service = "sky" AND network = "ump movies"


Question: What language is the movie in that is on SAB network through Sky service?

Context: CREATE TABLE table_name_97 (language VARCHAR, network VARCHAR, service VARCHAR)

SELECT language FROM table_name_97 WHERE network = "sab" AND service = "sky"


Question: What was the overall pick for the player who was a guard and had a round less than 9?

Context: CREATE TABLE table_name_4 (overall INTEGER, position VARCHAR, round VARCHAR)

SELECT AVG(overall) FROM table_name_4 WHERE position = "guard" AND round < 9


Question: What was the lowest round number that had an overall pick up 92?

Context: CREATE TABLE table_name_9 (round INTEGER, overall VARCHAR)

SELECT MIN(round) FROM table_name_9 WHERE overall = 92


Question: What open source movie has a CC License of by-nc-sa 1.0?

Context: CREATE TABLE table_name_90 (open_source_movie VARCHAR, cc_license VARCHAR)

SELECT open_source_movie FROM table_name_90 WHERE cc_license = "by-nc-sa 1.0"


Question: Which venue had the result 7-1?

Context: CREATE TABLE table_name_50 (venue VARCHAR, result VARCHAR)

SELECT venue FROM table_name_50 WHERE result = "7-1"


Question: What date was the Competition of rothmans cup?

Context: CREATE TABLE table_name_67 (date VARCHAR, competition VARCHAR)

SELECT date FROM table_name_67 WHERE competition = "rothmans cup"


Question: What was the result of the Competition of friendly?

Context: CREATE TABLE table_name_61 (result VARCHAR, competition VARCHAR)

SELECT result FROM table_name_61 WHERE competition = "friendly"


Question: Which competition was played on 8 June 2005?

Context: CREATE TABLE table_name_90 (competition VARCHAR, date VARCHAR)

SELECT competition FROM table_name_90 WHERE date = "8 june 2005"


Question: Which competition had the score 1-0?

Context: CREATE TABLE table_name_4 (competition VARCHAR, score VARCHAR)

SELECT competition FROM table_name_4 WHERE score = "1-0"


Question: Timsah arena is in what country?

Context: CREATE TABLE table_name_32 (country VARCHAR, stadium VARCHAR)

SELECT country FROM table_name_32 WHERE stadium = "timsah arena"


Question: What country is Relax-Gam from?

Context: CREATE TABLE table_name_83 (country VARCHAR, team VARCHAR)

SELECT country FROM table_name_83 WHERE team = "relax-gam"


Question: Who is Gerolsteiner's cyclist?

Context: CREATE TABLE table_name_89 (cyclist VARCHAR, team VARCHAR)

SELECT cyclist FROM table_name_89 WHERE team = "gerolsteiner"


Question: What is Davide Rebellin' UCI ProTour Points?

Context: CREATE TABLE table_name_33 (uci_protour_points VARCHAR, cyclist VARCHAR)

SELECT uci_protour_points FROM table_name_33 WHERE cyclist = "davide rebellin"


Question: What was North Melbourne's score when they were the home team?

Context: CREATE TABLE table_name_22 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_22 WHERE home_team = "north melbourne"


Question: Where did Footscray play as the away team?

Context: CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_76 WHERE away_team = "footscray"


Question: What was the away team's score in the match at Lake Oval?

Context: CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_77 WHERE venue = "lake oval"


Question: What was the sum of the crowds that watched Fitzroy play as the away team?

Context: CREATE TABLE table_name_81 (crowd INTEGER, away_team VARCHAR)

SELECT SUM(crowd) FROM table_name_81 WHERE away_team = "fitzroy"


Question: What is the sum of rank with years  1996–2012 and apps greater than 340?

Context: CREATE TABLE table_name_15 (rank INTEGER, years VARCHAR, apps VARCHAR)

SELECT SUM(rank) FROM table_name_15 WHERE years = "1996–2012" AND apps > 340


Question: What was the away team that faced Carlton?

Context: CREATE TABLE table_name_6 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_6 WHERE home_team = "carlton"


Question: What is the total crowd size that saw Geelong play as the away team?

Context: CREATE TABLE table_name_17 (crowd VARCHAR, away_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_17 WHERE away_team = "geelong"


Question: How many wins did Hobbs had a 15th finish at poles 0?

Context: CREATE TABLE table_name_89 (wins VARCHAR, poles VARCHAR, final_placing VARCHAR)

SELECT wins FROM table_name_89 WHERE poles = "0" AND final_placing = "15th"


Question: What are the points for the GP3 series with 2 podiums?

Context: CREATE TABLE table_name_92 (points VARCHAR, series VARCHAR, podiums VARCHAR)

SELECT points FROM table_name_92 WHERE series = "gp3 series" AND podiums = "2"


Question: Which races have #2 podiums?

Context: CREATE TABLE table_name_6 (races VARCHAR, podiums VARCHAR)

SELECT races FROM table_name_6 WHERE podiums = "2"


Question: What was the 2009 final placing?

Context: CREATE TABLE table_name_17 (final_placing VARCHAR, season VARCHAR)

SELECT final_placing FROM table_name_17 WHERE season = 2009


Question: What was the points with 7 races?

Context: CREATE TABLE table_name_34 (points VARCHAR, races VARCHAR)

SELECT points FROM table_name_34 WHERE races = "7"


Question: What venue had south melbourne as the home team?

Context: CREATE TABLE table_name_90 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_90 WHERE home_team = "south melbourne"


Question: What venue had collingwood as the away team?

Context: CREATE TABLE table_name_14 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_14 WHERE away_team = "collingwood"


Question: What was the home team score when south melbourne was the home team?

Context: CREATE TABLE table_name_49 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_49 WHERE home_team = "south melbourne"


Question: What day was south melbourne the away squad?

Context: CREATE TABLE table_name_70 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_70 WHERE away_team = "melbourne"


Question: What position did he finish after 1998 and a note time of 2:31:40?

Context: CREATE TABLE table_name_71 (position VARCHAR, year VARCHAR, notes VARCHAR)

SELECT position FROM table_name_71 WHERE year > 1998 AND notes = "2:31:40"


Question: What venue featured a notes of 2:38:44?

Context: CREATE TABLE table_name_63 (venue VARCHAR, notes VARCHAR)

SELECT venue FROM table_name_63 WHERE notes = "2:38:44"


Question: Who did they play against in a week after 6 and the result was l 30–24?

Context: CREATE TABLE table_name_32 (opponent VARCHAR, week VARCHAR, result VARCHAR)

SELECT opponent FROM table_name_32 WHERE week > 6 AND result = "l 30–24"


Question: What opponent has a Result of w 31–0?

Context: CREATE TABLE table_name_25 (opponent VARCHAR, result VARCHAR)

SELECT opponent FROM table_name_25 WHERE result = "w 31–0"


Question: During which round was the final cornerback drafted for the New England Patriots in 2005?

Context: CREATE TABLE table_name_7 (round INTEGER, position VARCHAR)

SELECT MAX(round) FROM table_name_7 WHERE position = "cornerback"


Question: What dance was Leeza Gibbons the worst dancer for, receiving a score lower than 15?

Context: CREATE TABLE table_name_9 (best_score INTEGER, worst_dancer VARCHAR, worst_score VARCHAR)

SELECT MIN(best_score) FROM table_name_9 WHERE worst_dancer = "leeza gibbons" AND worst_score < 15


Question: What is the worst score for the dance that has Apolo Anton Ohno as the best dancer, and where his best score is larger than 30?

Context: CREATE TABLE table_name_23 (worst_score INTEGER, best_dancer VARCHAR, best_score VARCHAR)

SELECT SUM(worst_score) FROM table_name_23 WHERE best_dancer = "apolo anton ohno" AND best_score > 30


Question: What is the biggest crowd when carlton is the away squad?

Context: CREATE TABLE table_name_48 (crowd INTEGER, away_team VARCHAR)

SELECT MAX(crowd) FROM table_name_48 WHERE away_team = "carlton"


Question: What is the sum of crowd(s) when richmond is the away squad?

Context: CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR)

SELECT SUM(crowd) FROM table_name_44 WHERE away_team = "richmond"


Question: What is the home team's score in the game played at glenferrie oval?

Context: CREATE TABLE table_name_40 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_40 WHERE venue = "glenferrie oval"


Question: What was the result of the event against Nate Mohr?

Context: CREATE TABLE table_name_57 (res VARCHAR, opponent VARCHAR)

SELECT res FROM table_name_57 WHERE opponent = "nate mohr"


Question: When the VFL played Junction Oval what was the home team score?

Context: CREATE TABLE table_name_45 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_45 WHERE venue = "junction oval"


Question: What was away team Geelong's crowd numbers?

Context: CREATE TABLE table_name_6 (crowd VARCHAR, away_team VARCHAR)

SELECT crowd FROM table_name_6 WHERE away_team = "geelong"


Question: What is the date they played against fitzroy?

Context: CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_10 WHERE away_team = "fitzroy"


Question: How large was the crowd when they played at princes park?

Context: CREATE TABLE table_name_56 (crowd INTEGER, venue VARCHAR)

SELECT SUM(crowd) FROM table_name_56 WHERE venue = "princes park"


Question: Who is the away team at junction oval?

Context: CREATE TABLE table_name_74 (away_team VARCHAR, venue VARCHAR)

SELECT away_team FROM table_name_74 WHERE venue = "junction oval"


Question: What is the away team's score at princes park?

Context: CREATE TABLE table_name_49 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_49 WHERE venue = "princes park"


Question: What was the highest percentage of internet users a nation with a 1622% growth in 2000-2008 had?

Context: CREATE TABLE table_name_51 (_percentage_internet_users INTEGER, _percentage_growth__2000_2008_ VARCHAR)

SELECT MAX(_percentage_internet_users) FROM table_name_51 WHERE _percentage_growth__2000_2008_ = 1622


Question: Who was the home team when Footscray was the away team?

Context: CREATE TABLE table_name_50 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_50 WHERE away_team = "footscray"


Question: What day did the team play the buffalo bills?

Context: CREATE TABLE table_name_28 (date VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_28 WHERE opponent = "buffalo bills"


Question: What is the BB Pop for the song with RIAA of G that was in a year earlier than 1961?

Context: CREATE TABLE table_name_8 (bb_pop VARCHAR, riaa VARCHAR, year VARCHAR)

SELECT bb_pop FROM table_name_8 WHERE riaa = "g" AND year < 1961


Question: Which player has an Other of 3 (15)?

Context: CREATE TABLE table_name_7 (name VARCHAR, other VARCHAR)

SELECT name FROM table_name_7 WHERE other = "3 (15)"


Question: What Name has a Time of 01:17:01?

Context: CREATE TABLE table_name_14 (name VARCHAR, time VARCHAR)

SELECT name FROM table_name_14 WHERE time = "01:17:01"


Question: What is the Magnitude on the Date May 28, 2004?

Context: CREATE TABLE table_name_49 (magnitude VARCHAR, date VARCHAR)

SELECT magnitude FROM table_name_49 WHERE date = "may 28, 2004"


Question: What Name has a Time of 01:56:52?

Context: CREATE TABLE table_name_46 (name VARCHAR, time VARCHAR)

SELECT name FROM table_name_46 WHERE time = "01:56:52"


Question: What number of Fatalities did the Epicenter Māzandarān have?

Context: CREATE TABLE table_name_79 (fatalities VARCHAR, epicenter VARCHAR)

SELECT fatalities FROM table_name_79 WHERE epicenter = "māzandarān"


Question: What number of Fatalties is associated with the Time of 12:38:46?

Context: CREATE TABLE table_name_78 (fatalities VARCHAR, time VARCHAR)

SELECT fatalities FROM table_name_78 WHERE time = "12:38:46"


Question: What is the Time when the Epicenter was Bam?

Context: CREATE TABLE table_name_94 (time VARCHAR, epicenter VARCHAR)

SELECT time FROM table_name_94 WHERE epicenter = "bam"


Question: Who did Clinton appoint as a Chief Judge?

Context: CREATE TABLE table_name_2 (chief_judge VARCHAR, appointed_by VARCHAR)

SELECT chief_judge FROM table_name_2 WHERE appointed_by = "clinton"


Question: What was the smallest crowd for a Carlton away game?

Context: CREATE TABLE table_name_14 (crowd INTEGER, away_team VARCHAR)

SELECT MIN(crowd) FROM table_name_14 WHERE away_team = "carlton"


Question: What is the result when the time is 1:13?

Context: CREATE TABLE table_name_11 (res VARCHAR, time VARCHAR)

SELECT res FROM table_name_11 WHERE time = "1:13"


Question: Who was the opponent when the time was 1:47?

Context: CREATE TABLE table_name_45 (opponent VARCHAR, time VARCHAR)

SELECT opponent FROM table_name_45 WHERE time = "1:47"


Question: What venue did South Melbourne play as the away team?

Context: CREATE TABLE table_name_61 (venue VARCHAR, away_team VARCHAR)

SELECT venue FROM table_name_61 WHERE away_team = "south melbourne"


Question: What was the away team's score in the match at Victoria Park?

Context: CREATE TABLE table_name_77 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_77 WHERE venue = "victoria park"


Question: Which position has a Round of 7, and a College of kansas state?

Context: CREATE TABLE table_name_34 (position VARCHAR, round VARCHAR, college VARCHAR)

SELECT position FROM table_name_34 WHERE round = 7 AND college = "kansas state"


Question: How many rounds have an Overall larger than 17, and a Position of quarterback?

Context: CREATE TABLE table_name_66 (round VARCHAR, overall VARCHAR, position VARCHAR)

SELECT COUNT(round) FROM table_name_66 WHERE overall > 17 AND position = "quarterback"


Question: Which average overall has a Round of 1, and a Position of center?

Context: CREATE TABLE table_name_80 (overall INTEGER, round VARCHAR, position VARCHAR)

SELECT AVG(overall) FROM table_name_80 WHERE round = 1 AND position = "center"


Question: Where did North Melbourne play as the home team?

Context: CREATE TABLE table_name_37 (venue VARCHAR, home_team VARCHAR)

SELECT venue FROM table_name_37 WHERE home_team = "north melbourne"


Question: What was the attendance when VFL played MCG?

Context: CREATE TABLE table_name_11 (crowd INTEGER, venue VARCHAR)

SELECT MAX(crowd) FROM table_name_11 WHERE venue = "mcg"


Question: What was the score of the away team when they played at Windy Hill?

Context: CREATE TABLE table_name_98 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_98 WHERE venue = "windy hill"


Question: How large was the crowd when the away team was melbourne?

Context: CREATE TABLE table_name_77 (crowd VARCHAR, away_team VARCHAR)

SELECT crowd FROM table_name_77 WHERE away_team = "melbourne"


Question: How many people watched a Glenferrie Oval?

Context: CREATE TABLE table_name_58 (crowd VARCHAR, venue VARCHAR)

SELECT COUNT(crowd) FROM table_name_58 WHERE venue = "glenferrie oval"


Question: How faced Geelong at home?

Context: CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team AS score FROM table_name_52 WHERE home_team = "geelong"


Question: How many people watch Essendon as an away team?

Context: CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR)

SELECT SUM(crowd) FROM table_name_77 WHERE away_team = "essendon"


Question: Where did South Melbourne go to play a team at home?

Context: CREATE TABLE table_name_98 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team FROM table_name_98 WHERE away_team = "south melbourne"


Question: What is essendon's away team score?

Context: CREATE TABLE table_name_1 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_1 WHERE away_team = "essendon"


Question: What is the date with geelong as Away team?

Context: CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_63 WHERE away_team = "geelong"


Question: What is the highest crowd at arden street oval?

Context: CREATE TABLE table_name_7 (crowd INTEGER, venue VARCHAR)

SELECT MAX(crowd) FROM table_name_7 WHERE venue = "arden street oval"


Question: What is geelong's aberage crowd as Away Team?

Context: CREATE TABLE table_name_13 (crowd INTEGER, away_team VARCHAR)

SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong"


Question: What was the date of the game when North Melbourne was the away team?

Context: CREATE TABLE table_name_10 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_10 WHERE away_team = "north melbourne"


Question: What is the team with grid 9?

Context: CREATE TABLE table_name_10 (team VARCHAR, grid VARCHAR)

SELECT team FROM table_name_10 WHERE grid = 9


Question: What team features garth tander?

Context: CREATE TABLE table_name_14 (team VARCHAR, name VARCHAR)

SELECT team FROM table_name_14 WHERE name = "garth tander"


Question: How many stages are in a distance of 2,192 km?

Context: CREATE TABLE table_name_11 (stages VARCHAR, distance VARCHAR)

SELECT stages FROM table_name_11 WHERE distance = "2,192 km"


Question: How long was the 16 staged event in 1997?

Context: CREATE TABLE table_name_38 (distance VARCHAR, stages VARCHAR, year VARCHAR)

SELECT distance FROM table_name_38 WHERE stages = "16" AND year = "1997"


Question: What was the winning time in 1984?

Context: CREATE TABLE table_name_99 (time VARCHAR, year VARCHAR)

SELECT time FROM table_name_99 WHERE year = "1984"


Question: Who won the 17 staged event in 1987?

Context: CREATE TABLE table_name_83 (winner VARCHAR, stages VARCHAR, year VARCHAR)

SELECT winner FROM table_name_83 WHERE stages = "17" AND year = "1987"


Question: Which event happened in 1988?

Context: CREATE TABLE table_name_91 (name VARCHAR, year VARCHAR)

SELECT name FROM table_name_91 WHERE year = "1988"


Question: Where did Rick Mears win, after starting in Pole Position?

Context: CREATE TABLE table_name_70 (city_location VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)

SELECT city_location FROM table_name_70 WHERE pole_position = "rick mears" AND winning_driver = "rick mears"


Question: Where is the budweiser/g. i. joe's 200?

Context: CREATE TABLE table_name_48 (city_location VARCHAR, race_name VARCHAR)

SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200"


Question: Where is Emerson Fittipaldi starting in Pole position?

Context: CREATE TABLE table_name_60 (city_location VARCHAR, pole_position VARCHAR)

SELECT city_location FROM table_name_60 WHERE pole_position = "emerson fittipaldi"


Question: Which Circuit is on July 24?

Context: CREATE TABLE table_name_56 (circuit VARCHAR, date VARCHAR)

SELECT circuit FROM table_name_56 WHERE date = "july 24"


Question: What date did Delage win?

Context: CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR)

SELECT date FROM table_name_34 WHERE winning_constructor = "delage"


Question: What circuit did Luigi Villoresi win the Lausanne Grand Prix?

Context: CREATE TABLE table_name_58 (circuit VARCHAR, winning_driver VARCHAR, name VARCHAR)

SELECT circuit FROM table_name_58 WHERE winning_driver = "luigi villoresi" AND name = "lausanne grand prix"


Question: Which Grand Prix did Nello Pagani win?

Context: CREATE TABLE table_name_2 (name VARCHAR, winning_driver VARCHAR)

SELECT name FROM table_name_2 WHERE winning_driver = "nello pagani"


Question: What did the home team score when playing Fitzroy as the away team?

Context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR)

SELECT home_team AS score FROM table_name_8 WHERE away_team = "fitzroy"


Question: What did the home team score when playing at Western Oval?

Context: CREATE TABLE table_name_41 (home_team VARCHAR, venue VARCHAR)

SELECT home_team AS score FROM table_name_41 WHERE venue = "western oval"


Question: What away team played Collingwood?

Context: CREATE TABLE table_name_20 (away_team VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_20 WHERE home_team = "collingwood"


Question: On what date did Collingwood play at home?

Context: CREATE TABLE table_name_20 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_20 WHERE home_team = "collingwood"


Question: Name the average round where Dave Stachelski was picked smaller than 187.

Context: CREATE TABLE table_name_28 (round INTEGER, overall VARCHAR, player VARCHAR)

SELECT AVG(round) FROM table_name_28 WHERE overall < 187 AND player = "dave stachelski"


Question: Which position did David Nugent play with an overall small than 187?

Context: CREATE TABLE table_name_79 (position VARCHAR, overall VARCHAR, player VARCHAR)

SELECT position FROM table_name_79 WHERE overall > 187 AND player = "david nugent"


Question: Name the college that has an overall larger than 187 and a round smaller than 7 for the defensive end position.

Context: CREATE TABLE table_name_46 (college VARCHAR, position VARCHAR, overall VARCHAR, round VARCHAR)

SELECT college FROM table_name_46 WHERE overall > 187 AND round < 7 AND position = "defensive end"


Question: Which player has less than 201 games, is ranked 2, and played between 2007-2012?

Context: CREATE TABLE table_name_74 (player VARCHAR, years VARCHAR, games VARCHAR, rank VARCHAR)

SELECT player FROM table_name_74 WHERE games < 201 AND rank = 2 AND years = "2007-2012"


Question: How many average games did Nick Rimando have?

Context: CREATE TABLE table_name_99 (games INTEGER, player VARCHAR)

SELECT AVG(games) FROM table_name_99 WHERE player = "nick rimando"


Question: What is the party of the politician who left office on January 12, 1857

Context: CREATE TABLE table_name_47 (party VARCHAR, left_office VARCHAR)

SELECT party FROM table_name_47 WHERE left_office = "january 12, 1857"


Question: What is the party of the governor under Hugh Thomas Miller.

Context: CREATE TABLE table_name_4 (governor VARCHAR, name VARCHAR)

SELECT governor FROM table_name_4 WHERE name = "hugh thomas miller"


Question: Who left office on January 9, 1893

Context: CREATE TABLE table_name_32 (name VARCHAR, left_office VARCHAR)

SELECT name FROM table_name_32 WHERE left_office = "january 9, 1893"


Question: Who took office under the government of Matthew E. Welsh?

Context: CREATE TABLE table_name_8 (took_office VARCHAR, governor VARCHAR)

SELECT took_office FROM table_name_8 WHERE governor = "matthew e. welsh"


Question: Which governor took office on January 13, 1877

Context: CREATE TABLE table_name_4 (governor VARCHAR, took_office VARCHAR)

SELECT governor FROM table_name_4 WHERE took_office = "january 13, 1877"


Question: What is the score of the Geelong away team?

Context: CREATE TABLE table_name_18 (away_team VARCHAR)

SELECT away_team AS score FROM table_name_18 WHERE away_team = "geelong"


Question: What is the score of the team that plays in lake oval?

Context: CREATE TABLE table_name_85 (away_team VARCHAR, venue VARCHAR)

SELECT away_team AS score FROM table_name_85 WHERE venue = "lake oval"


Question: What the date of the game of the team that plays in princes park?

Context: CREATE TABLE table_name_25 (date VARCHAR, venue VARCHAR)

SELECT date FROM table_name_25 WHERE venue = "princes park"


Question: What was the score of the home team of carlton?

Context: CREATE TABLE table_name_60 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_60 WHERE home_team = "carlton"