Question: Who's the Fourth District with a First District of beverly bodem?

Context: CREATE TABLE table_name_98 (fourth_district VARCHAR, first_district VARCHAR)

SELECT fourth_district FROM table_name_98 WHERE first_district = "beverly bodem"


Question: Who's the Fourth District with a Second District of kurt van koevering?

Context: CREATE TABLE table_name_41 (fourth_district VARCHAR, second_district VARCHAR)

SELECT fourth_district FROM table_name_41 WHERE second_district = "kurt van koevering"


Question: Who's the Fifth District with a Second District of paul leidig?

Context: CREATE TABLE table_name_23 (fifth_district VARCHAR, second_district VARCHAR)

SELECT fifth_district FROM table_name_23 WHERE second_district = "paul leidig"


Question: Who's the Fourth District with a Third District of sharon yentsch?

Context: CREATE TABLE table_name_82 (fourth_district VARCHAR, third_district VARCHAR)

SELECT fourth_district FROM table_name_82 WHERE third_district = "sharon yentsch"


Question: How many Sets did Gary Muller have?

Context: CREATE TABLE table_name_21 (sets VARCHAR, player VARCHAR)

SELECT COUNT(sets) FROM table_name_21 WHERE player = "gary muller"


Question: What Player in 2005 Wimbledon had less than 5 Sets?

Context: CREATE TABLE table_name_12 (player VARCHAR, sets VARCHAR, event VARCHAR)

SELECT player FROM table_name_12 WHERE sets < 5 AND event = "2005 wimbledon"


Question: At the 2001 Davis Cup, what Opponent had less than 50 Aces?

Context: CREATE TABLE table_name_93 (opponent VARCHAR, aces VARCHAR, event VARCHAR)

SELECT opponent FROM table_name_93 WHERE aces < 50 AND event = "2001 davis cup"


Question: What time did Channel 4 air an episode number larger than 106 with the title of Marry Me A Little?

Context: CREATE TABLE table_name_74 (time_of_airing_on_channel_4 VARCHAR, episode_number VARCHAR, title VARCHAR)

SELECT time_of_airing_on_channel_4 FROM table_name_74 WHERE episode_number > 106 AND title = "marry me a little"


Question: What is the total number of sunk by U-boats with less than 2 German submarines lost, 56328 sunk by aircrafts, and more than 8269 sunk by mines?

Context: CREATE TABLE table_name_4 (sunk_by_u_boat VARCHAR, sunk_by_mines VARCHAR, german_submarines_lost VARCHAR, sunk_by_aircraft VARCHAR)

SELECT COUNT(sunk_by_u_boat) FROM table_name_4 WHERE german_submarines_lost < 2 AND sunk_by_aircraft = 56328 AND sunk_by_mines > 8269


Question: What is the total number sunk by warship or raider with 20 German submarines lost and more than 21616 sunk by aircraft?

Context: CREATE TABLE table_name_30 (sunk_by_warship_or_raider VARCHAR, german_submarines_lost VARCHAR, sunk_by_aircraft VARCHAR)

SELECT COUNT(sunk_by_warship_or_raider) FROM table_name_30 WHERE german_submarines_lost = 20 AND sunk_by_aircraft > 21616


Question: What is the total number of German submarines lost with more than 120958 sunk by mines?

Context: CREATE TABLE table_name_46 (german_submarines_lost VARCHAR, sunk_by_mines INTEGER)

SELECT COUNT(german_submarines_lost) FROM table_name_46 WHERE sunk_by_mines > 120958


Question: What is the month and year less than 5 German submarines were lost, less than 6893 were sunk by warship or raider, less than 133746 were sunk by aircraft, and more than 111263 were sunk by U-boat?

Context: CREATE TABLE table_name_24 (month VARCHAR, _year VARCHAR, sunk_by_u_boat VARCHAR, sunk_by_aircraft VARCHAR, german_submarines_lost VARCHAR, sunk_by_warship_or_raider VARCHAR)

SELECT month, _year FROM table_name_24 WHERE german_submarines_lost < 5 AND sunk_by_warship_or_raider < 6893 AND sunk_by_aircraft < 133746 AND sunk_by_u_boat > 111263


Question: What is the month and year less than 106005 were sunk by aircraft and 61857 were sunk by warship or raider?

Context: CREATE TABLE table_name_73 (month VARCHAR, _year VARCHAR, sunk_by_aircraft VARCHAR, sunk_by_warship_or_raider VARCHAR)

SELECT month, _year FROM table_name_73 WHERE sunk_by_aircraft < 106005 AND sunk_by_warship_or_raider = 61857


Question: What is the post-1986 provinces with a 全羅道 Hanja?

Context: CREATE TABLE table_name_52 (post_1896_provinces VARCHAR, hanja VARCHAR)

SELECT post_1896_provinces FROM table_name_52 WHERE hanja = "全羅道"


Question: What is the Korean dialect in the daegu capital?

Context: CREATE TABLE table_name_71 (korean_dialect VARCHAR, capital VARCHAR)

SELECT korean_dialect FROM table_name_71 WHERE capital = "daegu"


Question: What is the Korean dialect with a jeolla RR Romaja?

Context: CREATE TABLE table_name_18 (korean_dialect VARCHAR, rr_romaja VARCHAR)

SELECT korean_dialect FROM table_name_18 WHERE rr_romaja = "jeolla"


Question: What is the Hanja for the hamgyeong RR Romaja?

Context: CREATE TABLE table_name_4 (hanja VARCHAR, rr_romaja VARCHAR)

SELECT hanja FROM table_name_4 WHERE rr_romaja = "hamgyeong"


Question: What is the mean huc example code when the example name's lower snake, there are 6 digits, and less than 3 levels?

Context: CREATE TABLE table_name_35 (example_code__huc_ INTEGER, level VARCHAR, example_name VARCHAR, digits VARCHAR)

SELECT AVG(example_code__huc_) FROM table_name_35 WHERE example_name = "lower snake" AND digits = 6 AND level < 3


Question: What's the approximate number of HUs when there are more than 2 digits, and 6 levels?

Context: CREATE TABLE table_name_66 (number_of_hus__approximate_ VARCHAR, digits VARCHAR, level VARCHAR)

SELECT COUNT(number_of_hus__approximate_) FROM table_name_66 WHERE digits > 2 AND level = 6


Question: How many HUC example codes have 1 level?

Context: CREATE TABLE table_name_48 (example_code__huc_ VARCHAR, level VARCHAR)

SELECT COUNT(example_code__huc_) FROM table_name_48 WHERE level = 1


Question: What is the mean level number when the example name is lower snake and the approximate number is hus is less than 370?

Context: CREATE TABLE table_name_42 (level INTEGER, example_name VARCHAR, number_of_hus__approximate_ VARCHAR)

SELECT AVG(level) FROM table_name_42 WHERE example_name = "lower snake" AND number_of_hus__approximate_ < 370


Question: What is the losses average when the against is greater than 1255 and wins is 0 and the draws less than 0?

Context: CREATE TABLE table_name_43 (losses INTEGER, draws VARCHAR, against VARCHAR, wins VARCHAR)

SELECT AVG(losses) FROM table_name_43 WHERE against > 1255 AND wins = 0 AND draws < 0


Question: What is the smallest losses when the wins are 5 and the against less than 1852?

Context: CREATE TABLE table_name_14 (losses INTEGER, wins VARCHAR, against VARCHAR)

SELECT MIN(losses) FROM table_name_14 WHERE wins = 5 AND against < 1852


Question: What is the fewest losses that Ballarat FL of Lake Wendouree has when the wins are smaller than 9?

Context: CREATE TABLE table_name_9 (losses INTEGER, ballarat_fl VARCHAR, wins VARCHAR)

SELECT MIN(losses) FROM table_name_9 WHERE ballarat_fl = "lake wendouree" AND wins < 9


Question: What is the smallest byes when the wins are 3?

Context: CREATE TABLE table_name_49 (byes INTEGER, wins VARCHAR)

SELECT MIN(byes) FROM table_name_49 WHERE wins = 3


Question: What is the highest Attendance when the away team was Wrexham?

Context: CREATE TABLE table_name_39 (attendance INTEGER, away_team VARCHAR)

SELECT MAX(attendance) FROM table_name_39 WHERE away_team = "wrexham"


Question: What is the Away team when the home team was wycombe wanderers?

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

SELECT away_team FROM table_name_9 WHERE home_team = "wycombe wanderers"


Question: What is the lowest Attendance when the home team was slough town?

Context: CREATE TABLE table_name_62 (attendance INTEGER, home_team VARCHAR)

SELECT MIN(attendance) FROM table_name_62 WHERE home_team = "slough town"


Question: What is the sum of Attendance when macclesfield town was the way team?

Context: CREATE TABLE table_name_22 (attendance INTEGER, away_team VARCHAR)

SELECT SUM(attendance) FROM table_name_22 WHERE away_team = "macclesfield town"


Question: How many Spins sources have a CCM Chart of CHR with a peak position less than 1?

Context: CREATE TABLE table_name_61 (spins__since_1998__source VARCHAR, ccm_chart VARCHAR, peak_pos VARCHAR)

SELECT COUNT(spins__since_1998__source) AS :_mediabase FROM table_name_61 WHERE ccm_chart = "chr" AND peak_pos < 1


Question: What CCM Chart had 18 total weeks?

Context: CREATE TABLE table_name_94 (ccm_chart VARCHAR, total_wks VARCHAR)

SELECT ccm_chart FROM table_name_94 WHERE total_wks = 18


Question: What is Opponent, when Date is December 18, 1988?

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

SELECT opponent FROM table_name_7 WHERE date = "december 18, 1988"


Question: What is Attendance, when Opponent is Pittsburgh Steelers?

Context: CREATE TABLE table_name_2 (attendance VARCHAR, opponent VARCHAR)

SELECT attendance FROM table_name_2 WHERE opponent = "pittsburgh steelers"


Question: What is the average Week, when Result is l 37–34?

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

SELECT AVG(week) FROM table_name_80 WHERE result = "l 37–34"


Question: When was Shannon Long the Centerfold model?

Context: CREATE TABLE table_name_15 (date VARCHAR, centerfold_model VARCHAR)

SELECT date FROM table_name_15 WHERE centerfold_model = "shannon long"


Question: Who was the Centerfold model on 5-88?

Context: CREATE TABLE table_name_20 (centerfold_model VARCHAR, date VARCHAR)

SELECT centerfold_model FROM table_name_20 WHERE date = "5-88"


Question: Who was the Centerfild model that used Bruce Willis as her Interview subject?

Context: CREATE TABLE table_name_60 (centerfold_model VARCHAR, interview_subject VARCHAR)

SELECT centerfold_model FROM table_name_60 WHERE interview_subject = "bruce willis"


Question: What is Series, when Launch Date is 23 February 2013?

Context: CREATE TABLE table_name_16 (series VARCHAR, launch_date VARCHAR)

SELECT series FROM table_name_16 WHERE launch_date = "23 february 2013"


Question: What is Series, when Days is greater than 99, and when Prize is €50,000?

Context: CREATE TABLE table_name_15 (series VARCHAR, days VARCHAR, prize VARCHAR)

SELECT series FROM table_name_15 WHERE days > 99 AND prize = "€50,000"


Question: What is Series, when Winner is Jetmir Salaj?

Context: CREATE TABLE table_name_54 (series VARCHAR, winner VARCHAR)

SELECT series FROM table_name_54 WHERE winner = "jetmir salaj"


Question: What is Highest Days, when Launch Date is 23 January 2010?

Context: CREATE TABLE table_name_16 (days INTEGER, launch_date VARCHAR)

SELECT MAX(days) FROM table_name_16 WHERE launch_date = "23 january 2010"


Question: What is the lowest Rank, when Name is Jeremiah Massey, and when Games is less than 20?

Context: CREATE TABLE table_name_60 (rank INTEGER, name VARCHAR, games VARCHAR)

SELECT MIN(rank) FROM table_name_60 WHERE name = "jeremiah massey" AND games < 20


Question: What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?

Context: CREATE TABLE table_name_91 (games INTEGER, name VARCHAR, points VARCHAR)

SELECT MIN(games) FROM table_name_91 WHERE name = "jeremiah massey" AND points < 340


Question: What is the lowest Points, when Games is greater than 20, and when Team is Partizan Belgrade?

Context: CREATE TABLE table_name_30 (points INTEGER, games VARCHAR, team VARCHAR)

SELECT MIN(points) FROM table_name_30 WHERE games > 20 AND team = "partizan belgrade"


Question: What is Games, when Points is less than 340, and when Rank is greater than 3?

Context: CREATE TABLE table_name_89 (games VARCHAR, points VARCHAR, rank VARCHAR)

SELECT games FROM table_name_89 WHERE points < 340 AND rank > 3


Question: What is the sum of Rank, when Name is Will Solomon, and when Games is greater than 21?

Context: CREATE TABLE table_name_45 (rank INTEGER, name VARCHAR, games VARCHAR)

SELECT SUM(rank) FROM table_name_45 WHERE name = "will solomon" AND games > 21


Question: What was the first leg score in the match against Twente?

Context: CREATE TABLE table_name_58 (first_leg VARCHAR, opposition VARCHAR)

SELECT first_leg FROM table_name_58 WHERE opposition = "twente"


Question: What was the first leg score in the 2nd round?

Context: CREATE TABLE table_name_41 (first_leg VARCHAR, round VARCHAR)

SELECT first_leg FROM table_name_41 WHERE round = "2nd"


Question: What were the Bills points on Nov. 11?

Context: CREATE TABLE table_name_54 (bills_points INTEGER, date VARCHAR)

SELECT SUM(bills_points) FROM table_name_54 WHERE date = "nov. 11"


Question: What was the Bills first downs on Oct. 29 with more the 23 Bills points?

Context: CREATE TABLE table_name_47 (bills_first_downs INTEGER, date VARCHAR, bills_points VARCHAR)

SELECT MIN(bills_first_downs) FROM table_name_47 WHERE date = "oct. 29" AND bills_points > 23


Question: What was the Bill's attendance on December 6?

Context: CREATE TABLE table_name_86 (attendance VARCHAR, date VARCHAR)

SELECT attendance FROM table_name_86 WHERE date = "december 6"


Question: On what date did the Bills play the Houston Oilers before week 12?

Context: CREATE TABLE table_name_79 (date VARCHAR, week VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_79 WHERE week < 12 AND opponent = "houston oilers"


Question: Which team won on the day when attendance was 42,308?

Context: CREATE TABLE table_name_27 (result VARCHAR, attendance VARCHAR)

SELECT result FROM table_name_27 WHERE attendance = "42,308"


Question: What week of the season was December 13?

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

SELECT week FROM table_name_3 WHERE date = "december 13"


Question: What is the highest Points in Position 2 with more than 3 Drawn games?

Context: CREATE TABLE table_name_75 (points INTEGER, position VARCHAR, drawn VARCHAR)

SELECT MAX(points) FROM table_name_75 WHERE position = 2 AND drawn > 3


Question: What is the goal Difference at Position 5?

Context: CREATE TABLE table_name_53 (difference VARCHAR, position VARCHAR)

SELECT difference FROM table_name_53 WHERE position = 5


Question: What is the average games Played with positions higher than 3 that have goals Against less than 27 and a Lost games smaller than 6?

Context: CREATE TABLE table_name_3 (played INTEGER, lost VARCHAR, position VARCHAR, against VARCHAR)

SELECT AVG(played) FROM table_name_3 WHERE position > 3 AND against < 27 AND lost < 6


Question: What is the highest Points with a Lost total of 8?

Context: CREATE TABLE table_name_39 (points INTEGER, lost VARCHAR)

SELECT MAX(points) FROM table_name_39 WHERE lost = 8


Question: Which average Points has a Lost higher than 20?

Context: CREATE TABLE table_name_78 (points INTEGER, lost INTEGER)

SELECT AVG(points) FROM table_name_78 WHERE lost > 20


Question: What are the Cuts made with a Top-10 smaller than 2?

Context: CREATE TABLE table_name_72 (cuts_made INTEGER, top_10 INTEGER)

SELECT SUM(cuts_made) FROM table_name_72 WHERE top_10 < 2


Question: What is the Top-25 with a Top-10 of 8, and an Events of 45?

Context: CREATE TABLE table_name_63 (top_25 INTEGER, top_10 VARCHAR, events VARCHAR)

SELECT AVG(top_25) FROM table_name_63 WHERE top_10 = 8 AND events = 45


Question: What is the Top-25 with an Events of 20, and a Wins larger than 2?

Context: CREATE TABLE table_name_45 (top_25 INTEGER, events VARCHAR, wins VARCHAR)

SELECT AVG(top_25) FROM table_name_45 WHERE events = 20 AND wins > 2


Question: Which Top-10 has a Top-25 smaller than 18, and a Top-5 of 6, and a Cuts made smaller than 20?

Context: CREATE TABLE table_name_57 (top_10 INTEGER, cuts_made VARCHAR, top_25 VARCHAR, top_5 VARCHAR)

SELECT MAX(top_10) FROM table_name_57 WHERE top_25 < 18 AND top_5 = 6 AND cuts_made < 20


Question: What is Top Par, when Score is less than 68, and when Country is England?

Context: CREATE TABLE table_name_58 (to_par VARCHAR, score VARCHAR, country VARCHAR)

SELECT to_par FROM table_name_58 WHERE score < 68 AND country = "england"


Question: What is Sum of Score, when Player is Vijay Singh?

Context: CREATE TABLE table_name_18 (score INTEGER, player VARCHAR)

SELECT SUM(score) FROM table_name_18 WHERE player = "vijay singh"


Question: What is Sum of Score, when Place is T2, and when Player is Justin Leonard?

Context: CREATE TABLE table_name_13 (score INTEGER, place VARCHAR, player VARCHAR)

SELECT SUM(score) FROM table_name_13 WHERE place = "t2" AND player = "justin leonard"


Question: What is Place, when Score is less than 67, and when Country is South Africa?

Context: CREATE TABLE table_name_32 (place VARCHAR, score VARCHAR, country VARCHAR)

SELECT place FROM table_name_32 WHERE score < 67 AND country = "south africa"


Question: Can you tell me the Team that has the Laps of 379?

Context: CREATE TABLE table_name_23 (team VARCHAR, laps VARCHAR)

SELECT team FROM table_name_23 WHERE laps = 379


Question: What is the Tournament with a Margin of victory that was 4 strokes?

Context: CREATE TABLE table_name_57 (tournament VARCHAR, margin_of_victory VARCHAR)

SELECT tournament FROM table_name_57 WHERE margin_of_victory = "4 strokes"


Question: What is 1999, when 1998 is 2R?

Context: CREATE TABLE table_name_18 (Id VARCHAR)

SELECT 1999 FROM table_name_18 WHERE 1998 = "2r"


Question: What is 1998, when 1994 is Grand Slam Tournaments?

Context: CREATE TABLE table_name_86 (Id VARCHAR)

SELECT 1998 FROM table_name_86 WHERE 1994 = "grand slam tournaments"


Question: What is 2009, when 2000 is 1R, and when 1998 is 3R?

Context: CREATE TABLE table_name_1 (Id VARCHAR)

SELECT 2009 FROM table_name_1 WHERE 2000 = "1r" AND 1998 = "3r"


Question: What is 2009, when 2008 is 1R, and when Tournament is French Open?

Context: CREATE TABLE table_name_59 (tournament VARCHAR)

SELECT 2009 FROM table_name_59 WHERE 2008 = "1r" AND tournament = "french open"


Question: What is 2009, when 2004 is 2R, and when 1993 is A?

Context: CREATE TABLE table_name_81 (Id VARCHAR)

SELECT 2009 FROM table_name_81 WHERE 2004 = "2r" AND 1993 = "a"


Question: What is the average amount of gold medals for a country with more than 12 total medals?

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

SELECT AVG(gold) FROM table_name_45 WHERE total > 12


Question: Who were the Visitor when the Nets were the Home team?

Context: CREATE TABLE table_name_7 (visitor VARCHAR, home VARCHAR)

SELECT visitor FROM table_name_7 WHERE home = "nets"


Question: What Leading scorer had a Score of 80–112?

Context: CREATE TABLE table_name_98 (leading_scorer VARCHAR, score VARCHAR)

SELECT leading_scorer FROM table_name_98 WHERE score = "80–112"


Question: What is the name of the tournament played on Sep 20, 1981, ending with a margin of vicroty of 2 strokes?

Context: CREATE TABLE table_name_56 (tournament VARCHAR, margin_of_victory VARCHAR, date VARCHAR)

SELECT tournament FROM table_name_56 WHERE margin_of_victory = "2 strokes" AND date = "sep 20, 1981"


Question: For the tournament played on Jul 4, 1982, what was the winning score?

Context: CREATE TABLE table_name_97 (winning_score VARCHAR, date VARCHAR)

SELECT winning_score FROM table_name_97 WHERE date = "jul 4, 1982"


Question: What was the winning score for the Andy Williams-San Diego Open Invitational tournament?

Context: CREATE TABLE table_name_60 (winning_score VARCHAR, tournament VARCHAR)

SELECT winning_score FROM table_name_60 WHERE tournament = "andy williams-san diego open invitational"


Question: Who was the runner(s)-up for the tournament played on Jun 3, 1973?

Context: CREATE TABLE table_name_95 (runner_s__up VARCHAR, date VARCHAR)

SELECT runner_s__up FROM table_name_95 WHERE date = "jun 3, 1973"


Question: What was the winning score for the tournament played on Jul 14, 1973?

Context: CREATE TABLE table_name_96 (winning_score VARCHAR, date VARCHAR)

SELECT winning_score FROM table_name_96 WHERE date = "jul 14, 1973"


Question: In which tournament was Gil Morgan the runner-up?

Context: CREATE TABLE table_name_64 (tournament VARCHAR, runner_s__up VARCHAR)

SELECT tournament FROM table_name_64 WHERE runner_s__up = "gil morgan"


Question: What was the highest attendance when the Atlanta Falcons played for a week smaller than 10?

Context: CREATE TABLE table_name_19 (attendance INTEGER, opponent VARCHAR, week VARCHAR)

SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10


Question: What is the Result when the Theme was by Dolly Parton?

Context: CREATE TABLE table_name_42 (result VARCHAR, theme VARCHAR)

SELECT result FROM table_name_42 WHERE theme = "dolly parton"


Question: What is the Theme when the Original artist was carole king, and a Week # shows hollywood?

Context: CREATE TABLE table_name_85 (theme VARCHAR, original_artist VARCHAR, week__number VARCHAR)

SELECT theme FROM table_name_85 WHERE original_artist = "carole king" AND week__number = "hollywood"


Question: What is the Song choice when there is an Order # of 4?

Context: CREATE TABLE table_name_26 (song_choice VARCHAR, order__number VARCHAR)

SELECT song_choice FROM table_name_26 WHERE order__number = "4"


Question: What proto-oceanic has louse as the animal?

Context: CREATE TABLE table_name_86 (proto_oceanic VARCHAR, animal VARCHAR)

SELECT proto_oceanic FROM table_name_86 WHERE animal = "louse"


Question: What is the total number of delegate that have 4 counties carries and more than 1,903 state delegates?

Context: CREATE TABLE table_name_22 (delegates INTEGER, counties_carries VARCHAR, state_delegate VARCHAR)

SELECT SUM(delegates) FROM table_name_22 WHERE counties_carries = 4 AND state_delegate > 1 OFFSET 903


Question: What is the Home team with an Away team that is oxford united?

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

SELECT home_team FROM table_name_87 WHERE away_team = "oxford united"


Question: What is the Home team with an Away team that is wrexham?

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

SELECT home_team FROM table_name_90 WHERE away_team = "wrexham"


Question: Which Gold has a Silver of 7, and a Bronze smaller than 7?

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

SELECT MIN(gold) FROM table_name_24 WHERE silver = 7 AND bronze < 7


Question: Which Bronze has a Silver of 15, and a Gold smaller than 20?

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

SELECT SUM(bronze) FROM table_name_69 WHERE silver = 15 AND gold < 20


Question: Which Bronze has a Silver of 7, and a Total larger than 25?

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

SELECT MIN(bronze) FROM table_name_93 WHERE silver = 7 AND total > 25


Question: Which Gold has a Bronze larger than 1, and a Total larger than 80?

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

SELECT SUM(gold) FROM table_name_92 WHERE bronze > 1 AND total > 80


Question: Which Total has a Silver larger than 8, and a Bronze of 20, and a Gold smaller than 20?

Context: CREATE TABLE table_name_93 (total VARCHAR, gold VARCHAR, silver VARCHAR, bronze VARCHAR)

SELECT COUNT(total) FROM table_name_93 WHERE silver > 8 AND bronze = 20 AND gold < 20


Question: What is the total of NA for set 4, a score of 3-0 and a 26-24 for set 2?

Context: CREATE TABLE table_name_62 (total VARCHAR, set_2 VARCHAR, set_4 VARCHAR, score VARCHAR)

SELECT total FROM table_name_62 WHERE set_4 = "na" AND score = "3-0" AND set_2 = "26-24"


Question: What is the total of the 3-0 score with a set 2 of 25-12 and a set 3 of 25-18?

Context: CREATE TABLE table_name_16 (total VARCHAR, set_2 VARCHAR, score VARCHAR, set_3 VARCHAR)

SELECT total FROM table_name_16 WHERE score = "3-0" AND set_3 = "25-18" AND set_2 = "25-12"


Question: What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25?

Context: CREATE TABLE table_name_25 (set_5 VARCHAR, set_2 VARCHAR, set_1 VARCHAR)

SELECT set_5 FROM table_name_25 WHERE set_2 = "26-24" AND set_1 = "27-25"


Question: Who has a total number of 76 silver medals?

Context: CREATE TABLE table_name_66 (silver VARCHAR, total VARCHAR)

SELECT COUNT(silver) FROM table_name_66 WHERE total = 76


Question: What score has ipswich town as the home team, and replay as the tie no.?

Context: CREATE TABLE table_name_74 (score VARCHAR, home_team VARCHAR, tie_no VARCHAR)

SELECT score FROM table_name_74 WHERE home_team = "ipswich town" AND tie_no = "replay"


Question: What score has grays athletic as the home team?

Context: CREATE TABLE table_name_27 (score VARCHAR, home_team VARCHAR)

SELECT score FROM table_name_27 WHERE home_team = "grays athletic"


Question: What date has 6 as the tie no.?

Context: CREATE TABLE table_name_73 (date VARCHAR, tie_no VARCHAR)

SELECT date FROM table_name_73 WHERE tie_no = "6"


Question: What is Fastest Lap, when Winning Team is Team BRM, when Race is 1, when Pole Position is Leanne Tander, and when Circuit is Phillip Island?

Context: CREATE TABLE table_name_8 (fastest_lap VARCHAR, circuit VARCHAR, pole_position VARCHAR, winning_team VARCHAR, race VARCHAR)

SELECT fastest_lap FROM table_name_8 WHERE winning_team = "team brm" AND race = 1 AND pole_position = "leanne tander" AND circuit = "phillip island"


Question: What is Fastest Lap, when Round is 5, and when Winning Driver is James Winslow?

Context: CREATE TABLE table_name_68 (fastest_lap VARCHAR, round VARCHAR, winning_driver VARCHAR)

SELECT fastest_lap FROM table_name_68 WHERE round = "5" AND winning_driver = "james winslow"


Question: What is Date, when Fastest Lap is James Winslow, when Race is 1, and when Winning Driver is Leanne Tander?

Context: CREATE TABLE table_name_81 (date VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR, race VARCHAR)

SELECT date FROM table_name_81 WHERE fastest_lap = "james winslow" AND race = 1 AND winning_driver = "leanne tander"


Question: What is Pole Position, when Circuit is Adelaide Street Circuit, and when Winning Team is Piccola Scuderia Corse?

Context: CREATE TABLE table_name_71 (pole_position VARCHAR, circuit VARCHAR, winning_team VARCHAR)

SELECT pole_position FROM table_name_71 WHERE circuit = "adelaide street circuit" AND winning_team = "piccola scuderia corse"


Question: What country was the game played in when the location was trestles?

Context: CREATE TABLE table_name_18 (country VARCHAR, location VARCHAR)

SELECT country FROM table_name_18 WHERE location = "trestles"


Question: What date was the game played when it was located at bells beach?

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

SELECT date FROM table_name_8 WHERE location = "bells beach"


Question: What country was the game played when it was played from April 11-April 21?

Context: CREATE TABLE table_name_73 (country VARCHAR, date VARCHAR)

SELECT country FROM table_name_73 WHERE date = "april 11-april 21"


Question: Who was the Runner-up when the game was played at Bells Beach?

Context: CREATE TABLE table_name_31 (runner_up VARCHAR, location VARCHAR)

SELECT runner_up FROM table_name_31 WHERE location = "bells beach"


Question: Which Accolade had a publication of Under the Radar?

Context: CREATE TABLE table_name_44 (accolade VARCHAR, publication VARCHAR)

SELECT accolade FROM table_name_44 WHERE publication = "under the radar"


Question: Which year had a publication of Pazz & Jop?

Context: CREATE TABLE table_name_99 (year VARCHAR, publication VARCHAR)

SELECT year FROM table_name_99 WHERE publication = "pazz & jop"


Question: How many districts featured the democrat nicholas von stein?

Context: CREATE TABLE table_name_57 (district VARCHAR, democratic VARCHAR)

SELECT COUNT(district) FROM table_name_57 WHERE democratic = "nicholas von stein"


Question: Which incumbent's democratic candidate was mike carroll?

Context: CREATE TABLE table_name_21 (incumbent VARCHAR, democratic VARCHAR)

SELECT incumbent FROM table_name_21 WHERE democratic = "mike carroll"


Question: Who ran under the Democratic ticket when Edward R. Dudley ran under the Liberal ticket?

Context: CREATE TABLE table_name_68 (democratic_ticket VARCHAR, liberal_ticket VARCHAR)

SELECT democratic_ticket FROM table_name_68 WHERE liberal_ticket = "edward r. dudley"


Question: When John Emanuel ran under the Socialist Labor ticket who ran under the Democratic ticket?

Context: CREATE TABLE table_name_99 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)

SELECT democratic_ticket FROM table_name_99 WHERE socialist_labor_ticket = "john emanuel"


Question: What was the office up for election when Sylvia Weinstein ran under the Socialist Workers ticket?

Context: CREATE TABLE table_name_55 (office VARCHAR, socialist_workers_ticket VARCHAR)

SELECT office FROM table_name_55 WHERE socialist_workers_ticket = "sylvia weinstein"


Question: Who ran under the Socialist Labor ticket when Robert M. Morgenthau ran for the Democratic ticket?

Context: CREATE TABLE table_name_28 (socialist_labor_ticket VARCHAR, democratic_ticket VARCHAR)

SELECT socialist_labor_ticket FROM table_name_28 WHERE democratic_ticket = "robert m. morgenthau"


Question: When Republican ticket was John P. Lomenzo who ran for the Socialist Workers ticket?

Context: CREATE TABLE table_name_99 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)

SELECT socialist_workers_ticket FROM table_name_99 WHERE republican_ticket = "john p. lomenzo"


Question: What is the area km2 of the area with a pop density people/km2 larger than 91, is a member state of Italy, and had less than 58.8 population in millions?

Context: CREATE TABLE table_name_70 (area_km_2 INTEGER, population_in_millions VARCHAR, pop_density_people_km_2 VARCHAR, member_state VARCHAR)

SELECT SUM(area_km_2) FROM table_name_70 WHERE pop_density_people_km_2 > 91 AND member_state = "italy" AND population_in_millions < 58.8


Question: What is the area % of EU with 16.4 population in millions?

Context: CREATE TABLE table_name_39 (area__percentage_of_eu VARCHAR, population_in_millions VARCHAR)

SELECT area__percentage_of_eu FROM table_name_39 WHERE population_in_millions = 16.4


Question: What is the total number of area km2 with a 4.2 population in millions and is a member state of the Czech Republic?

Context: CREATE TABLE table_name_8 (area_km_2 VARCHAR, population_in_millions VARCHAR, member_state VARCHAR)

SELECT COUNT(area_km_2) FROM table_name_8 WHERE population_in_millions > 4.2 AND member_state = "czech republic"


Question: What is the sum of the pop density people/km2 with a population % of EU of 0.1%, an area % of EU of 0.1%, and has more than 0.5 population in millions?

Context: CREATE TABLE table_name_47 (pop_density_people_km_2 INTEGER, population_in_millions VARCHAR, population__percentage_of_eu VARCHAR, area__percentage_of_eu VARCHAR)

SELECT SUM(pop_density_people_km_2) FROM table_name_47 WHERE population__percentage_of_eu = "0.1%" AND area__percentage_of_eu = "0.1%" AND population_in_millions > 0.5


Question: What is the lowest area km2 of the member state of the Czech Republic and has a population in millions lesss than 10.3?

Context: CREATE TABLE table_name_61 (area_km_2 INTEGER, member_state VARCHAR, population_in_millions VARCHAR)

SELECT MIN(area_km_2) FROM table_name_61 WHERE member_state = "czech republic" AND population_in_millions < 10.3


Question: Weighing less than 85, with less than 340 Spikes, what is Gilberto Godoy Filho's Height

Context: CREATE TABLE table_name_22 (height VARCHAR, weight VARCHAR, spike VARCHAR, name VARCHAR)

SELECT COUNT(height) FROM table_name_22 WHERE spike < 340 AND name = "gilberto godoy filho" AND weight < 85


Question: What is the Attendance for Opponent Boston Patriots and Week is greater than 14?

Context: CREATE TABLE table_name_1 (attendance VARCHAR, opponent VARCHAR, week VARCHAR)

SELECT COUNT(attendance) FROM table_name_1 WHERE opponent = "boston patriots" AND week > 14


Question: Which Nominated work has a Year of 1997?

Context: CREATE TABLE table_name_96 (nominated_work VARCHAR, year VARCHAR)

SELECT nominated_work FROM table_name_96 WHERE year = 1997


Question: Which Award has a Category of music video acting award?

Context: CREATE TABLE table_name_40 (award VARCHAR, category VARCHAR)

SELECT award FROM table_name_40 WHERE category = "music video acting award"


Question: When the league is 84 (4) what is the Canadian Championship?

Context: CREATE TABLE table_name_87 (canadian_championship VARCHAR, league VARCHAR)

SELECT canadian_championship FROM table_name_87 WHERE league = "84 (4)"


Question: What Canadian Championship has 84 (4) as the league?

Context: CREATE TABLE table_name_85 (canadian_championship VARCHAR, league VARCHAR)

SELECT canadian_championship FROM table_name_85 WHERE league = "84 (4)"


Question: What Canadian Championship has Ashtone Morgan Category:Articles with hcards as the name?

Context: CREATE TABLE table_name_45 (canadian_championship VARCHAR, name VARCHAR)

SELECT canadian_championship FROM table_name_45 WHERE name = "ashtone morgan category:articles with hcards"


Question: What is the total when the name is Carl Robinson Category:Articles with hcards?

Context: CREATE TABLE table_name_15 (total VARCHAR, name VARCHAR)

SELECT total FROM table_name_15 WHERE name = "carl robinson category:articles with hcards"


Question: What is Name, when Games are less than 38, when Rank is less than 4, and when Points are 357?

Context: CREATE TABLE table_name_11 (name VARCHAR, points VARCHAR, games VARCHAR, rank VARCHAR)

SELECT name FROM table_name_11 WHERE games < 38 AND rank < 4 AND points = 357


Question: What is Team, when Rank is greater than 2, and when Points are greater than 259?

Context: CREATE TABLE table_name_12 (team VARCHAR, rank VARCHAR, points VARCHAR)

SELECT team FROM table_name_12 WHERE rank > 2 AND points > 259


Question: What are the Highest Games, when Team is Ciudad De La Laguna, and when Points are greater than 357?

Context: CREATE TABLE table_name_75 (games INTEGER, team VARCHAR, points VARCHAR)

SELECT MAX(games) FROM table_name_75 WHERE team = "ciudad de la laguna" AND points > 357


Question: What is Points, when Name is Ondrej Starosta?

Context: CREATE TABLE table_name_81 (points VARCHAR, name VARCHAR)

SELECT points FROM table_name_81 WHERE name = "ondrej starosta"


Question: What is the lowest value for Points, when Games is greater than 34, and when Name is Andrew Panko?

Context: CREATE TABLE table_name_98 (points INTEGER, games VARCHAR, name VARCHAR)

SELECT MIN(points) FROM table_name_98 WHERE games > 34 AND name = "andrew panko"


Question: What is the highest value for Points, when Games is 21, and when Rank is greater than 2?

Context: CREATE TABLE table_name_52 (points INTEGER, games VARCHAR, rank VARCHAR)

SELECT MAX(points) FROM table_name_52 WHERE games = 21 AND rank > 2


Question: What is the average rank of the record on 2007-06-21 with a mark less than 91.29?

Context: CREATE TABLE table_name_31 (rank INTEGER, date VARCHAR, mark VARCHAR)

SELECT AVG(rank) FROM table_name_31 WHERE date = "2007-06-21" AND mark < 91.29


Question: What is the lowest mark of the rank 8 record?

Context: CREATE TABLE table_name_34 (mark INTEGER, rank VARCHAR)

SELECT MIN(mark) FROM table_name_34 WHERE rank = 8


Question: What is the place of the record on 1996-05-25 with a mark greater than 90.73?

Context: CREATE TABLE table_name_38 (place VARCHAR, mark VARCHAR, date VARCHAR)

SELECT place FROM table_name_38 WHERE mark > 90.73 AND date = "1996-05-25"


Question: What is the place of the rank 6 record, which has a mark greater than 91.29?

Context: CREATE TABLE table_name_16 (place VARCHAR, mark VARCHAR, rank VARCHAR)

SELECT place FROM table_name_16 WHERE mark > 91.29 AND rank = 6


Question: What competition has a venue in Hampden Park, Glasgow?

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

SELECT competition FROM table_name_55 WHERE venue = "hampden park, glasgow"


Question: What was the score in Hampden Park, Glasgow?

Context: CREATE TABLE table_name_68 (score VARCHAR, venue VARCHAR)

SELECT score FROM table_name_68 WHERE venue = "hampden park, glasgow"


Question: Which Venue has a Notes of 2:28:31?

Context: CREATE TABLE table_name_83 (venue VARCHAR, notes VARCHAR)

SELECT venue FROM table_name_83 WHERE notes = "2:28:31"


Question: Which Venue has a Competition of venice marathon?

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

SELECT venue FROM table_name_98 WHERE competition = "venice marathon"


Question: Which Year that has Notes of dnf?

Context: CREATE TABLE table_name_17 (year INTEGER, notes VARCHAR)

SELECT MIN(year) FROM table_name_17 WHERE notes = "dnf"


Question: Which Competition has a Year larger than 2000?

Context: CREATE TABLE table_name_45 (competition VARCHAR, year INTEGER)

SELECT competition FROM table_name_45 WHERE year > 2000


Question: What date has a set 4 of 25-19?

Context: CREATE TABLE table_name_33 (date VARCHAR, set_4 VARCHAR)

SELECT date FROM table_name_33 WHERE set_4 = "25-19"


Question: What is the total for the set 2 of 25-18?

Context: CREATE TABLE table_name_80 (total VARCHAR, set_2 VARCHAR)

SELECT total FROM table_name_80 WHERE set_2 = "25-18"


Question: What is the total for set 2 of 25-19?

Context: CREATE TABLE table_name_55 (total VARCHAR, set_2 VARCHAR)

SELECT total FROM table_name_55 WHERE set_2 = "25-19"


Question: What is set 3 when set 5 is na, set 1 is 21-25, and set 2 is 25-16?

Context: CREATE TABLE table_name_54 (set_3 VARCHAR, set_2 VARCHAR, set_5 VARCHAR, set_1 VARCHAR)

SELECT set_3 FROM table_name_54 WHERE set_5 = "na" AND set_1 = "21-25" AND set_2 = "25-16"


Question: What is the set 1 for the date jun 26, and a set 2 of 25-16?

Context: CREATE TABLE table_name_90 (set_1 VARCHAR, date VARCHAR, set_2 VARCHAR)

SELECT set_1 FROM table_name_90 WHERE date = "jun 26" AND set_2 = "25-16"


Question: What is the total for set 2 17-25?

SELECT total FROM table_name_80 WHERE set_2 = "17-25"


Question: What Opponent has a Score that is 1-6, 3-6?

Context: CREATE TABLE table_name_57 (opponent VARCHAR, score VARCHAR)

SELECT opponent FROM table_name_57 WHERE score = "1-6, 3-6"


Question: What writer has mort drucker as the artist, an issue greater than 470, and law & order: svu as an actual title?

Context: CREATE TABLE table_name_9 (writer VARCHAR, actual_title VARCHAR, artist VARCHAR, issue VARCHAR)

SELECT writer FROM table_name_9 WHERE artist = "mort drucker" AND issue > 470 AND actual_title = "law & order: svu"


Question: What date has ed as an actual title?

Context: CREATE TABLE table_name_93 (date VARCHAR, actual_title VARCHAR)

SELECT date FROM table_name_93 WHERE actual_title = "ed"


Question: What isssue has 7th heaven as an actual title?

Context: CREATE TABLE table_name_51 (issue VARCHAR, actual_title VARCHAR)

SELECT issue FROM table_name_51 WHERE actual_title = "7th heaven"


Question: What issue has mort drucker as the artist and february 2001 as the date?

Context: CREATE TABLE table_name_20 (issue VARCHAR, artist VARCHAR, date VARCHAR)

SELECT issue FROM table_name_20 WHERE artist = "mort drucker" AND date = "february 2001"


Question: In what Week was the Attendance 39,434?

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

SELECT COUNT(week) FROM table_name_78 WHERE attendance < 39 OFFSET 434


Question: What year was the match were xavier malisse was the runner-up against lleyton hewitt?

Context: CREATE TABLE table_name_3 (year VARCHAR, outcome VARCHAR, opponent VARCHAR)

SELECT year FROM table_name_3 WHERE outcome = "runner-up" AND opponent = "lleyton hewitt"


Question: What year was the match against filippo volandri where xavier malisse was runner-up?

Context: CREATE TABLE table_name_39 (year VARCHAR, outcome VARCHAR, opponent VARCHAR)

SELECT year FROM table_name_39 WHERE outcome = "runner-up" AND opponent = "filippo volandri"


Question: How many against have a difference of 6, with a played greater than 19?

Context: CREATE TABLE table_name_57 (against INTEGER, difference VARCHAR, played VARCHAR)

SELECT SUM(against) FROM table_name_57 WHERE difference = "6" AND played > 19


Question: What is the lowest drawn that has a played greater than 19, with a position less than 2?

Context: CREATE TABLE table_name_52 (drawn INTEGER, played VARCHAR, position VARCHAR)

SELECT MIN(drawn) FROM table_name_52 WHERE played > 19 AND position < 2


Question: What is the average against that has a drawn less than 7, points greater than 22, and 19 for the played?

Context: CREATE TABLE table_name_66 (against INTEGER, played VARCHAR, drawn VARCHAR, points VARCHAR)

SELECT AVG(against) FROM table_name_66 WHERE drawn < 7 AND points > 22 AND played = 19


Question: When has a TV Time of fox 12:00 pm cdt?

Context: CREATE TABLE table_name_75 (date VARCHAR, tv_time VARCHAR)

SELECT date FROM table_name_75 WHERE tv_time = "fox 12:00 pm cdt"


Question: When has a Week of 8?

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

SELECT date FROM table_name_73 WHERE week = 8


Question: Which Week has a Result of l 13-16 and an Opponent of at buffalo bills?

Context: CREATE TABLE table_name_27 (week INTEGER, result VARCHAR, opponent VARCHAR)

SELECT AVG(week) FROM table_name_27 WHERE result = "l 13-16" AND opponent = "at buffalo bills"


Question: What kind of TV Time that has a Result of w 24–10?

Context: CREATE TABLE table_name_72 (tv_time VARCHAR, result VARCHAR)

SELECT tv_time FROM table_name_72 WHERE result = "w 24–10"


Question: What is the name of the conference that K. C. Jones was a head coach in?

Context: CREATE TABLE table_name_78 (conf VARCHAR, head_coach VARCHAR)

SELECT conf FROM table_name_78 WHERE head_coach = "k. c. jones"


Question: Who had the highest assists of the game on March 5?

Context: CREATE TABLE table_name_50 (high_assists VARCHAR, date VARCHAR)

SELECT high_assists FROM table_name_50 WHERE date = "march 5"


Question: What is the least amount of appearances by new zealand when they scored 4 goals?

Context: CREATE TABLE table_name_85 (appearances INTEGER, goals VARCHAR, nationality VARCHAR)

SELECT MIN(appearances) FROM table_name_85 WHERE goals = 4 AND nationality = "new zealand"


Question: how many appearances did batram suri category:articles with hcards have scoring less than 2 goals?

Context: CREATE TABLE table_name_41 (appearances VARCHAR, name VARCHAR, goals VARCHAR)

SELECT COUNT(appearances) FROM table_name_41 WHERE name = "batram suri category:articles with hcards" AND goals < 2


Question: What province has a v valparaíso region and an area of 927.2?

Context: CREATE TABLE table_name_31 (province VARCHAR, region VARCHAR, area VARCHAR)

SELECT province FROM table_name_31 WHERE region = "v valparaíso" AND area = 927.2


Question: What is the average area with valparaíso as the capital?

Context: CREATE TABLE table_name_34 (area INTEGER, capital VARCHAR)

SELECT AVG(area) FROM table_name_34 WHERE capital = "valparaíso"


Question: WHich Category in White has a Amerindian of 4,87%?

Context: CREATE TABLE table_name_96 (white VARCHAR, amerindian VARCHAR)

SELECT white FROM table_name_96 WHERE amerindian = "4,87%"


Question: WHich Category in White has a Black of 38,05%?

Context: CREATE TABLE table_name_35 (white VARCHAR, black VARCHAR)

SELECT white FROM table_name_35 WHERE black = "38,05%"


Question: Which Category in Brown has a Frequency of 0.08%?

Context: CREATE TABLE table_name_84 (brown VARCHAR, frequency VARCHAR)

SELECT brown FROM table_name_84 WHERE frequency = "0.08%"


Question: Which Category in Black has a Brown of 6,54%?

Context: CREATE TABLE table_name_61 (black VARCHAR, brown VARCHAR)

SELECT black FROM table_name_61 WHERE brown = "6,54%"


Question: What is the Capacity in use with an Annual change that is 21.8%?

Context: CREATE TABLE table_name_31 (capacity_in_use VARCHAR, annual_change VARCHAR)

SELECT capacity_in_use FROM table_name_31 WHERE annual_change = "21.8%"


Question: How many Tries has Points for smaller than 137, and Tries against larger than 12?

Context: CREATE TABLE table_name_81 (tries_for VARCHAR, points_for VARCHAR, tries_against VARCHAR)

SELECT COUNT(tries_for) FROM table_name_81 WHERE points_for < 137 AND tries_against > 12


Question: WHich Team that has Points against of 43?

Context: CREATE TABLE table_name_17 (team VARCHAR, points_against VARCHAR)

SELECT team FROM table_name_17 WHERE points_against = 43


Question: WHich Tries has a Team of pau and Points against larger than 103?

Context: CREATE TABLE table_name_48 (tries_for INTEGER, team VARCHAR, points_against VARCHAR)

SELECT MIN(tries_for) FROM table_name_48 WHERE team = "pau" AND points_against > 103


Question: How many Points against has Tries for smaller than 14, and a Team of llanelli?

Context: CREATE TABLE table_name_13 (points_against INTEGER, tries_for VARCHAR, team VARCHAR)

SELECT AVG(points_against) FROM table_name_13 WHERE tries_for < 14 AND team = "llanelli"


Question: How many Tries against has a Try diff of –17 and Points for smaller than 80?

Context: CREATE TABLE table_name_30 (tries_against VARCHAR, try_diff VARCHAR, points_for VARCHAR)

SELECT COUNT(tries_against) FROM table_name_30 WHERE try_diff = "–17" AND points_for < 80


Question: Which player was the forward?

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

SELECT player FROM table_name_7 WHERE position = "forward"


Question: Which years in Orlando are featured with the center position?

Context: CREATE TABLE table_name_11 (years_in_orlando VARCHAR, position VARCHAR)

SELECT years_in_orlando FROM table_name_11 WHERE position = "center"


Question: Which position was in Orlando in 2000?

Context: CREATE TABLE table_name_15 (position VARCHAR, years_in_orlando VARCHAR)

SELECT position FROM table_name_15 WHERE years_in_orlando = "2000"


Question: What is the Name with Goals that are 135?

Context: CREATE TABLE table_name_61 (name VARCHAR, goals VARCHAR)

SELECT name FROM table_name_61 WHERE goals = 135


Question: Which American Labor candidate ran against Democratic candidate Robert F. Wagner?

Context: CREATE TABLE table_name_51 (american_labor_ticket VARCHAR, democratic_ticket VARCHAR)

SELECT american_labor_ticket FROM table_name_51 WHERE democratic_ticket = "robert f. wagner"


Question: Which Socialist candidate ran against American Labor candidate Caroline O'Day?

Context: CREATE TABLE table_name_65 (socialist_ticket VARCHAR, american_labor_ticket VARCHAR)

SELECT socialist_ticket FROM table_name_65 WHERE american_labor_ticket = "caroline o'day"


Question: Which Democrtic candidate ran against the Socialist candidate Edna Mitchell Blue?

Context: CREATE TABLE table_name_71 (democratic_ticket VARCHAR, socialist_ticket VARCHAR)

SELECT democratic_ticket FROM table_name_71 WHERE socialist_ticket = "edna mitchell blue"


Question: Which American Labor candidate is running against the Socialist candidate Herman J. Hahn?

Context: CREATE TABLE table_name_55 (american_labor_ticket VARCHAR, socialist_ticket VARCHAR)

SELECT american_labor_ticket FROM table_name_55 WHERE socialist_ticket = "herman j. hahn"


Question: Which Republican ran against the American Labor candidate Matthew J. Merritt?

Context: CREATE TABLE table_name_5 (republican_ticket VARCHAR, american_labor_ticket VARCHAR)

SELECT republican_ticket FROM table_name_5 WHERE american_labor_ticket = "matthew j. merritt"


Question: Which American Labor candidate ran against Republican Thomas E. Dewey?

Context: CREATE TABLE table_name_91 (american_labor_ticket VARCHAR, republican_ticket VARCHAR)

SELECT american_labor_ticket FROM table_name_91 WHERE republican_ticket = "thomas e. dewey"


Question: Who is the Opponent in the final after 1983 with an Outcome of runner-up?

Context: CREATE TABLE table_name_48 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR)

SELECT opponent_in_the_final FROM table_name_48 WHERE outcome = "runner-up" AND date > 1983


Question: What Opponent in the final had a match with a Score in the final of 7–5, 6–2?

Context: CREATE TABLE table_name_31 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)

SELECT opponent_in_the_final FROM table_name_31 WHERE score_in_the_final = "7–5, 6–2"


Question: What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface?

Context: CREATE TABLE table_name_3 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR)

SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis"


Question: What is the smallest percentage of marine area for Pacific Marine ecozone and percentage of total area greater than 3.1?

Context: CREATE TABLE table_name_50 (percentage_of_marine_area__foreez_ INTEGER, ecozone VARCHAR, percentage_of_total_area__foreez_ VARCHAR)

SELECT MIN(percentage_of_marine_area__foreez_) FROM table_name_50 WHERE ecozone = "pacific marine" AND percentage_of_total_area__foreez_ > 3.1


Question: How many values for percentage of marine area are for the Atlantic marine ecozone with an exclusive economic zone area less than 996,439?

Context: CREATE TABLE table_name_78 (percentage_of_marine_area__foreez_ VARCHAR, ecozone VARCHAR, area__km²__exclusive_economic_zone VARCHAR)

SELECT COUNT(percentage_of_marine_area__foreez_) FROM table_name_78 WHERE ecozone = "atlantic marine" AND area__km²__exclusive_economic_zone < 996 OFFSET 439


Question: What is the team when alvin williams (6) has the high assists?

Context: CREATE TABLE table_name_29 (team VARCHAR, high_assists VARCHAR)

SELECT team FROM table_name_29 WHERE high_assists = "alvin williams (6)"


Question: What is the Record for a game less than 3 and the score was l 91–96 (ot)?

Context: CREATE TABLE table_name_19 (record VARCHAR, game VARCHAR, score VARCHAR)

SELECT record FROM table_name_19 WHERE game < 3 AND score = "l 91–96 (ot)"


Question: What is the Date when the high points went to Dell Curry (17)?

Context: CREATE TABLE table_name_84 (date VARCHAR, high_points VARCHAR)

SELECT date FROM table_name_84 WHERE high_points = "dell curry (17)"


Question: What is the Team when antonio davis (8) had the high rebounds?

Context: CREATE TABLE table_name_53 (team VARCHAR, high_rebounds VARCHAR)

SELECT team FROM table_name_53 WHERE high_rebounds = "antonio davis (8)"


Question: What is the Tournament with a Date that is apr 16, 1967?

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

SELECT tournament FROM table_name_56 WHERE date = "apr 16, 1967"


Question: What is the Date with a Runner(s)-up that is jerry steelsmith?

Context: CREATE TABLE table_name_69 (date VARCHAR, runner_s__up VARCHAR)

SELECT date FROM table_name_69 WHERE runner_s__up = "jerry steelsmith"


Question: What kind of Obama that has a Source of rasmussen reports?

Context: CREATE TABLE table_name_28 (obama VARCHAR, source VARCHAR)

SELECT obama FROM table_name_28 WHERE source = "rasmussen reports"


Question: Which Source has a Undecided of 2%?

Context: CREATE TABLE table_name_46 (source VARCHAR, undecided VARCHAR)

SELECT source FROM table_name_46 WHERE undecided = "2%"


Question: What kind of Obama has a Undecided of 1%?

Context: CREATE TABLE table_name_87 (obama VARCHAR, undecided VARCHAR)

SELECT obama FROM table_name_87 WHERE undecided = "1%"


Question: When has a Source of surveyusa and a Obama of 54%?

Context: CREATE TABLE table_name_8 (date VARCHAR, source VARCHAR, obama VARCHAR)

SELECT date FROM table_name_8 WHERE source = "surveyusa" AND obama = "54%"


Question: When has a Source of rasmussen reports?

Context: CREATE TABLE table_name_39 (date VARCHAR, source VARCHAR)

SELECT date FROM table_name_39 WHERE source = "rasmussen reports"


Question: Which Source has a Clinton of 39% and a Undecided of 7%?

Context: CREATE TABLE table_name_94 (source VARCHAR, clinton VARCHAR, undecided VARCHAR)

SELECT source FROM table_name_94 WHERE clinton = "39%" AND undecided = "7%"


Question: What is the Date of Birth with a Block that is larger than 342?

Context: CREATE TABLE table_name_18 (date_of_birth VARCHAR, block INTEGER)

SELECT date_of_birth FROM table_name_18 WHERE block > 342


Question: What is the number of positions that have 2012 ratings of 0.92?

Context: CREATE TABLE table_name_21 (position VARCHAR)

SELECT COUNT(position) FROM table_name_21 WHERE 2012 = "0.92"


Question: What is the owner of the channel that has a 2012 rating of 5.42?

Context: CREATE TABLE table_name_96 (owner VARCHAR)

SELECT owner FROM table_name_96 WHERE 2012 = "5.42"


Question: What is the 2007 rating of the channel with a position of 6?

Context: CREATE TABLE table_name_28 (position VARCHAR)

SELECT 2007 FROM table_name_28 WHERE position = 6


Question: What is the channel with a 2011 rating of 8.5?

Context: CREATE TABLE table_name_64 (channel VARCHAR)

SELECT channel FROM table_name_64 WHERE 2011 = "8.5"


Question: What is ASTC Member, when State is Arkansas, when AAM Member is No, and when AAM Accredited is Yes?

Context: CREATE TABLE table_name_39 (astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)

SELECT astc_member FROM table_name_39 WHERE state = "arkansas" AND aam_member = "no" AND aam_accredited = "yes"


Question: What is City, when State is Florida, when AAM Member is No, and when AAM Accredited is No?

Context: CREATE TABLE table_name_61 (city VARCHAR, aam_accredited VARCHAR, state VARCHAR, aam_member VARCHAR)

SELECT city FROM table_name_61 WHERE state = "florida" AND aam_member = "no" AND aam_accredited = "no"


Question: What is City, when ASTC Member is No, when State is California, and when AAM Member is Yes?

Context: CREATE TABLE table_name_62 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR)

SELECT city FROM table_name_62 WHERE astc_member = "no" AND state = "california" AND aam_member = "yes"


Question: What is State, when AAM Accredited is No, when ASTC Member is No, and when City is Tulsa?

Context: CREATE TABLE table_name_49 (state VARCHAR, city VARCHAR, aam_accredited VARCHAR, astc_member VARCHAR)

SELECT state FROM table_name_49 WHERE aam_accredited = "no" AND astc_member = "no" AND city = "tulsa"


Question: What is City, when State is California, when AAM Accredited is No, when ASTC Member is Yes, and when AAM Member is No?

Context: CREATE TABLE table_name_30 (city VARCHAR, aam_member VARCHAR, astc_member VARCHAR, state VARCHAR, aam_accredited VARCHAR)

SELECT city FROM table_name_30 WHERE state = "california" AND aam_accredited = "no" AND astc_member = "yes" AND aam_member = "no"


Question: What is AAM Member, when AAM Accredited is No, when State is California, when ASTC Member is Yes, and when City is Sacramento?

Context: CREATE TABLE table_name_21 (aam_member VARCHAR, city VARCHAR, astc_member VARCHAR, aam_accredited VARCHAR, state VARCHAR)

SELECT aam_member FROM table_name_21 WHERE aam_accredited = "no" AND state = "california" AND astc_member = "yes" AND city = "sacramento"


Question: Who were the runners-up when the individual winner was Tiger Woods?

Context: CREATE TABLE table_name_17 (runners_up VARCHAR, individual VARCHAR)

SELECT runners_up FROM table_name_17 WHERE individual = "tiger woods"


Question: How many years was the individual winner from the United States was Tiger Woods?

Context: CREATE TABLE table_name_75 (year VARCHAR, country VARCHAR, individual VARCHAR)

SELECT COUNT(year) FROM table_name_75 WHERE country = "united states" AND individual = "tiger woods"


Question: What is the earliest year that the tournament was played in Cape Town, South Africa?

Context: CREATE TABLE table_name_71 (year INTEGER, location VARCHAR)

SELECT MIN(year) FROM table_name_71 WHERE location = "cape town, south africa"


Question: Who is the Driver, when the Date is October 6?

Context: CREATE TABLE table_name_98 (driver VARCHAR, date VARCHAR)

SELECT driver FROM table_name_98 WHERE date = "october 6"


Question: What is the total number of Seasons, when the Engine is Cosworth, and when the Team is Kraco Racing?

Context: CREATE TABLE table_name_85 (season VARCHAR, engine VARCHAR, team VARCHAR)

SELECT COUNT(season) FROM table_name_85 WHERE engine = "cosworth" AND team = "kraco racing"


Question: Who is the Driver, when the Engine is Chevrolet, and when the Date is October 3?

Context: CREATE TABLE table_name_90 (driver VARCHAR, engine VARCHAR, date VARCHAR)

SELECT driver FROM table_name_90 WHERE engine = "chevrolet" AND date = "october 3"


Question: What is the sum of Seasons, when the Team is Penske Racing, and when the Date is October 3?

Context: CREATE TABLE table_name_10 (season INTEGER, team VARCHAR, date VARCHAR)

SELECT SUM(season) FROM table_name_10 WHERE team = "penske racing" AND date = "october 3"


Question: What was the Year to Open for the Dandeung Bridge?

Context: CREATE TABLE table_name_51 (year_to_open VARCHAR, name VARCHAR)

SELECT COUNT(year_to_open) FROM table_name_51 WHERE name = "dandeung bridge"


Question: What is the Main span of the Qincaobei Bridge

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

SELECT main_span_feet FROM table_name_64 WHERE name = "qincaobei bridge"


Question: What is the Main span of the bridge from China with a Year to open of 2013 and Main span feet of 2,585?

Context: CREATE TABLE table_name_23 (main_span_metres VARCHAR, main_span_feet VARCHAR, year_to_open VARCHAR, country VARCHAR)

SELECT main_span_metres FROM table_name_23 WHERE year_to_open = 2013 AND country = "china" AND main_span_feet = "2,585"


Question: Which republican ticket has stanley h. fuld as the Democratic ticket?

Context: CREATE TABLE table_name_25 (republican_ticket VARCHAR, democratic_ticket VARCHAR)

SELECT republican_ticket FROM table_name_25 WHERE democratic_ticket = "stanley h. fuld"


Question: What is the liberal ticket that has judith white as the socialist workers?

Context: CREATE TABLE table_name_73 (liberal_ticket VARCHAR, socialist_workers_ticket VARCHAR)

SELECT liberal_ticket FROM table_name_73 WHERE socialist_workers_ticket = "judith white"


Question: What socialist workers ticket has malcolm wilson as the Republican ticket?

Context: CREATE TABLE table_name_71 (socialist_workers_ticket VARCHAR, republican_ticket VARCHAR)

SELECT socialist_workers_ticket FROM table_name_71 WHERE republican_ticket = "malcolm wilson"


Question: Which office has kieran o'doherty as the conservative ticket?

Context: CREATE TABLE table_name_28 (office VARCHAR, conservative_ticket VARCHAR)

SELECT office FROM table_name_28 WHERE conservative_ticket = "kieran o'doherty"


Question: What office has (none) as the socialist labor ticket, and stanley h. fuld as the liberal ticket?

Context: CREATE TABLE table_name_8 (office VARCHAR, socialist_labor_ticket VARCHAR, liberal_ticket VARCHAR)

SELECT office FROM table_name_8 WHERE socialist_labor_ticket = "(none)" AND liberal_ticket = "stanley h. fuld"


Question: If the call sign is w291ch what's the ERP W corresponding to that sign?

Context: CREATE TABLE table_name_38 (erp_w VARCHAR, call_sign VARCHAR)

SELECT erp_w FROM table_name_38 WHERE call_sign = "w291ch"


Question: For the call sign w242at what's the city the license plate is registered to?

Context: CREATE TABLE table_name_78 (city_of_license VARCHAR, call_sign VARCHAR)

SELECT city_of_license FROM table_name_78 WHERE call_sign = "w242at"


Question: What's the Class for the city the license plate was issued in great barrington, massachusetts?

Context: CREATE TABLE table_name_16 (class VARCHAR, city_of_license VARCHAR)

SELECT class FROM table_name_16 WHERE city_of_license = "great barrington, massachusetts"


Question: How many gold have a bronze of 1, a rank smaller than 6, and a total less than 3?

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

SELECT SUM(gold) FROM table_name_81 WHERE bronze = 1 AND rank < 6 AND total < 3


Question: How many France bronze have a gold of more than 1 and a rank of 0?

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

SELECT SUM(bronze) FROM table_name_79 WHERE gold > 1 AND nation = "france" AND rank < 1


Question: How many gold have a silver of 1 and a bronze of 0?

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

SELECT SUM(gold) FROM table_name_12 WHERE silver = 1 AND bronze < 1


Question: What is the Aircraft when Kabul was the location, unknown fatalities, and the tail number was ya-ban?

Context: CREATE TABLE table_name_3 (aircraft VARCHAR, tail_number VARCHAR, location VARCHAR, fatalities VARCHAR)

SELECT aircraft FROM table_name_3 WHERE location = "kabul" AND fatalities = "unknown" AND tail_number = "ya-ban"


Question: What is the Fatalities when the tail number was unknown and in Kabul>

Context: CREATE TABLE table_name_53 (fatalities VARCHAR, tail_number VARCHAR, location VARCHAR)

SELECT fatalities FROM table_name_53 WHERE tail_number = "unknown" AND location = "kabul"


Question: What is the location for the an-12b aircraft?

Context: CREATE TABLE table_name_50 (location VARCHAR, aircraft VARCHAR)

SELECT location FROM table_name_50 WHERE aircraft = "an-12b"


Question: What location had 25/25 fatalities?

Context: CREATE TABLE table_name_15 (location VARCHAR, fatalities VARCHAR)

SELECT location FROM table_name_15 WHERE fatalities = "25/25"


Question: What tail number was on the an-26, with 25/25 fatalities?

Context: CREATE TABLE table_name_82 (tail_number VARCHAR, aircraft VARCHAR, fatalities VARCHAR)

SELECT tail_number FROM table_name_82 WHERE aircraft = "an-26" AND fatalities = "25/25"


Question: What type of aircraft was the plane with a tail number of ya-bao?

Context: CREATE TABLE table_name_75 (aircraft VARCHAR, tail_number VARCHAR)

SELECT aircraft FROM table_name_75 WHERE tail_number = "ya-bao"


Question: What is the total number of Points from a Match that is larger than 18?

Context: CREATE TABLE table_name_38 (points VARCHAR, match INTEGER)

SELECT COUNT(points) FROM table_name_38 WHERE match > 18


Question: In what Season was the Series Formula Renault 3.5 series with less than 7 Races?

Context: CREATE TABLE table_name_74 (season INTEGER, series VARCHAR, races VARCHAR)

SELECT SUM(season) FROM table_name_74 WHERE series = "formula renault 3.5 series" AND races < 7


Question: What was the Series in 2009?

Context: CREATE TABLE table_name_67 (series VARCHAR, season VARCHAR)

SELECT series FROM table_name_67 WHERE season = 2009


Question: How many Wins in the Year with more than 16 Races?

Context: CREATE TABLE table_name_7 (wins VARCHAR, races INTEGER)

SELECT wins FROM table_name_7 WHERE races > 16


Question: In what Season were then less than 3 Races with less than 1 Win?

Context: CREATE TABLE table_name_51 (season INTEGER, races VARCHAR, wins VARCHAR)

SELECT AVG(season) FROM table_name_51 WHERE races < 3 AND wins < 1


Question: Which 1st leg has a Team #1 of ummc ekaterinburg?

Context: CREATE TABLE table_name_33 (team__number1 VARCHAR)

SELECT 1 AS st_leg FROM table_name_33 WHERE team__number1 = "ummc ekaterinburg"


Question: Which Team #2 has a Team #1 of gambrinus sika brno?

Context: CREATE TABLE table_name_70 (team__number2 VARCHAR, team__number1 VARCHAR)

SELECT team__number2 FROM table_name_70 WHERE team__number1 = "gambrinus sika brno"


Question: What is the Goal number in Råsunda, Stockholm with a Result of 2–2?

Context: CREATE TABLE table_name_80 (goal INTEGER, result VARCHAR, venue VARCHAR)

SELECT AVG(goal) FROM table_name_80 WHERE result = "2–2" AND venue = "råsunda, stockholm"


Question: What is the Result of Goal number 3?

Context: CREATE TABLE table_name_21 (result VARCHAR, goal VARCHAR)

SELECT result FROM table_name_21 WHERE goal = 3


Question: On what day was a game played at Reese Smith Field, with a score of 4-3?

Context: CREATE TABLE table_name_14 (date VARCHAR, score VARCHAR, site_stadium VARCHAR)

SELECT date FROM table_name_14 WHERE score = "4-3" AND site_stadium = "reese smith field"


Question: What was the score for the game played on May 10 at Alex Box Stadium?

Context: CREATE TABLE table_name_65 (score VARCHAR, site_stadium VARCHAR, date VARCHAR)

SELECT score FROM table_name_65 WHERE site_stadium = "alex box stadium" AND date = "may 10"


Question: What was the score for the game played at Sarge Frye Field?

Context: CREATE TABLE table_name_15 (score VARCHAR, site_stadium VARCHAR)

SELECT score FROM table_name_15 WHERE site_stadium = "sarge frye field"


Question: On what date was a game played, which left the team with a record of 5-7?

Context: CREATE TABLE table_name_16 (date VARCHAR, record VARCHAR)

SELECT date FROM table_name_16 WHERE record = "5-7"


Question: What was the score of the game played at Harmon Stadium on February 24?

Context: CREATE TABLE table_name_38 (score VARCHAR, site_stadium VARCHAR, date VARCHAR)

SELECT score FROM table_name_38 WHERE site_stadium = "harmon stadium" AND date = "february 24"


Question: Where was the game on May 9 played?

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

SELECT site_stadium FROM table_name_21 WHERE date = "may 9"


Question: What is the greatest position when the points are less than 21, and the played greater than 14?

Context: CREATE TABLE table_name_78 (position INTEGER, points VARCHAR, played VARCHAR)

SELECT MAX(position) FROM table_name_78 WHERE points < 21 AND played > 14


Question: What is the fewest lost with a difference of 9 and a less than 3 drawn?

Context: CREATE TABLE table_name_69 (lost INTEGER, difference VARCHAR, drawn VARCHAR)

SELECT MIN(lost) FROM table_name_69 WHERE difference = "9" AND drawn < 3


Question: Team Estudantes Paulista with a position less than 4 has what average against?

Context: CREATE TABLE table_name_78 (against INTEGER, team VARCHAR, position VARCHAR)

SELECT AVG(against) FROM table_name_78 WHERE team = "estudantes paulista" AND position < 4


Question: What was the margin of victory on Apr 8, 1979?

Context: CREATE TABLE table_name_28 (margin_of_victory VARCHAR, date VARCHAR)

SELECT margin_of_victory FROM table_name_28 WHERE date = "apr 8, 1979"


Question: What was the winning score when the margin of victory was 2 strokes and the runner-up was Pat Bradley?

Context: CREATE TABLE table_name_69 (winning_score VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)

SELECT winning_score FROM table_name_69 WHERE margin_of_victory = "2 strokes" AND runner_s__up = "pat bradley"


Question: What was the margin of victory when the winning score was −5 (69-69-73=211)?

Context: CREATE TABLE table_name_21 (margin_of_victory VARCHAR, winning_score VARCHAR)

SELECT margin_of_victory FROM table_name_21 WHERE winning_score = −5(69 - 69 - 73 = 211)


Question: Which tournament had a winning score of −5 (69-69-73=211)?

Context: CREATE TABLE table_name_37 (tournament VARCHAR, winning_score VARCHAR)

SELECT tournament FROM table_name_37 WHERE winning_score = −5(69 - 69 - 73 = 211)


Question: When was the winning score −6 (69-69-73-71=282)?

Context: CREATE TABLE table_name_7 (date VARCHAR, winning_score VARCHAR)

SELECT date FROM table_name_7 WHERE winning_score = −6(69 - 69 - 73 - 71 = 282)


Question: Who is the opponent of the game played on November 20, 1995?

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

SELECT opponent FROM table_name_66 WHERE date = "november 20, 1995"


Question: What is the highest Grid with a Name that is jamie whincup?

Context: CREATE TABLE table_name_67 (grid INTEGER, name VARCHAR)

SELECT MAX(grid) FROM table_name_67 WHERE name = "jamie whincup"


Question: What is the Team with a Lap that is 5?

Context: CREATE TABLE table_name_48 (team VARCHAR, laps VARCHAR)

SELECT team FROM table_name_48 WHERE laps = 5


Question: What's the lowest round Justin Forsett was drafted in, with a draft pick larger than 233?

Context: CREATE TABLE table_name_62 (round INTEGER, name VARCHAR, pick VARCHAR)

SELECT MIN(round) FROM table_name_62 WHERE name = "justin forsett" AND pick > 233


Question: What's the average round the position of RB was drafted?

Context: CREATE TABLE table_name_90 (round INTEGER, position VARCHAR)

SELECT AVG(round) FROM table_name_90 WHERE position = "rb"


Question: What's the average round Red Bryant was drafted with a pick larger than 121?

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

SELECT AVG(round) FROM table_name_29 WHERE name = "red bryant" AND pick > 121


Question: Can you tell me the Overall Record that has the Away Team of miami?

Context: CREATE TABLE table_name_46 (overall_record VARCHAR, away_team VARCHAR)

SELECT overall_record FROM table_name_46 WHERE away_team = "miami"


Question: Can you tell me the Overall Record that has the Week of 3?

Context: CREATE TABLE table_name_81 (overall_record VARCHAR, week VARCHAR)

SELECT overall_record FROM table_name_81 WHERE week = 3


Question: Can you tell me the Divisional Record that has the Away Team of dallas?

Context: CREATE TABLE table_name_58 (divisional_record VARCHAR, away_team VARCHAR)

SELECT divisional_record FROM table_name_58 WHERE away_team = "dallas"


Question: Can you tell me the Overall Record that has the Week smaller than 16, and the Divisional Record of (1-0), and the Away Team of miami?

Context: CREATE TABLE table_name_42 (overall_record VARCHAR, away_team VARCHAR, week VARCHAR, divisional_record VARCHAR)

SELECT overall_record FROM table_name_42 WHERE week < 16 AND divisional_record = "(1-0)" AND away_team = "miami"


Question: Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota?

Context: CREATE TABLE table_name_40 (week VARCHAR, away_team VARCHAR, overall_record VARCHAR, home_team VARCHAR, divisional_record VARCHAR)

SELECT week FROM table_name_40 WHERE home_team = "detroit" AND divisional_record = "(3-0)" AND overall_record = "(5-1)" AND away_team = "minnesota"


Question: Who is the choreographer with the style pas de deux?

Context: CREATE TABLE table_name_10 (choreographer_s_ VARCHAR, style VARCHAR)

SELECT choreographer_s_ FROM table_name_10 WHERE style = "pas de deux"


Question: What is the title of the person who started their reign in 1999?

Context: CREATE TABLE table_name_63 (title VARCHAR, start_of_reign VARCHAR)

SELECT title FROM table_name_63 WHERE start_of_reign = 1999


Question: What is the date of birth of the person who started their reign in 1986?

Context: CREATE TABLE table_name_61 (Birth VARCHAR, start_of_reign VARCHAR)

SELECT Birth AS name FROM table_name_61 WHERE start_of_reign = 1986


Question: What is the average number for goals less than 73?

Context: CREATE TABLE table_name_23 (average VARCHAR, goals INTEGER)

SELECT COUNT(average) FROM table_name_23 WHERE goals < 73


Question: What is the total average for 1990-1995, and goals less than 90?

Context: CREATE TABLE table_name_40 (average VARCHAR, career VARCHAR, goals VARCHAR)

SELECT COUNT(average) FROM table_name_40 WHERE career = "1990-1995" AND goals < 90


Question: What was the lowest Position for a Team with fewer than 3 Lost, a Difference of 1, and more than 7 games Played?

Context: CREATE TABLE table_name_43 (position INTEGER, played VARCHAR, lost VARCHAR, difference VARCHAR)

SELECT MIN(position) FROM table_name_43 WHERE lost < 3 AND difference = "1" AND played > 7


Question: What is the sum of games Played by the Team Vasco Da Gama, with fewer than 12 Against?

Context: CREATE TABLE table_name_12 (played INTEGER, team VARCHAR, against VARCHAR)

SELECT SUM(played) FROM table_name_12 WHERE team = "vasco da gama" AND against < 12


Question: What was the Difference of the Team that had a Position less than 2?

Context: CREATE TABLE table_name_8 (difference VARCHAR, position INTEGER)

SELECT difference FROM table_name_8 WHERE position < 2


Question: Which attendance number was taken on november 21, 2004?

Context: CREATE TABLE table_name_54 (attendance VARCHAR, date VARCHAR)

SELECT attendance FROM table_name_54 WHERE date = "november 21, 2004"


Question: Which attendance number was taken in a week less than 16 when the Washington Redskins were the opponents?

Context: CREATE TABLE table_name_39 (attendance VARCHAR, week VARCHAR, opponent VARCHAR)

SELECT attendance FROM table_name_39 WHERE week < 16 AND opponent = "washington redskins"


Question: How many weeks had the Green Bay packers as opponents?

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

SELECT SUM(week) FROM table_name_74 WHERE opponent = "green bay packers"


Question: What Country had a Score of 71-67=138?

Context: CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)

SELECT country FROM table_name_76 WHERE score = 71 - 67 = 138


Question: What Country had a Score of 75-68=143?

Context: CREATE TABLE table_name_91 (country VARCHAR, score VARCHAR)

SELECT country FROM table_name_91 WHERE score = 75 - 68 = 143


Question: How many total innings have an average under 6.33, strike rate under 71.43, balls faced over 36, and smaller than 19 runs scored?

Context: CREATE TABLE table_name_35 (innings INTEGER, runs_scored VARCHAR, balls_faced VARCHAR, average VARCHAR, sr VARCHAR)

SELECT SUM(innings) FROM table_name_35 WHERE average < 6.33 AND sr < 71.43 AND balls_faced > 36 AND runs_scored < 19


Question: What is the number of averages having a balls faced over 297 and more than 7 innings?

Context: CREATE TABLE table_name_34 (average VARCHAR, balls_faced VARCHAR, innings VARCHAR)

SELECT COUNT(average) FROM table_name_34 WHERE balls_faced > 297 AND innings > 7


Question: What is the smallest number of innings with a strike rate of 72.05 and under 297 balls faced?

Context: CREATE TABLE table_name_89 (innings INTEGER, sr VARCHAR, balls_faced VARCHAR)

SELECT MIN(innings) FROM table_name_89 WHERE sr = 72.05 AND balls_faced < 297


Question: What is the sum of balls faced associated with a strike rate over 48.28, 3 innings, and an average under 5?

Context: CREATE TABLE table_name_99 (balls_faced INTEGER, average VARCHAR, sr VARCHAR, innings VARCHAR)

SELECT SUM(balls_faced) FROM table_name_99 WHERE sr > 48.28 AND innings = 3 AND average < 5


Question: What is the Nation with a Date that is may 6, 1991?

Context: CREATE TABLE table_name_51 (nation VARCHAR, date VARCHAR)

SELECT nation FROM table_name_51 WHERE date = "may 6, 1991"


Question: What is the Record with a Date that is may 20, 1961?

Context: CREATE TABLE table_name_73 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_73 WHERE date = "may 20, 1961"


Question: Who was the partner of the winner?

Context: CREATE TABLE table_name_46 (partner VARCHAR, outcome VARCHAR)

SELECT partner FROM table_name_46 WHERE outcome = "winner"


Question: How many Places (Posición) has a Draw (PE) larger than 2 and a Team (Equipo) of paraíso and a Won (PG) larger than 6?

Context: CREATE TABLE table_name_53 (place__posición_ VARCHAR, won__pg_ VARCHAR, draw__pe_ VARCHAR, team__equipo_ VARCHAR)

SELECT COUNT(place__posición_) FROM table_name_53 WHERE draw__pe_ > 2 AND team__equipo_ = "paraíso" AND won__pg_ > 6


Question: How many league cups have yeovil town as the club, with a league less than 16?

Context: CREATE TABLE table_name_88 (league VARCHAR, club VARCHAR)

SELECT COUNT(league) AS Cup FROM table_name_88 WHERE club = "yeovil town" AND league < 16


Question: What is the average FA Cup that has gary jones as the player, and an FA trophy greater than 5?

Context: CREATE TABLE table_name_15 (fa_cup INTEGER, player VARCHAR, fa_trophy VARCHAR)

SELECT AVG(fa_cup) FROM table_name_15 WHERE player = "gary jones" AND fa_trophy > 5


Question: What FA trophys have tony hemmings as the player, with a league greater than 15?

Context: CREATE TABLE table_name_98 (fa_trophy INTEGER, player VARCHAR, league VARCHAR)

SELECT SUM(fa_trophy) FROM table_name_98 WHERE player = "tony hemmings" AND league > 15


Question: What is the score where the country is Japan?

Context: CREATE TABLE table_name_95 (score VARCHAR, country VARCHAR)

SELECT score FROM table_name_95 WHERE country = "japan"


Question: Which province has muju as the capital?

Context: CREATE TABLE table_name_82 (province VARCHAR, capital VARCHAR)

SELECT province FROM table_name_82 WHERE capital = "muju"


Question: What is the modern equivalent of 良州 in Hanja?

Context: CREATE TABLE table_name_17 (modern_equivalent VARCHAR, hanja VARCHAR)

SELECT modern_equivalent FROM table_name_17 WHERE hanja = "良州"


Question: What is the capital of the province with 양주 in Hangul?

Context: CREATE TABLE table_name_21 (capital VARCHAR, hangul VARCHAR)

SELECT capital FROM table_name_21 WHERE hangul = "양주"


Question: What is the capital of the province with 漢州 in Hanja?

Context: CREATE TABLE table_name_88 (capital VARCHAR, hanja VARCHAR)

SELECT capital FROM table_name_88 WHERE hanja = "漢州"


Question: What is the Hanja for the sakju province?

Context: CREATE TABLE table_name_78 (hanja VARCHAR, province VARCHAR)

SELECT hanja FROM table_name_78 WHERE province = "sakju"


Question: What is the fewest number of top-25s for events with more than 0 wins?

Context: CREATE TABLE table_name_17 (top_25 INTEGER, wins INTEGER)

SELECT MIN(top_25) FROM table_name_17 WHERE wins > 0


Question: What is the highest number of top-10s in events with more than 0 wins?

Context: CREATE TABLE table_name_46 (top_10 INTEGER, wins INTEGER)

SELECT MAX(top_10) FROM table_name_46 WHERE wins > 0


Question: What is the number of top-25s in events under 13, cuts made under 3, and 1 top-10?

Context: CREATE TABLE table_name_47 (top_25 VARCHAR, top_10 VARCHAR, events VARCHAR, cuts_made VARCHAR)

SELECT top_25 FROM table_name_47 WHERE events < 13 AND cuts_made < 3 AND top_10 = 1


Question: Which season had an average under 28, a rank under 10, and a partner of Janja Lesar?

Context: CREATE TABLE table_name_7 (season VARCHAR, professional_partner VARCHAR, average VARCHAR, rank VARCHAR)

SELECT season FROM table_name_7 WHERE average < 28 AND rank < 10 AND professional_partner = "janja lesar"


Question: What is the highest season that had rank under 1?

Context: CREATE TABLE table_name_45 (season INTEGER, rank INTEGER)

SELECT MAX(season) FROM table_name_45 WHERE rank < 1


Question: Who was the professional partner in season 4?

Context: CREATE TABLE table_name_29 (professional_partner VARCHAR, season VARCHAR)

SELECT professional_partner FROM table_name_29 WHERE season = 4


Question: Who had the highest rebounds against detroit?

Context: CREATE TABLE table_name_65 (high_rebounds VARCHAR, team VARCHAR)

SELECT high_rebounds FROM table_name_65 WHERE team = "detroit"


Question: How much gold received by nation of uzbekistan (uzb)?

Context: CREATE TABLE table_name_93 (gold INTEGER, nation VARCHAR)

SELECT MAX(gold) FROM table_name_93 WHERE nation = "uzbekistan (uzb)"


Question: Which team has the lowest gold and 0 silver?

Context: CREATE TABLE table_name_68 (gold INTEGER, silver INTEGER)

SELECT MIN(gold) FROM table_name_68 WHERE silver < 0


Question: How much gold when silver, bronze and total is smaller than 1?

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

SELECT MAX(gold) FROM table_name_27 WHERE silver < 1 AND bronze = 1 AND total < 1


Question: What is the ICAO with commenced operations before 1989?

Context: CREATE TABLE table_name_2 (icao VARCHAR, commenced_operations INTEGER)

SELECT icao FROM table_name_2 WHERE commenced_operations < 1989


Question: What is the lowest commenced operations that has a nouvelair callsign?

Context: CREATE TABLE table_name_90 (commenced_operations INTEGER, callsign VARCHAR)

SELECT MIN(commenced_operations) FROM table_name_90 WHERE callsign = "nouvelair"


Question: What callsign has commenced operations in 2011?

Context: CREATE TABLE table_name_34 (callsign VARCHAR, commenced_operations VARCHAR)

SELECT callsign FROM table_name_34 WHERE commenced_operations = 2011


Question: What language is used when the service is sky primafila 10 and the package/option is qualsiasi?

Context: CREATE TABLE table_name_19 (language VARCHAR, package_option VARCHAR, television_service VARCHAR)

SELECT language FROM table_name_19 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 10"


Question: What is the content when the package/option is qualsiasi and sky primafila 14 is the television service?

Context: CREATE TABLE table_name_13 (content VARCHAR, package_option VARCHAR, television_service VARCHAR)

SELECT content FROM table_name_13 WHERE package_option = "qualsiasi" AND television_service = "sky primafila 14"


Question: What is the HDTV that has television service of tv 8 mont blanc and content is general television?

Context: CREATE TABLE table_name_26 (hdtv VARCHAR, content VARCHAR, television_service VARCHAR)

SELECT hdtv FROM table_name_26 WHERE content = "general television" AND television_service = "tv 8 mont blanc"


Question: Which city's IATA is nkg?

Context: CREATE TABLE table_name_64 (city VARCHAR, iata VARCHAR)

SELECT city FROM table_name_64 WHERE iata = "nkg"


Question: Which airport is in Xinjiang province in the city Kuqa?

Context: CREATE TABLE table_name_45 (airport VARCHAR, province VARCHAR, city VARCHAR)

SELECT airport FROM table_name_45 WHERE province = "xinjiang" AND city = "kuqa"


Question: Which province's IATA is kix?

Context: CREATE TABLE table_name_21 (province VARCHAR, iata VARCHAR)

SELECT province FROM table_name_21 WHERE iata = "kix"


Question: Which airport's IATA is pen?

Context: CREATE TABLE table_name_31 (airport VARCHAR, iata VARCHAR)

SELECT airport FROM table_name_31 WHERE iata = "pen"


Question: Which Event has a Record of 4:02.54?

Context: CREATE TABLE table_name_90 (event VARCHAR, record VARCHAR)

SELECT event FROM table_name_90 WHERE record = "4:02.54"


Question: Whcih Date has an Event of 3000 m?

Context: CREATE TABLE table_name_6 (date VARCHAR, event VARCHAR)

SELECT date FROM table_name_6 WHERE event = "3000 m"


Question: Which Record has a Date of 23 february 1986?

Context: CREATE TABLE table_name_20 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_20 WHERE date = "23 february 1986"


Question: Which Date has a Record of 8:39.49?

Context: CREATE TABLE table_name_95 (date VARCHAR, record VARCHAR)

SELECT date FROM table_name_95 WHERE record = "8:39.49"


Question: Which Record has a Date of 3 march 2013?

Context: CREATE TABLE table_name_71 (record VARCHAR, date VARCHAR)

SELECT record FROM table_name_71 WHERE date = "3 march 2013"


Question: Which Nation has a Record of 15.16 m?

Context: CREATE TABLE table_name_84 (nation VARCHAR, record VARCHAR)

SELECT nation FROM table_name_84 WHERE record = "15.16 m"


Question: What is the Nationality of the Player with more than 8 Goals and Apps of 52?

Context: CREATE TABLE table_name_5 (nationality VARCHAR, goals VARCHAR, apps VARCHAR)

SELECT nationality FROM table_name_5 WHERE goals > 8 AND apps = 52


Question: How many Apps did Player Gilberto with more than 1 Goals have?

Context: CREATE TABLE table_name_64 (apps INTEGER, player VARCHAR, goals VARCHAR)

SELECT AVG(apps) FROM table_name_64 WHERE player = "gilberto" AND goals > 1


Question: On what date was the 4th round, with home team Itabuna, played?

Context: CREATE TABLE table_name_4 (date VARCHAR, round VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_4 WHERE round = "4th" AND home_team = "itabuna"


Question: In the 6th round match with home team Bahia, who was the away team?

Context: CREATE TABLE table_name_96 (away_team VARCHAR, round VARCHAR, home_team VARCHAR)

SELECT away_team FROM table_name_96 WHERE round = "6th" AND home_team = "bahia"


Question: For the 5th round match with away team of Bahia, what was the final score?

Context: CREATE TABLE table_name_65 (score VARCHAR, round VARCHAR, away_team VARCHAR)

SELECT score FROM table_name_65 WHERE round = "5th" AND away_team = "bahia"


Question: Which League has a Regular Season of 2nd, southeast?

Context: CREATE TABLE table_name_58 (league VARCHAR, regular_season VARCHAR)

SELECT league FROM table_name_58 WHERE regular_season = "2nd, southeast"


Question: Who Playoffs has a Regular Season of on hiatus.?

Context: CREATE TABLE table_name_99 (playoffs VARCHAR, regular_season VARCHAR)

SELECT playoffs FROM table_name_99 WHERE regular_season = "on hiatus."


Question: What is the population of Kragerø?

Context: CREATE TABLE table_name_17 (population INTEGER, city VARCHAR)

SELECT MIN(population) FROM table_name_17 WHERE city = "kragerø"


Question: What is the highest population of a city that has a town status of 2010?

Context: CREATE TABLE table_name_91 (population INTEGER, town_status VARCHAR)

SELECT MAX(population) FROM table_name_91 WHERE town_status = "2010"


Question: What is the highest population within the municipality of Porsgrunn?

Context: CREATE TABLE table_name_28 (population INTEGER, municipality VARCHAR)

SELECT MAX(population) FROM table_name_28 WHERE municipality = "porsgrunn"


Question: What is the birthplace of the player who is 190 CM tall, plays the D position, and wears number 11?

Context: CREATE TABLE table_name_79 (birthplace VARCHAR, jersey_number VARCHAR, position VARCHAR, height__cm_ VARCHAR)

SELECT birthplace FROM table_name_79 WHERE position = "d" AND height__cm_ = 190 AND jersey_number = 11


Question: What's the total points that Scuderia Ferrari with a Ferrari V12 engine have before 1971?

Context: CREATE TABLE table_name_60 (points INTEGER, engine VARCHAR, year VARCHAR, entrant VARCHAR)

SELECT SUM(points) FROM table_name_60 WHERE year < 1971 AND entrant = "scuderia ferrari" AND engine = "ferrari v12"


Question: What's the least amount of points that Walter Wolf Racing had after 1974?

Context: CREATE TABLE table_name_3 (points INTEGER, year VARCHAR, entrant VARCHAR)

SELECT MIN(points) FROM table_name_3 WHERE year > 1974 AND entrant = "walter wolf racing"


Question: What is the sum of Year(s), when Postion is 6th, and when Competition is Commonwealth Games?

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

SELECT SUM(year) FROM table_name_68 WHERE position = "6th" AND competition = "commonwealth games"


Question: What is the highest Year, when the Venue is Beijing, PR China?

Context: CREATE TABLE table_name_54 (year INTEGER, venue VARCHAR)

SELECT MAX(year) FROM table_name_54 WHERE venue = "beijing, pr china"


Question: What is the average Year, when Competition is Oceania Youth Championships?

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

SELECT AVG(year) FROM table_name_89 WHERE competition = "oceania youth championships"


Question: What is Event, when Position is 4th?

Context: CREATE TABLE table_name_94 (event VARCHAR, position VARCHAR)

SELECT event FROM table_name_94 WHERE position = "4th"


Question: What is the Date with a Format that is cd?

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

SELECT date FROM table_name_87 WHERE format = "cd"


Question: What is the Catalog with a Date that is march 13, 2002?

Context: CREATE TABLE table_name_9 (catalog VARCHAR, date VARCHAR)

SELECT catalog FROM table_name_9 WHERE date = "march 13, 2002"


Question: What is the Label with a Catalog that is mhcl-20017?

Context: CREATE TABLE table_name_45 (label VARCHAR, catalog VARCHAR)

SELECT label FROM table_name_45 WHERE catalog = "mhcl-20017"


Question: What is the Catalog with a Date that is february 20, 2002?

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

SELECT catalog FROM table_name_89 WHERE date = "february 20, 2002"


Question: What is the lightest Weight (kg), when the Jersey # is greater than 22, when the Position is F, and when the Birthdate is March 19, 1980?

Context: CREATE TABLE table_name_62 (weight__kg_ INTEGER, birthdate VARCHAR, jersey__number VARCHAR, position VARCHAR)

SELECT MIN(weight__kg_) FROM table_name_62 WHERE jersey__number > 22 AND position = "f" AND birthdate = "march 19, 1980"


Question: What is the Position, when the Birthplace is Buffalo, New York?

Context: CREATE TABLE table_name_92 (position VARCHAR, birthplace VARCHAR)

SELECT position FROM table_name_92 WHERE birthplace = "buffalo, new york"


Question: What is the Birthplace, when the Jersey # is less than 18, when the Height (cm) is higher than 185, and when the Birthdate is March 3, 1980?

Context: CREATE TABLE table_name_24 (birthplace VARCHAR, birthdate VARCHAR, jersey__number VARCHAR, height__cm_ VARCHAR)

SELECT birthplace FROM table_name_24 WHERE jersey__number < 18 AND height__cm_ > 185 AND birthdate = "march 3, 1980"


Question: What was the final score for the game with 65,309 people in attendance?

Context: CREATE TABLE table_name_28 (final_score VARCHAR, attendance VARCHAR)

SELECT final_score FROM table_name_28 WHERE attendance = "65,309"


Question: What average week number had the Chicago bears as the opponent?

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

SELECT AVG(week) FROM table_name_58 WHERE opponent = "chicago bears"


Question: What is the record for the game against New England Patriots at the Rich Stadium?

Context: CREATE TABLE table_name_89 (record VARCHAR, game_site VARCHAR, opponent VARCHAR)

SELECT record FROM table_name_89 WHERE game_site = "rich stadium" AND opponent = "new england patriots"


Question: What did the Dallara chassis with a 5 start in 2006 finish?

Context: CREATE TABLE table_name_91 (finish VARCHAR, year VARCHAR, chassis VARCHAR, start VARCHAR)

SELECT finish FROM table_name_91 WHERE chassis = "dallara" AND start = "5" AND year = 2006


Question: What is the chassis of the Honda Engine from 2008?

Context: CREATE TABLE table_name_68 (chassis VARCHAR, engine VARCHAR, year VARCHAR)

SELECT chassis FROM table_name_68 WHERE engine = "honda" AND year = 2008


Question: What is the earliest year of the Honda Engine with a finish of 4?

Context: CREATE TABLE table_name_53 (year INTEGER, engine VARCHAR, finish VARCHAR)

SELECT MIN(year) FROM table_name_53 WHERE engine = "honda" AND finish = 4


Question: What was 2002, when 2008 was, "career statistics"?

Context: CREATE TABLE table_name_6 (Id VARCHAR)

SELECT 2002 FROM table_name_6 WHERE 2008 = "career statistics"


Question: What was 2009, when 2001 was, "not masters series"?

Context: CREATE TABLE table_name_5 (Id VARCHAR)

SELECT 2009 FROM table_name_5 WHERE 2001 = "not masters series"


Question: What was 2011, when 2005 was 2R, and when 2003 was 2R?

Context: CREATE TABLE table_name_40 (Id VARCHAR)

SELECT 2011 FROM table_name_40 WHERE 2005 = "2r" AND 2003 = "2r"


Question: What was 2009, when 2012 was A, when 2003 was A, and then the Tournament was the Madrid Masters?

Context: CREATE TABLE table_name_18 (tournament VARCHAR)

SELECT 2009 FROM table_name_18 WHERE 2012 = "a" AND 2003 = "a" AND tournament = "madrid masters"


Question: What was 2002, when 2011 was, "atp masters series"?

Context: CREATE TABLE table_name_71 (Id VARCHAR)

SELECT 2002 FROM table_name_71 WHERE 2011 = "atp masters series"


Question: What was the lowest wins of Larry Nelson, who ranked less than 5?

Context: CREATE TABLE table_name_8 (wins INTEGER, player VARCHAR, rank VARCHAR)

SELECT MIN(wins) FROM table_name_8 WHERE player = "larry nelson" AND rank < 5


Question: What is the sum of the earnings for rank 3?

Context: CREATE TABLE table_name_39 (earnings__ INTEGER, rank VARCHAR)

SELECT SUM(earnings__) AS $__ FROM table_name_39 WHERE rank = 3


Question: What is the country is ranked more than 4?

Context: CREATE TABLE table_name_66 (country VARCHAR, rank INTEGER)

SELECT country FROM table_name_66 WHERE rank > 4


Question: What the total of Week with attendance of 53,147

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

SELECT SUM(week) FROM table_name_70 WHERE attendance = "53,147"


Question: What is the lowest week for December 26, 1999

Context: CREATE TABLE table_name_31 (week INTEGER, date VARCHAR)

SELECT MIN(week) FROM table_name_31 WHERE date = "december 26, 1999"


Question: What season has 6 races and the team is Australia?

Context: CREATE TABLE table_name_90 (season VARCHAR, races VARCHAR, team VARCHAR)

SELECT season FROM table_name_90 WHERE races = 6 AND team = "australia"


Question: What is the total number of Races when there were more than 8 wins?

Context: CREATE TABLE table_name_15 (races VARCHAR, wins INTEGER)

SELECT COUNT(races) FROM table_name_15 WHERE wins > 8


Question: Who's the Socialist ticket with a Republican ticket of john a. may?

Context: CREATE TABLE table_name_2 (socialist_ticket VARCHAR, republican_ticket VARCHAR)

SELECT socialist_ticket FROM table_name_2 WHERE republican_ticket = "john a. may"


Question: Who's the Republican ticket with a Democratic ticket of m. william bray?

Context: CREATE TABLE table_name_67 (republican_ticket VARCHAR, democratic_ticket VARCHAR)

SELECT republican_ticket FROM table_name_67 WHERE democratic_ticket = "m. william bray"


Question: Who's the Socialist ticket with a Democratic ticket of herbert h. lehman?

Context: CREATE TABLE table_name_5 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)

SELECT socialist_ticket FROM table_name_5 WHERE democratic_ticket = "herbert h. lehman"


Question: Who's the Republican ticket with a Socialist ticket of frank r. crosswaith?

Context: CREATE TABLE table_name_61 (republican_ticket VARCHAR, socialist_ticket VARCHAR)

SELECT republican_ticket FROM table_name_61 WHERE socialist_ticket = "frank r. crosswaith"


Question: Who's the Republican ticket with a Socialist ticket of edna mitchell blue?

Context: CREATE TABLE table_name_46 (republican_ticket VARCHAR, socialist_ticket VARCHAR)

SELECT republican_ticket FROM table_name_46 WHERE socialist_ticket = "edna mitchell blue"


Question: what's the earliest year that serena williams had more than 2 sets?

Context: CREATE TABLE table_name_47 (year INTEGER, player VARCHAR, sets VARCHAR)

SELECT MIN(year) FROM table_name_47 WHERE player = "serena williams" AND sets > 2


Question: what's the earliest year that the wimbledon opponent was zheng jie?

Context: CREATE TABLE table_name_50 (year INTEGER, event VARCHAR, opponent VARCHAR)

SELECT MIN(year) FROM table_name_50 WHERE event = "wimbledon" AND opponent = "zheng jie"


Question: what year was the opponent caroline garcia?

Context: CREATE TABLE table_name_22 (year INTEGER, opponent VARCHAR)

SELECT SUM(year) FROM table_name_22 WHERE opponent = "caroline garcia"


Question: what's the most recent year that samantha stosur was the opponent with 20 aces and having played more than 2 sets?

Context: CREATE TABLE table_name_55 (year INTEGER, sets VARCHAR, aces VARCHAR, opponent VARCHAR)

SELECT MAX(year) FROM table_name_55 WHERE aces = 20 AND opponent = "samantha stosur" AND sets > 2


Question: what year was the memphis event?

Context: CREATE TABLE table_name_97 (year INTEGER, event VARCHAR)

SELECT SUM(year) FROM table_name_97 WHERE event = "memphis"


Question: What season did the player who had the number 26 play on who came from far eastern?

Context: CREATE TABLE table_name_26 (season VARCHAR, school_club_team VARCHAR, number VARCHAR)

SELECT season FROM table_name_26 WHERE school_club_team = "far eastern" AND number = 26


Question: What season did the player who came from Cebu play in?

Context: CREATE TABLE table_name_64 (season VARCHAR, school_club_team VARCHAR)

SELECT season FROM table_name_64 WHERE school_club_team = "cebu"


Question: What was the country in the year 2012?

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

SELECT country FROM table_name_69 WHERE year = 2012


Question: In what year was Letecke Zavody N.P., Jinonice the manufacturer?

Context: CREATE TABLE table_name_90 (year VARCHAR, manufacturer VARCHAR)

SELECT year FROM table_name_90 WHERE manufacturer = "letecke zavody n.p., jinonice"


Question: What country had the car with the Jawa 350cc engine?

Context: CREATE TABLE table_name_42 (country VARCHAR, engine_make_capacity VARCHAR)

SELECT country FROM table_name_42 WHERE engine_make_capacity = "jawa 350cc"


Question: In what country was the car with the čz 171cc engine?

Context: CREATE TABLE table_name_34 (country VARCHAR, engine_make_capacity VARCHAR)

SELECT country FROM table_name_34 WHERE engine_make_capacity = "čz 171cc"


Question: What is the name of the car that was made in the years 1956-1958?

Context: CREATE TABLE table_name_18 (automobile_name VARCHAR, year VARCHAR)

SELECT automobile_name FROM table_name_18 WHERE year = "1956-1958"


Question: What is the name of the car manufactured by Letecke Zavody N.P., Jinonice?

Context: CREATE TABLE table_name_11 (automobile_name VARCHAR, manufacturer VARCHAR)

SELECT automobile_name FROM table_name_11 WHERE manufacturer = "letecke zavody n.p., jinonice"


Question: Who manufactured the car with the jawa 249cc engine that was made in the years 1956-1963?

Context: CREATE TABLE table_name_58 (manufacturer VARCHAR, engine_make_capacity VARCHAR, year VARCHAR)

SELECT manufacturer FROM table_name_58 WHERE engine_make_capacity = "jawa 249cc" AND year = "1956-1963"


Question: What is the Set 2 with a Date that is jun 29?

Context: CREATE TABLE table_name_98 (set_2 VARCHAR, date VARCHAR)

SELECT set_2 FROM table_name_98 WHERE date = "jun 29"


Question: What is the Set 1 with a Set 2 that is 25-19?

Context: CREATE TABLE table_name_12 (set_1 VARCHAR, set_2 VARCHAR)

SELECT set_1 FROM table_name_12 WHERE set_2 = "25-19"


Question: What is the Set 5 with a Date that is jun 29?

Context: CREATE TABLE table_name_93 (set_5 VARCHAR, date VARCHAR)

SELECT set_5 FROM table_name_93 WHERE date = "jun 29"


Question: When was construction completed that was listed on 09/21/1984 and a Deleted of 11/04/1999?

Context: CREATE TABLE table_name_9 (construction_completed VARCHAR, listed VARCHAR, deleted VARCHAR)

SELECT construction_completed FROM table_name_9 WHERE listed = "09/21/1984" AND deleted = "11/04/1999"


Question: What is the partially deleted result for a completed construction of m– in St. Maries Creosote?

Context: CREATE TABLE table_name_47 (partially_deleted VARCHAR, construction_completed VARCHAR, name VARCHAR)

SELECT partially_deleted FROM table_name_47 WHERE construction_completed = "–" AND name = "st. maries creosote"


Question: What is the partially deleted result for Bunker Hill Mining & Metallurgical?

Context: CREATE TABLE table_name_96 (partially_deleted VARCHAR, name VARCHAR)

SELECT partially_deleted FROM table_name_96 WHERE name = "bunker hill mining & metallurgical"


Question: What is the partially deleted result for a deleted of m– in Valley?

Context: CREATE TABLE table_name_95 (partially_deleted VARCHAR, deleted VARCHAR, county VARCHAR)

SELECT partially_deleted FROM table_name_95 WHERE deleted = "–" AND county = "valley"


Question: How many matches ended with more than 22 points?

Context: CREATE TABLE table_name_83 (match INTEGER, points INTEGER)

SELECT SUM(match) FROM table_name_83 WHERE points > 22


Question: What is the value in 1965 when 7 is the value for 1967?

Context: CREATE TABLE table_name_81 (Id VARCHAR)

SELECT 1965 FROM table_name_81 WHERE 1967 = "7"


Question: What is the value in 1971 when 30 is the value for 1969?

Context: CREATE TABLE table_name_65 (Id VARCHAR)

SELECT 1971 FROM table_name_65 WHERE 1969 = "30"


Question: What was the value in 1966 with a 0 value in 1969?

Context: CREATE TABLE table_name_72 (Id VARCHAR)

SELECT 1966 FROM table_name_72 WHERE 1969 = "0"