Question: What PBA team is the player from Ateneo college and a pick of 17?

Context: CREATE TABLE table_name_10 (pba_team VARCHAR, college VARCHAR, pick VARCHAR)

SELECT pba_team FROM table_name_10 WHERE college = "ateneo" AND pick = 17


Question: What is Mark Joseph Kong's pick?

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

SELECT AVG(pick) FROM table_name_15 WHERE player = "mark joseph kong"


Question: What PBA team is the player from Ateneo college with a pick number smaller than 15 from?

Context: CREATE TABLE table_name_65 (pba_team VARCHAR, pick VARCHAR, college VARCHAR)

SELECT pba_team FROM table_name_65 WHERE pick < 15 AND college = "ateneo"


Question: What pick number is Larry Fonacier?

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

SELECT pick FROM table_name_29 WHERE player = "larry fonacier"


Question: what is the rating when the rank (timeslot) is less than 3 and the rank (night) is less than 8?

Context: CREATE TABLE table_name_92 (rating INTEGER, rank__timeslot_ VARCHAR, rank__night_ VARCHAR)

SELECT SUM(rating) FROM table_name_92 WHERE rank__timeslot_ < 3 AND rank__night_ < 8


Question: what is the rank (night) when the rating is more than 4.3 and the viewers (millions) is more than 10.72?

Context: CREATE TABLE table_name_29 (rank__night_ INTEGER, rating VARCHAR, viewers__millions_ VARCHAR)

SELECT AVG(rank__night_) FROM table_name_29 WHERE rating > 4.3 AND viewers__millions_ > 10.72


Question: When was Windy Hill used as a venue?

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

SELECT date FROM table_name_90 WHERE venue = "windy hill"


Question: Which home team plays at VFL Park?

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

SELECT home_team FROM table_name_36 WHERE venue = "vfl park"


Question: Which team plays against Footscray as the home team?

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

SELECT home_team FROM table_name_2 WHERE away_team = "footscray"


Question: What is the total audience on may 28?

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

SELECT SUM(attendance) FROM table_name_99 WHERE date = "may 28"


Question: What was the the total top attendance with a score of 0 – 4?

Context: CREATE TABLE table_name_93 (attendance INTEGER, score VARCHAR)

SELECT MAX(attendance) FROM table_name_93 WHERE score = "0 – 4"


Question: How many allsvenskan titles did club aik have after its introduction after 2000, with stars symbolizing the number of swedish championship titles ?

Context: CREATE TABLE table_name_78 (allsvenskan_titles INTEGER, introduced VARCHAR, stars_symbolizes VARCHAR, club VARCHAR)

SELECT SUM(allsvenskan_titles) FROM table_name_78 WHERE stars_symbolizes = "number of swedish championship titles" AND club = "aik" AND introduced > 2000


Question: What is the highest amount of swedish championship titles for the team that was introduced before 2006?

Context: CREATE TABLE table_name_62 (swedish_championship_titles INTEGER, introduced INTEGER)

SELECT MAX(swedish_championship_titles) FROM table_name_62 WHERE introduced < 2006


Question: What is the record loss of R. Springer?

Context: CREATE TABLE table_name_75 (record VARCHAR, loss VARCHAR)

SELECT record FROM table_name_75 WHERE loss = "r. springer"


Question: What was the streak on April 12?

Context: CREATE TABLE table_name_77 (streak VARCHAR, date VARCHAR)

SELECT streak FROM table_name_77 WHERE date = "april 12"


Question: What was the date of A. Benes loss to the Rockies?

Context: CREATE TABLE table_name_19 (date VARCHAR, loss VARCHAR, opponent VARCHAR)

SELECT date FROM table_name_19 WHERE loss = "a. benes" AND opponent = "rockies"


Question: Which streak had an attendance of 33,013?

Context: CREATE TABLE table_name_45 (streak VARCHAR, attendance VARCHAR)

SELECT streak FROM table_name_45 WHERE attendance = "33,013"


Question: What was the partnership in the season of 1928

Context: CREATE TABLE table_name_91 (wicket_partnership VARCHAR, season VARCHAR)

SELECT wicket_partnership FROM table_name_91 WHERE season = "1928"


Question: What are the earnings for jim colbert with under 4 wins?

Context: CREATE TABLE table_name_33 (earnings___ VARCHAR, player VARCHAR, wins VARCHAR)

SELECT COUNT(earnings___) AS $__ FROM table_name_33 WHERE player = "jim colbert" AND wins < 4


Question: How many events for bob murphy?

Context: CREATE TABLE table_name_34 (events INTEGER, player VARCHAR)

SELECT MAX(events) FROM table_name_34 WHERE player = "bob murphy"


Question: What is the rank for bob murphy with under 4 wins?

Context: CREATE TABLE table_name_62 (rank VARCHAR, player VARCHAR, wins VARCHAR)

SELECT COUNT(rank) FROM table_name_62 WHERE player = "bob murphy" AND wins < 4


Question: When the club is flamengo in the 2009 season, and they scored more than 0 goals, what's the sum of the Apps?

Context: CREATE TABLE table_name_30 (apps INTEGER, goals VARCHAR, club VARCHAR, season VARCHAR)

SELECT SUM(apps) FROM table_name_30 WHERE club = "flamengo" AND season = "2009" AND goals > 0


Question: In the 2010 season what club has 0 goals and more than 0 Apps?

Context: CREATE TABLE table_name_43 (club VARCHAR, season VARCHAR, goals VARCHAR, apps VARCHAR)

SELECT club FROM table_name_43 WHERE goals = 0 AND apps > 0 AND season = "2010"


Question: What Round is the Event cage rage 17?

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

SELECT round FROM table_name_36 WHERE event = "cage rage 17"


Question: What Event is at the Time 1:16?

Context: CREATE TABLE table_name_70 (event VARCHAR, time VARCHAR)

SELECT event FROM table_name_70 WHERE time = "1:16"


Question: What is the title of the track after 11?

Context: CREATE TABLE table_name_93 (title VARCHAR, track INTEGER)

SELECT title FROM table_name_93 WHERE track > 11


Question: On the title feature brad mehldau as the performer, what is the original album?

Context: CREATE TABLE table_name_92 (original_album VARCHAR, performer VARCHAR)

SELECT original_album FROM table_name_92 WHERE performer = "brad mehldau"


Question: Which track has the original album turbulent indigo?

Context: CREATE TABLE table_name_59 (track INTEGER, original_album VARCHAR)

SELECT AVG(track) FROM table_name_59 WHERE original_album = "turbulent indigo"


Question: What Utah Jazz player played Center?

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

SELECT player FROM table_name_8 WHERE position = "center"


Question: What is the nationality of all Utah Jazz Players, that played 1987-88?

Context: CREATE TABLE table_name_41 (nationality VARCHAR, years_for_jazz VARCHAR)

SELECT nationality FROM table_name_41 WHERE years_for_jazz = "1987-88"


Question: What is the nationality of all Utah Jazz Players, that played 2011-present?

Context: CREATE TABLE table_name_53 (nationality VARCHAR, years_for_jazz VARCHAR)

SELECT nationality FROM table_name_53 WHERE years_for_jazz = "2011-present"


Question: What Utah Jazz Forward played for Southern Methodist?

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

SELECT player FROM table_name_74 WHERE position = "forward" AND school_club_team = "southern methodist"


Question: What years did the Utah Jazz Player from Southern Methodist, Play?

Context: CREATE TABLE table_name_52 (years_for_jazz VARCHAR, school_club_team VARCHAR)

SELECT years_for_jazz FROM table_name_52 WHERE school_club_team = "southern methodist"


Question: Who was the home team at MCG?

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

SELECT home_team FROM table_name_40 WHERE venue = "mcg"


Question: Who was Carlton's away team opponents?

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

SELECT away_team FROM table_name_16 WHERE home_team = "carlton"


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

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

SELECT away_team AS score FROM table_name_67 WHERE home_team = "south melbourne"


Question: When the Attendance was 4,516, what was the Record?

Context: CREATE TABLE table_name_72 (record VARCHAR, attendance VARCHAR)

SELECT record FROM table_name_72 WHERE attendance = "4,516"


Question: When the Score was 4-10, what was the Attendance?

Context: CREATE TABLE table_name_13 (attendance VARCHAR, score VARCHAR)

SELECT attendance FROM table_name_13 WHERE score = "4-10"


Question: With a Record of 9-24, what was the Score?

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

SELECT score FROM table_name_40 WHERE record = "9-24"


Question: When the Score was 6-2, which Opponent was played?

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

SELECT opponent FROM table_name_16 WHERE score = "6-2"


Question: On what Date was the Attendance 16,212?

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

SELECT date FROM table_name_82 WHERE attendance = "16,212"


Question: What was the Attendance on May 12, when the New York Yankees were the Opponent?

Context: CREATE TABLE table_name_71 (attendance VARCHAR, opponent VARCHAR, date VARCHAR)

SELECT attendance FROM table_name_71 WHERE opponent = "new york yankees" AND date = "may 12"


Question: Which Date has a Venue of junction oval?

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

SELECT date FROM table_name_39 WHERE venue = "junction oval"


Question: Which total number of Crowd has a Home team of melbourne?

Context: CREATE TABLE table_name_79 (crowd VARCHAR, home_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne"


Question: What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)?

Context: CREATE TABLE table_name_65 (location VARCHAR, score VARCHAR)

SELECT MIN(1 AS st_prize__) AS $__ FROM table_name_65 WHERE location = "florida" AND score = "200 (-16)"


Question: Which grid has a time/retired of +27.347?

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

SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = "+27.347"


Question: Who was the Singles Champions in Trieste, Italy?

Context: CREATE TABLE table_name_9 (singles_champions VARCHAR, country VARCHAR, city VARCHAR)

SELECT singles_champions FROM table_name_9 WHERE country = "italy" AND city = "trieste"


Question: On what Surface will the Venezuela F5 Futures in Caracas be played?

Context: CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR)

SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"


Question: What is the type of Surface for the New Zealand F1 Futures Tournament?

Context: CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR)

SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures"


Question: In what Country will Dennis Blömke play the Germany F13 Futures Tournament?

Context: CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR)

SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"


Question: What are the average laps for jackie stewart?

Context: CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR)

SELECT AVG(laps) FROM table_name_77 WHERE driver = "jackie stewart"


Question: What is the result in fort lauderdale, florida?

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

SELECT result FROM table_name_19 WHERE venue = "fort lauderdale, florida"


Question: What venue had less than 2 goals?

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

SELECT venue FROM table_name_80 WHERE goal < 2


Question: What was the attendance when Fitzroy played as the away team?

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

SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy"


Question: Who was the trainer with Robert Courtney was owner?

Context: CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR)

SELECT trainer FROM table_name_8 WHERE owner = "robert courtney"


Question: What year was Jeff Mullins?

Context: CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR)

SELECT MIN(year) FROM table_name_36 WHERE trainer = "jeff mullins"


Question: In what grid did Richard Robarts make 36 laps?

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

SELECT SUM(grid) FROM table_name_48 WHERE driver = "richard robarts" AND laps < 36


Question: How many laps were completed in grid 18?

Context: CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR)

SELECT SUM(laps) FROM table_name_20 WHERE grid = 18


Question: What was the venue where the result was 12th?

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

SELECT venue FROM table_name_73 WHERE result = "12th"


Question: What species has more than 2,030 genes?

Context: CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER)

SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030


Question: How many genes in the species Rubrobacter Xylanophilus?

Context: CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR)

SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"


Question: What is the lowest number of genes in Rubrobacter Xylanophilus?

Context: CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR)

SELECT MIN(genes) FROM table_name_66 WHERE species = "rubrobacter xylanophilus"


Question: What is the average number of base pairs with 784 genes?

Context: CREATE TABLE table_name_53 (base_pairs INTEGER, genes VARCHAR)

SELECT AVG(base_pairs) FROM table_name_53 WHERE genes = 784


Question: How many points are obtained when a standing broad jump is 207-215 cm?

Context: CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR)

SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215"


Question: How many points are there, when the grade is A?

Context: CREATE TABLE table_name_92 (points INTEGER, grade VARCHAR)

SELECT MAX(points) FROM table_name_92 WHERE grade = "a"


Question: If a person does 3 chin-up reps, what grade do they obtain?

Context: CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR)

SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "3"


Question: How many seconds is a shuttle run that give 2 points?

Context: CREATE TABLE table_name_54 (shuttle_run__sec_ VARCHAR, points VARCHAR)

SELECT shuttle_run__sec_ FROM table_name_54 WHERE points = 2


Question: Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza

Context: CREATE TABLE table_name_29 (outgoing_manager VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, team VARCHAR)

SELECT outgoing_manager FROM table_name_29 WHERE manner_of_departure = "resigned" AND team = "real zaragoza" AND replaced_by = "manolo villanova"


Question: Name the replaced by for racing santander

Context: CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR)

SELECT replaced_by FROM table_name_64 WHERE team = "racing santander"


Question: What Grid had 14 laps completed?

Context: CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR)

SELECT AVG(grid) FROM table_name_64 WHERE laps = 14


Question: What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103?

Context: CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)

SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+54.103"


Question: How many laps were timed at +1:02.315?

Context: CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR)

SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = "+1:02.315"


Question: What is the points ranking of Chicago Fire?

Context: CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR)

SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"


Question: Who is the opponent with a time of 1:16?

Context: CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR)

SELECT opponent FROM table_name_58 WHERE time = "1:16"


Question: What round has a method of submission?

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

SELECT round FROM table_name_64 WHERE method = "submission"


Question: Which competition did he win on August 15, 2012?

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

SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012"


Question: Where was the competition on August 15, 2012?

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

SELECT venue FROM table_name_60 WHERE date = "august 15, 2012"


Question: When was the competition that had a score of 3-0?

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

SELECT date FROM table_name_34 WHERE score = "3-0"


Question: What was the result of the UEFA Euro 2008 Qualifying competition?

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

SELECT result FROM table_name_97 WHERE competition = "uefa euro 2008 qualifying"


Question: What nationality is Steven Anthony?

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

SELECT nationality FROM table_name_88 WHERE player = "steven anthony"


Question: What is the highest pick number from Slovakia?

Context: CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR)

SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia"


Question: What is the lowest pick number for the Russian Major League?

Context: CREATE TABLE table_name_70 (pick__number INTEGER, league_from VARCHAR)

SELECT MIN(pick__number) FROM table_name_70 WHERE league_from = "russian major league"


Question: What team is from the Russian Major League?

Context: CREATE TABLE table_name_21 (position VARCHAR, league_from VARCHAR)

SELECT position FROM table_name_21 WHERE league_from = "russian major league"


Question: Which league has a pick number larger than 204 from Canada and LW as the position?

Context: CREATE TABLE table_name_61 (league_from VARCHAR, position VARCHAR, pick__number VARCHAR, nationality VARCHAR)

SELECT league_from FROM table_name_61 WHERE pick__number > 204 AND nationality = "canada" AND position = "lw"


Question: Who is the player from Aurillac?

Context: CREATE TABLE table_name_49 (player VARCHAR, club_province VARCHAR)

SELECT player FROM table_name_49 WHERE club_province = "aurillac"


Question: what is the points when the rank is more than 1 and the places is 33?

Context: CREATE TABLE table_name_69 (points VARCHAR, rank VARCHAR, places VARCHAR)

SELECT points FROM table_name_69 WHERE rank > 1 AND places = 33


Question: what is the highest rank for east germany with points of 128.98 and places less than 70?

Context: CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR)

SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70


Question: what is the points for rank 12?

Context: CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR)

SELECT SUM(points) FROM table_name_13 WHERE rank = 12


Question: What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97?

Context: CREATE TABLE table_name_32 (pl_gp INTEGER, reg_gp VARCHAR, pick__number VARCHAR)

SELECT AVG(pl_gp) FROM table_name_32 WHERE reg_gp = 97 AND pick__number < 70


Question: Name the gloss for [χdəm]

Context: CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR)

SELECT gloss FROM table_name_69 WHERE pronunciation = "[χdəm]"


Question: Name the realization for 'to be, to do'

Context: CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR)

SELECT realization FROM table_name_71 WHERE gloss = "'to be, to do'"


Question: What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1?

Context: CREATE TABLE table_name_70 (places INTEGER, name VARCHAR, rank VARCHAR)

SELECT MIN(places) FROM table_name_70 WHERE name = "sherri baier / robin cowan" AND rank < 1


Question: What platform is nds4droid on for the nintendo ds?

Context: CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR)

SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"


Question: Who has a license of proprietary (available on inquiry)?

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

SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)"


Question: What platform is nds4droid on for the nintendo ds with a license of gpl v2?

Context: CREATE TABLE table_name_93 (platform VARCHAR, name VARCHAR, system VARCHAR, license VARCHAR)

SELECT platform FROM table_name_93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"


Question: What system has a current version of 1.4e?

Context: CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR)

SELECT system FROM table_name_65 WHERE current_version = "1.4e"


Question: Who has a licence of gpl v2 and a current version of 0.9.9?

Context: CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR)

SELECT name FROM table_name_92 WHERE license = "gpl v2" AND current_version = "0.9.9"


Question: What was the performance length of the 1999 season in bydgoszcz, poland?

Context: CREATE TABLE table_name_11 (performance VARCHAR, season VARCHAR, place VARCHAR)

SELECT performance FROM table_name_11 WHERE season = 1999 AND place = "bydgoszcz, poland"


Question: What were the performance lengths in the 3000 m events in and after 2003?

Context: CREATE TABLE table_name_49 (performance VARCHAR, season VARCHAR, discipline VARCHAR)

SELECT performance FROM table_name_49 WHERE season > 2003 AND discipline = "3000 m"


Question: How many seasons took place in santiago de chile, chile?

Context: CREATE TABLE table_name_19 (season VARCHAR, place VARCHAR)

SELECT COUNT(season) FROM table_name_19 WHERE place = "santiago de chile, chile"


Question: During which Season did the may 11, 2002 event take place?

Context: CREATE TABLE table_name_90 (season VARCHAR, date VARCHAR)

SELECT season FROM table_name_90 WHERE date = "may 11, 2002"


Question: What is the average round for players from california?

Context: CREATE TABLE table_name_16 (round INTEGER, college VARCHAR)

SELECT AVG(round) FROM table_name_16 WHERE college = "california"


Question: What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)?

Context: CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR, nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR)

SELECT nationality FROM table_name_12 WHERE nhl_team = "vancouver canucks" AND college_junior_club_team__league_ = "swift current broncos (whl)" AND round = 8


Question: When the Away team of essendon was playing, what was the Home team's score?

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

SELECT home_team AS score FROM table_name_62 WHERE away_team = "essendon"


Question: For the Venue of western oval, what's the Away team playing?

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

SELECT away_team FROM table_name_71 WHERE venue = "western oval"


Question: Who was the opponent on week 7?

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

SELECT opponent FROM table_name_82 WHERE week = "7"


Question: Who was the opponent on week 5?

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

SELECT opponent FROM table_name_4 WHERE week = "5"


Question: Who was the leading scorer of the game that had a score of 107–97?

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

SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"


Question: Who was the visiting team when the Suns were the home team?

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

SELECT visitor FROM table_name_39 WHERE home = "suns"


Question: What is the average number of ties for the Detroit Lions team when they have fewer than 5 wins, fewer than 3 losses, and a win percentage of 0.800?

Context: CREATE TABLE table_name_63 (ties INTEGER, team VARCHAR, win_pct VARCHAR, losses VARCHAR, wins VARCHAR)

SELECT AVG(ties) FROM table_name_63 WHERE losses < 3 AND wins < 5 AND win_pct = "0.800" AND team = "detroit lions"


Question: What is the most recent year in which the score was 4–6, 6–3, 7–5?

Context: CREATE TABLE table_name_91 (year INTEGER, score VARCHAR)

SELECT MAX(year) FROM table_name_91 WHERE score = "4–6, 6–3, 7–5"


Question: Which player has a height of 6-7?

Context: CREATE TABLE table_name_5 (player VARCHAR, height VARCHAR)

SELECT player FROM table_name_5 WHERE height = "6-7"


Question: What is the NBA draft result of the player from Washington, DC?

Context: CREATE TABLE table_name_97 (nba_draft VARCHAR, hometown VARCHAR)

SELECT nba_draft FROM table_name_97 WHERE hometown = "washington, dc"


Question: What is the NBA draft result of the player from the College of Kansas?

Context: CREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR)

SELECT nba_draft FROM table_name_48 WHERE college = "kansas"


Question: Who is the player from La Costa Canyon High School?

Context: CREATE TABLE table_name_79 (player VARCHAR, school VARCHAR)

SELECT player FROM table_name_79 WHERE school = "la costa canyon high school"


Question: How tall is the player from Nacogdoches High School?

Context: CREATE TABLE table_name_28 (height VARCHAR, school VARCHAR)

SELECT height FROM table_name_28 WHERE school = "nacogdoches high school"


Question: What is the school of the player from Dallas, TX?

Context: CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR)

SELECT school FROM table_name_47 WHERE hometown = "dallas, tx"


Question: What is the result for world group, consolation round?

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

SELECT result FROM table_name_31 WHERE competition = "world group, consolation round"


Question: How many attended tie number 1?

Context: CREATE TABLE table_name_47 (attendance INTEGER, tie_no VARCHAR)

SELECT SUM(attendance) FROM table_name_47 WHERE tie_no = "1"


Question: How many attended tie number 3?

Context: CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR)

SELECT MAX(attendance) FROM table_name_97 WHERE tie_no = "3"


Question: What is the hometown for tre madden?

Context: CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR)

SELECT hometown FROM table_name_68 WHERE player = "tre madden"


Question: What is the hometown for the player that is defensive back and went to alabama?

Context: CREATE TABLE table_name_20 (hometown VARCHAR, position VARCHAR, college VARCHAR)

SELECT hometown FROM table_name_20 WHERE position = "defensive back" AND college = "alabama"


Question: What is the college for the player that went to ridge community high school and is defensive back?

Context: CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR)

SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school"


Question: What is the sum of Year with a Type of informal, and a Location with justus lipsius building, brussels, and a Date with 23 may?

Context: CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR)

SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may"


Question: What is the Type with a Location with justus lipsius building, brussels, and a Year of 2012, and a President with herman van rompuy (1st term), and a Date with 23 may?

Context: CREATE TABLE table_name_59 (type VARCHAR, date VARCHAR, president VARCHAR, location VARCHAR, year VARCHAR)

SELECT type FROM table_name_59 WHERE location = "justus lipsius building, brussels" AND year = 2012 AND president = "herman van rompuy (1st term)" AND date = "23 may"


Question: What is the President with a Location of justus lipsius building, brussels, and a Type with scheduled, and a Year larger than 2011, and a Date with 18–19 october?

Context: CREATE TABLE table_name_22 (president VARCHAR, date VARCHAR, year VARCHAR, location VARCHAR, type VARCHAR)

SELECT president FROM table_name_22 WHERE location = "justus lipsius building, brussels" AND type = "scheduled" AND year > 2011 AND date = "18–19 october"


Question: What is the Location with a Year larger than 2011, and a President with herman van rompuy (2nd term), and a Date of 28–29 june, and a Type with scheduled?

Context: CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR)

SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled"


Question: What is the President with a Year larger than 2011, and a Date with 23 may?

Context: CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR)

SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may"


Question: What is the Type with a Year larger than 2010, and a Location with justus lipsius building, brussels, and a President of herman van rompuy (2nd term), and a Date with 28–29 june?

Context: CREATE TABLE table_name_96 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR)

SELECT type FROM table_name_96 WHERE year > 2010 AND location = "justus lipsius building, brussels" AND president = "herman van rompuy (2nd term)" AND date = "28–29 june"


Question: What competition has a goal number of 13?

Context: CREATE TABLE table_name_49 (competition VARCHAR, goal VARCHAR)

SELECT competition FROM table_name_49 WHERE goal = 13


Question: What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0?

Context: CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR)

SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0


Question: what is the total sack for mike green when fumr is less than 0?

Context: CREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR)

SELECT SUM(sack) FROM table_name_40 WHERE player = "mike green" AND fumr < 0


Question: what is the total sack when totaltk is 1 and asst. is more than 0?

Context: CREATE TABLE table_name_86 (sack INTEGER, totaltk VARCHAR, asst VARCHAR)

SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0


Question: what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0?

Context: CREATE TABLE table_name_21 (tackles VARCHAR, yards VARCHAR, fumr VARCHAR, totaltk VARCHAR)

SELECT COUNT(tackles) FROM table_name_21 WHERE fumr = 0 AND totaltk = 54 AND yards < 0


Question: what is the sum of totaltk when yards is less than 0?

Context: CREATE TABLE table_name_9 (totaltk INTEGER, yards INTEGER)

SELECT SUM(totaltk) FROM table_name_9 WHERE yards < 0


Question: What class is after 1973 with 41 points?

Context: CREATE TABLE table_name_45 (class VARCHAR, year VARCHAR, points VARCHAR)

SELECT class FROM table_name_45 WHERE year > 1973 AND points = 41


Question: How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?

Context: CREATE TABLE table_name_90 (wins VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR, team VARCHAR)

SELECT COUNT(wins) FROM table_name_90 WHERE points < 54 AND team = "yamaha" AND class = "250cc" AND year < 1977


Question: What distance did giovanni lombardi win after stage 5?

Context: CREATE TABLE table_name_10 (distance VARCHAR, stage VARCHAR, winner VARCHAR)

SELECT distance FROM table_name_10 WHERE stage > 5 AND winner = "giovanni lombardi"


Question: Who is the GC leader at ávila - segovia?

Context: CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR)

SELECT gc_leader FROM table_name_51 WHERE course = "ávila - segovia"


Question: How many grids have less than 41 laps and a Driver of pedro de la rosa?

Context: CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR)

SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa"


Question: Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen?

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

SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = "mika häkkinen"


Question: What are toranosuke takagi's average laps?

Context: CREATE TABLE table_name_14 (laps INTEGER, driver VARCHAR)

SELECT AVG(laps) FROM table_name_14 WHERE driver = "toranosuke takagi"


Question: Which grid has a Time/Retired of +5.004?

Context: CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR)

SELECT MIN(grid) FROM table_name_95 WHERE time_retired = "+5.004"


Question: What was the score of the game on November 9 when Atlanta was the visiting team?

Context: CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR, date VARCHAR)

SELECT score FROM table_name_73 WHERE visitor = "atlanta" AND date = "november 9"


Question: What was the score of the home game at Tampa Bay?

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

SELECT score FROM table_name_56 WHERE home = "tampa bay"


Question: What was the date of the game where Ottawa was the home team and Atlanta is the visiting team?

Context: CREATE TABLE table_name_32 (date VARCHAR, visitor VARCHAR, home VARCHAR)

SELECT date FROM table_name_32 WHERE visitor = "atlanta" AND home = "ottawa"


Question: I want the result for team of giants

Context: CREATE TABLE table_name_39 (result VARCHAR, team VARCHAR)

SELECT result FROM table_name_39 WHERE team = "giants"


Question: Tell me the pitcher on september 6, 2006

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

SELECT pitcher FROM table_name_8 WHERE date = "september 6, 2006"


Question: I want the date for rockies

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

SELECT date FROM table_name_66 WHERE team = "rockies"


Question: I want the date for aníbal sánchez

Context: CREATE TABLE table_name_58 (date VARCHAR, pitcher VARCHAR)

SELECT date FROM table_name_58 WHERE pitcher = "aníbal sánchez"


Question: I want the result for team of giants

Context: CREATE TABLE table_name_63 (result VARCHAR, team VARCHAR)

SELECT result FROM table_name_63 WHERE team = "giants"


Question: I want the site for september 29, 2013

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

SELECT site FROM table_name_51 WHERE date = "september 29, 2013"


Question: When the apparent magnitude is 10.5, what is the right ascension?

Context: CREATE TABLE table_name_71 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR)

SELECT right_ascension___j2000__ FROM table_name_71 WHERE apparent_magnitude = 10.5


Question: Which livery is from 1919?

Context: CREATE TABLE table_name_57 (livery VARCHAR, date VARCHAR)

SELECT livery FROM table_name_57 WHERE date = "1919"


Question: Of the games with a record of 80-81, what was the highest attendance?

Context: CREATE TABLE table_name_89 (attendance INTEGER, record VARCHAR)

SELECT MAX(attendance) FROM table_name_89 WHERE record = "80-81"


Question: How many entries have a HK viewers of 2.23 million, and a Rank below 2?

Context: CREATE TABLE table_name_34 (peak VARCHAR, hk_viewers VARCHAR, rank VARCHAR)

SELECT COUNT(peak) FROM table_name_34 WHERE hk_viewers = "2.23 million" AND rank > 2


Question: What premiere has a finale of less than 41, peak less than 40, average above 31, and a Chinese title of 學警雄心?

Context: CREATE TABLE table_name_95 (premiere VARCHAR, chinese_title VARCHAR, average VARCHAR, finale VARCHAR, peak VARCHAR)

SELECT premiere FROM table_name_95 WHERE finale < 41 AND peak < 40 AND average > 31 AND chinese_title = "學警雄心"


Question: What is the high average that has a Finale larger than 35, a HK viewers of 2.12 million, and a Peak larger than 40?

Context: CREATE TABLE table_name_36 (average INTEGER, peak VARCHAR, finale VARCHAR, hk_viewers VARCHAR)

SELECT MAX(average) FROM table_name_36 WHERE finale > 35 AND hk_viewers = "2.12 million" AND peak > 40


Question: What is the score for the home team when the venue is Junction Oval?

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

SELECT home_team AS score FROM table_name_96 WHERE venue = "junction oval"


Question: What is the lowest crowd number at the venue MCG?

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

SELECT MIN(crowd) FROM table_name_73 WHERE venue = "mcg"


Question: Name the average round for jacksonville

Context: CREATE TABLE table_name_89 (round INTEGER, place VARCHAR)

SELECT AVG(round) FROM table_name_89 WHERE place = "jacksonville"


Question: I want the standing for january 29 and finished of 3rd and total points less than 248

Context: CREATE TABLE table_name_59 (standing VARCHAR, date VARCHAR, total_points VARCHAR, finished VARCHAR)

SELECT standing FROM table_name_59 WHERE total_points < 248 AND finished = "3rd" AND date = "january 29"


Question: What was the result and score of the game on February 22?

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

SELECT result FROM table_name_5 WHERE date = "february 22"


Question: What is the largest Rd# for a PI GP greater than 0 and a Reg GP less than 62?

Context: CREATE TABLE table_name_20 (rd__number INTEGER, pl_gp VARCHAR, reg_gp VARCHAR)

SELECT MAX(rd__number) FROM table_name_20 WHERE pl_gp > 0 AND reg_gp < 62


Question: Which team has a Reg GP over 62?

Context: CREATE TABLE table_name_12 (team__league_ VARCHAR, reg_gp INTEGER)

SELECT team__league_ FROM table_name_12 WHERE reg_gp > 62


Question: What is the total year with a Position of 12th?

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

SELECT SUM(year) FROM table_name_89 WHERE position = "12th"


Question: When a race had less than 18 laps and time/retired of accident, what was the smallest grid?

Context: CREATE TABLE table_name_16 (grid INTEGER, time_retired VARCHAR, laps VARCHAR)

SELECT MIN(grid) FROM table_name_16 WHERE time_retired = "accident" AND laps < 18


Question: What is the time/retired for a grid over 17 with 74 laps?

Context: CREATE TABLE table_name_31 (time_retired VARCHAR, grid VARCHAR, laps VARCHAR)

SELECT time_retired FROM table_name_31 WHERE grid > 17 AND laps = 74


Question: What is the grid total for david coulthard?

Context: CREATE TABLE table_name_76 (grid INTEGER, driver VARCHAR)

SELECT SUM(grid) FROM table_name_76 WHERE driver = "david coulthard"


Question: What day did Chris Maddocks compete in the 35000 m?

Context: CREATE TABLE table_name_83 (date VARCHAR, athlete VARCHAR, event VARCHAR)

SELECT date FROM table_name_83 WHERE athlete = "chris maddocks" AND event = "35000 m"


Question: Who has a walking data of 214.061km?

Context: CREATE TABLE table_name_66 (athlete VARCHAR, data VARCHAR)

SELECT athlete FROM table_name_66 WHERE data = "214.061km"


Question: Who has a walking data of 3:10:48+?

Context: CREATE TABLE table_name_11 (athlete VARCHAR, data VARCHAR)

SELECT athlete FROM table_name_11 WHERE data = "3:10:48+"


Question: what is the title of the episode with the original air date of october2,2002?

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

SELECT title FROM table_name_57 WHERE original_air_date = "october2,2002"


Question: what is the title of the episode with the production code of ad1a22?

Context: CREATE TABLE table_name_1 (title VARCHAR, production_code VARCHAR)

SELECT title FROM table_name_1 WHERE production_code = "ad1a22"


Question: who was the director of the episode with production code ad1a26?

Context: CREATE TABLE table_name_38 (directed_by VARCHAR, production_code VARCHAR)

SELECT directed_by FROM table_name_38 WHERE production_code = "ad1a26"


Question: Who is the constructor whose circuit was Oulton Park?

Context: CREATE TABLE table_name_71 (constructor VARCHAR, circuit VARCHAR)

SELECT constructor FROM table_name_71 WHERE circuit = "oulton park"


Question: What is the name of the race for which the circuit was Snetterton?

Context: CREATE TABLE table_name_37 (race_name VARCHAR, circuit VARCHAR)

SELECT race_name FROM table_name_37 WHERE circuit = "snetterton"


Question: During what years did the Guard from Oklahoma with a height of 6-6 play for the Rockets?

Context: CREATE TABLE table_name_41 (years_for_rockets VARCHAR, school_club_team_country VARCHAR, height_in_ft VARCHAR, position VARCHAR)

SELECT years_for_rockets FROM table_name_41 WHERE height_in_ft = "6-6" AND position = "guard" AND school_club_team_country = "oklahoma"


Question: how many times what the position 6th, the competition was super league xvii and played was larger than 27?

Context: CREATE TABLE table_name_22 (drawn VARCHAR, played VARCHAR, position VARCHAR, competition VARCHAR)

SELECT COUNT(drawn) FROM table_name_22 WHERE position = "6th" AND competition = "super league xvii" AND played > 27


Question: What is the average cap number in scotland in 1986–1998 leass than 69?

Context: CREATE TABLE table_name_6 (average VARCHAR, caps VARCHAR, scotland_career VARCHAR)

SELECT COUNT(average) FROM table_name_6 WHERE caps < 69 AND scotland_career = "1986–1998"


Question: Which caps was in scotland in 1920–1923?

Context: CREATE TABLE table_name_20 (caps VARCHAR, scotland_career VARCHAR)

SELECT caps FROM table_name_20 WHERE scotland_career = "1920–1923"


Question: What is the goal low with caps less than 38 and an average less than 1.083?

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

SELECT MIN(goals) FROM table_name_93 WHERE caps < 38 AND average < 1.083


Question: What is the goal top with caps of 38 and an average less than 0.579?

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

SELECT MAX(goals) FROM table_name_45 WHERE caps = 38 AND average < 0.579


Question: What is the low goal for kenny miller with an average smaller than 0.261?

Context: CREATE TABLE table_name_24 (goals INTEGER, name VARCHAR, average VARCHAR)

SELECT MIN(goals) FROM table_name_24 WHERE name = "kenny miller" AND average < 0.261


Question: What home team plays at victoria park?

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

SELECT home_team FROM table_name_4 WHERE venue = "victoria park"


Question: When north melbourne played as the home team, what was the away team score?

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

SELECT away_team AS score FROM table_name_7 WHERE home_team = "north melbourne"


Question: What is the away team score at victoria park?

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

SELECT away_team AS score FROM table_name_42 WHERE venue = "victoria park"


Question: What is the high goal against associated with 18 wins, a Goal Difference of 43, and under 6 draws?

Context: CREATE TABLE table_name_57 (goals_against INTEGER, draws VARCHAR, wins VARCHAR, goal_difference VARCHAR)

SELECT MAX(goals_against) FROM table_name_57 WHERE wins = 18 AND goal_difference = 43 AND draws < 6


Question: What is the average win total associated with under 4 draws, and under 15 goals?

Context: CREATE TABLE table_name_86 (wins INTEGER, draws VARCHAR, goals_for VARCHAR)

SELECT AVG(wins) FROM table_name_86 WHERE draws < 4 AND goals_for < 15


Question: Who was the home team that played at Moorabbin Oval?

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

SELECT home_team FROM table_name_17 WHERE venue = "moorabbin oval"


Question: How large was the crowd when Carlton was the away team?

Context: CREATE TABLE table_name_26 (crowd VARCHAR, away_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_26 WHERE away_team = "carlton"


Question: I want the sum of year for mark barron

Context: CREATE TABLE table_name_11 (year INTEGER, player_name VARCHAR)

SELECT SUM(year) FROM table_name_11 WHERE player_name = "mark barron"


Question: Tell me the year for defensive tackle and college of lsu

Context: CREATE TABLE table_name_13 (year VARCHAR, position VARCHAR, college VARCHAR)

SELECT year FROM table_name_13 WHERE position = "defensive tackle" AND college = "lsu"


Question: On April 28, what was the average number of people attending?

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

SELECT AVG(attendance) FROM table_name_6 WHERE date = "april 28"


Question: Which player is a centre?

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

SELECT player FROM table_name_50 WHERE position = "centre"


Question: What was the venue when Collingwood was the away team?

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

SELECT venue FROM table_name_49 WHERE away_team = "collingwood"


Question: Where did Brian Hightower play when he has the Conv of 0?

Context: CREATE TABLE table_name_47 (venue VARCHAR, conv VARCHAR, player VARCHAR)

SELECT venue FROM table_name_47 WHERE conv = "0" AND player = "brian hightower"


Question: What was Dick Hyland's conv?

Context: CREATE TABLE table_name_37 (conv VARCHAR, player VARCHAR)

SELECT conv FROM table_name_37 WHERE player = "dick hyland"


Question: How many tries took place on 06/07/1996?

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

SELECT tries FROM table_name_16 WHERE date = "06/07/1996"


Question: Which player played on 07/06/1997?

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

SELECT player FROM table_name_41 WHERE date = "07/06/1997"


Question: When the Away team is melbourne, what venue do they play at?

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

SELECT venue FROM table_name_74 WHERE away_team = "melbourne"


Question: What is the lowest interview of Texas, with an average larger than 9.531?

Context: CREATE TABLE table_name_86 (interview INTEGER, state VARCHAR, average VARCHAR)

SELECT MIN(interview) FROM table_name_86 WHERE state = "texas" AND average > 9.531


Question: What is the total interviews of Iowa, and with an evening gown smaller than 9.625?

Context: CREATE TABLE table_name_23 (interview VARCHAR, state VARCHAR, evening_gown VARCHAR)

SELECT COUNT(interview) FROM table_name_23 WHERE state = "iowa" AND evening_gown < 9.625


Question: What is the sum of the average of Hawaii, with an interviewer larger than 9.636?

Context: CREATE TABLE table_name_26 (average INTEGER, state VARCHAR, interview VARCHAR)

SELECT SUM(average) FROM table_name_26 WHERE state = "hawaii" AND interview > 9.636


Question: What is the highest evening gown with an average of 9.531 and swimsuit smaller than 9.449?

Context: CREATE TABLE table_name_8 (evening_gown INTEGER, average VARCHAR, swimsuit VARCHAR)

SELECT MAX(evening_gown) FROM table_name_8 WHERE average = 9.531 AND swimsuit < 9.449


Question: What is the sum of swimsuit with an evening gown of 9.773 and average larger than 9.674?

Context: CREATE TABLE table_name_82 (swimsuit INTEGER, evening_gown VARCHAR, average VARCHAR)

SELECT SUM(swimsuit) FROM table_name_82 WHERE evening_gown = 9.773 AND average > 9.674


Question: What is the average of the swimsuit smaller than 9.545 , of Iowa, with an evening gown larger than 9.625?

Context: CREATE TABLE table_name_34 (average INTEGER, evening_gown VARCHAR, swimsuit VARCHAR, state VARCHAR)

SELECT AVG(average) FROM table_name_34 WHERE swimsuit < 9.545 AND state = "iowa" AND evening_gown > 9.625


Question: Name the leading scorer for 1 april 2008

Context: CREATE TABLE table_name_82 (leading_scorer VARCHAR, date VARCHAR)

SELECT leading_scorer FROM table_name_82 WHERE date = "1 april 2008"


Question: Name the home for 16 april 2008

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

SELECT home FROM table_name_11 WHERE date = "16 april 2008"


Question: Name the score for bucks with timberwolves

Context: CREATE TABLE table_name_56 (score VARCHAR, visitor VARCHAR, home VARCHAR)

SELECT score FROM table_name_56 WHERE visitor = "bucks" AND home = "timberwolves"


Question: Which sail is in the America 3 Foundation syndicate on the America 3 yacht?

Context: CREATE TABLE table_name_96 (sail VARCHAR, syndicate VARCHAR, yacht VARCHAR)

SELECT sail FROM table_name_96 WHERE syndicate = "america 3 foundation" AND yacht = "america 3"


Question: Which syndicate is associated with the stars & stripes yacht?

Context: CREATE TABLE table_name_8 (syndicate VARCHAR, yacht VARCHAR)

SELECT syndicate FROM table_name_8 WHERE yacht = "stars & stripes"


Question: Which Yacht Club is part of the America 3 Foundation syndicate on the America 3 yacht?

Context: CREATE TABLE table_name_84 (yacht VARCHAR, syndicate VARCHAR)

SELECT yacht AS Club FROM table_name_84 WHERE syndicate = "america 3 foundation" AND yacht = "america 3"


Question: Which nation has the America 3 Foundation syndicate and the jayhawk yacht?

Context: CREATE TABLE table_name_81 (nation VARCHAR, syndicate VARCHAR, yacht VARCHAR)

SELECT nation FROM table_name_81 WHERE syndicate = "america 3 foundation" AND yacht = "jayhawk"


Question: Which Nation has the USA-18 sail?

Context: CREATE TABLE table_name_91 (nation VARCHAR, sail VARCHAR)

SELECT nation FROM table_name_91 WHERE sail = "usa-18"


Question: How big was the crowd when collingwood visited?

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

SELECT COUNT(crowd) FROM table_name_46 WHERE away_team = "collingwood"


Question: What away team is based in moorabbin oval?

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

SELECT away_team FROM table_name_19 WHERE venue = "moorabbin oval"


Question: What date did af giles play?

Context: CREATE TABLE table_name_40 (date VARCHAR, player VARCHAR)

SELECT date FROM table_name_40 WHERE player = "af giles"


Question: How many catches does hh dippenaar have?

Context: CREATE TABLE table_name_59 (catches VARCHAR, player VARCHAR)

SELECT catches FROM table_name_59 WHERE player = "hh dippenaar"


Question: What player has a date of 12-02-2003?

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

SELECT player FROM table_name_98 WHERE date = "12-02-2003"


Question: Who had a versus of sri lanka?

Context: CREATE TABLE table_name_18 (player VARCHAR, versus VARCHAR)

SELECT player FROM table_name_18 WHERE versus = "sri lanka"


Question: Who had a date of 19-02-2003?

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

SELECT player FROM table_name_23 WHERE date = "19-02-2003"


Question: What date had a versus of source: cricinfo.com?

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

SELECT date FROM table_name_93 WHERE versus = "source: cricinfo.com"


Question: When south Melbourne was the home team, what was the away team?

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

SELECT away_team FROM table_name_53 WHERE home_team = "south melbourne"


Question: What was the smallest crowd size for away team st kilda?

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

SELECT MIN(crowd) FROM table_name_25 WHERE away_team = "st kilda"


Question: What was the score of the game against Milwaukee?

Context: CREATE TABLE table_name_9 (score VARCHAR, visitor VARCHAR)

SELECT score FROM table_name_9 WHERE visitor = "milwaukee"


Question: Was the third place winner Yannick Noah?

Context: CREATE TABLE table_name_87 (winner VARCHAR, third_place VARCHAR)

SELECT winner FROM table_name_87 WHERE third_place = "yannick noah"


Question: What was the away team score when the home team essendon was playing?

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

SELECT away_team AS score FROM table_name_63 WHERE home_team = "essendon"


Question: Who set the record for youngest nominee?

Context: CREATE TABLE table_name_9 (record_set VARCHAR, superlative VARCHAR)

SELECT record_set FROM table_name_9 WHERE superlative = "youngest nominee"


Question: After the year 2011, who was the youngest nominee?

Context: CREATE TABLE table_name_24 (record_set VARCHAR, year VARCHAR, superlative VARCHAR)

SELECT record_set FROM table_name_24 WHERE year > 2011 AND superlative = "youngest nominee"


Question: When did Quvenzhané Wallis first win?

Context: CREATE TABLE table_name_76 (year INTEGER, actress VARCHAR)

SELECT MIN(year) FROM table_name_76 WHERE actress = "quvenzhané wallis"


Question: When was the last year when Katharine Hepburn won?

Context: CREATE TABLE table_name_20 (year INTEGER, actress VARCHAR)

SELECT MAX(year) FROM table_name_20 WHERE actress = "katharine hepburn"


Question: who was the winner in 2003?

Context: CREATE TABLE table_name_53 (winner VARCHAR, year VARCHAR)

SELECT winner FROM table_name_53 WHERE year = "2003"


Question: where did marie-laure taya win?

Context: CREATE TABLE table_name_90 (venue VARCHAR, winner VARCHAR)

SELECT venue FROM table_name_90 WHERE winner = "marie-laure taya"


Question: what venue saw a score of 285?

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

SELECT venue FROM table_name_17 WHERE score = "285"


Question: What is the largest laps for Time/Retired of + 2 laps, and a Grid of 13?

Context: CREATE TABLE table_name_34 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)

SELECT MAX(laps) FROM table_name_34 WHERE time_retired = "+ 2 laps" AND grid = 13


Question: What company constructed the car with more than 0 laps and shows 5 for grid?

Context: CREATE TABLE table_name_42 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)

SELECT constructor FROM table_name_42 WHERE laps > 0 AND grid = 5


Question: What is the sum of laps for Derek Warwick?

Context: CREATE TABLE table_name_20 (laps INTEGER, driver VARCHAR)

SELECT SUM(laps) FROM table_name_20 WHERE driver = "derek warwick"


Question: What years runner-up is Birmingham city, with over 1 runners-up?

Context: CREATE TABLE table_name_91 (years_runner_up VARCHAR, runners_up VARCHAR, club VARCHAR)

SELECT years_runner_up FROM table_name_91 WHERE runners_up > 1 AND club = "birmingham city"


Question: Which Home team score has an Away team of st kilda?

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

SELECT home_team AS score FROM table_name_2 WHERE away_team = "st kilda"


Question: Which Home team has a Venue of victoria park?

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

SELECT home_team FROM table_name_27 WHERE venue = "victoria park"


Question: Who was the center from Washington State?

Context: CREATE TABLE table_name_90 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)

SELECT player FROM table_name_90 WHERE position = "center" AND school_club_team = "washington state"


Question: What school did Paul Dawkins play for?

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

SELECT school_club_team FROM table_name_34 WHERE player = "paul dawkins"


Question: Name the place with building of victoria hall

Context: CREATE TABLE table_name_93 (place VARCHAR, building VARCHAR)

SELECT place FROM table_name_93 WHERE building = "victoria hall"


Question: Name the least date for the place which has a building of victoria hall

Context: CREATE TABLE table_name_37 (date INTEGER, building VARCHAR)

SELECT MIN(date) FROM table_name_37 WHERE building = "victoria hall"


Question: Name the size which is past 2000

Context: CREATE TABLE table_name_94 (size VARCHAR, date INTEGER)

SELECT size FROM table_name_94 WHERE date > 2000


Question: Name the country that has mänttä

Context: CREATE TABLE table_name_2 (country VARCHAR, place VARCHAR)

SELECT country FROM table_name_2 WHERE place = "mänttä"


Question: What round was Nick Gillis?

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

SELECT round FROM table_name_32 WHERE player = "nick gillis"


Question: What is the distance to funao?

Context: CREATE TABLE table_name_85 (distance__km_ VARCHAR, station VARCHAR)

SELECT distance__km_ FROM table_name_85 WHERE station = "funao"


Question: What station has a Rapid of ↑, is 3.4 km away, and has a Japanese title of 下鴨生?

Context: CREATE TABLE table_name_91 (station VARCHAR, japanese VARCHAR, rapid VARCHAR, distance__km_ VARCHAR)

SELECT station FROM table_name_91 WHERE rapid = "↑" AND distance__km_ > 3.4 AND japanese = "下鴨生"


Question: What location is less than 7.1 km away, and has a Rapid of ●?

Context: CREATE TABLE table_name_77 (location VARCHAR, distance__km_ VARCHAR, rapid VARCHAR)

SELECT location FROM table_name_77 WHERE distance__km_ < 7.1 AND rapid = "●"


Question: What is the name of the father who was born in 1204 and married ottokar ii?

Context: CREATE TABLE table_name_89 (father VARCHAR, spouse VARCHAR, birth VARCHAR)

SELECT father FROM table_name_89 WHERE spouse = "ottokar ii" AND birth = "1204"


Question: What is the birth date of the woman who ceased to be Queen on 18 Jun 1297?

Context: CREATE TABLE table_name_47 (birth VARCHAR, ceased_to_be_queen VARCHAR)

SELECT birth FROM table_name_47 WHERE ceased_to_be_queen = "18 jun 1297"


Question: Leopold VI, Duke of Austria is the father-in-law of which person?

Context: CREATE TABLE table_name_26 (spouse VARCHAR, father VARCHAR)

SELECT spouse FROM table_name_26 WHERE father = "leopold vi, duke of austria"


Question: What is the birth date of the person who died on 18 October 1335?

Context: CREATE TABLE table_name_94 (birth VARCHAR, death VARCHAR)

SELECT birth FROM table_name_94 WHERE death = "18 october 1335"


Question: When did the person who died on 6 Dec 1240 get married?

Context: CREATE TABLE table_name_59 (marriage VARCHAR, death VARCHAR)

SELECT marriage FROM table_name_59 WHERE death = "6 dec 1240"


Question: What time/retired for a grid less than 19, under 21 laps, and made by aprilia?

Context: CREATE TABLE table_name_38 (time_retired VARCHAR, laps VARCHAR, grid VARCHAR, manufacturer VARCHAR)

SELECT time_retired FROM table_name_38 WHERE grid < 19 AND manufacturer = "aprilia" AND laps < 21


Question: What is the grid for dirk heidolf?

Context: CREATE TABLE table_name_25 (grid INTEGER, rider VARCHAR)

SELECT SUM(grid) FROM table_name_25 WHERE rider = "dirk heidolf"


Question: What away team plays at Victoria Park?

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

SELECT away_team FROM table_name_60 WHERE venue = "victoria park"


Question: How many caps does stephen hoiles have?

Context: CREATE TABLE table_name_96 (caps INTEGER, player VARCHAR)

SELECT SUM(caps) FROM table_name_96 WHERE player = "stephen hoiles"


Question: Which Date has a Home team of st kilda?

Context: CREATE TABLE table_name_19 (date VARCHAR, home_team VARCHAR)

SELECT date FROM table_name_19 WHERE home_team = "st kilda"


Question: Which Venue has an Away team of footscray?

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

SELECT venue FROM table_name_6 WHERE away_team = "footscray"


Question: Which Crowd has a Home team of geelong?

Context: CREATE TABLE table_name_86 (crowd VARCHAR, home_team VARCHAR)

SELECT crowd FROM table_name_86 WHERE home_team = "geelong"


Question: What is the most silver medals a team with 3 total medals and less than 1 bronze has?

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

SELECT MAX(silver) FROM table_name_13 WHERE total = 3 AND bronze < 1


Question: What is the least amount of silver medals a team with less than 0 gold medals has?

Context: CREATE TABLE table_name_68 (silver INTEGER, gold INTEGER)

SELECT MIN(silver) FROM table_name_68 WHERE gold < 0


Question: What is the most bronze a team with more than 2 silvers has?

Context: CREATE TABLE table_name_22 (bronze INTEGER, silver INTEGER)

SELECT MAX(bronze) FROM table_name_22 WHERE silver > 2


Question: What is the total amount of bronze medals a team with 1 gold and more than 3 silver medals has?

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

SELECT SUM(bronze) FROM table_name_67 WHERE gold = 1 AND silver > 3


Question: What is the draw number that has 59 points?

Context: CREATE TABLE table_name_86 (draw INTEGER, points VARCHAR)

SELECT AVG(draw) FROM table_name_86 WHERE points = 59


Question: What place for roger pontare?

Context: CREATE TABLE table_name_62 (place VARCHAR, artist VARCHAR)

SELECT place FROM table_name_62 WHERE artist = "roger pontare"


Question: What song has draw number less than 2?

Context: CREATE TABLE table_name_41 (song VARCHAR, draw INTEGER)

SELECT song FROM table_name_41 WHERE draw < 2


Question: What was the attendance when Essendon played as the home team?

Context: CREATE TABLE table_name_42 (crowd VARCHAR, home_team VARCHAR)

SELECT COUNT(crowd) FROM table_name_42 WHERE home_team = "essendon"


Question: Who played the home team at Windy Hill?

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

SELECT home_team FROM table_name_3 WHERE venue = "windy hill"


Question: What was the date of the game that had a decision of wall?

Context: CREATE TABLE table_name_41 (date VARCHAR, decision VARCHAR)

SELECT date FROM table_name_41 WHERE decision = "wall"


Question: What is the name of the circuit when Jack Brabham is in the pole position and Graham Hill has the fastest lap?

Context: CREATE TABLE table_name_84 (circuit VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)

SELECT circuit FROM table_name_84 WHERE pole_position = "jack brabham" AND fastest_lap = "graham hill"


Question: What race contains the Monaco circuit?

Context: CREATE TABLE table_name_90 (race VARCHAR, circuit VARCHAR)

SELECT race FROM table_name_90 WHERE circuit = "monaco"


Question: What is the date of the race when Jack Brabham is in the pole position and the circuit is Spa-Francorchamps?

Context: CREATE TABLE table_name_43 (date VARCHAR, pole_position VARCHAR, circuit VARCHAR)

SELECT date FROM table_name_43 WHERE pole_position = "jack brabham" AND circuit = "spa-francorchamps"


Question: What is the name of the circuit when Phil Hill has the fastest lap?

Context: CREATE TABLE table_name_1 (circuit VARCHAR, fastest_lap VARCHAR)

SELECT circuit FROM table_name_1 WHERE fastest_lap = "phil hill"


Question: What is the sum of every REG GP that Peter Andersson played as a pick# less than 143?

Context: CREATE TABLE table_name_28 (reg_gp INTEGER, player VARCHAR, pick__number VARCHAR)

SELECT SUM(reg_gp) FROM table_name_28 WHERE player = "peter andersson" AND pick__number < 143


Question: What is the total of PI GP played by Anton Rodin with a Reg GP less than 0?

Context: CREATE TABLE table_name_73 (pl_gp VARCHAR, player VARCHAR, reg_gp VARCHAR)

SELECT COUNT(pl_gp) FROM table_name_73 WHERE player = "anton rodin" AND reg_gp < 0


Question: What is the total pick# played by Anton Rodin with a Reg GP over 0?

Context: CREATE TABLE table_name_32 (pick__number VARCHAR, player VARCHAR, reg_gp VARCHAR)

SELECT COUNT(pick__number) FROM table_name_32 WHERE player = "anton rodin" AND reg_gp > 0


Question: What is the lowest grid that has over 67 laps with stefan bellof driving?

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

SELECT MIN(grid) FROM table_name_52 WHERE laps > 67 AND driver = "stefan bellof"


Question: How many laps have a grid under 14 and a time/retired of out of fuel?

Context: CREATE TABLE table_name_2 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)

SELECT SUM(laps) FROM table_name_2 WHERE grid < 14 AND time_retired = "out of fuel"


Question: Who drove the renault that went over 23 laps and had a grid under 11?

Context: CREATE TABLE table_name_21 (driver VARCHAR, laps VARCHAR, grid VARCHAR, constructor VARCHAR)

SELECT driver FROM table_name_21 WHERE grid < 11 AND constructor = "renault" AND laps > 23


Question: What is the average NGC number that has a Apparent magnitude greater than 14.2?

Context: CREATE TABLE table_name_59 (ngc_number INTEGER, apparent_magnitude INTEGER)

SELECT AVG(ngc_number) FROM table_name_59 WHERE apparent_magnitude > 14.2


Question: What is the highest NGC number that has a Declination ( J2000 ) of °04′58″ and a Apparent magnitude larger than 7.3?

Context: CREATE TABLE table_name_5 (ngc_number INTEGER, declination___j2000__ VARCHAR, apparent_magnitude VARCHAR)

SELECT MAX(ngc_number) FROM table_name_5 WHERE declination___j2000__ = "°04′58″" AND apparent_magnitude > 7.3


Question: What Constellation has a Object type of globular cluster and a NGC number of 5986?

Context: CREATE TABLE table_name_17 (constellation VARCHAR, object_type VARCHAR, ngc_number VARCHAR)

SELECT constellation FROM table_name_17 WHERE object_type = "globular cluster" AND ngc_number = 5986


Question: For clubs that have 0 gold and less than 5 points, what is the average amount of bronze medals?

Context: CREATE TABLE table_name_43 (bronze INTEGER, points VARCHAR, gold VARCHAR)

SELECT AVG(bronze) FROM table_name_43 WHERE points < 5 AND gold < 0


Question: Club aik had over 9 small silver medals and more than 8 bronze medals, how many total points did they have?

Context: CREATE TABLE table_name_78 (points INTEGER, bronze VARCHAR, small_silver VARCHAR, club VARCHAR)

SELECT AVG(points) FROM table_name_78 WHERE small_silver > 9 AND club = "aik" AND bronze > 8


Question: How many points did landskrona bois get when they were ranked below 18?

Context: CREATE TABLE table_name_68 (points VARCHAR, club VARCHAR, rank VARCHAR)

SELECT COUNT(points) FROM table_name_68 WHERE club = "landskrona bois" AND rank < 18


Question: Who was the opponent for game 5?

Context: CREATE TABLE table_name_29 (opponent VARCHAR, game VARCHAR)

SELECT opponent FROM table_name_29 WHERE game = 5


Question: Name the team for pick more than 30 and position of c with round more than 4

Context: CREATE TABLE table_name_28 (team VARCHAR, round VARCHAR, pick VARCHAR, position VARCHAR)

SELECT team FROM table_name_28 WHERE pick > 30 AND position = "c" AND round > 4


Question: What's the number of decimal digits when the total bits is more than 32 and the exponent is less than 15?

Context: CREATE TABLE table_name_26 (number_of_decimal_digits VARCHAR, total_bits VARCHAR, exponent VARCHAR)

SELECT number_of_decimal_digits FROM table_name_26 WHERE total_bits > 32 AND exponent < 15


Question: What's the total number of signicand with ~34.0 decimal digits and more than 128 total bits?

Context: CREATE TABLE table_name_41 (significand VARCHAR, number_of_decimal_digits VARCHAR, total_bits VARCHAR)

SELECT COUNT(significand) FROM table_name_41 WHERE number_of_decimal_digits = "~34.0" AND total_bits > 128


Question: What's the sum of sign with more than 53 bits precision, double extended (80-bit) type, and more than 80 total bits?

Context: CREATE TABLE table_name_98 (sign INTEGER, total_bits VARCHAR, bits_precision VARCHAR, type VARCHAR)

SELECT SUM(sign) FROM table_name_98 WHERE bits_precision > 53 AND type = "double extended (80-bit)" AND total_bits > 80


Question: What's the lowest bits precision when the total bits are less than 16?

Context: CREATE TABLE table_name_32 (bits_precision INTEGER, total_bits INTEGER)

SELECT MIN(bits_precision) FROM table_name_32 WHERE total_bits < 16


Question: How many years did the team that has a Singles win-Loss of 4-9 and first played before 1999?

Context: CREATE TABLE table_name_28 (years_played INTEGER, singles_win_loss VARCHAR, first_year_played VARCHAR)

SELECT SUM(years_played) FROM table_name_28 WHERE singles_win_loss = "4-9" AND first_year_played < 1999


Question: What is the highest game number with a record of 12-8-1?

Context: CREATE TABLE table_name_29 (game INTEGER, record VARCHAR)

SELECT MAX(game) FROM table_name_29 WHERE record = "12-8-1"


Question: What is the record when the decision was valiquette on November 23?

Context: CREATE TABLE table_name_46 (record VARCHAR, decision VARCHAR, november VARCHAR)

SELECT record FROM table_name_46 WHERE decision = "valiquette" AND november = 23


Question: I want the driver for Laps more than 8 and ferrari with Grid of 8

Context: CREATE TABLE table_name_45 (driver VARCHAR, grid VARCHAR, laps VARCHAR, constructor VARCHAR)

SELECT driver FROM table_name_45 WHERE laps > 8 AND constructor = "ferrari" AND grid = 8


Question: Which title has the Translation of vesoul?

Context: CREATE TABLE table_name_28 (title VARCHAR, translation VARCHAR)

SELECT title FROM table_name_28 WHERE translation = "vesoul"


Question: What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)?

Context: CREATE TABLE table_name_56 (original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR)

SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"


Question: What is the original title for the winner and nominees 'Secrets & Lies'?

Context: CREATE TABLE table_name_25 (original_title VARCHAR, winner_and_nominees VARCHAR)

SELECT original_title FROM table_name_25 WHERE winner_and_nominees = "secrets & lies"


Question: The winner and nominee 'Hidden Agenda' is from which country?

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

SELECT country FROM table_name_69 WHERE winner_and_nominees = "hidden agenda"


Question: What is the total amount of freight produced of u28c?

Context: CREATE TABLE table_name_49 (total_produced VARCHAR, service VARCHAR, builder’s_model VARCHAR)

SELECT total_produced FROM table_name_49 WHERE service = "freight" AND builder’s_model = "u28c"


Question: What is the build date for PRR Class gf30a?

Context: CREATE TABLE table_name_80 (build_date VARCHAR, prr_class VARCHAR)

SELECT build_date FROM table_name_80 WHERE prr_class = "gf30a"


Question: What is the PRR class for wheel arrangement c-c and total less than 15?

Context: CREATE TABLE table_name_80 (prr_class VARCHAR, wheel_arrangement VARCHAR, total_produced VARCHAR)

SELECT prr_class FROM table_name_80 WHERE wheel_arrangement = "c-c" AND total_produced < 15


Question: What was the model for PRR class of gf28a freight?

Context: CREATE TABLE table_name_61 (builder’s_model VARCHAR, service VARCHAR, prr_class VARCHAR)

SELECT builder’s_model FROM table_name_61 WHERE service = "freight" AND prr_class = "gf28a"


Question: Who got 189,524 votes?

Context: CREATE TABLE table_name_21 (queens VARCHAR, manhattan VARCHAR)

SELECT queens FROM table_name_21 WHERE manhattan = "189,524"


Question: Which owner has the frequency of 103.3 FM?

Context: CREATE TABLE table_name_51 (owner VARCHAR, frequency VARCHAR)

SELECT owner FROM table_name_51 WHERE frequency = "103.3 fm"


Question: What is the call sign of the Classic Country Music station?

Context: CREATE TABLE table_name_25 (call_sign VARCHAR, format VARCHAR)

SELECT call_sign FROM table_name_25 WHERE format = "classic country"


Question: Which owner has the call sign of KDSU?

Context: CREATE TABLE table_name_88 (name VARCHAR, call_sign VARCHAR)

SELECT name FROM table_name_88 WHERE call_sign = "kdsu"


Question: What is the call sign for Thunder 106.1?

Context: CREATE TABLE table_name_62 (call_sign VARCHAR, name VARCHAR)

SELECT call_sign FROM table_name_62 WHERE name = "thunder 106.1"


Question: Which owner has a Contemporary Christian music station on 97.9 FM?

Context: CREATE TABLE table_name_45 (name VARCHAR, format VARCHAR, frequency VARCHAR)

SELECT name FROM table_name_45 WHERE format = "contemporary christian music" AND frequency = "97.9 fm"


Question: Who was the leading scorer in the game where the visiting team was the Pistons?

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

SELECT leading_scorer FROM table_name_35 WHERE visitor = "pistons"


Question: How many people attended the game where the leading scorer was Tim Duncan (24), and the home team was the Spurs?

Context: CREATE TABLE table_name_96 (attendance INTEGER, leading_scorer VARCHAR, home VARCHAR)

SELECT MIN(attendance) FROM table_name_96 WHERE leading_scorer = "tim duncan (24)" AND home = "spurs"


Question: What is the mean number of laps where Time/retired was a water leak and the grid number was bigger than 12?

Context: CREATE TABLE table_name_53 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)

SELECT AVG(laps) FROM table_name_53 WHERE time_retired = "water leak" AND grid > 12


Question: What is the mean number of laps when time/retired was spun off and the driver was Nick Heidfeld?

Context: CREATE TABLE table_name_60 (laps INTEGER, time_retired VARCHAR, driver VARCHAR)

SELECT AVG(laps) FROM table_name_60 WHERE time_retired = "spun off" AND driver = "nick heidfeld"


Question: What is the sum grid number when the driver was Luciano Burti?

Context: CREATE TABLE table_name_55 (grid VARCHAR, driver VARCHAR)

SELECT COUNT(grid) FROM table_name_55 WHERE driver = "luciano burti"


Question: Which constructor had a laps number bigger than 3 when the driver was Jarno Trulli?

Context: CREATE TABLE table_name_5 (constructor VARCHAR, laps VARCHAR, driver VARCHAR)

SELECT constructor FROM table_name_5 WHERE laps > 3 AND driver = "jarno trulli"


Question: Name the head of household for married filing jointly or qualified widow(er) being $137,051–$208,850

Context: CREATE TABLE table_name_32 (head_of_household VARCHAR, married_filing_jointly_or_qualified_widow_er_ VARCHAR)

SELECT head_of_household FROM table_name_32 WHERE married_filing_jointly_or_qualified_widow_er_ = "$137,051–$208,850"


Question: Name the married filing jointly or qualified widow(er) with head of household being $117,451–$190,200

Context: CREATE TABLE table_name_61 (married_filing_jointly_or_qualified_widow_er_ VARCHAR, head_of_household VARCHAR)

SELECT married_filing_jointly_or_qualified_widow_er_ FROM table_name_61 WHERE head_of_household = "$117,451–$190,200"


Question: Name the married filing separately for single of $0–$8,350

Context: CREATE TABLE table_name_77 (married_filing_separately VARCHAR, single VARCHAR)

SELECT married_filing_separately FROM table_name_77 WHERE single = "$0–$8,350"


Question: Name the head of household that has married filing separately of $104,426–$186,475

Context: CREATE TABLE table_name_89 (head_of_household VARCHAR, married_filing_separately VARCHAR)

SELECT head_of_household FROM table_name_89 WHERE married_filing_separately = "$104,426–$186,475"


Question: Name the marginal ordinary income tax rate that has a head of household of $372,951+

Context: CREATE TABLE table_name_40 (marginal_ordinary_income_tax_rate VARCHAR, head_of_household VARCHAR)

SELECT marginal_ordinary_income_tax_rate FROM table_name_40 WHERE head_of_household = "$372,951+"


Question: What is the point average for the game that has FGM-FGA of 11-28 and a number smaller than 7?

Context: CREATE TABLE table_name_48 (points INTEGER, fgm___fga VARCHAR, number VARCHAR)

SELECT AVG(points) FROM table_name_48 WHERE fgm___fga = "11-28" AND number < 7


Question: What is the lowest number of floors recorded for buildings built by Dubai Marriott Harbour Hotel & Suites?

Context: CREATE TABLE table_name_82 (floors INTEGER, name VARCHAR)

SELECT MIN(floors) FROM table_name_82 WHERE name = "dubai marriott harbour hotel & suites"


Question: What is the name of the building housing more than 101 floors, that was built after 2006?

Context: CREATE TABLE table_name_55 (name VARCHAR, year VARCHAR, floors VARCHAR)

SELECT name FROM table_name_55 WHERE year > 2006 AND floors > 101


Question: What was the crowd size on 4 july 1981, and a Away team of essendon?

Context: CREATE TABLE table_name_41 (crowd VARCHAR, date VARCHAR, away_team VARCHAR)

SELECT crowd FROM table_name_41 WHERE date = "4 july 1981" AND away_team = "essendon"


Question: When did essendon play away?

Context: CREATE TABLE table_name_53 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_53 WHERE away_team = "essendon"


Question: Which category won the Sundance Film Festival award in 1998?

Context: CREATE TABLE table_name_95 (category VARCHAR, award VARCHAR, result VARCHAR, year VARCHAR)

SELECT category FROM table_name_95 WHERE result = "won" AND year = 1998 AND award = "sundance film festival"


Question: Which award category was the film series The Wire nominated for after 2005?

Context: CREATE TABLE table_name_20 (category VARCHAR, year VARCHAR, result VARCHAR, film_or_series VARCHAR)

SELECT category FROM table_name_20 WHERE result = "nominated" AND film_or_series = "the wire" AND year > 2005


Question: What was the result for the nominee for Outstanding Supporting Actress in a Drama Series in 2009?

Context: CREATE TABLE table_name_43 (result VARCHAR, category VARCHAR, year VARCHAR)

SELECT result FROM table_name_43 WHERE category = "outstanding supporting actress in a drama series" AND year = 2009


Question: When st kilda played as the away team, what date was that?

Context: CREATE TABLE table_name_67 (date VARCHAR, away_team VARCHAR)

SELECT date FROM table_name_67 WHERE away_team = "st kilda"


Question: On what date did Fitzroy play as the home team?

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

SELECT date FROM table_name_74 WHERE home_team = "fitzroy"


Question: Name the antonio thomas for Hikaru Sato of tanaka (8:09)

Context: CREATE TABLE table_name_24 (antonio_thomas VARCHAR, hikaru_sato VARCHAR)

SELECT antonio_thomas FROM table_name_24 WHERE hikaru_sato = "tanaka (8:09)"


Question: Tell me the block A for antonio thomas of kondo (13:24)

Context: CREATE TABLE table_name_85 (block_a VARCHAR, antonio_thomas VARCHAR)

SELECT block_a FROM table_name_85 WHERE antonio_thomas = "kondo (13:24)"


Question: Name the minoru that has a hikaru sato of x and super crazy of yang (8:36)

Context: CREATE TABLE table_name_22 (minoru VARCHAR, hikaru_sato VARCHAR, super_crazy VARCHAR)

SELECT minoru FROM table_name_22 WHERE hikaru_sato = "x" AND super_crazy = "yang (8:36)"


Question: Atlanta was a visitor on December 8, what was their record?

Context: CREATE TABLE table_name_68 (record VARCHAR, visitor VARCHAR)

SELECT record FROM table_name_68 WHERE visitor = "atlanta"


Question: Tell me the team which has matches of 13

Context: CREATE TABLE table_name_43 (team VARCHAR, matches VARCHAR)

SELECT team FROM table_name_43 WHERE matches = 13


Question: Tell me the sum of win % for drawn being larger than 35

Context: CREATE TABLE table_name_55 (win__percentage INTEGER, drawn INTEGER)

SELECT SUM(win__percentage) FROM table_name_55 WHERE drawn > 35


Question: Name the most win % for 13 drawn

Context: CREATE TABLE table_name_91 (win__percentage INTEGER, drawn VARCHAR)

SELECT MAX(win__percentage) FROM table_name_91 WHERE drawn = 13


Question: Name the average lost for matches of 6

Context: CREATE TABLE table_name_53 (lost INTEGER, matches VARCHAR)

SELECT AVG(lost) FROM table_name_53 WHERE matches = 6


Question: What was the time recorded for grid 18?

Context: CREATE TABLE table_name_89 (time_retired VARCHAR, grid VARCHAR)

SELECT time_retired FROM table_name_89 WHERE grid = 18


Question: What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?

Context: CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR)

SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy"


Question: What is the highest track for the song Rip it Up?

Context: CREATE TABLE table_name_87 (track INTEGER, song_title VARCHAR)

SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up"


Question: What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length?

Context: CREATE TABLE table_name_12 (track INTEGER, catalogue VARCHAR, time VARCHAR)

SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05"


Question: What catalogue has a length of 2:10?

Context: CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR)

SELECT catalogue FROM table_name_82 WHERE time = "2:10"


Question: When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31?

Context: CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR)

SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31"


Question: When was the cataglogue EPA 4054 released with a 1/12/57 recorded?

Context: CREATE TABLE table_name_31 (release_date VARCHAR, catalogue VARCHAR, recorded VARCHAR)

SELECT release_date FROM table_name_31 WHERE catalogue = "epa 4054" AND recorded = "1/12/57"


Question: Tell me the school with a height of 6-9

Context: CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR)

SELECT school FROM table_name_82 WHERE height = "6-9"


Question: Which school did the player have a height of 6-4?

Context: CREATE TABLE table_name_65 (school VARCHAR, height VARCHAR)

SELECT school FROM table_name_65 WHERE height = "6-4"


Question: Tell me the college that paul davis went to

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

SELECT college FROM table_name_32 WHERE player = "paul davis"


Question: Tell me the school that jason fraser went to

Context: CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR)

SELECT school FROM table_name_14 WHERE player = "jason fraser"


Question: What is the result of the game with 68,436 attending?

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

SELECT result FROM table_name_98 WHERE attendance = "68,436"


Question: What is the NBA Draft status of the person who went to college at LSU?

Context: CREATE TABLE table_name_38 (nba_draft VARCHAR, college VARCHAR)

SELECT nba_draft FROM table_name_38 WHERE college = "lsu"


Question: What is Player Kenny Williams' Height?

Context: CREATE TABLE table_name_53 (height VARCHAR, player VARCHAR)

SELECT height FROM table_name_53 WHERE player = "kenny williams"


Question: What School did Player Billy Owens attend?

Context: CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR)

SELECT school FROM table_name_37 WHERE player = "billy owens"


Question: What School did Player Alonzo Mourning attend?

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

SELECT school FROM table_name_74 WHERE player = "alonzo mourning"


Question: How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd?

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

SELECT AVG(bronze) FROM table_name_16 WHERE total > 1 AND gold < 2 AND rank = 2


Question: How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze?

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

SELECT AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 1


Question: What is the date of the Cubs game when the Cubs had a record of 1-0?

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

SELECT date FROM table_name_2 WHERE record = "1-0"


Question: Who did the Cubs play when they had a record of 4-4?

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

SELECT opponent FROM table_name_56 WHERE record = "4-4"


Question: What is the frequency of WMAD?

Context: CREATE TABLE table_name_21 (frequency VARCHAR, call_letters VARCHAR)

SELECT frequency FROM table_name_21 WHERE call_letters = "wmad"


Question: Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2%

Context: CREATE TABLE table_name_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR)

SELECT ifop_5_11_09 FROM table_name_23 WHERE opinionway_5_11_09 = "2%" AND ipsos_3_14_09 = "2%"


Question: Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front

Context: CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR)

SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"


Question: Name the lfop for 5/11/09 with lfop 1/9/09 of 5%

Context: CREATE TABLE table_name_18 (ifop_5_11_09 VARCHAR, ifop_1_9_09 VARCHAR)

SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = "5%"


Question: Name the csa 4/16/09 for opinionway being 4/17/09 of 12%

Context: CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR)

SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"


Question: Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7%

Context: CREATE TABLE table_name_33 (ipsos_3_14_09 VARCHAR, ifop_11_12_08 VARCHAR, opinionway_4_17_09 VARCHAR)

SELECT ipsos_3_14_09 FROM table_name_33 WHERE ifop_11_12_08 = "7%" AND opinionway_4_17_09 = "5%"


Question: Name the 2004 results for npa

Context: CREATE TABLE table_name_18 (results_2004 VARCHAR, party VARCHAR)

SELECT results_2004 FROM table_name_18 WHERE party = "npa"


Question: What was the decision when Tampa Bay was the visitor?

Context: CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR)

SELECT decision FROM table_name_14 WHERE visitor = "tampa bay"


Question: Which visitor visited on February 21?

Context: CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR)

SELECT visitor FROM table_name_14 WHERE date = "february 21"


Question: What date is the Victoria Park venue?

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

SELECT date FROM table_name_3 WHERE venue = "victoria park"


Question: What Away team is from Fitzroy?

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

SELECT away_team FROM table_name_16 WHERE home_team = "fitzroy"


Question: Who was the home team that played the Lakers?

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

SELECT home FROM table_name_85 WHERE visitor = "lakers"


Question: Which tournament had a 2008 result of 1R?

Context: CREATE TABLE table_name_85 (tournament VARCHAR)

SELECT tournament FROM table_name_85 WHERE 2006 = "a" AND 2008 = "1r"


Question: Which tournament in 2012 had a 2007 and 2011 finishes of "A"?

Context: CREATE TABLE table_name_91 (Id VARCHAR)

SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"


Question: Which tournament in 2013 had a 2010 finish of 1R?

Context: CREATE TABLE table_name_44 (Id VARCHAR)

SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r"


Question: Which home team score has an Away team of melbourne?

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

SELECT home_team AS score FROM table_name_71 WHERE away_team = "melbourne"


Question: What is the highest crowd for Home team of geelong?

Context: CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR)

SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong"


Question: What is the year when the performance is 60.73m and the age (years) is more than 45?

Context: CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR)

SELECT COUNT(year) FROM table_name_85 WHERE performance = "60.73m" AND age__years_ > 45


Question: What is the highest age (years) that the 1st place had a performance of 62.20m?

Context: CREATE TABLE table_name_45 (age__years_ INTEGER, place VARCHAR, performance VARCHAR)

SELECT MAX(age__years_) FROM table_name_45 WHERE place = "1st" AND performance = "62.20m"


Question: What is the place when the performance is 60.73m?

Context: CREATE TABLE table_name_65 (place VARCHAR, performance VARCHAR)

SELECT place FROM table_name_65 WHERE performance = "60.73m"


Question: Name the kaz hayashi with block A of Shuji Kondo

Context: CREATE TABLE table_name_47 (kaz_hayashi VARCHAR, block_a VARCHAR)

SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo"


Question: Name the block A for shuji kondo

Context: CREATE TABLE table_name_93 (block_a VARCHAR, toshizo VARCHAR)

SELECT block_a FROM table_name_93 WHERE toshizo = "shuji kondo"


Question: Name the NOSAWA Rongai for petey williams

Context: CREATE TABLE table_name_97 (nosawa_rongai VARCHAR, block_a VARCHAR)

SELECT nosawa_rongai FROM table_name_97 WHERE block_a = "petey williams"


Question: What was the score when Nannette Hill was the champion?

Context: CREATE TABLE table_name_61 (score VARCHAR, champion VARCHAR)

SELECT score FROM table_name_61 WHERE champion = "nannette hill"


Question: What score did the opposing home team have against Melbourne

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

SELECT home_team AS score FROM table_name_74 WHERE away_team = "melbourne"


Question: Name the venue where St Kilda was the opposing away team

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

SELECT venue FROM table_name_76 WHERE away_team = "st kilda"


Question: Which Date has a Venue of lake oval?

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

SELECT date FROM table_name_36 WHERE venue = "lake oval"


Question: Which Crowd has an Away team of collingwood?

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

SELECT SUM(crowd) FROM table_name_79 WHERE away_team = "collingwood"


Question: When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #?

Context: CREATE TABLE table_name_82 (rd__number INTEGER, player VARCHAR, pl_gp VARCHAR)

SELECT AVG(rd__number) FROM table_name_82 WHERE player = "steve hazlett" AND pl_gp < 0


Question: Which Player has a PI GP over 0 and a Rd # of 1?

Context: CREATE TABLE table_name_71 (player VARCHAR, pl_gp VARCHAR, rd__number VARCHAR)

SELECT player FROM table_name_71 WHERE pl_gp > 0 AND rd__number = 1


Question: Which Pick # is the highest and has the Rd # is under 1?

Context: CREATE TABLE table_name_9 (pick__number INTEGER, rd__number INTEGER)

SELECT MAX(pick__number) FROM table_name_9 WHERE rd__number < 1


Question: What is the lowest PI GP when the Reg GP is 1, Murray Bannerman is the Player, and the Pick # is under 58?

Context: CREATE TABLE table_name_53 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR, player VARCHAR)

SELECT MIN(pl_gp) FROM table_name_53 WHERE reg_gp = 1 AND player = "murray bannerman" AND pick__number < 58


Question: Tell me the average top 25 with events of 5 and cuts madde less than 3

Context: CREATE TABLE table_name_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR)

SELECT AVG(top_25) FROM table_name_33 WHERE events = 5 AND cuts_made < 3


Question: Tell me the highest cuts made with wins more than 1

Context: CREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER)

SELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1


Question: I want to know the highest wins for cuts made more than 5

Context: CREATE TABLE table_name_71 (wins INTEGER, cuts_made INTEGER)

SELECT MAX(wins) FROM table_name_71 WHERE cuts_made > 5


Question: Tell me the sum of top 5 with events less than 12 and top 25 less than 0

Context: CREATE TABLE table_name_98 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR)

SELECT SUM(top_5) FROM table_name_98 WHERE events < 12 AND top_25 < 0


Question: What was the biggest crowd when South Melbourne was an away team?

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

SELECT MAX(crowd) FROM table_name_94 WHERE away_team = "south melbourne"


Question: How many people attended the game on 8 March 2008?

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

SELECT SUM(attendance) FROM table_name_9 WHERE date = "8 march 2008"


Question: What is the Away team score when they played Geelong as the Home team?

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

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


Question: What did Carlton score when they were the Home team?

Context: CREATE TABLE table_name_73 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_73 WHERE home_team = "carlton"


Question: What is the name of the Home team that played Fitzroy as the Away team?

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

SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy"


Question: What is the total number of points when the grade was A?

Context: CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR)

SELECT SUM(points) FROM table_name_31 WHERE grade = "a"


Question: Which standing broad jump (cm) had the b grade?

Context: CREATE TABLE table_name_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR)

SELECT standing_broad_jump__cm_ FROM table_name_67 WHERE grade = "b"


Question: Which grade did the chin-up (reps) 9-10 receive?

Context: CREATE TABLE table_name_54 (grade VARCHAR, chin_up__reps_ VARCHAR)

SELECT grade FROM table_name_54 WHERE chin_up__reps_ = "9-10"


Question: What year was the comp 33?

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

SELECT year FROM table_name_99 WHERE comp = "33"


Question: In 1984, what was the RAvg?

Context: CREATE TABLE table_name_51 (ravg VARCHAR, year VARCHAR)

SELECT ravg FROM table_name_51 WHERE year = "1984"


Question: In 1983, what was the RAtt?

Context: CREATE TABLE table_name_85 (ratt VARCHAR, year VARCHAR)

SELECT ratt FROM table_name_85 WHERE year = "1983"


Question: What team has a 94.1 rating?

Context: CREATE TABLE table_name_67 (team VARCHAR, rate VARCHAR)

SELECT team FROM table_name_67 WHERE rate = "94.1"


Question: What year has a RAtt of 1 and a comp of 49?

Context: CREATE TABLE table_name_60 (year VARCHAR, ratt VARCHAR, comp VARCHAR)

SELECT year FROM table_name_60 WHERE ratt = "1" AND comp = "49"


Question: Who recorded the loss on august 7?

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

SELECT loss FROM table_name_98 WHERE date = "august 7"


Question: When the away team was st kilda, what did the home team score?

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

SELECT home_team AS score FROM table_name_7 WHERE away_team = "st kilda"


Question: When the home team was geelong, what did the away team score?

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

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


Question: Which Artist has an Issue Price of $8,159.95?

Context: CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR)

SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"


Question: What is the lowest Mintage for the Artist Royal Canadian Mint Engravers, in the Year 2009, with an Issue Price of $10,199.95?

Context: CREATE TABLE table_name_9 (mintage INTEGER, year VARCHAR, artist VARCHAR, issue_price VARCHAR)

SELECT MIN(mintage) FROM table_name_9 WHERE artist = "royal canadian mint engravers" AND issue_price = "$10,199.95" AND year > 2009


Question: What is the sum of Artist Steve Hepburn's Mintage?

Context: CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR)

SELECT SUM(mintage) FROM table_name_75 WHERE artist = "steve hepburn"


Question: What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200?

Context: CREATE TABLE table_name_35 (year INTEGER, artist VARCHAR, mintage VARCHAR)

SELECT AVG(year) FROM table_name_35 WHERE artist = "royal canadian mint engravers" AND mintage < 200


Question: When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist?

Context: CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR)

SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008


Question: When did José Luis Sánchez Solá end his term of coaching?

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

SELECT until FROM table_name_76 WHERE name = "josé luis sánchez solá"


Question: What is the class of the locomotive with an Eastleigh Works manufacturer, made in 1914, and withdrawn in 1959?

Context: CREATE TABLE table_name_72 (class VARCHAR, year_s__withdrawn VARCHAR, manufacturer VARCHAR, year_made VARCHAR)

SELECT class FROM table_name_72 WHERE manufacturer = "eastleigh works" AND year_made = "1914" AND year_s__withdrawn = "1959"


Question: What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14?

Context: CREATE TABLE table_name_47 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR)

SELECT class FROM table_name_47 WHERE wheel_arrangement = "4-6-0" AND quantity_made = "14"


Question: What is the fleet number of the locomotive with 1 quantity made?

Context: CREATE TABLE table_name_59 (fleet_number_s_ VARCHAR, quantity_made VARCHAR)

SELECT fleet_number_s_ FROM table_name_59 WHERE quantity_made = "1"


Question: In games where st kilda was the away team, what was the smallest crowd?

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

SELECT MIN(crowd) FROM table_name_68 WHERE away_team = "st kilda"


Question: In fitzroy's match where they were the home team, how much did they score?

Context: CREATE TABLE table_name_7 (home_team VARCHAR)

SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy"


Question: What was the score for the home team who plays their matches at the mcg venue?

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

SELECT home_team AS score FROM table_name_4 WHERE venue = "mcg"


Question: Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4?

Context: CREATE TABLE table_name_50 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR)

SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4


Question: How many wins do the players that earned more than 720,134 have?

Context: CREATE TABLE table_name_8 (wins INTEGER, earnings__$__ INTEGER)

SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134


Question: Who is the highest ranked player that has earnings below 395,386?

Context: CREATE TABLE table_name_70 (rank INTEGER, earnings__$__ INTEGER)

SELECT MAX(rank) FROM table_name_70 WHERE earnings__$__ < 395 OFFSET 386


Question: In what Game did Rams Points equal 0?

Context: CREATE TABLE table_name_82 (game VARCHAR, rams_points VARCHAR)

SELECT game FROM table_name_82 WHERE rams_points = 0


Question: What Opponent has a 6-0 Record?

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

SELECT opponent FROM table_name_54 WHERE record = "6-0"


Question: What is the sum of the interview scores from North Dakota that have averages less than 8.697, evening gown scores less than 8.73, and swimsuit scores greater than 8.41?

Context: CREATE TABLE table_name_4 (interview INTEGER, swimsuit VARCHAR, state VARCHAR, average VARCHAR, evening_gown VARCHAR)

SELECT SUM(interview) FROM table_name_4 WHERE average < 8.697 AND evening_gown < 8.73 AND state = "north dakota" AND swimsuit > 8.41


Question: What is the sum of the swimsuit scores from Missouri that have evening gown scores less than 8.77 and average scores less than 8.823?

Context: CREATE TABLE table_name_77 (swimsuit INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR)

SELECT SUM(swimsuit) FROM table_name_77 WHERE evening_gown < 8.77 AND state = "missouri" AND average < 8.823