Question: Which league has an FA cup greater than 0, with a total greater than 21?

Context: CREATE TABLE table_name_76 (league VARCHAR, fa_cup VARCHAR, total VARCHAR)

SELECT league FROM table_name_76 WHERE fa_cup > 0 AND total > 21


Question: What is the highest play-offs that have stevenage borough as the club, and a total greater than 21?

Context: CREATE TABLE table_name_64 (play_offs INTEGER, club VARCHAR, total VARCHAR)

SELECT MAX(play_offs) FROM table_name_64 WHERE club = "stevenage borough" AND total > 21


Question: What is the tournament in 2012 results that has a 2003 results of 2r and played at Wimbledon?

Context: CREATE TABLE table_name_6 (tournament VARCHAR)

SELECT 2012 FROM table_name_6 WHERE 2003 = "2r" AND tournament = "wimbledon"


Question: What results in 2012 also has 2013 results of 2r and the tournament was Wimbledon?

Context: CREATE TABLE table_name_65 (tournament VARCHAR)

SELECT 2012 FROM table_name_65 WHERE 2013 = "2r" AND tournament = "wimbledon"


Question: What is the results from 2003 that has a 2012 result of 1r and a 2004 result of 2r and from the Australian Open?

Context: CREATE TABLE table_name_67 (tournament VARCHAR)

SELECT 2003 FROM table_name_67 WHERE 2012 = "1r" AND 2004 = "2r" AND tournament = "australian open"


Question: What is the name of the tournament that has the results of 2003 2r and 2004 1r?

Context: CREATE TABLE table_name_25 (tournament VARCHAR)

SELECT tournament FROM table_name_25 WHERE 2003 = "2r" AND 2004 = "1r"


Question: What is the results in 2004 that has a 2013 result of 2r?

Context: CREATE TABLE table_name_72 (Id VARCHAR)

SELECT 2004 FROM table_name_72 WHERE 2013 = "2r"


Question: What is the result from 2003 from the US Open?

Context: CREATE TABLE table_name_80 (tournament VARCHAR)

SELECT 2003 FROM table_name_80 WHERE tournament = "us open"


Question: What is the height of the player born on June 24, 1964, with a weight over 84 kg?

Context: CREATE TABLE table_name_21 (height__cm_ INTEGER, weight__kg_ VARCHAR, birthdate VARCHAR)

SELECT AVG(height__cm_) FROM table_name_21 WHERE weight__kg_ > 84 AND birthdate = "june 24, 1964"


Question: On what date was the player from Melrose, Massachusetts born?

Context: CREATE TABLE table_name_54 (birthdate VARCHAR, birthplace VARCHAR)

SELECT birthdate FROM table_name_54 WHERE birthplace = "melrose, massachusetts"


Question: What is Date, when Event is Billabong Pro?

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

SELECT date FROM table_name_34 WHERE event = "billabong pro"


Question: What is Location, when Date is December 8-December 20?

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

SELECT location FROM table_name_74 WHERE date = "december 8-december 20"


Question: What is Runner-up, when Event is Mancora Peru Classic?

Context: CREATE TABLE table_name_87 (runner_up VARCHAR, event VARCHAR)

SELECT runner_up FROM table_name_87 WHERE event = "mancora peru classic"


Question: What is Event, when Date is August 20-August 27?

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

SELECT event FROM table_name_72 WHERE date = "august 20-august 27"


Question: What is Date when Runner-up is Sofía Mulánovich ( per )?

Context: CREATE TABLE table_name_92 (date VARCHAR, runner_up VARCHAR)

SELECT date FROM table_name_92 WHERE runner_up = "sofía mulánovich ( per )"


Question: What is Country, when Event is Rip Curl Women's Pro?

Context: CREATE TABLE table_name_67 (country VARCHAR, event VARCHAR)

SELECT country FROM table_name_67 WHERE event = "rip curl women's pro"


Question: What is the highest win percentage when there were 23 losses?

Context: CREATE TABLE table_name_18 (win_percentage INTEGER, losses VARCHAR)

SELECT MAX(win_percentage) FROM table_name_18 WHERE losses = 23


Question: Which finish had a win percentage that was more than 0.598 and also had less than 53 wins?

Context: CREATE TABLE table_name_41 (finish VARCHAR, win_percentage VARCHAR, wins VARCHAR)

SELECT finish FROM table_name_41 WHERE win_percentage > 0.598 AND wins < 53


Question: What is the 2007 Team with player Deshaun Foster?

Context: CREATE TABLE table_name_30 (player VARCHAR)

SELECT 2007 AS _team FROM table_name_30 WHERE player = "deshaun foster"


Question: What is the Free Agent Type for player bryant johnson?

Context: CREATE TABLE table_name_2 (free_agent_type VARCHAR, player VARCHAR)

SELECT free_agent_type FROM table_name_2 WHERE player = "bryant johnson"


Question: What is the High assists with a Date that is march 31?

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

SELECT high_assists FROM table_name_39 WHERE date = "march 31"


Question: What is the Score with a Date that is march 12?

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

SELECT score FROM table_name_93 WHERE date = "march 12"


Question: What is the lowest silver that has a bronze greater than 1, a gold less than 2, and a total less than 2?

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

SELECT MIN(silver) FROM table_name_73 WHERE bronze > 1 AND gold < 2 AND total < 2


Question: What average rank that has a silver less than 0?

Context: CREATE TABLE table_name_41 (rank INTEGER, silver INTEGER)

SELECT AVG(rank) FROM table_name_41 WHERE silver < 0


Question: How many silver have 4 as the total with a bronze less than 2?

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

SELECT COUNT(silver) FROM table_name_42 WHERE total = 4 AND bronze < 2


Question: How many totals have a rank greater than 4, czech Republic as the nation, and a bronze greater than 0?

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

SELECT SUM(total) FROM table_name_6 WHERE rank > 4 AND nation = "czech republic" AND bronze > 0


Question: What average total has a gold greater than 0, and a silver greater than 0, with a bronze greater than 2?

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

SELECT AVG(total) FROM table_name_9 WHERE gold > 0 AND silver > 0 AND bronze > 2


Question: Which country has an Indigenous mining production 2006 of 0?

Context: CREATE TABLE table_name_26 (country VARCHAR, indigenous_mining_production_2006 VARCHAR)

SELECT country FROM table_name_26 WHERE indigenous_mining_production_2006 = "0"


Question: What is the sum of Silver when the total is less than 6, the rank is 6 and the Bulgaria is the nation?

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

SELECT SUM(silver) FROM table_name_19 WHERE total < "6" AND rank = "6" AND nation = "bulgaria"


Question: What nation has a bronze of 2 with a total less than 5 and rank of 6?

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

SELECT nation FROM table_name_84 WHERE bronze = 2 AND total < 5 AND rank = "6"


Question: What is the lowest Total for rank 3 with more than 4 gold?

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

SELECT MIN(total) FROM table_name_13 WHERE rank = "3" AND gold > 4


Question: What is the lowest Total for Italy with less than 0 silver?

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

SELECT MIN(total) FROM table_name_32 WHERE nation = "italy" AND silver < 0


Question: What is the Nation with less than 1 silver, and the total is 1, and bronze is less than 0?

Context: CREATE TABLE table_name_81 (nation VARCHAR, bronze VARCHAR, silver VARCHAR, total VARCHAR)

SELECT nation FROM table_name_81 WHERE silver < 1 AND total = 1 AND bronze = 0


Question: What number has 2002-2003 as the season?

Context: CREATE TABLE table_name_32 (number VARCHAR, season VARCHAR)

SELECT number FROM table_name_32 WHERE season = "2002-2003"


Question: What position has 2008 as the season?

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

SELECT position FROM table_name_11 WHERE season = "2008"


Question: What name has 50 as the number?

Context: CREATE TABLE table_name_54 (name VARCHAR, number VARCHAR)

SELECT name FROM table_name_54 WHERE number = "50"


Question: What number has 2008 as the season?

Context: CREATE TABLE table_name_38 (number VARCHAR, season VARCHAR)

SELECT number FROM table_name_38 WHERE season = "2008"


Question: What name has 8 as the number?

Context: CREATE TABLE table_name_5 (name VARCHAR, number VARCHAR)

SELECT name FROM table_name_5 WHERE number = "8"


Question: What position has ronjay buenafe as the name?

Context: CREATE TABLE table_name_16 (position VARCHAR, name VARCHAR)

SELECT position FROM table_name_16 WHERE name = "ronjay buenafe"


Question: What was the lowest long with 26 yards?

Context: CREATE TABLE table_name_51 (long INTEGER, yards VARCHAR)

SELECT MIN(long) FROM table_name_51 WHERE yards = 26


Question: What was the highest average when Fuml was 0?

Context: CREATE TABLE table_name_57 (avg INTEGER, fuml INTEGER)

SELECT MAX(avg) FROM table_name_57 WHERE fuml < 0


Question: What is the highest run currently since the last title in 2010, and a season in Esiliiga larger than 10?

Context: CREATE TABLE table_name_12 (current_run_since INTEGER, last_title VARCHAR, seasons_in_esiliiga VARCHAR)

SELECT MAX(current_run_since) FROM table_name_12 WHERE last_title = "2010" AND seasons_in_esiliiga > 10


Question: What is the 2012 season in Esiliiga more than 4, and more than 0 titles?

Context: CREATE TABLE table_name_87 (seasons_in_esiliiga VARCHAR, titles VARCHAR)

SELECT 2012 FROM table_name_87 WHERE seasons_in_esiliiga > 4 AND titles > 0


Question: What 20-29 was in season 2008?

Context: CREATE TABLE table_name_69 (season VARCHAR)

SELECT 20 AS _29 FROM table_name_69 WHERE season = "2008"


Question: What were the lowest amount of points for season 1994?

Context: CREATE TABLE table_name_33 (points INTEGER, season VARCHAR)

SELECT MIN(points) FROM table_name_33 WHERE season = "1994"


Question: Which 20-29 had a season of 1997?

Context: CREATE TABLE table_name_11 (season VARCHAR)

SELECT 20 AS _29 FROM table_name_11 WHERE season = "1997"


Question: What is the Postion, when the Name is Rod Paavola?

Context: CREATE TABLE table_name_27 (position VARCHAR, name VARCHAR)

SELECT position FROM table_name_27 WHERE name = "rod paavola"


Question: What is the total number of Jersey #, when the Position is W, and when the Birthdate is 17 October 1932?

Context: CREATE TABLE table_name_56 (jersey__number VARCHAR, position VARCHAR, birthdate VARCHAR)

SELECT COUNT(jersey__number) FROM table_name_56 WHERE position = "w" AND birthdate = "17 october 1932"


Question: What is the Birthplace, when the Name is Bob Mcvey?

Context: CREATE TABLE table_name_76 (birthplace VARCHAR, name VARCHAR)

SELECT birthplace FROM table_name_76 WHERE name = "bob mcvey"


Question: What is the Name, when the Position is W, and when the Jersey # is 11?

Context: CREATE TABLE table_name_73 (name VARCHAR, position VARCHAR, jersey__number VARCHAR)

SELECT name FROM table_name_73 WHERE position = "w" AND jersey__number = 11


Question: What is the Postion, when the Club/Team is Warroad Lakers, and when the Name is Roger Christian?

Context: CREATE TABLE table_name_13 (position VARCHAR, club_team VARCHAR, name VARCHAR)

SELECT position FROM table_name_13 WHERE club_team = "warroad lakers" AND name = "roger christian"


Question: What home has 122-28 as the score?

Context: CREATE TABLE table_name_96 (home VARCHAR, score VARCHAR)

SELECT home FROM table_name_96 WHERE score = "122-28"


Question: What ground has etobicoke kangaroos as the home?

Context: CREATE TABLE table_name_88 (ground VARCHAR, home VARCHAR)

SELECT ground FROM table_name_88 WHERE home = "etobicoke kangaroos"


Question: What time has humber college north as the ground, and toronto downtown dingos as the home?

Context: CREATE TABLE table_name_58 (time VARCHAR, ground VARCHAR, home VARCHAR)

SELECT time FROM table_name_58 WHERE ground = "humber college north" AND home = "toronto downtown dingos"


Question: What score has Toronto Eagles as the home?

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

SELECT score FROM table_name_57 WHERE home = "toronto eagles"


Question: What date has high park demons as the away?

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

SELECT date FROM table_name_15 WHERE away = "high park demons"


Question: What away has toronto downtown dingos as the home?

Context: CREATE TABLE table_name_71 (away VARCHAR, home VARCHAR)

SELECT away FROM table_name_71 WHERE home = "toronto downtown dingos"


Question: Who was the winner from the Rip Curl Pro Search?

Context: CREATE TABLE table_name_71 (winner VARCHAR, event VARCHAR)

SELECT winner FROM table_name_71 WHERE event = "rip curl pro search"


Question: What was the location of the tournament held in Spain?

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

SELECT location FROM table_name_56 WHERE country = "spain"


Question: What was the date of the tournament held in Indonesia?

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

SELECT date FROM table_name_23 WHERE country = "indonesia"


Question: What is the average Lost when the difference is - 3, and a Played is less than 10?

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

SELECT AVG(lost) FROM table_name_21 WHERE difference = "- 3" AND played < 10


Question: What is the Position when the Drawn is less than 2, with a Difference of 2?

Context: CREATE TABLE table_name_65 (position VARCHAR, drawn VARCHAR, difference VARCHAR)

SELECT position FROM table_name_65 WHERE drawn < "2" AND difference = "2"


Question: What is the sum of Against when the drawn is less than 2, the position is more than 8, and the lost is more than 6.

Context: CREATE TABLE table_name_35 (against INTEGER, lost VARCHAR, drawn VARCHAR, position VARCHAR)

SELECT SUM(against) FROM table_name_35 WHERE drawn < 2 AND position > 8 AND lost > 6


Question: What is the Difference with a position of less than 3, and, 17 points.

Context: CREATE TABLE table_name_57 (difference VARCHAR, position VARCHAR, points VARCHAR)

SELECT difference FROM table_name_57 WHERE position < 3 AND points = 17


Question: What is the average Top-5, when Tournament is U.S. Open, and when Cuts Made is greater than 10?

Context: CREATE TABLE table_name_72 (top_5 INTEGER, tournament VARCHAR, cuts_made VARCHAR)

SELECT AVG(top_5) FROM table_name_72 WHERE tournament = "u.s. open" AND cuts_made > 10


Question: What is the sum of Events, when Top-10 is 7, and when Top-5 is greater than 4?

Context: CREATE TABLE table_name_80 (events INTEGER, top_10 VARCHAR, top_5 VARCHAR)

SELECT SUM(events) FROM table_name_80 WHERE top_10 = 7 AND top_5 > 4


Question: What is the sum of Top-5, when Tournament is Totals, and when Events is greater than 86?

Context: CREATE TABLE table_name_68 (top_5 INTEGER, tournament VARCHAR, events VARCHAR)

SELECT SUM(top_5) FROM table_name_68 WHERE tournament = "totals" AND events > 86


Question: What is the average Top-10, when Wins is less than 0?

Context: CREATE TABLE table_name_37 (top_10 INTEGER, wins INTEGER)

SELECT AVG(top_10) FROM table_name_37 WHERE wins < 0


Question: What is the total number of Top-25, when Events is greater than 86?

Context: CREATE TABLE table_name_65 (top_25 VARCHAR, events INTEGER)

SELECT COUNT(top_25) FROM table_name_65 WHERE events > 86


Question: What 2011 has 4r as the 2008?

Context: CREATE TABLE table_name_68 (Id VARCHAR)

SELECT 2011 FROM table_name_68 WHERE 2008 = "4r"


Question: What 2007 has wimbledon as the tournament?

Context: CREATE TABLE table_name_88 (tournament VARCHAR)

SELECT 2007 FROM table_name_88 WHERE tournament = "wimbledon"


Question: What 2006 has 1r as the 2007?

Context: CREATE TABLE table_name_74 (Id VARCHAR)

SELECT 2006 FROM table_name_74 WHERE 2007 = "1r"


Question: What tournament has q2 as the 2004?

Context: CREATE TABLE table_name_66 (tournament VARCHAR)

SELECT tournament FROM table_name_66 WHERE 2004 = "q2"


Question: What 2009 has grand slam tournaments of 2008?

Context: CREATE TABLE table_name_43 (Id VARCHAR)

SELECT 2009 FROM table_name_43 WHERE 2008 = "grand slam tournaments"


Question: What 2006 has 0-0 as the 2011?

Context: CREATE TABLE table_name_29 (Id VARCHAR)

SELECT 2006 FROM table_name_29 WHERE 2011 = "0-0"


Question: What is the Lineup from a Match that is 27?

Context: CREATE TABLE table_name_12 (lineup VARCHAR, match VARCHAR)

SELECT lineup FROM table_name_12 WHERE match = "27"


Question: What is the date for Orangeville?

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

SELECT date FROM table_name_56 WHERE name = "orangeville"


Question: Who is the builder with a works number of 2534?

Context: CREATE TABLE table_name_16 (builder VARCHAR, works_number VARCHAR)

SELECT builder FROM table_name_16 WHERE works_number = "2534"


Question: Who is the name with a works number of 809?

Context: CREATE TABLE table_name_49 (name VARCHAR, works_number VARCHAR)

SELECT name FROM table_name_49 WHERE works_number = "809"


Question: In early 1873, Owen sound had what works number?

Context: CREATE TABLE table_name_39 (works_number VARCHAR, date VARCHAR, name VARCHAR)

SELECT works_number FROM table_name_39 WHERE date = "early 1873" AND name = "owen sound"


Question: What was the name for the locomotive with a type of 2-8-0 and a number of 20?

Context: CREATE TABLE table_name_23 (name VARCHAR, type VARCHAR, number VARCHAR)

SELECT name FROM table_name_23 WHERE type = "2-8-0" AND number = 20


Question: What is the Year won for the player with a larger than 4 To par and less the 157 Total?

Context: CREATE TABLE table_name_4 (year_won VARCHAR, to_par VARCHAR, total VARCHAR)

SELECT year_won FROM table_name_4 WHERE to_par > 4 AND total < 157


Question: What is the Total for the Player who won after 1983 with less than 4 To par?

Context: CREATE TABLE table_name_66 (total INTEGER, to_par VARCHAR, year_won VARCHAR)

SELECT AVG(total) FROM table_name_66 WHERE to_par < 4 AND year_won > 1983


Question: What is the Total of the player who won before 1983 with a smaller than 4 To par?

Context: CREATE TABLE table_name_46 (total VARCHAR, to_par VARCHAR, year_won VARCHAR)

SELECT COUNT(total) FROM table_name_46 WHERE to_par < 4 AND year_won < 1983


Question: Which venue led to a draw?

Context: CREATE TABLE table_name_93 (venue VARCHAR, result VARCHAR)

SELECT venue FROM table_name_93 WHERE result = "draw"


Question: What is the highest Stolen Ends when ludmila privivkova shows for skip?

Context: CREATE TABLE table_name_54 (stolen_ends INTEGER, skip VARCHAR)

SELECT MAX(stolen_ends) FROM table_name_54 WHERE skip = "ludmila privivkova"


Question: What is the sum of Blank Ends for Denmark when less than 42 is the ends lost?

Context: CREATE TABLE table_name_39 (blank_ends INTEGER, nation VARCHAR, ends_lost VARCHAR)

SELECT SUM(blank_ends) FROM table_name_39 WHERE nation = "denmark" AND ends_lost < 42


Question: What is the Blank Ends when there are less than 39 ends won and, more than 35 ends lost, and 4 stolen ends.

Context: CREATE TABLE table_name_88 (blank_ends VARCHAR, stolen_ends VARCHAR, ends_won VARCHAR, ends_lost VARCHAR)

SELECT blank_ends FROM table_name_88 WHERE ends_won < 39 AND ends_lost > 35 AND stolen_ends = 4


Question: Who was the 20 Questions section aimed at when the Interview Subject was Camille Paglia?

Context: CREATE TABLE table_name_97 (interview_subject VARCHAR)

SELECT 20 AS _questions FROM table_name_97 WHERE interview_subject = "camille paglia"


Question: Who was the Centerfold Model on 5-95?

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

SELECT centerfold_model FROM table_name_32 WHERE date = "5-95"


Question: Who was the 20 Questions section aimed at when Cover Model was Kimberley Conrad Hefner?

Context: CREATE TABLE table_name_21 (cover_model VARCHAR)

SELECT 20 AS _questions FROM table_name_21 WHERE cover_model = "kimberley conrad hefner"


Question: Who was the Centerfold Model when the Cover Model was Julie Lynn Cialini?

Context: CREATE TABLE table_name_56 (centerfold_model VARCHAR, cover_model VARCHAR)

SELECT centerfold_model FROM table_name_56 WHERE cover_model = "julie lynn cialini"


Question: Who was the Interview Subject when the Centerfold Model was Melissa Deanne Holliday?

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

SELECT interview_subject FROM table_name_3 WHERE centerfold_model = "melissa deanne holliday"


Question: Who was the 20 Questions section aimed at when Centerfold Model was Rachel Jeán Marteen?

Context: CREATE TABLE table_name_46 (centerfold_model VARCHAR)

SELECT 20 AS _questions FROM table_name_46 WHERE centerfold_model = "rachel jeán marteen"


Question: What was the average Jersey # of Steve Griffith, when his Weight (kg) was less than 84?

Context: CREATE TABLE table_name_71 (jersey__number INTEGER, name VARCHAR, weight__kg_ VARCHAR)

SELECT AVG(jersey__number) FROM table_name_71 WHERE name = "steve griffith" AND weight__kg_ < 84


Question: What was the lowest Weight (kg) for a player that had Jersey #10?

Context: CREATE TABLE table_name_67 (weight__kg_ INTEGER, jersey__number VARCHAR)

SELECT MIN(weight__kg_) FROM table_name_67 WHERE jersey__number = 10


Question: How many different Heights (cm) did Mark Fusco have, when his Jersey # was less than 16?

Context: CREATE TABLE table_name_19 (height__cm_ VARCHAR, jersey__number VARCHAR, name VARCHAR)

SELECT COUNT(height__cm_) FROM table_name_19 WHERE jersey__number < 16 AND name = "mark fusco"


Question: What was the title of the episode that martin worth wrote the story for?

Context: CREATE TABLE table_name_55 (title VARCHAR, story VARCHAR)

SELECT title FROM table_name_55 WHERE story = "martin worth"


Question: In what year was Xavier Malisse the runner-up with scores of 4–6, 6–4, [8–10]?

Context: CREATE TABLE table_name_65 (year VARCHAR, outcome VARCHAR, score VARCHAR)

SELECT year FROM table_name_65 WHERE outcome = "runner-up" AND score = "4–6, 6–4, [8–10]"


Question: On what surface was the game played that had a score of 4–6, 6–4, [8–10]?

Context: CREATE TABLE table_name_51 (surface VARCHAR, score VARCHAR)

SELECT surface FROM table_name_51 WHERE score = "4–6, 6–4, [8–10]"


Question: What is Caps, when Province / Club is Example, when Position is Prop, and when Player is Sam Walters?

Context: CREATE TABLE table_name_96 (caps VARCHAR, player VARCHAR, province___club VARCHAR, position VARCHAR)

SELECT caps FROM table_name_96 WHERE province___club = "example" AND position = "prop" AND player = "sam walters"


Question: What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?

Context: CREATE TABLE table_name_59 (position VARCHAR, date_of_birth__age_ VARCHAR, player VARCHAR)

SELECT position FROM table_name_59 WHERE date_of_birth__age_ = "example" AND player = "mark spencer"


Question: What is Player, when Caps is Example, and when Position is Center?

Context: CREATE TABLE table_name_66 (player VARCHAR, caps VARCHAR, position VARCHAR)

SELECT player FROM table_name_66 WHERE caps = "example" AND position = "center"


Question: What is Caps, when Province / Club is DRFC, and when Position is Center?

Context: CREATE TABLE table_name_49 (caps VARCHAR, province___club VARCHAR, position VARCHAR)

SELECT caps FROM table_name_49 WHERE province___club = "drfc" AND position = "center"


Question: What is Position, when Caps is Example, and When Player is Shane Kelly?

Context: CREATE TABLE table_name_66 (position VARCHAR, caps VARCHAR, player VARCHAR)

SELECT position FROM table_name_66 WHERE caps = "example" AND player = "shane kelly"


Question: What is Position, when Province / Club is Example, when Date of Birth (Age) is Example, and when Player is Michael Elumeze?

Context: CREATE TABLE table_name_52 (position VARCHAR, player VARCHAR, province___club VARCHAR, date_of_birth__age_ VARCHAR)

SELECT position FROM table_name_52 WHERE province___club = "example" AND date_of_birth__age_ = "example" AND player = "michael elumeze"


Question: What is the average number played of the team with 1 drawn and 24 against?

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

SELECT AVG(played) FROM table_name_79 WHERE drawn = 1 AND against = 24


Question: What is the highest lost number of the team with less than 14 points and less than 18 played?

Context: CREATE TABLE table_name_65 (lost INTEGER, points VARCHAR, played VARCHAR)

SELECT MAX(lost) FROM table_name_65 WHERE points < 14 AND played < 18


Question: Which team had 1 position?

Context: CREATE TABLE table_name_65 (team VARCHAR, position VARCHAR)

SELECT team FROM table_name_65 WHERE position = 1


Question: What is the lowest number of played of the team with 18 points and a position greater than 5?

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

SELECT MIN(played) FROM table_name_74 WHERE points = 18 AND position > 5


Question: What is the total number of points of the team with less than 4 drawn and an against of 34?

Context: CREATE TABLE table_name_24 (points VARCHAR, drawn VARCHAR, against VARCHAR)

SELECT COUNT(points) FROM table_name_24 WHERE drawn < 4 AND against = 34


Question: What is the average number of drawn with a difference of 17 and 22 points?

Context: CREATE TABLE table_name_64 (drawn INTEGER, difference VARCHAR, points VARCHAR)

SELECT AVG(drawn) FROM table_name_64 WHERE difference = "17" AND points = 22


Question: What is the team that has forward-center as a position?

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

SELECT school_club_team FROM table_name_24 WHERE position = "forward-center"


Question: What team does Kenny Smith play for?

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

SELECT school_club_team FROM table_name_25 WHERE player = "kenny smith"


Question: What years was Lebanon the nationality?

Context: CREATE TABLE table_name_82 (years_in_orlando VARCHAR, nationality VARCHAR)

SELECT years_in_orlando FROM table_name_82 WHERE nationality = "lebanon"


Question: Which margin of victory has cyber agent ladies as the tournament?

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

SELECT margin_of_victory FROM table_name_78 WHERE tournament = "cyber agent ladies"


Question: What date has yani tseng as the runner (s)-up?

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

SELECT date FROM table_name_91 WHERE runner_s__up = "yani tseng"


Question: What is the margin of victory that has masters gc ladies as the tournament?

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

SELECT margin_of_victory FROM table_name_45 WHERE tournament = "masters gc ladies"


Question: What is the date that has yani tseng as the runner (s)-up?

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

SELECT date FROM table_name_97 WHERE runner_s__up = "yani tseng"


Question: What is the winning score that has victory of 2 strokes for the margin, and cyber agent ladies for the tournament?

Context: CREATE TABLE table_name_30 (winning_score VARCHAR, margin_of_victory VARCHAR, tournament VARCHAR)

SELECT winning_score FROM table_name_30 WHERE margin_of_victory = "2 strokes" AND tournament = "cyber agent ladies"


Question: What is the highest Poles with a win that is smaller than 0?

Context: CREATE TABLE table_name_74 (poles INTEGER, wins INTEGER)

SELECT MAX(poles) FROM table_name_74 WHERE wins < 0


Question: What is the headphone model with a plastic construction and a prestige headphone class?

Context: CREATE TABLE table_name_28 (headphone_model VARCHAR, construction VARCHAR, headphone_class VARCHAR)

SELECT headphone_model FROM table_name_28 WHERE construction = "plastic" AND headphone_class = "prestige"


Question: What earpads does the headphone with plastic contruction and was succeeded by igrado have?

Context: CREATE TABLE table_name_67 (earpads VARCHAR, construction VARCHAR, succeeded_by VARCHAR)

SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado"


Question: What are the earpads of the headphone with a plastic construction, an unknown sensitivity, and was succeeded by sr325?

Context: CREATE TABLE table_name_43 (earpads VARCHAR, succeeded_by VARCHAR, construction VARCHAR, sensitivity__db_ VARCHAR)

SELECT earpads FROM table_name_43 WHERE construction = "plastic" AND sensitivity__db_ = "unknown" AND succeeded_by = "sr325"


Question: What is the headphone model which was succeeded by sr325?

Context: CREATE TABLE table_name_59 (headphone_model VARCHAR, succeeded_by VARCHAR)

SELECT headphone_model FROM table_name_59 WHERE succeeded_by = "sr325"


Question: What regulations have hudson as the winning constructor?

Context: CREATE TABLE table_name_84 (regulations VARCHAR, winning_constructor VARCHAR)

SELECT regulations FROM table_name_84 WHERE winning_constructor = "hudson"


Question: What regulations have carlos arzani as the winning driver?

Context: CREATE TABLE table_name_13 (regulations VARCHAR, winning_drivers VARCHAR)

SELECT regulations FROM table_name_13 WHERE winning_drivers = "carlos arzani"


Question: What is the latest year that has ferrari 166 fl as the winning constructor?

Context: CREATE TABLE table_name_7 (year INTEGER, winning_constructor VARCHAR)

SELECT MAX(year) FROM table_name_7 WHERE winning_constructor = "ferrari 166 fl"


Question: What is the city of license that has lp as the class?

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

SELECT city_of_license FROM table_name_40 WHERE class = "lp"


Question: What is the identifier that has 50,000 watts of power?

Context: CREATE TABLE table_name_45 (identifier VARCHAR, power VARCHAR)

SELECT identifier FROM table_name_45 WHERE power = "50,000 watts"


Question: What RECNet has 40 watts of power and temagami as the city of license?

Context: CREATE TABLE table_name_20 (recnet VARCHAR, power VARCHAR, city_of_license VARCHAR)

SELECT recnet FROM table_name_20 WHERE power = "40 watts" AND city_of_license = "temagami"


Question: What city of license has A as a class, and cbec-fm as the identifier?

Context: CREATE TABLE table_name_86 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR)

SELECT city_of_license FROM table_name_86 WHERE class = "a" AND identifier = "cbec-fm"


Question: What RECNet has elk lake as the city of license?

Context: CREATE TABLE table_name_57 (recnet VARCHAR, city_of_license VARCHAR)

SELECT recnet FROM table_name_57 WHERE city_of_license = "elk lake"


Question: What frequency has temagami as the city of license?

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

SELECT frequency FROM table_name_92 WHERE city_of_license = "temagami"


Question: What is the highest Current Branch Opened, when Neighborhood is W. Portland Park?

Context: CREATE TABLE table_name_79 (current_branch_opened INTEGER, neighborhood VARCHAR)

SELECT MAX(current_branch_opened) FROM table_name_79 WHERE neighborhood = "w. portland park"


Question: What is the First Branch Opened, when Branch is Belmont Library?

Context: CREATE TABLE table_name_21 (first_branch_opened VARCHAR, branch VARCHAR)

SELECT first_branch_opened FROM table_name_21 WHERE branch = "belmont library"


Question: What is Neighborhood, when Branch is Hollywood Library?

Context: CREATE TABLE table_name_92 (neighborhood VARCHAR, branch VARCHAR)

SELECT neighborhood FROM table_name_92 WHERE branch = "hollywood library"


Question: What is Current Branch Opened, when Branch is Midland Library?

Context: CREATE TABLE table_name_22 (current_branch_opened VARCHAR, branch VARCHAR)

SELECT current_branch_opened FROM table_name_22 WHERE branch = "midland library"


Question: Which player has the fewest assists and played 2 games or fewer?

Context: CREATE TABLE table_name_72 (assists INTEGER, games INTEGER)

SELECT MIN(assists) FROM table_name_72 WHERE games < 2


Question: What was the total number for March with less than 8.77 in January, more than 1.69 in December, an average monthly addition less than 5.35, and before 2004?

Context: CREATE TABLE table_name_83 (march VARCHAR, year VARCHAR, average_monthly_additions_in_millions_ VARCHAR, january VARCHAR, december VARCHAR)

SELECT COUNT(march) FROM table_name_83 WHERE january < 8.77 AND december > 1.69 AND average_monthly_additions_in_millions_ < 5.35 AND year < 2004


Question: What is the total number for November, larger than 8.53 in February, 20.21 in March, and less than 7.9 in September?

Context: CREATE TABLE table_name_50 (november VARCHAR, september VARCHAR, february VARCHAR, march VARCHAR)

SELECT COUNT(november) FROM table_name_50 WHERE february > 8.53 AND march = 20.21 AND september < 7.9


Question: What is the sum for December that has 0.36 in July, and lager than 0.35000000000000003 in February?

Context: CREATE TABLE table_name_95 (december INTEGER, july VARCHAR, february VARCHAR)

SELECT SUM(december) FROM table_name_95 WHERE july = 0.36 AND february > 0.35000000000000003


Question: What is the total number for July with less than 8.05 in October, more than 4.46 in December, and more than 6.79 in November?

Context: CREATE TABLE table_name_12 (july VARCHAR, november VARCHAR, october VARCHAR, december VARCHAR)

SELECT COUNT(july) FROM table_name_12 WHERE october < 8.05 AND december > 4.46 AND november > 6.79


Question: What is the total number in October with less than 2.48 in September, after 2002, more than 1.42 in June, and smaller than 7.44 in February?

Context: CREATE TABLE table_name_41 (october VARCHAR, february VARCHAR, june VARCHAR, september VARCHAR, year VARCHAR)

SELECT COUNT(october) FROM table_name_41 WHERE september < 2.48 AND year > 2002 AND june > 1.42 AND february < 7.44


Question: What is the Catalog with a Region that is europe?

Context: CREATE TABLE table_name_56 (catalog VARCHAR, region VARCHAR)

SELECT catalog FROM table_name_56 WHERE region = "europe"


Question: What is the highest SFC in g/(kN*s) for Rolls-Royce/Snecma Olympus 593 engines and SFCs under 1.195 lb/(lbf*h)?

Context: CREATE TABLE table_name_12 (sfc_in_g__kn INTEGER, engine_type VARCHAR, sfc_in_lb__lbf·h_ VARCHAR)

SELECT MAX(sfc_in_g__kn) AS ·s_ FROM table_name_12 WHERE engine_type = "rolls-royce/snecma olympus 593" AND sfc_in_lb__lbf·h_ < 1.195


Question: What is Winner, when Week is 8 May, when Semi Finalists is Helena Suková Mary Pierce, and when Runner-Up is Conchita Martínez Patricia Tarabini?

Context: CREATE TABLE table_name_70 (winner VARCHAR, runner_up VARCHAR, week_of VARCHAR, semi_finalists VARCHAR)

SELECT winner FROM table_name_70 WHERE week_of = "8 may" AND semi_finalists = "helena suková mary pierce" AND runner_up = "conchita martínez patricia tarabini"


Question: What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?

Context: CREATE TABLE table_name_53 (week_of VARCHAR, semi_finalists VARCHAR)

SELECT week_of FROM table_name_53 WHERE semi_finalists = "sandrine testud yone kamio"


Question: In what Season was Colin Miller (TAS) the Player?

Context: CREATE TABLE table_name_34 (season VARCHAR, player VARCHAR)

SELECT season FROM table_name_34 WHERE player = "colin miller (tas)"


Question: What Rank has a 65 s Wicket?

Context: CREATE TABLE table_name_25 (rank VARCHAR, s_wicket VARCHAR)

SELECT rank FROM table_name_25 WHERE s_wicket = "65"


Question: Which result featured the Indianapolis Colts as opponents?

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

SELECT result FROM table_name_72 WHERE opponent = "indianapolis colts"


Question: Whose Name has a Date of reclassification of 2003-04-01 (merge into shizuoka )?

Context: CREATE TABLE table_name_52 (name VARCHAR, date_of_reclassification VARCHAR)

SELECT name FROM table_name_52 WHERE date_of_reclassification = "2003-04-01 (merge into shizuoka )"


Question: WHich Japanese has a Prefecture of iwate?

Context: CREATE TABLE table_name_99 (japanese VARCHAR, prefecture VARCHAR)

SELECT japanese FROM table_name_99 WHERE prefecture = "iwate"


Question: Which Date of designation has a Name of kurume?

Context: CREATE TABLE table_name_36 (date_of_designation VARCHAR, name VARCHAR)

SELECT date_of_designation FROM table_name_36 WHERE name = "kurume"


Question: What kind of Japanese has a Region of tōhoku?

Context: CREATE TABLE table_name_71 (japanese VARCHAR, region VARCHAR)

SELECT japanese FROM table_name_71 WHERE region = "tōhoku"


Question: WHose Name has a Region of kansai on 2012-04-01 ( core city )?

Context: CREATE TABLE table_name_63 (name VARCHAR, region VARCHAR, date_of_reclassification VARCHAR)

SELECT name FROM table_name_63 WHERE region = "kansai" AND date_of_reclassification = "2012-04-01 ( core city )"


Question: What is the Position with a Birthdate that is august 17, 1980?

Context: CREATE TABLE table_name_92 (position VARCHAR, birthdate VARCHAR)

SELECT position FROM table_name_92 WHERE birthdate = "august 17, 1980"


Question: Which capacity has a purple and white colors?

Context: CREATE TABLE table_name_77 (capacity VARCHAR, colors VARCHAR)

SELECT capacity FROM table_name_77 WHERE colors = "purple and white"


Question: How many households have a median family income of $60,400?

Context: CREATE TABLE table_name_15 (number_of_households VARCHAR, median_family_income VARCHAR)

SELECT number_of_households FROM table_name_15 WHERE median_family_income = "$60,400"


Question: What is the average weight of the player with a height of 180 cm and plays the d position?

Context: CREATE TABLE table_name_53 (weight__kg_ INTEGER, height__cm_ VARCHAR, position VARCHAR)

SELECT AVG(weight__kg_) FROM table_name_53 WHERE height__cm_ = 180 AND position = "d"


Question: What was the resting potential with an AP duration of 1.0 and a median giant fiber cell type?

Context: CREATE TABLE table_name_69 (resting_potential__mv_ VARCHAR, ap_duration__ms_ VARCHAR, cell_type VARCHAR)

SELECT resting_potential__mv_ FROM table_name_69 WHERE ap_duration__ms_ = "1.0" AND cell_type = "median giant fiber"


Question: Which animal has a resting potential of −60?

Context: CREATE TABLE table_name_75 (animal VARCHAR, resting_potential__mv_ VARCHAR)

SELECT animal FROM table_name_75 WHERE resting_potential__mv_ = "−60"


Question: Which animal has an AP duration of 1.0 and a conduction speed of 7–30?

Context: CREATE TABLE table_name_11 (animal VARCHAR, ap_duration__ms_ VARCHAR, conduction_speed__m_s_ VARCHAR)

SELECT animal FROM table_name_11 WHERE ap_duration__ms_ = "1.0" AND conduction_speed__m_s_ = "7–30"


Question: What AP increase has an AP duration of 0.75?

Context: CREATE TABLE table_name_68 (ap_increase__mv_ VARCHAR, ap_duration__ms_ VARCHAR)

SELECT ap_increase__mv_ FROM table_name_68 WHERE ap_duration__ms_ = "0.75"


Question: Which cell type has a conduction speed of 35?

Context: CREATE TABLE table_name_15 (cell_type VARCHAR, conduction_speed__m_s_ VARCHAR)

SELECT cell_type FROM table_name_15 WHERE conduction_speed__m_s_ = "35"


Question: What was the total matches that ranked above 10?

Context: CREATE TABLE table_name_9 (matches INTEGER, rank INTEGER)

SELECT SUM(matches) FROM table_name_9 WHERE rank > 10


Question: What was the total amount of matches for Alan Shearer?

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

SELECT COUNT(matches) FROM table_name_81 WHERE name = "alan shearer"


Question: What is the average goals for Jimmy Greaves, and matches more than 516?

Context: CREATE TABLE table_name_91 (goals INTEGER, name VARCHAR, matches VARCHAR)

SELECT AVG(goals) FROM table_name_91 WHERE name = "jimmy greaves" AND matches > 516


Question: What was the total number of matches for Nat Lofthouse, ranking higher than 7?

Context: CREATE TABLE table_name_55 (matches VARCHAR, name VARCHAR, rank VARCHAR)

SELECT COUNT(matches) FROM table_name_55 WHERE name = "nat lofthouse" AND rank > 7


Question: What is the highest rank for Nat Lofthouse, and goals more than 255?

Context: CREATE TABLE table_name_20 (rank INTEGER, name VARCHAR, goals VARCHAR)

SELECT MAX(rank) FROM table_name_20 WHERE name = "nat lofthouse" AND goals > 255


Question: What is the location/state that has adelaide international raceway as the circuit?

Context: CREATE TABLE table_name_5 (location___state VARCHAR, circuit VARCHAR)

SELECT location___state FROM table_name_5 WHERE circuit = "adelaide international raceway"


Question: What is the Original air date for the episode with a Production code of 07-00-107?

Context: CREATE TABLE table_name_85 (original_air_date VARCHAR, production_code VARCHAR)

SELECT original_air_date FROM table_name_85 WHERE production_code = "07-00-107"


Question: What is the name of the director of the episode written by robin schwartz & robert tarlow?

Context: CREATE TABLE table_name_55 (directed_by VARCHAR, written_by VARCHAR)

SELECT directed_by FROM table_name_55 WHERE written_by = "robin schwartz & robert tarlow"


Question: What is the Original air date for the episode directed by lev l. spiro, with a Production code of 07-00-109?

Context: CREATE TABLE table_name_35 (original_air_date VARCHAR, directed_by VARCHAR, production_code VARCHAR)

SELECT original_air_date FROM table_name_35 WHERE directed_by = "lev l. spiro" AND production_code = "07-00-109"


Question: What is the name of the writer for the episode with an Original air date of october 9, 2000?

Context: CREATE TABLE table_name_71 (written_by VARCHAR, original_air_date VARCHAR)

SELECT written_by FROM table_name_71 WHERE original_air_date = "october 9, 2000"


Question: What is the Title written by Terri Hughes & Ron Milbauer, and an Original air date of march 6, 2001?

Context: CREATE TABLE table_name_87 (title VARCHAR, written_by VARCHAR, original_air_date VARCHAR)

SELECT title FROM table_name_87 WHERE written_by = "terri hughes & ron milbauer" AND original_air_date = "march 6, 2001"


Question: What time or retired does Scott Dixon have?

Context: CREATE TABLE table_name_7 (time_retired VARCHAR, driver VARCHAR)

SELECT time_retired FROM table_name_7 WHERE driver = "scott dixon"


Question: Which driver has a grid bigger than 3 and a time of +62.6 secs?

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

SELECT driver FROM table_name_38 WHERE grid > 3 AND time_retired = "+62.6 secs"


Question: Who drives for Newman-Haas Racing with a time of 1:51:47.260?

Context: CREATE TABLE table_name_43 (driver VARCHAR, team VARCHAR, time_retired VARCHAR)

SELECT driver FROM table_name_43 WHERE team = "newman-haas racing" AND time_retired = "1:51:47.260"


Question: Which driver had less than 65 laps for Sigma Autosport?

Context: CREATE TABLE table_name_64 (driver VARCHAR, laps VARCHAR, team VARCHAR)

SELECT driver FROM table_name_64 WHERE laps < 65 AND team = "sigma autosport"


Question: Which game modes have Pinyin of chāojí mǎlìōu shìjiè?

Context: CREATE TABLE table_name_13 (game_modes VARCHAR, pinyin VARCHAR)

SELECT game_modes FROM table_name_13 WHERE pinyin = "chāojí mǎlìōu shìjiè"


Question: What is the lowest Population (1 July 2005 est.), when Population density (per km²) is 0?

Context: CREATE TABLE table_name_5 (population__1_july_2005_est_ INTEGER, population_density__per_km²_ VARCHAR)

SELECT MIN(population__1_july_2005_est_) FROM table_name_5 WHERE population_density__per_km²_ = 0


Question: What is Population density (per km²), when Name is Antigua and Barbuda, and when Capital is St. John's?

Context: CREATE TABLE table_name_81 (population_density__per_km²_ VARCHAR, name VARCHAR, capital VARCHAR)

SELECT population_density__per_km²_ FROM table_name_81 WHERE name = "antigua and barbuda" AND capital = "st. john's"


Question: Who were the opponents on grass when playing with Mark Woodforde, and the outcome of winner, and a year greater than 1996?

Context: CREATE TABLE table_name_61 (opponents VARCHAR, year VARCHAR, outcome VARCHAR, surface VARCHAR, partner VARCHAR)

SELECT opponents FROM table_name_61 WHERE surface = "grass" AND partner = "mark woodforde" AND outcome = "winner" AND year > 1996


Question: Who was the partner at the Australian Open, Melbourne when the score was 2–6, 7–5, 6–2, 4–6, 3–6?

Context: CREATE TABLE table_name_6 (partner VARCHAR, championship VARCHAR, score VARCHAR)

SELECT partner FROM table_name_6 WHERE championship = "australian open, melbourne" AND score = "2–6, 7–5, 6–2, 4–6, 3–6"


Question: When playing on grass who was the opponents in a year greater than 1993, and playing with Jonas Björkman?

Context: CREATE TABLE table_name_10 (opponents VARCHAR, partner VARCHAR, surface VARCHAR, year VARCHAR)

SELECT opponents FROM table_name_10 WHERE surface = "grass" AND year > 1993 AND partner = "jonas björkman"


Question: Which league's playoffs was national semi-finals?

Context: CREATE TABLE table_name_51 (league VARCHAR, playoffs VARCHAR)

SELECT league FROM table_name_51 WHERE playoffs = "national semi-finals"


Question: Which country is Lemd the ICAO of?

Context: CREATE TABLE table_name_34 (country VARCHAR, icao VARCHAR)

SELECT country FROM table_name_34 WHERE icao = "lemd"


Question: Paris-Charles de Gaulle airport is in which country?

Context: CREATE TABLE table_name_46 (country VARCHAR, airport VARCHAR)

SELECT country FROM table_name_46 WHERE airport = "paris-charles de gaulle airport"


Question: What is the ICAO for Riyadh, Saudi Arabia?

Context: CREATE TABLE table_name_35 (icao VARCHAR, country VARCHAR, city VARCHAR)

SELECT icao FROM table_name_35 WHERE country = "saudi arabia" AND city = "riyadh"


Question: What is the IATA for Benghazi, Libya?

Context: CREATE TABLE table_name_56 (iata VARCHAR, country VARCHAR, city VARCHAR)

SELECT iata FROM table_name_56 WHERE country = "libya" AND city = "benghazi"


Question: What is the average Grid for the honda cbr1000rr, with 18 laps and a time of +1:12.884?

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

SELECT AVG(grid) FROM table_name_45 WHERE bike = "honda cbr1000rr" AND laps = 18 AND time = "+1:12.884"


Question: What is the Bike with 18 laps and +41.280 as the time?

Context: CREATE TABLE table_name_51 (bike VARCHAR, laps VARCHAR, time VARCHAR)

SELECT bike FROM table_name_51 WHERE laps = 18 AND time = "+41.280"


Question: What is the Time when there are 18 laps, grid larger than 15, and Rider of Russell Holland?

Context: CREATE TABLE table_name_42 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT time FROM table_name_42 WHERE laps = 18 AND grid > 15 AND rider = "russell holland"


Question: What is the Bike with a grid more than 4 and the rider is Michel Fabrizio?

Context: CREATE TABLE table_name_17 (bike VARCHAR, grid VARCHAR, rider VARCHAR)

SELECT bike FROM table_name_17 WHERE grid > 4 AND rider = "michel fabrizio"


Question: What was Lee Smith's highest number of goals when he made fewer than 364 appearances?

Context: CREATE TABLE table_name_51 (goals INTEGER, name VARCHAR, appearances VARCHAR)

SELECT MAX(goals) FROM table_name_51 WHERE name = "lee smith" AND appearances < 364


Question: Which goals/game ratio has fewer than 201 goals and fewer than 170 appearances?

Context: CREATE TABLE table_name_29 (goals VARCHAR, Game VARCHAR, appearances VARCHAR)

SELECT goals / Game AS Ratio FROM table_name_29 WHERE goals < 201 AND appearances < 170


Question: What is the average rank of the airport with a 9.3% annual change?

Context: CREATE TABLE table_name_59 (rank INTEGER, annual_change VARCHAR)

SELECT AVG(rank) FROM table_name_59 WHERE annual_change = "9.3%"


Question: Where is the airport located that has a 98.9% in use capacity?

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

SELECT location FROM table_name_51 WHERE capacity_in_use = "98.9%"


Question: What rank is the airport in Fortaleza?

Context: CREATE TABLE table_name_19 (rank VARCHAR, location VARCHAR)

SELECT rank FROM table_name_19 WHERE location = "fortaleza"


Question: What is the Award name with a Team name that is cougar robotics team?

Context: CREATE TABLE table_name_53 (award_name VARCHAR, team_name VARCHAR)

SELECT award_name FROM table_name_53 WHERE team_name = "cougar robotics team"


Question: What is the zan 1 that has 11 as the nor 1?

Context: CREATE TABLE table_name_34 (zan_1 VARCHAR, nor_1 VARCHAR)

SELECT zan_1 FROM table_name_34 WHERE nor_1 = "11"


Question: What driver has 19 as the zan 1?

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

SELECT driver FROM table_name_13 WHERE zan_1 = "19"


Question: What driver has 5 as the zan 2?

Context: CREATE TABLE table_name_69 (driver VARCHAR, zan_2 VARCHAR)

SELECT driver FROM table_name_69 WHERE zan_2 = "5"


Question: What is the nor 2 that has nor 1 as nor 1?

Context: CREATE TABLE table_name_25 (nor_2 VARCHAR, nor_1 VARCHAR)

SELECT nor_2 FROM table_name_25 WHERE nor_1 = "nor 1"


Question: What driver has 22 as nor 1?

Context: CREATE TABLE table_name_85 (driver VARCHAR, nor_1 VARCHAR)

SELECT driver FROM table_name_85 WHERE nor_1 = "22"


Question: What Date had a Result of draw, and a Venue of lord's?

Context: CREATE TABLE table_name_28 (date VARCHAR, result VARCHAR, venue VARCHAR)

SELECT date FROM table_name_28 WHERE result = "draw" AND venue = "lord's"


Question: What Date that had a Result of draw, with Oval as a venue?

Context: CREATE TABLE table_name_32 (date VARCHAR, result VARCHAR, venue VARCHAR)

SELECT date FROM table_name_32 WHERE result = "draw" AND venue = "oval"


Question: What is the Away captain when the Result was draw, and a Venue of lord's?

Context: CREATE TABLE table_name_72 (away_captain VARCHAR, result VARCHAR, venue VARCHAR)

SELECT away_captain FROM table_name_72 WHERE result = "draw" AND venue = "lord's"


Question: What is the Date when the match Resulted in a draw?

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

SELECT date FROM table_name_95 WHERE result = "draw"


Question: What was the margin of victory when the winning score was –10 (70-72-68-68=278)?

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

SELECT margin_of_victory FROM table_name_6 WHERE winning_score = –10(70 - 72 - 68 - 68 = 278)


Question: When Gary Player was the runner-up, what was the margin of victory?

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

SELECT margin_of_victory FROM table_name_28 WHERE runner_s__up = "gary player"


Question: In what tournament was the winning score –10 (68-71-69-70=278)?

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

SELECT tournament FROM table_name_21 WHERE winning_score = –10(68 - 71 - 69 - 70 = 278)


Question: What is the highest number of wins when more than 17 cuts and more than 25 starts were made, and the top 10 ranking is less than 8?

Context: CREATE TABLE table_name_95 (wins INTEGER, top_10 VARCHAR, cuts_made VARCHAR, starts VARCHAR)

SELECT MAX(wins) FROM table_name_95 WHERE cuts_made > 17 AND starts > 25 AND top_10 < 8


Question: What is the average number of starts when the money list rank is 108 and the rank in the top 25 is greater than 4?

Context: CREATE TABLE table_name_58 (starts INTEGER, money_list_rank VARCHAR, top_25 VARCHAR)

SELECT AVG(starts) FROM table_name_58 WHERE money_list_rank = "108" AND top_25 > 4


Question: What is the average number of starts when 11 cuts were made and the top 10 ranking is larger than 4?

Context: CREATE TABLE table_name_33 (starts INTEGER, cuts_made VARCHAR, top_10 VARCHAR)

SELECT AVG(starts) FROM table_name_33 WHERE cuts_made = 11 AND top_10 > 4


Question: What is the Name when the position is g, and weight is 190 pounds?

Context: CREATE TABLE table_name_54 (name VARCHAR, position VARCHAR, weight__lbs_ VARCHAR)

SELECT name FROM table_name_54 WHERE position = "g" AND weight__lbs_ = 190


Question: Who was the home team of the game on 2 February 2006?

Context: CREATE TABLE table_name_12 (home VARCHAR, date VARCHAR)

SELECT home FROM table_name_12 WHERE date = "2 february 2006"


Question: What is the home team of the game with Warriors as the visitor team?

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

SELECT home FROM table_name_35 WHERE visitor = "warriors"


Question: What date was the match on a hard surface with a score of 6–4, 2–6, 3–6?

Context: CREATE TABLE table_name_83 (date VARCHAR, surface VARCHAR, score VARCHAR)

SELECT date FROM table_name_83 WHERE surface = "hard" AND score = "6–4, 2–6, 3–6"


Question: What is the Score of the match on a clay surface with an outcome of winner, at the tournament ciudad juárez, and an Opponent in the final of estefania craciún?

Context: CREATE TABLE table_name_48 (score VARCHAR, opponent_in_the_final VARCHAR, tournament VARCHAR, surface VARCHAR, outcome VARCHAR)

SELECT score FROM table_name_48 WHERE surface = "clay" AND outcome = "winner" AND tournament = "ciudad juárez" AND opponent_in_the_final = "estefania craciún"


Question: What is the Outcome of the match with a Score of 6–3, 6–4?

Context: CREATE TABLE table_name_2 (outcome VARCHAR, score VARCHAR)

SELECT outcome FROM table_name_2 WHERE score = "6–3, 6–4"


Question: What is the Outcome of the match with a Score of 6–3, 6–4?

Context: CREATE TABLE table_name_75 (outcome VARCHAR, score VARCHAR)

SELECT outcome FROM table_name_75 WHERE score = "6–3, 6–4"


Question: What is the Outcome of the match on 12 september 2004?

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

SELECT outcome FROM table_name_21 WHERE date = "12 september 2004"


Question: What was the Surface when the Score was 6–4, 2–6, 3–6?

Context: CREATE TABLE table_name_17 (surface VARCHAR, score VARCHAR)

SELECT surface FROM table_name_17 WHERE score = "6–4, 2–6, 3–6"


Question: What was the total attendance at a game against the Pittsburgh Steelers before week 4?

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

SELECT COUNT(attendance) FROM table_name_76 WHERE opponent = "pittsburgh steelers" AND week < 4


Question: What was the date of the game held at the A venue with a result of 0-1 against the Rangers?

Context: CREATE TABLE table_name_87 (date VARCHAR, opponent VARCHAR, venue VARCHAR, result VARCHAR)

SELECT date FROM table_name_87 WHERE venue = "a" AND result = "0-1" AND opponent = "rangers"


Question: Who was the opponent on November 11, 2001?

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

SELECT opponent FROM table_name_4 WHERE date = "november 11, 2001"


Question: Who was the opponent before week 5 that played on September 23, 2001?

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

SELECT opponent FROM table_name_99 WHERE week < 5 AND date = "september 23, 2001"


Question: What is the frequency of the Turion 64 X2 TL-62?

Context: CREATE TABLE table_name_8 (frequency VARCHAR, model_number VARCHAR)

SELECT frequency FROM table_name_8 WHERE model_number = "turion 64 x2 tl-62"


Question: What is the socket for Order Part Number TMDTL68HAX5DM?

Context: CREATE TABLE table_name_67 (socket VARCHAR, order_part_number VARCHAR)

SELECT socket FROM table_name_67 WHERE order_part_number = "tmdtl68hax5dm"


Question: What is the multiplier 1 for chips with a frequency of 1800MHz?

Context: CREATE TABLE table_name_25 (multiplier_1 VARCHAR, frequency VARCHAR)

SELECT multiplier_1 FROM table_name_25 WHERE frequency = "1800mhz"


Question: What is the socket type for the processor with a multiplier 1 of 11.5x?

Context: CREATE TABLE table_name_66 (socket VARCHAR, multiplier_1 VARCHAR)

SELECT socket FROM table_name_66 WHERE multiplier_1 = "11.5x"


Question: What is the highest sample size administered on October 18?

Context: CREATE TABLE table_name_35 (sample_size INTEGER, date_s__administered VARCHAR)

SELECT MAX(sample_size) FROM table_name_35 WHERE date_s__administered = "october 18"


Question: What is the percentage for Mel Martinez when the sample size is 800?

Context: CREATE TABLE table_name_6 (mel_martinez__r_ VARCHAR, sample_size VARCHAR)

SELECT mel_martinez__r_ FROM table_name_6 WHERE sample_size = 800


Question: How many games were played by the Scottish Wanderers where less than 5 Points were scored?

Context: CREATE TABLE table_name_21 (played INTEGER, team VARCHAR, points VARCHAR)

SELECT SUM(played) FROM table_name_21 WHERE team = "scottish wanderers" AND points < 5


Question: How many games were played where exactly 15 points were scored?

Context: CREATE TABLE table_name_34 (played INTEGER, points VARCHAR)

SELECT SUM(played) FROM table_name_34 WHERE points = 15


Question: What LINER class has a W.A. of 0-6-0st with a 2 No. Built?

Context: CREATE TABLE table_name_44 (lner_class VARCHAR, wa VARCHAR, no_built VARCHAR)

SELECT lner_class FROM table_name_44 WHERE wa = "0-6-0st" AND no_built = 2


Question: What is the pick number for Peter Moore of the Montreal Alouettes?

Context: CREATE TABLE table_name_74 (pick__number VARCHAR, cfl_team VARCHAR, player VARCHAR)

SELECT pick__number FROM table_name_74 WHERE cfl_team = "montreal alouettes" AND player = "peter moore"


Question: What CFL team did Kelly Bates play for?

Context: CREATE TABLE table_name_32 (cfl_team VARCHAR, player VARCHAR)

SELECT cfl_team FROM table_name_32 WHERE player = "kelly bates"


Question: How many average total matches have a swansea win less than 3, fa cup as the competition, with a draw less than 0?

Context: CREATE TABLE table_name_23 (total_matches INTEGER, draw VARCHAR, swansea_win VARCHAR, competition VARCHAR)

SELECT AVG(total_matches) FROM table_name_23 WHERE swansea_win < 3 AND competition = "fa cup" AND draw < 0


Question: How many cardiff wins have a draw greater than 27?

Context: CREATE TABLE table_name_26 (cardiff_win VARCHAR, draw INTEGER)

SELECT COUNT(cardiff_win) FROM table_name_26 WHERE draw > 27


Question: How many average total matches have league cup as the competition, with a draw greater than 0?

Context: CREATE TABLE table_name_34 (total_matches INTEGER, competition VARCHAR, draw VARCHAR)

SELECT AVG(total_matches) FROM table_name_34 WHERE competition = "league cup" AND draw > 0


Question: What is the number of tries for when the try bonus is 0?

Context: CREATE TABLE table_name_16 (tries_for VARCHAR, try_bonus VARCHAR)

SELECT tries_for FROM table_name_16 WHERE try_bonus = "0"


Question: How many points is there when the lost is 6 and the try bonus is 9?

Context: CREATE TABLE table_name_24 (points_for VARCHAR, lost VARCHAR, try_bonus VARCHAR)

SELECT points_for FROM table_name_24 WHERE lost = "6" AND try_bonus = "9"


Question: How many pints does the Cambrian Welfare RFC have?

Context: CREATE TABLE table_name_50 (points_for VARCHAR, club VARCHAR)

SELECT points_for FROM table_name_50 WHERE club = "cambrian welfare rfc"


Question: When the try bonus is 9 and the lost 4, what is the drawn?

Context: CREATE TABLE table_name_50 (drawn VARCHAR, try_bonus VARCHAR, lost VARCHAR)

SELECT drawn FROM table_name_50 WHERE try_bonus = "9" AND lost = "4"


Question: Club Clwb Rygbi Cymru Caerdydd RFC has how many points?

Context: CREATE TABLE table_name_40 (points VARCHAR, club VARCHAR)

SELECT points FROM table_name_40 WHERE club = "clwb rygbi cymru caerdydd rfc"


Question: What is the highest Rank with a density less than 376.37, the province was valverde, and an Area larger than 823?

Context: CREATE TABLE table_name_68 (rank INTEGER, area VARCHAR, density VARCHAR, province VARCHAR)

SELECT MAX(rank) FROM table_name_68 WHERE density < 376.37 AND province = "valverde" AND area > 823


Question: What is the highest Density for the independencia province, with an area smaller than 2,007.4?

Context: CREATE TABLE table_name_88 (density INTEGER, province VARCHAR, area VARCHAR)

SELECT MAX(density) FROM table_name_88 WHERE province = "independencia" AND area < 2 OFFSET 007.4


Question: Which 2nd leg has pamesa valencia for team #2?

Context: CREATE TABLE table_name_52 (team__number2 VARCHAR)

SELECT 2 AS nd_leg FROM table_name_52 WHERE team__number2 = "pamesa valencia"


Question: What is the team #1 that has unics kazan for team #2?

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

SELECT team__number1 FROM table_name_97 WHERE team__number2 = "unics kazan"


Question: What is the 1st leg that has akasvayu girona as team #2?

Context: CREATE TABLE table_name_37 (team__number2 VARCHAR)

SELECT 1 AS st_leg FROM table_name_37 WHERE team__number2 = "akasvayu girona"


Question: Which Wins has a Tournament of totals, and a Cuts made larger than 42?

Context: CREATE TABLE table_name_2 (wins INTEGER, tournament VARCHAR, cuts_made VARCHAR)

SELECT AVG(wins) FROM table_name_2 WHERE tournament = "totals" AND cuts_made > 42


Question: Which Top-10 has a Cuts made larger than 42?

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

SELECT MIN(top_10) FROM table_name_57 WHERE cuts_made > 42


Question: Which Wins has a Top-5 of 6?

Context: CREATE TABLE table_name_26 (wins INTEGER, top_5 VARCHAR)

SELECT AVG(wins) FROM table_name_26 WHERE top_5 = 6


Question: Which Cuts made has a Top-25 smaller than 3?

Context: CREATE TABLE table_name_26 (cuts_made INTEGER, top_25 INTEGER)

SELECT MAX(cuts_made) FROM table_name_26 WHERE top_25 < 3


Question: Which Top-10 has a Cuts made of 10, and a Top-5 larger than 1?

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

SELECT MIN(top_10) FROM table_name_95 WHERE cuts_made = 10 AND top_5 > 1


Question: Concerning protestantism by country, the ranking is out of how many total?

Context: CREATE TABLE table_name_62 (out_of VARCHAR, source VARCHAR)

SELECT out_of FROM table_name_62 WHERE source = "protestantism by country"


Question: What is the lowest rank that the protestants population holds?

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

SELECT MIN(rank) FROM table_name_67 WHERE name = "protestants population"


Question: The album titled I had what chart positions?

Context: CREATE TABLE table_name_21 (chart_positions VARCHAR, album_title VARCHAR)

SELECT chart_positions FROM table_name_21 WHERE album_title = "i"


Question: What is the title of the album that has Popup has the original label?

Context: CREATE TABLE table_name_25 (album_title VARCHAR, original_label VARCHAR)

SELECT album_title FROM table_name_25 WHERE original_label = "popup"


Question: What is the format of the album with a year less than 1992?

Context: CREATE TABLE table_name_58 (format VARCHAR, year INTEGER)

SELECT format FROM table_name_58 WHERE year < 1992


Question: What chart positions did the album reach when ep was the format?

Context: CREATE TABLE table_name_1 (chart_positions VARCHAR, format VARCHAR)

SELECT chart_positions FROM table_name_1 WHERE format = "ep"


Question: What was the average pick with Ed O'Bannon and a round smaller than 1?

Context: CREATE TABLE table_name_74 (pick INTEGER, player VARCHAR, round VARCHAR)

SELECT AVG(pick) FROM table_name_74 WHERE player = "ed o'bannon" AND round < 1


Question: What player was drafted for the Detroit Pistons?

Context: CREATE TABLE table_name_27 (player VARCHAR, nba_team VARCHAR)

SELECT player FROM table_name_27 WHERE nba_team = "detroit pistons"


Question: Which Team 2 had a Team 1 of montreal impact?

Context: CREATE TABLE table_name_81 (team_2 VARCHAR, team_1 VARCHAR)

SELECT team_2 FROM table_name_81 WHERE team_1 = "montreal impact"


Question: Which Team 2 had a Team 1of joe public?

Context: CREATE TABLE table_name_52 (team_2 VARCHAR, team_1 VARCHAR)

SELECT team_2 FROM table_name_52 WHERE team_1 = "joe public"


Question: Which team 1 had a Team 2 of hankook verdes?

Context: CREATE TABLE table_name_19 (team_1 VARCHAR, team_2 VARCHAR)

SELECT team_1 FROM table_name_19 WHERE team_2 = "hankook verdes"


Question: What is the first leg score when team 2 is Wagad Mogadishu?

Context: CREATE TABLE table_name_61 (team_2 VARCHAR)

SELECT 1 AS st_leg FROM table_name_61 WHERE team_2 = "wagad mogadishu"


Question: What is the Status with a Name that is anas cheuen?

Context: CREATE TABLE table_name_77 (status VARCHAR, name VARCHAR)

SELECT status FROM table_name_77 WHERE name = "anas cheuen"


Question: What is the Unit with a Name that is anas cheuen?

Context: CREATE TABLE table_name_58 (unit VARCHAR, name VARCHAR)

SELECT unit FROM table_name_58 WHERE name = "anas cheuen"


Question: What team was the Opponent when the Score was 31-6?

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

SELECT opponent FROM table_name_83 WHERE score = "31-6"


Question: What is the Score when the record was 9-3-0?

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

SELECT score FROM table_name_76 WHERE record = "9-3-0"


Question: What is the away team where the home team is Coventry City?

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

SELECT away_team FROM table_name_73 WHERE home_team = "coventry city"


Question: What is the score where the away team is Exeter City?

Context: CREATE TABLE table_name_20 (score VARCHAR, away_team VARCHAR)

SELECT score FROM table_name_20 WHERE away_team = "exeter city"


Question: How many ties does Walsall have?

Context: CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR)

SELECT tie_no FROM table_name_97 WHERE away_team = "walsall"


Question: Where Bolton Wanderers is the home team, who is the away team?

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

SELECT away_team FROM table_name_7 WHERE home_team = "bolton wanderers"


Question: How many ties are there where attendance is 11,997?

Context: CREATE TABLE table_name_43 (tie_no VARCHAR, attendance VARCHAR)

SELECT tie_no FROM table_name_43 WHERE attendance = "11,997"


Question: Where the away team is Bradford City, who is the home team?

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

SELECT home_team FROM table_name_83 WHERE away_team = "bradford city"


Question: For which school/club team did the player in the position of Guard/Forward play?

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

SELECT school_club_team FROM table_name_35 WHERE position = "guard/forward"


Question: How was the player in the position of Center acquired?

Context: CREATE TABLE table_name_26 (acquisition_via VARCHAR, position VARCHAR)

SELECT acquisition_via FROM table_name_26 WHERE position = "center"


Question: In what season did Omar Thomas play, with a jersey number larger than 15?

Context: CREATE TABLE table_name_81 (season VARCHAR, number VARCHAR, name VARCHAR)

SELECT season FROM table_name_81 WHERE number > 15 AND name = "omar thomas"


Question: How many total players came from the school/club team of De La Salle?

Context: CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR)

SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"


Question: Which player is in the position of Guard/Forward?

Context: CREATE TABLE table_name_67 (name VARCHAR, position VARCHAR)

SELECT name FROM table_name_67 WHERE position = "guard/forward"


Question: What is the most wins associated with under 4 events with 0 top-5s?

Context: CREATE TABLE table_name_38 (wins INTEGER, top_5 VARCHAR, events VARCHAR)

SELECT MAX(wins) FROM table_name_38 WHERE top_5 > 0 AND events < 4


Question: What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?

Context: CREATE TABLE table_name_98 (events INTEGER, cuts_made VARCHAR, top_10 VARCHAR, wins VARCHAR)

SELECT AVG(events) FROM table_name_98 WHERE top_10 = 1 AND wins > 0 AND cuts_made < 4


Question: What is the average number of wins for events larger than 28?

Context: CREATE TABLE table_name_22 (wins INTEGER, events INTEGER)

SELECT AVG(wins) FROM table_name_22 WHERE events > 28


Question: What is the sum of top-25s for events with more than 1 top-5?

Context: CREATE TABLE table_name_71 (top_25 INTEGER, top_5 INTEGER)

SELECT SUM(top_25) FROM table_name_71 WHERE top_5 > 1


Question: Who is the producer of city sharks?

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

SELECT producer FROM table_name_57 WHERE title = "city sharks"


Question: What is the title of the film when the producer was 2003?

Context: CREATE TABLE table_name_65 (title VARCHAR, producer VARCHAR)

SELECT title FROM table_name_65 WHERE producer = "2003"


Question: Who is the director when the title is 2003?

Context: CREATE TABLE table_name_27 (director VARCHAR, title VARCHAR)

SELECT director FROM table_name_27 WHERE title = "2003"


Question: What is the production cost when the producer is raintree pictures?

Context: CREATE TABLE table_name_63 (production_cost VARCHAR, producer VARCHAR)

SELECT production_cost FROM table_name_63 WHERE producer = "raintree pictures"


Question: What was the lowest attendance at a week 15 game?

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

SELECT MIN(attendance) FROM table_name_50 WHERE week = 15


Question: What is the Score for the game with a record of 38-18?

Context: CREATE TABLE table_name_84 (score VARCHAR, record VARCHAR)

SELECT score FROM table_name_84 WHERE record = "38-18"


Question: What team was the opponent when the score was 8-2?

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

SELECT opponent FROM table_name_24 WHERE score = "8-2"


Question: What is the Location when the opponent shows vs. ole miss, and a Loss of mckean (4-1)?

Context: CREATE TABLE table_name_41 (location VARCHAR, opponent VARCHAR, loss VARCHAR)

SELECT location FROM table_name_41 WHERE opponent = "vs. ole miss" AND loss = "mckean (4-1)"


Question: What is the name of the Opponent when there is a Record of 39-19?

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

SELECT opponent FROM table_name_79 WHERE record = "39-19"


Question: What is the Record on may 24, with a Loss of hayes (2-1)?

Context: CREATE TABLE table_name_98 (record VARCHAR, date VARCHAR, loss VARCHAR)

SELECT record FROM table_name_98 WHERE date = "may 24" AND loss = "hayes (2-1)"


Question: What is the Location when the Opponent shows vs. #23 south carolina?

Context: CREATE TABLE table_name_83 (location VARCHAR, opponent VARCHAR)

SELECT location FROM table_name_83 WHERE opponent = "vs. #23 south carolina"


Question: What is that if the weight for the play born on June 2, 1983?

Context: CREATE TABLE table_name_90 (weight__kg_ INTEGER, birthdate VARCHAR)

SELECT SUM(weight__kg_) FROM table_name_90 WHERE birthdate = "june 2, 1983"


Question: What was the highest weight in kg for F Position, Jersey #12?

Context: CREATE TABLE table_name_41 (weight__kg_ INTEGER, position VARCHAR, jersey__number VARCHAR)

SELECT MAX(weight__kg_) FROM table_name_41 WHERE position = "f" AND jersey__number = 12


Question: Which player is the NHL right, who was born in Downers Grove, Illinois?

Context: CREATE TABLE table_name_7 (nhl_rights VARCHAR, _if_any VARCHAR, birthplace VARCHAR)

SELECT nhl_rights, _if_any FROM table_name_7 WHERE birthplace = "downers grove, illinois"


Question: Which coding's variant id is abd'1a 3?

Context: CREATE TABLE table_name_48 (coding VARCHAR, variant_id VARCHAR)

SELECT coding FROM table_name_48 WHERE variant_id = "abd'1a 3"


Question: Which 5'utr splice's coding is 1a 2, when the Variant id is abd'1a 2?

Context: CREATE TABLE table_name_70 (coding VARCHAR, variant_id VARCHAR)

SELECT 5 AS ’utr_splice FROM table_name_70 WHERE coding = "1a 2" AND variant_id = "abd'1a 2"


Question: Which genbank id's variant is abd1a?

Context: CREATE TABLE table_name_41 (genbank_id VARCHAR, variant_id VARCHAR)

SELECT genbank_id FROM table_name_41 WHERE variant_id = "abd1a"


Question: What year did Orlando have a School/Club team in Clemson?

Context: CREATE TABLE table_name_53 (years_in_orlando VARCHAR, school_club_team VARCHAR)

SELECT years_in_orlando FROM table_name_53 WHERE school_club_team = "clemson"


Question: What years did the player in Orlando play that is from the United States, and is part of the school/club team Clemson?

Context: CREATE TABLE table_name_7 (years_in_orlando VARCHAR, nationality VARCHAR, school_club_team VARCHAR)

SELECT years_in_orlando FROM table_name_7 WHERE nationality = "united states" AND school_club_team = "clemson"


Question: Who is the player for the School/Club team in Georgia?

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

SELECT player FROM table_name_73 WHERE school_club_team = "georgia"


Question: What was the nationality of the player Pat Garrity?

Context: CREATE TABLE table_name_28 (nationality VARCHAR, player VARCHAR)

SELECT nationality FROM table_name_28 WHERE player = "pat garrity"


Question: What is the nationality of the School/Club team of Louisville?

Context: CREATE TABLE table_name_43 (nationality VARCHAR, school_club_team VARCHAR)

SELECT nationality FROM table_name_43 WHERE school_club_team = "louisville"


Question: How many features did Adam Carroll win 6 times when the start was larger than 32?

Context: CREATE TABLE table_name_88 (feature VARCHAR, starts VARCHAR, wins VARCHAR, driver VARCHAR)

SELECT COUNT(feature) FROM table_name_88 WHERE wins = 6 AND driver = "adam carroll" AND starts > 32


Question: What is the lowest feature with 2 wins and 2 sprints?

Context: CREATE TABLE table_name_32 (feature INTEGER, wins VARCHAR, sprint VARCHAR)

SELECT MIN(feature) FROM table_name_32 WHERE wins = 2 AND sprint = 2


Question: How many sprints on average had 10 wins and less than 5 features?

Context: CREATE TABLE table_name_85 (sprint INTEGER, wins VARCHAR, feature VARCHAR)

SELECT AVG(sprint) FROM table_name_85 WHERE wins = 10 AND feature < 5


Question: Which country has a lane greater than 6 and a mark of 6.63?

Context: CREATE TABLE table_name_80 (country VARCHAR, lane VARCHAR, mark VARCHAR)

SELECT country FROM table_name_80 WHERE lane > 6 AND mark = "6.63"


Question: What is the lowest lane for Nigeria, with a react less than 0.133?

Context: CREATE TABLE table_name_17 (lane INTEGER, country VARCHAR, react VARCHAR)

SELECT MIN(lane) FROM table_name_17 WHERE country = "nigeria" AND react < 0.133


Question: What is the mark for Kim Collins?

Context: CREATE TABLE table_name_11 (mark VARCHAR, name VARCHAR)

SELECT mark FROM table_name_11 WHERE name = "kim collins"


Question: Which country had 1 Bronze, 1 Silver, with a total of 3 medals?

Context: CREATE TABLE table_name_10 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR)

SELECT nation FROM table_name_10 WHERE bronze = 1 AND total = 3 AND silver = 1


Question: Which country had more than 2 silvers and less than 4 golds?

Context: CREATE TABLE table_name_65 (nation VARCHAR, silver VARCHAR, gold VARCHAR)

SELECT nation FROM table_name_65 WHERE silver > 2 AND gold < 4


Question: What's the average bronze with a total number of medals being 1, with more than 0 silvers?

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

SELECT AVG(bronze) FROM table_name_25 WHERE total = 1 AND silver > 0


Question: In the 2005 season, how many races did the 15th place team complete?

Context: CREATE TABLE table_name_98 (races INTEGER, final_placing VARCHAR, season VARCHAR)

SELECT AVG(races) FROM table_name_98 WHERE final_placing = "15th" AND season = "2005"


Question: Which team completed 10 races?

Context: CREATE TABLE table_name_92 (team_name VARCHAR, races VARCHAR)

SELECT team_name FROM table_name_92 WHERE races = 10


Question: What is the PBA team with a Pick that is 4?

Context: CREATE TABLE table_name_35 (pba_team VARCHAR, pick VARCHAR)

SELECT pba_team FROM table_name_35 WHERE pick = 4


Question: What is the Player with a Pick that is 6?

Context: CREATE TABLE table_name_15 (player VARCHAR, pick VARCHAR)

SELECT player FROM table_name_15 WHERE pick = 6


Question: How many totals have 1 gold and a rank smaller than 2?

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

SELECT COUNT(total) FROM table_name_32 WHERE gold = 1 AND rank < 2


Question: How much gold did South Korea get?

Context: CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR)

SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea"


Question: What locomotive built after 1895 has the highest SLM number?

Context: CREATE TABLE table_name_26 (SLM INTEGER, built INTEGER)

SELECT MAX(SLM) AS number FROM table_name_26 WHERE built > 1895


Question: Which type of locomotive was built in 1923?

Context: CREATE TABLE table_name_46 (type VARCHAR, built VARCHAR)

SELECT type FROM table_name_46 WHERE built = 1923


Question: When the United Kingdom had a time of 1:30.51.2, what was the lowest that they ranked?

Context: CREATE TABLE table_name_8 (place INTEGER, country VARCHAR, time VARCHAR)

SELECT MIN(place) FROM table_name_8 WHERE country = "united kingdom" AND time = "1:30.51.2"


Question: What County scored with a speed of 98.09mph?

Context: CREATE TABLE table_name_7 (country VARCHAR, speed VARCHAR)

SELECT country FROM table_name_7 WHERE speed = "98.09mph"


Question: What is Set 4, when Date is Jun 27, and when Set 3 is 17-25?

Context: CREATE TABLE table_name_64 (set_4 VARCHAR, date VARCHAR, set_3 VARCHAR)

SELECT set_4 FROM table_name_64 WHERE date = "jun 27" AND set_3 = "17-25"


Question: What is Score, when Set 3 is 17-25?

Context: CREATE TABLE table_name_67 (score VARCHAR, set_3 VARCHAR)

SELECT score FROM table_name_67 WHERE set_3 = "17-25"


Question: What is Set 5, when Date is Jun 26, and when Set 2 is 25-22?

Context: CREATE TABLE table_name_46 (set_5 VARCHAR, date VARCHAR, set_2 VARCHAR)

SELECT set_5 FROM table_name_46 WHERE date = "jun 26" AND set_2 = "25-22"


Question: What is Set 1, when Set 3 is 22-25?

Context: CREATE TABLE table_name_39 (set_1 VARCHAR, set_3 VARCHAR)

SELECT set_1 FROM table_name_39 WHERE set_3 = "22-25"


Question: What is Set 1, when Date is Jun 26, and when Set 4 is 26-24?

Context: CREATE TABLE table_name_87 (set_1 VARCHAR, date VARCHAR, set_4 VARCHAR)

SELECT set_1 FROM table_name_87 WHERE date = "jun 26" AND set_4 = "26-24"


Question: What is Set 4, when Set 5 is NA, and when Set 3 is 19-25?

Context: CREATE TABLE table_name_10 (set_4 VARCHAR, set_5 VARCHAR, set_3 VARCHAR)

SELECT set_4 FROM table_name_10 WHERE set_5 = "na" AND set_3 = "19-25"


Question: What is the Team when the match was in buenos aires , argentina?

Context: CREATE TABLE table_name_60 (team VARCHAR, location VARCHAR)

SELECT team FROM table_name_60 WHERE location = "buenos aires , argentina"


Question: What is the Location when the team was seve ballesteros & manuel piñero?

Context: CREATE TABLE table_name_61 (location VARCHAR, team VARCHAR)

SELECT location FROM table_name_61 WHERE team = "seve ballesteros & manuel piñero"


Question: What is the Location when the individual was josé maria cañizares?

Context: CREATE TABLE table_name_23 (location VARCHAR, individual VARCHAR)

SELECT location FROM table_name_23 WHERE individual = "josé maria cañizares"


Question: What is the highest Year when the team was seve ballesteros & manuel piñero?

Context: CREATE TABLE table_name_59 (year INTEGER, team VARCHAR)

SELECT MAX(year) FROM table_name_59 WHERE team = "seve ballesteros & manuel piñero"


Question: What is the total number of acres at Sai Tso Wan, opening before 1978?

Context: CREATE TABLE table_name_29 (acres VARCHAR, landfill VARCHAR, opened VARCHAR)

SELECT COUNT(acres) FROM table_name_29 WHERE landfill = "sai tso wan" AND opened < 1978


Question: Which Rank has a Goals smaller than 76, and a Matches larger than 270?

Context: CREATE TABLE table_name_42 (rank INTEGER, goals VARCHAR, matches VARCHAR)

SELECT SUM(rank) FROM table_name_42 WHERE goals < 76 AND matches > 270


Question: Which Matches have a Rank smaller than 5, a Years of 1995–2003, and a Goals smaller than 104?

Context: CREATE TABLE table_name_67 (matches INTEGER, goals VARCHAR, rank VARCHAR, years VARCHAR)

SELECT AVG(matches) FROM table_name_67 WHERE rank < 5 AND years = "1995–2003" AND goals < 104


Question: Which Goals have a Name of lee dong-gook?

Context: CREATE TABLE table_name_17 (goals INTEGER, name VARCHAR)

SELECT MAX(goals) FROM table_name_17 WHERE name = "lee dong-gook"


Question: Which Rank has a Years of 1998–present?

Context: CREATE TABLE table_name_82 (rank INTEGER, years VARCHAR)

SELECT AVG(rank) FROM table_name_82 WHERE years = "1998–present"


Question: Which Matches have a Rank of 2?

Context: CREATE TABLE table_name_94 (matches VARCHAR, rank VARCHAR)

SELECT COUNT(matches) FROM table_name_94 WHERE rank = 2


Question: What Position was achieved in the World Championships Competition in Tokyo, Japan?

Context: CREATE TABLE table_name_24 (position VARCHAR, competition VARCHAR, venue VARCHAR)

SELECT position FROM table_name_24 WHERE competition = "world championships" AND venue = "tokyo, japan"


Question: Which Competition was 1st Position with 57.03 in Notes?

Context: CREATE TABLE table_name_57 (competition VARCHAR, position VARCHAR, notes VARCHAR)

SELECT competition FROM table_name_57 WHERE position = "1st" AND notes = "57.03"


Question: What is the earliest Year for 400m h Event with 54.86 in Notes?

Context: CREATE TABLE table_name_55 (year INTEGER, event VARCHAR, notes VARCHAR)

SELECT MIN(year) FROM table_name_55 WHERE event = "400m h" AND notes = "54.86"


Question: What is the total number of appearances for players from Chaux-de-Fonds with places over 8?

Context: CREATE TABLE table_name_25 (appearances VARCHAR, team VARCHAR, place VARCHAR)

SELECT COUNT(appearances) FROM table_name_25 WHERE team = "chaux-de-fonds" AND place > 8


Question: What is the highest week of the game on November 9, 1997?

Context: CREATE TABLE table_name_1 (week INTEGER, date VARCHAR)

SELECT MAX(week) FROM table_name_1 WHERE date = "november 9, 1997"


Question: Which Proto-Austronesian has a Proto-Oceanic of *lima?

Context: CREATE TABLE table_name_97 (proto_austronesian VARCHAR, proto_oceanic VARCHAR)

SELECT proto_austronesian FROM table_name_97 WHERE proto_oceanic = "*lima"


Question: Which Proto-Oceanic has a Proto-Polynesian of *lima?

Context: CREATE TABLE table_name_85 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)

SELECT proto_oceanic FROM table_name_85 WHERE proto_polynesian = "*lima"


Question: Which Number has a Proto-Polynesian of *taha?

Context: CREATE TABLE table_name_71 (number VARCHAR, proto_polynesian VARCHAR)

SELECT number FROM table_name_71 WHERE proto_polynesian = "*taha"


Question: WHich Proto-Polynesian has a Number of five?

Context: CREATE TABLE table_name_69 (proto_polynesian VARCHAR, number VARCHAR)

SELECT proto_polynesian FROM table_name_69 WHERE number = "five"


Question: Which Proto-Polynesian has a Proto-Malayo-Polynesian of *telu?

Context: CREATE TABLE table_name_50 (proto_polynesian VARCHAR, proto_malayo_polynesian VARCHAR)

SELECT proto_polynesian FROM table_name_50 WHERE proto_malayo_polynesian = "*telu"


Question: Which  Proto-Oceanic has a Proto-Polynesian of *lima?

Context: CREATE TABLE table_name_48 (proto_oceanic VARCHAR, proto_polynesian VARCHAR)

SELECT proto_oceanic FROM table_name_48 WHERE proto_polynesian = "*lima"


Question: How many countries in 2009 have fewer than 1 in 1999, more than 0 in 2006 and none in 1997?

Context: CREATE TABLE table_name_49 (Id VARCHAR)

SELECT COUNT(2009) FROM table_name_49 WHERE 1999 < 1 AND 2006 > 0 AND 1997 < 0


Question: How much is the highest number in 2006 with fewer than 0 in 2002?

Context: CREATE TABLE table_name_16 (Id VARCHAR)

SELECT MAX(2006) FROM table_name_16 WHERE 2002 < 0


Question: How many are there in 2003 that have 0 in 2001, more than 0 in 2009 and fewer than 0 in 1999?

Context: CREATE TABLE table_name_97 (Id VARCHAR)

SELECT SUM(2003) FROM table_name_97 WHERE 2001 = 0 AND 2009 > 0 AND 1999 < 0


Question: Which country has more than 0 in 2012 and 2009, 0 in 2008 and more than 0 in 2004?

Context: CREATE TABLE table_name_18 (country VARCHAR)

SELECT country FROM table_name_18 WHERE 2012 > 0 AND 2009 > 0 AND 2008 = 0 AND 2004 > 0


Question: Which % GDP has an Expenditure larger than 50.9, and a Year larger than 2009, and an Income of 39.3?

Context: CREATE TABLE table_name_16 (_percentage_gdp VARCHAR, income VARCHAR, expenditure VARCHAR, year VARCHAR)

SELECT _percentage_gdp FROM table_name_16 WHERE expenditure > 50.9 AND year > 2009 AND income = 39.3


Question: Which Year has an Expenditure smaller than 41.3, and a % GDP of x, and an Income larger than 34.4?

Context: CREATE TABLE table_name_65 (year INTEGER, income VARCHAR, expenditure VARCHAR, _percentage_gdp VARCHAR)

SELECT SUM(year) FROM table_name_65 WHERE expenditure < 41.3 AND _percentage_gdp = "x" AND income > 34.4


Question: Which Surplus(Deficit) has an Expenditure larger than 45.8, and a Year smaller than 2011, and a % GDP of (0.9%)?

Context: CREATE TABLE table_name_88 (surplus_deficit_ VARCHAR, _percentage_gdp VARCHAR, expenditure VARCHAR, year VARCHAR)

SELECT surplus_deficit_ FROM table_name_88 WHERE expenditure > 45.8 AND year < 2011 AND _percentage_gdp = "(0.9%)"


Question: Which Year has an Expenditure of 55, and an Income smaller than 36.2?

Context: CREATE TABLE table_name_7 (year INTEGER, expenditure VARCHAR, income VARCHAR)

SELECT MIN(year) FROM table_name_7 WHERE expenditure = 55 AND income < 36.2


Question: Which % GDP has a Year smaller than 2011, and an Expenditure larger than 41.3, and an Income smaller than 48, and a Surplus(Deficit) of (24.6)?

Context: CREATE TABLE table_name_19 (_percentage_gdp VARCHAR, surplus_deficit_ VARCHAR, income VARCHAR, year VARCHAR, expenditure VARCHAR)

SELECT _percentage_gdp FROM table_name_19 WHERE year < 2011 AND expenditure > 41.3 AND income < 48 AND surplus_deficit_ = "(24.6)"


Question: What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?

Context: CREATE TABLE table_name_96 (year VARCHAR, tournament_name VARCHAR, runners_up VARCHAR)

SELECT year FROM table_name_96 WHERE tournament_name = "grand prix passing shot bordeaux" AND runners_up = "diego nargiso"


Question: What tournament had a score of 5–7, 6–4, 6–4?

Context: CREATE TABLE table_name_65 (tournament_name VARCHAR, score VARCHAR)

SELECT tournament_name FROM table_name_65 WHERE score = "5–7, 6–4, 6–4"


Question: After 1989, what was the score of the Grand Prix Passing Shot where the Runners-up were Jeff Tarango?

Context: CREATE TABLE table_name_65 (score VARCHAR, runners_up VARCHAR, year VARCHAR, tournament_name VARCHAR)

SELECT score FROM table_name_65 WHERE year > 1989 AND tournament_name = "grand prix passing shot" AND runners_up = "jeff tarango"


Question: What's the name of the tournament that Gianni Ocleppo was the runner-up?

Context: CREATE TABLE table_name_80 (tournament_name VARCHAR, runners_up VARCHAR)

SELECT tournament_name FROM table_name_80 WHERE runners_up = "gianni ocleppo"


Question: What is the lowest percentage of wins for 6½ games and more than 77 total wins?

Context: CREATE TABLE table_name_63 (win_percentage INTEGER, games_behind VARCHAR, wins VARCHAR)

SELECT MIN(win_percentage) FROM table_name_63 WHERE games_behind = "6½" AND wins > 77


Question: What is the score of the competition on November 10?

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

SELECT score FROM table_name_90 WHERE date = "november 10"


Question: Who is the visitor when the record is 2-1?

Context: CREATE TABLE table_name_95 (visitor VARCHAR, record VARCHAR)

SELECT visitor FROM table_name_95 WHERE record = "2-1"


Question: Who is the home team when the score is 81-80?

Context: CREATE TABLE table_name_56 (home VARCHAR, score VARCHAR)

SELECT home FROM table_name_56 WHERE score = "81-80"


Question: How many Gold medals did Japan receive who had a Total of more than 1 medals?

Context: CREATE TABLE table_name_39 (gold INTEGER, nation VARCHAR, total VARCHAR)

SELECT SUM(gold) FROM table_name_39 WHERE nation = "japan" AND total > 1


Question: What time (cst) has and NFL recap of recap with october 19, 2008 as the date?

Context: CREATE TABLE table_name_75 (time__cst_ VARCHAR, nfl_recap VARCHAR, date VARCHAR)

SELECT time__cst_ FROM table_name_75 WHERE nfl_recap = "recap" AND date = "october 19, 2008"


Question: Which week has giants stadium as the game site?

Context: CREATE TABLE table_name_57 (week VARCHAR, game_site VARCHAR)

SELECT week FROM table_name_57 WHERE game_site = "giants stadium"


Question: What is the lowest week that has 7:15 p.m. as the time (cst) and fedexfield as the game site?

Context: CREATE TABLE table_name_53 (week INTEGER, time__cst_ VARCHAR, game_site VARCHAR)

SELECT MIN(week) FROM table_name_53 WHERE time__cst_ = "7:15 p.m." AND game_site = "fedexfield"


Question: What office was law preservation ticket holder William E. Barron running for?

Context: CREATE TABLE table_name_51 (office VARCHAR, law_preservation_ticket VARCHAR)

SELECT office FROM table_name_51 WHERE law_preservation_ticket = "william e. barron"


Question: Who was the constitutional ticken when Charles B. Sears was the republican ticket?

Context: CREATE TABLE table_name_51 (constitutional_ticket VARCHAR, republican_ticket VARCHAR)

SELECT constitutional_ticket FROM table_name_51 WHERE republican_ticket = "charles b. sears"


Question: Who was the constitutional ticket when william karlin was the socialist ticket?

Context: CREATE TABLE table_name_95 (constitutional_ticket VARCHAR, socialist_ticket VARCHAR)

SELECT constitutional_ticket FROM table_name_95 WHERE socialist_ticket = "william karlin"


Question: What was the margin of victory on Mar 18, 1979?

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

SELECT margin_of_victory FROM table_name_69 WHERE date = "mar 18, 1979"


Question: What is the comp for the year 1989?

Context: CREATE TABLE table_name_42 (comp VARCHAR, year VARCHAR)

SELECT comp FROM table_name_42 WHERE year = "1989"


Question: What is the team in 1989?

Context: CREATE TABLE table_name_50 (team VARCHAR, year VARCHAR)

SELECT team FROM table_name_50 WHERE year = "1989"


Question: What is the RAtt in the year 1988?

Context: CREATE TABLE table_name_72 (ratt VARCHAR, year VARCHAR)

SELECT ratt FROM table_name_72 WHERE year = "1988"


Question: What was the team with a Ratt of 42?

Context: CREATE TABLE table_name_73 (team VARCHAR, ratt VARCHAR)

SELECT team FROM table_name_73 WHERE ratt = "42"


Question: What was the team with a ratt of 57?

Context: CREATE TABLE table_name_18 (team VARCHAR, ratt VARCHAR)

SELECT team FROM table_name_18 WHERE ratt = "57"


Question: Who did the Giants play before week 7 in Tulane Stadium?

Context: CREATE TABLE table_name_25 (opponent VARCHAR, week VARCHAR, game_site VARCHAR)

SELECT opponent FROM table_name_25 WHERE week < 7 AND game_site = "tulane stadium"


Question: What was the lowest attendance for week 1?

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

SELECT MIN(attendance) FROM table_name_48 WHERE week = 1


Question: What is the highest rank of a player from Ethiopia?

Context: CREATE TABLE table_name_8 (rank INTEGER, country VARCHAR)

SELECT MAX(rank) FROM table_name_8 WHERE country = "ethiopia"


Question: How many ranks had 367 matches and more than 216 goals?

Context: CREATE TABLE table_name_94 (rank INTEGER, matches VARCHAR, goals VARCHAR)

SELECT SUM(rank) FROM table_name_94 WHERE matches = 367 AND goals > 216


Question: What is the mean rank number when goals are 230 and there are more than 535?

Context: CREATE TABLE table_name_86 (rank INTEGER, goals VARCHAR, matches VARCHAR)

SELECT AVG(rank) FROM table_name_86 WHERE goals = 230 AND matches > 535


Question: Where the audience share is 8%, what is the original airing?

Context: CREATE TABLE table_name_60 (original_airing VARCHAR, audience_share__average_ VARCHAR)

SELECT original_airing FROM table_name_60 WHERE audience_share__average_ = "8%"


Question: What episode number has an audience share of 10%?

Context: CREATE TABLE table_name_80 (episode_number VARCHAR, audience_share__average_ VARCHAR)

SELECT COUNT(episode_number) FROM table_name_80 WHERE audience_share__average_ = "10%"


Question: What is the value for the item "Class" when the value of the item "Wheels" is 137?

Context: CREATE TABLE table_name_97 (class VARCHAR, wheels VARCHAR)

SELECT class FROM table_name_97 WHERE wheels = 137


Question: What's the smallest number of games for the fenerbahçe team?

Context: CREATE TABLE table_name_84 (games INTEGER, team VARCHAR)

SELECT MIN(games) FROM table_name_84 WHERE team = "fenerbahçe"


Question: What's the mean game number for the olympiacos team when there's less than 17 rebounds?

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

SELECT AVG(games) FROM table_name_75 WHERE team = "olympiacos" AND rebounds < 17


Question: How many games does novica veličković have when there's more than 24 rebounds?

Context: CREATE TABLE table_name_57 (games VARCHAR, name VARCHAR, rebounds VARCHAR)

SELECT COUNT(games) FROM table_name_57 WHERE name = "novica veličković" AND rebounds > 24


Question: What is the League with a Year that is 1990/91?

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

SELECT league FROM table_name_64 WHERE year = "1990/91"


Question: What is the ICAO for simferopol international airport?

Context: CREATE TABLE table_name_75 (icao VARCHAR, airport VARCHAR)

SELECT icao FROM table_name_75 WHERE airport = "simferopol international airport"


Question: Which country has an IATA of gzt?

Context: CREATE TABLE table_name_70 (country VARCHAR, iata VARCHAR)

SELECT country FROM table_name_70 WHERE iata = "gzt"


Question: What country is Yerevan located in?

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

SELECT country FROM table_name_21 WHERE city = "yerevan"


Question: What is the ICAO when the IATA is ika?

Context: CREATE TABLE table_name_19 (icao VARCHAR, iata VARCHAR)

SELECT icao FROM table_name_19 WHERE iata = "ika"


Question: What is the ICAO when the IATA is ist?

Context: CREATE TABLE table_name_34 (icao VARCHAR, iata VARCHAR)

SELECT icao FROM table_name_34 WHERE iata = "ist"


Question: Which team has 10 losses?

Context: CREATE TABLE table_name_33 (team VARCHAR, lost VARCHAR)

SELECT team FROM table_name_33 WHERE lost = 10


Question: In which yearly change was there a capacity of 78.4% and a rank smaller than 3?

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

SELECT annual_change FROM table_name_31 WHERE rank < 3 AND capacity_in_use = "78.4%"


Question: In Which rank was there a location of porto alegre?

Context: CREATE TABLE table_name_85 (rank VARCHAR, location VARCHAR)

SELECT rank FROM table_name_85 WHERE location = "porto alegre"


Question: what is the number of passengers when the capacity is 81.2%?

Context: CREATE TABLE table_name_88 (total_passengers INTEGER, capacity_in_use VARCHAR)

SELECT SUM(total_passengers) FROM table_name_88 WHERE capacity_in_use = "81.2%"


Question: what is the highest amount of passengers when there is a rank of 1?

Context: CREATE TABLE table_name_94 (total_passengers INTEGER, rank VARCHAR)

SELECT MAX(total_passengers) FROM table_name_94 WHERE rank = 1


Question: What was the latest Week on which the Result was l 17–0?

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

SELECT MAX(week) FROM table_name_95 WHERE result = "l 17–0"


Question: What is the average cuts made at the top 25, less than 10, and at the Top 10 more than 3?

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

SELECT AVG(cuts_made) FROM table_name_65 WHERE top_25 < 10 AND top_10 > 3


Question: What is average Top 10 with 0 wins?

Context: CREATE TABLE table_name_93 (top_10 INTEGER, wins INTEGER)

SELECT AVG(top_10) FROM table_name_93 WHERE wins < 0


Question: What is the average event for the Open Championship Tournament, and a Top-5 less than 1?

Context: CREATE TABLE table_name_18 (events INTEGER, tournament VARCHAR, top_5 VARCHAR)

SELECT AVG(events) FROM table_name_18 WHERE tournament = "the open championship" AND top_5 < 1


Question: What is the average wins has Top-25 less than 0?

Context: CREATE TABLE table_name_66 (wins INTEGER, top_25 INTEGER)

SELECT AVG(wins) FROM table_name_66 WHERE top_25 < 0


Question: What is the largest Against with a Byes larger than 0?

Context: CREATE TABLE table_name_40 (against INTEGER, byes INTEGER)

SELECT MAX(against) FROM table_name_40 WHERE byes > 0


Question: Which Wins has an Against of 1940, and a Byes larger than 0?

Context: CREATE TABLE table_name_61 (wins INTEGER, against VARCHAR, byes VARCHAR)

SELECT MAX(wins) FROM table_name_61 WHERE against = 1940 AND byes > 0


Question: Which Draws has a Wins of 10, and a Peel of south mandurah, and a Byes larger than 0?

Context: CREATE TABLE table_name_28 (draws INTEGER, byes VARCHAR, wins VARCHAR, peel VARCHAR)

SELECT AVG(draws) FROM table_name_28 WHERE wins = 10 AND peel = "south mandurah" AND byes > 0


Question: Which Against has a Draws larger than 0, a Losses smaller than 16, and a Wins smaller than 4?

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

SELECT MAX(against) FROM table_name_50 WHERE draws > 0 AND losses < 16 AND wins < 4


Question: Which Losses has an Against of 1101, and a Byes smaller than 0?

Context: CREATE TABLE table_name_52 (losses VARCHAR, against VARCHAR, byes VARCHAR)

SELECT COUNT(losses) FROM table_name_52 WHERE against = 1101 AND byes < 0


Question: Which Byes has a Losses smaller than 1?

Context: CREATE TABLE table_name_5 (byes INTEGER, losses INTEGER)

SELECT MAX(byes) FROM table_name_5 WHERE losses < 1


Question: What is the average number of games of the player with a rank less than 1?

Context: CREATE TABLE table_name_55 (games INTEGER, rank INTEGER)

SELECT AVG(games) FROM table_name_55 WHERE rank < 1


Question: What is the highest rank of the player with less than 32 points?

Context: CREATE TABLE table_name_24 (rank INTEGER, points INTEGER)

SELECT MAX(rank) FROM table_name_24 WHERE points < 32


Question: What is the rank of the player with less than 34 points?

Context: CREATE TABLE table_name_95 (rank INTEGER, points INTEGER)

SELECT SUM(rank) FROM table_name_95 WHERE points < 34


Question: Who's Fourth District has a Second District of bob springstead?

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

SELECT fourth_district FROM table_name_72 WHERE second_district = "bob springstead"


Question: Who's the First District with a Fifth District of prudy adam?

Context: CREATE TABLE table_name_9 (first_district VARCHAR, fifth_district VARCHAR)

SELECT first_district FROM table_name_9 WHERE fifth_district = "prudy adam"