training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_65 (location VARCHAR, score VARCHAR) ###human: What is the lowest 1st prize for florida tournaments and a Score of 200 (-16)? ###assistant: SELECT MIN(1 AS st_prize__) AS $__ FROM table_name_65 WHERE location = "florida" AND score = "200 (-16)"
###context:CREATE TABLE table_name_24 (grid VARCHAR, time_retired VARCHAR) ###human: Which grid has a time/retired of +27.347? ###assistant: SELECT COUNT(grid) FROM table_name_24 WHERE time_retired = "+27.347"
###context:CREATE TABLE table_name_9 (singles_champions VARCHAR, country VARCHAR, city VARCHAR) ###human: Who was the Singles Champions in Trieste, Italy? ###assistant: SELECT singles_champions FROM table_name_9 WHERE country = "italy" AND city = "trieste"
###context:CREATE TABLE table_name_30 (surface VARCHAR, city VARCHAR, tournament VARCHAR) ###human: On what Surface will the Venezuela F5 Futures in Caracas be played? ###assistant: SELECT surface FROM table_name_30 WHERE city = "caracas" AND tournament = "venezuela f5 futures"
###context:CREATE TABLE table_name_12 (surface VARCHAR, tournament VARCHAR) ###human: What is the type of Surface for the New Zealand F1 Futures Tournament? ###assistant: SELECT surface FROM table_name_12 WHERE tournament = "new zealand f1 futures"
###context:CREATE TABLE table_name_9 (country VARCHAR, singles_champions VARCHAR, tournament VARCHAR) ###human: In what Country will Dennis Blömke play the Germany F13 Futures Tournament? ###assistant: SELECT country FROM table_name_9 WHERE singles_champions = "dennis blömke" AND tournament = "germany f13 futures"
###context:CREATE TABLE table_name_77 (laps INTEGER, driver VARCHAR) ###human: What are the average laps for jackie stewart? ###assistant: SELECT AVG(laps) FROM table_name_77 WHERE driver = "jackie stewart"
###context:CREATE TABLE table_name_19 (result VARCHAR, venue VARCHAR) ###human: What is the result in fort lauderdale, florida? ###assistant: SELECT result FROM table_name_19 WHERE venue = "fort lauderdale, florida"
###context:CREATE TABLE table_name_80 (venue VARCHAR, goal INTEGER) ###human: What venue had less than 2 goals? ###assistant: SELECT venue FROM table_name_80 WHERE goal < 2
###context:CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) ###human: What was the attendance when Fitzroy played as the away team? ###assistant: SELECT AVG(crowd) FROM table_name_8 WHERE away_team = "fitzroy"
###context:CREATE TABLE table_name_8 (trainer VARCHAR, owner VARCHAR) ###human: Who was the trainer with Robert Courtney was owner? ###assistant: SELECT trainer FROM table_name_8 WHERE owner = "robert courtney"
###context:CREATE TABLE table_name_36 (year INTEGER, trainer VARCHAR) ###human: What year was Jeff Mullins? ###assistant: SELECT MIN(year) FROM table_name_36 WHERE trainer = "jeff mullins"
###context:CREATE TABLE table_name_48 (grid INTEGER, driver VARCHAR, laps VARCHAR) ###human: In what grid did Richard Robarts make 36 laps? ###assistant: SELECT SUM(grid) FROM table_name_48 WHERE driver = "richard robarts" AND laps < 36
###context:CREATE TABLE table_name_20 (laps INTEGER, grid VARCHAR) ###human: How many laps were completed in grid 18? ###assistant: SELECT SUM(laps) FROM table_name_20 WHERE grid = 18
###context:CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR) ###human: What was the venue where the result was 12th? ###assistant: SELECT venue FROM table_name_73 WHERE result = "12th"
###context:CREATE TABLE table_name_22 (species VARCHAR, genes INTEGER) ###human: What species has more than 2,030 genes? ###assistant: SELECT species FROM table_name_22 WHERE genes > 2 OFFSET 030
###context:CREATE TABLE table_name_47 (genes VARCHAR, species VARCHAR) ###human: How many genes in the species Rubrobacter Xylanophilus? ###assistant: SELECT genes FROM table_name_47 WHERE species = "rubrobacter xylanophilus"
###context:CREATE TABLE table_name_66 (genes INTEGER, species VARCHAR) ###human: What is the lowest number of genes in Rubrobacter Xylanophilus? ###assistant: SELECT MIN(genes) FROM table_name_66 WHERE species = "rubrobacter xylanophilus"
###context:CREATE TABLE table_name_53 (base_pairs INTEGER, genes VARCHAR) ###human: What is the average number of base pairs with 784 genes? ###assistant: SELECT AVG(base_pairs) FROM table_name_53 WHERE genes = 784
###context:CREATE TABLE table_name_25 (points VARCHAR, standing_broad_jump__cm_ VARCHAR) ###human: How many points are obtained when a standing broad jump is 207-215 cm? ###assistant: SELECT COUNT(points) FROM table_name_25 WHERE standing_broad_jump__cm_ = "207-215"
###context:CREATE TABLE table_name_92 (points INTEGER, grade VARCHAR) ###human: How many points are there, when the grade is A? ###assistant: SELECT MAX(points) FROM table_name_92 WHERE grade = "a"
###context:CREATE TABLE table_name_43 (grade VARCHAR, chin_up__reps_ VARCHAR) ###human: If a person does 3 chin-up reps, what grade do they obtain? ###assistant: SELECT grade FROM table_name_43 WHERE chin_up__reps_ = "3"
###context:CREATE TABLE table_name_54 (shuttle_run__sec_ VARCHAR, points VARCHAR) ###human: How many seconds is a shuttle run that give 2 points? ###assistant: SELECT shuttle_run__sec_ FROM table_name_54 WHERE points = 2
###context:CREATE TABLE table_name_29 (outgoing_manager VARCHAR, replaced_by VARCHAR, manner_of_departure VARCHAR, team VARCHAR) ###human: Tell me the outgoing manager for resigned and replaced by manolo villanova for real zaragoza ###assistant: SELECT outgoing_manager FROM table_name_29 WHERE manner_of_departure = "resigned" AND team = "real zaragoza" AND replaced_by = "manolo villanova"
###context:CREATE TABLE table_name_64 (replaced_by VARCHAR, team VARCHAR) ###human: Name the replaced by for racing santander ###assistant: SELECT replaced_by FROM table_name_64 WHERE team = "racing santander"
###context:CREATE TABLE table_name_64 (grid INTEGER, laps VARCHAR) ###human: What Grid had 14 laps completed? ###assistant: SELECT AVG(grid) FROM table_name_64 WHERE laps = 14
###context:CREATE TABLE table_name_91 (grid INTEGER, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR) ###human: What is the lowest Grid with 25 laps manufactured by Honda with a time of +54.103? ###assistant: SELECT MIN(grid) FROM table_name_91 WHERE laps = 25 AND manufacturer = "honda" AND time_retired = "+54.103"
###context:CREATE TABLE table_name_75 (laps VARCHAR, time_retired VARCHAR) ###human: How many laps were timed at +1:02.315? ###assistant: SELECT COUNT(laps) FROM table_name_75 WHERE time_retired = "+1:02.315"
###context:CREATE TABLE table_name_73 (pts_rank VARCHAR, club VARCHAR) ###human: What is the points ranking of Chicago Fire? ###assistant: SELECT pts_rank FROM table_name_73 WHERE club = "chicago fire"
###context:CREATE TABLE table_name_58 (opponent VARCHAR, time VARCHAR) ###human: Who is the opponent with a time of 1:16? ###assistant: SELECT opponent FROM table_name_58 WHERE time = "1:16"
###context:CREATE TABLE table_name_64 (round VARCHAR, method VARCHAR) ###human: What round has a method of submission? ###assistant: SELECT round FROM table_name_64 WHERE method = "submission"
###context:CREATE TABLE table_name_54 (competition VARCHAR, result VARCHAR, date VARCHAR) ###human: Which competition did he win on August 15, 2012? ###assistant: SELECT competition FROM table_name_54 WHERE result = "win" AND date = "august 15, 2012"
###context:CREATE TABLE table_name_60 (venue VARCHAR, date VARCHAR) ###human: Where was the competition on August 15, 2012? ###assistant: SELECT venue FROM table_name_60 WHERE date = "august 15, 2012"
###context:CREATE TABLE table_name_34 (date VARCHAR, score VARCHAR) ###human: When was the competition that had a score of 3-0? ###assistant: SELECT date FROM table_name_34 WHERE score = "3-0"
###context:CREATE TABLE table_name_97 (result VARCHAR, competition VARCHAR) ###human: What was the result of the UEFA Euro 2008 Qualifying competition? ###assistant: SELECT result FROM table_name_97 WHERE competition = "uefa euro 2008 qualifying"
###context:CREATE TABLE table_name_88 (nationality VARCHAR, player VARCHAR) ###human: What nationality is Steven Anthony? ###assistant: SELECT nationality FROM table_name_88 WHERE player = "steven anthony"
###context:CREATE TABLE table_name_51 (pick__number INTEGER, nationality VARCHAR) ###human: What is the highest pick number from Slovakia? ###assistant: SELECT MAX(pick__number) FROM table_name_51 WHERE nationality = "slovakia"
###context:CREATE TABLE table_name_70 (pick__number INTEGER, league_from VARCHAR) ###human: What is the lowest pick number for the Russian Major League? ###assistant: SELECT MIN(pick__number) FROM table_name_70 WHERE league_from = "russian major league"
###context:CREATE TABLE table_name_21 (position VARCHAR, league_from VARCHAR) ###human: What team is from the Russian Major League? ###assistant: SELECT position FROM table_name_21 WHERE league_from = "russian major league"
###context:CREATE TABLE table_name_61 (league_from VARCHAR, position VARCHAR, pick__number VARCHAR, nationality VARCHAR) ###human: Which league has a pick number larger than 204 from Canada and LW as the position? ###assistant: SELECT league_from FROM table_name_61 WHERE pick__number > 204 AND nationality = "canada" AND position = "lw"
###context:CREATE TABLE table_name_49 (player VARCHAR, club_province VARCHAR) ###human: Who is the player from Aurillac? ###assistant: SELECT player FROM table_name_49 WHERE club_province = "aurillac"
###context:CREATE TABLE table_name_69 (points VARCHAR, rank VARCHAR, places VARCHAR) ###human: what is the points when the rank is more than 1 and the places is 33? ###assistant: SELECT points FROM table_name_69 WHERE rank > 1 AND places = 33
###context:CREATE TABLE table_name_40 (rank INTEGER, places VARCHAR, nation VARCHAR, points VARCHAR) ###human: what is the highest rank for east germany with points of 128.98 and places less than 70? ###assistant: SELECT MAX(rank) FROM table_name_40 WHERE nation = "east germany" AND points = 128.98 AND places < 70
###context:CREATE TABLE table_name_13 (points INTEGER, rank VARCHAR) ###human: what is the points for rank 12? ###assistant: SELECT SUM(points) FROM table_name_13 WHERE rank = 12
###context:CREATE TABLE table_name_32 (pl_gp INTEGER, reg_gp VARCHAR, pick__number VARCHAR) ###human: What is the average PI GP when the pick is smaller tha 70 and the reg GP is 97? ###assistant: SELECT AVG(pl_gp) FROM table_name_32 WHERE reg_gp = 97 AND pick__number < 70
###context:CREATE TABLE table_name_69 (gloss VARCHAR, pronunciation VARCHAR) ###human: Name the gloss for [χdəm] ###assistant: SELECT gloss FROM table_name_69 WHERE pronunciation = "[χdəm]"
###context:CREATE TABLE table_name_71 (realization VARCHAR, gloss VARCHAR) ###human: Name the realization for 'to be, to do' ###assistant: SELECT realization FROM table_name_71 WHERE gloss = "'to be, to do'"
###context:CREATE TABLE table_name_70 (places INTEGER, name VARCHAR, rank VARCHAR) ###human: What is the lowest number of places for Sherri Baier / Robin Cowan when ranked lower than 1? ###assistant: SELECT MIN(places) FROM table_name_70 WHERE name = "sherri baier / robin cowan" AND rank < 1
###context:CREATE TABLE table_name_97 (platform VARCHAR, system VARCHAR, name VARCHAR) ###human: What platform is nds4droid on for the nintendo ds? ###assistant: SELECT platform FROM table_name_97 WHERE system = "nintendo ds" AND name = "nds4droid"
###context:CREATE TABLE table_name_67 (name VARCHAR, license VARCHAR) ###human: Who has a license of proprietary (available on inquiry)? ###assistant: SELECT name FROM table_name_67 WHERE license = "proprietary (available on inquiry)"
###context:CREATE TABLE table_name_93 (platform VARCHAR, name VARCHAR, system VARCHAR, license VARCHAR) ###human: What platform is nds4droid on for the nintendo ds with a license of gpl v2? ###assistant: SELECT platform FROM table_name_93 WHERE system = "nintendo ds" AND license = "gpl v2" AND name = "nds4droid"
###context:CREATE TABLE table_name_65 (system VARCHAR, current_version VARCHAR) ###human: What system has a current version of 1.4e? ###assistant: SELECT system FROM table_name_65 WHERE current_version = "1.4e"
###context:CREATE TABLE table_name_92 (name VARCHAR, license VARCHAR, current_version VARCHAR) ###human: Who has a licence of gpl v2 and a current version of 0.9.9? ###assistant: SELECT name FROM table_name_92 WHERE license = "gpl v2" AND current_version = "0.9.9"
###context:CREATE TABLE table_name_11 (performance VARCHAR, season VARCHAR, place VARCHAR) ###human: What was the performance length of the 1999 season in bydgoszcz, poland? ###assistant: SELECT performance FROM table_name_11 WHERE season = 1999 AND place = "bydgoszcz, poland"
###context:CREATE TABLE table_name_49 (performance VARCHAR, season VARCHAR, discipline VARCHAR) ###human: What were the performance lengths in the 3000 m events in and after 2003? ###assistant: SELECT performance FROM table_name_49 WHERE season > 2003 AND discipline = "3000 m"
###context:CREATE TABLE table_name_19 (season VARCHAR, place VARCHAR) ###human: How many seasons took place in santiago de chile, chile? ###assistant: SELECT COUNT(season) FROM table_name_19 WHERE place = "santiago de chile, chile"
###context:CREATE TABLE table_name_90 (season VARCHAR, date VARCHAR) ###human: During which Season did the may 11, 2002 event take place? ###assistant: SELECT season FROM table_name_90 WHERE date = "may 11, 2002"
###context:CREATE TABLE table_name_16 (round INTEGER, college VARCHAR) ###human: What is the average round for players from california? ###assistant: SELECT AVG(round) FROM table_name_16 WHERE college = "california"
###context:CREATE TABLE table_name_12 (nationality VARCHAR, round VARCHAR, nhl_team VARCHAR, college_junior_club_team__league_ VARCHAR) ###human: What's the Nationality of Round 8 Vancouver Canucks NHL Team of Swift Current Broncos (WHL)? ###assistant: SELECT nationality FROM table_name_12 WHERE nhl_team = "vancouver canucks" AND college_junior_club_team__league_ = "swift current broncos (whl)" AND round = 8
###context:CREATE TABLE table_name_62 (home_team VARCHAR, away_team VARCHAR) ###human: When the Away team of essendon was playing, what was the Home team's score? ###assistant: SELECT home_team AS score FROM table_name_62 WHERE away_team = "essendon"
###context:CREATE TABLE table_name_71 (away_team VARCHAR, venue VARCHAR) ###human: For the Venue of western oval, what's the Away team playing? ###assistant: SELECT away_team FROM table_name_71 WHERE venue = "western oval"
###context:CREATE TABLE table_name_82 (opponent VARCHAR, week VARCHAR) ###human: Who was the opponent on week 7? ###assistant: SELECT opponent FROM table_name_82 WHERE week = "7"
###context:CREATE TABLE table_name_4 (opponent VARCHAR, week VARCHAR) ###human: Who was the opponent on week 5? ###assistant: SELECT opponent FROM table_name_4 WHERE week = "5"
###context:CREATE TABLE table_name_26 (leading_scorer VARCHAR, score VARCHAR) ###human: Who was the leading scorer of the game that had a score of 107–97? ###assistant: SELECT leading_scorer FROM table_name_26 WHERE score = "107–97"
###context:CREATE TABLE table_name_39 (visitor VARCHAR, home VARCHAR) ###human: Who was the visiting team when the Suns were the home team? ###assistant: SELECT visitor FROM table_name_39 WHERE home = "suns"
###context:CREATE TABLE table_name_63 (ties INTEGER, team VARCHAR, win_pct VARCHAR, losses VARCHAR, wins VARCHAR) ###human: 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? ###assistant: SELECT AVG(ties) FROM table_name_63 WHERE losses < 3 AND wins < 5 AND win_pct = "0.800" AND team = "detroit lions"
###context:CREATE TABLE table_name_91 (year INTEGER, score VARCHAR) ###human: What is the most recent year in which the score was 4–6, 6–3, 7–5? ###assistant: SELECT MAX(year) FROM table_name_91 WHERE score = "4–6, 6–3, 7–5"
###context:CREATE TABLE table_name_5 (player VARCHAR, height VARCHAR) ###human: Which player has a height of 6-7? ###assistant: SELECT player FROM table_name_5 WHERE height = "6-7"
###context:CREATE TABLE table_name_97 (nba_draft VARCHAR, hometown VARCHAR) ###human: What is the NBA draft result of the player from Washington, DC? ###assistant: SELECT nba_draft FROM table_name_97 WHERE hometown = "washington, dc"
###context:CREATE TABLE table_name_48 (nba_draft VARCHAR, college VARCHAR) ###human: What is the NBA draft result of the player from the College of Kansas? ###assistant: SELECT nba_draft FROM table_name_48 WHERE college = "kansas"
###context:CREATE TABLE table_name_79 (player VARCHAR, school VARCHAR) ###human: Who is the player from La Costa Canyon High School? ###assistant: SELECT player FROM table_name_79 WHERE school = "la costa canyon high school"
###context:CREATE TABLE table_name_28 (height VARCHAR, school VARCHAR) ###human: How tall is the player from Nacogdoches High School? ###assistant: SELECT height FROM table_name_28 WHERE school = "nacogdoches high school"
###context:CREATE TABLE table_name_47 (school VARCHAR, hometown VARCHAR) ###human: What is the school of the player from Dallas, TX? ###assistant: SELECT school FROM table_name_47 WHERE hometown = "dallas, tx"
###context:CREATE TABLE table_name_31 (result VARCHAR, competition VARCHAR) ###human: What is the result for world group, consolation round? ###assistant: SELECT result FROM table_name_31 WHERE competition = "world group, consolation round"
###context:CREATE TABLE table_name_47 (attendance INTEGER, tie_no VARCHAR) ###human: How many attended tie number 1? ###assistant: SELECT SUM(attendance) FROM table_name_47 WHERE tie_no = "1"
###context:CREATE TABLE table_name_97 (attendance INTEGER, tie_no VARCHAR) ###human: How many attended tie number 3? ###assistant: SELECT MAX(attendance) FROM table_name_97 WHERE tie_no = "3"
###context:CREATE TABLE table_name_68 (hometown VARCHAR, player VARCHAR) ###human: What is the hometown for tre madden? ###assistant: SELECT hometown FROM table_name_68 WHERE player = "tre madden"
###context:CREATE TABLE table_name_20 (hometown VARCHAR, position VARCHAR, college VARCHAR) ###human: What is the hometown for the player that is defensive back and went to alabama? ###assistant: SELECT hometown FROM table_name_20 WHERE position = "defensive back" AND college = "alabama"
###context:CREATE TABLE table_name_19 (college VARCHAR, position VARCHAR, school VARCHAR) ###human: What is the college for the player that went to ridge community high school and is defensive back? ###assistant: SELECT college FROM table_name_19 WHERE position = "defensive back" AND school = "ridge community high school"
###context:CREATE TABLE table_name_77 (year INTEGER, date VARCHAR, type VARCHAR, location VARCHAR) ###human: 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? ###assistant: SELECT SUM(year) FROM table_name_77 WHERE type = "informal" AND location = "justus lipsius building, brussels" AND date = "23 may"
###context:CREATE TABLE table_name_59 (type VARCHAR, date VARCHAR, president VARCHAR, location VARCHAR, year VARCHAR) ###human: 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? ###assistant: 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"
###context:CREATE TABLE table_name_22 (president VARCHAR, date VARCHAR, year VARCHAR, location VARCHAR, type VARCHAR) ###human: 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? ###assistant: SELECT president FROM table_name_22 WHERE location = "justus lipsius building, brussels" AND type = "scheduled" AND year > 2011 AND date = "18–19 october"
###context:CREATE TABLE table_name_63 (location VARCHAR, type VARCHAR, date VARCHAR, year VARCHAR, president VARCHAR) ###human: 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? ###assistant: SELECT location FROM table_name_63 WHERE year > 2011 AND president = "herman van rompuy (2nd term)" AND date = "28–29 june" AND type = "scheduled"
###context:CREATE TABLE table_name_31 (president VARCHAR, year VARCHAR, date VARCHAR) ###human: What is the President with a Year larger than 2011, and a Date with 23 may? ###assistant: SELECT president FROM table_name_31 WHERE year > 2011 AND date = "23 may"
###context:CREATE TABLE table_name_96 (type VARCHAR, date VARCHAR, president VARCHAR, year VARCHAR, location VARCHAR) ###human: 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? ###assistant: 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"
###context:CREATE TABLE table_name_49 (competition VARCHAR, goal VARCHAR) ###human: What competition has a goal number of 13? ###assistant: SELECT competition FROM table_name_49 WHERE goal = 13
###context:CREATE TABLE table_name_60 (yards INTEGER, sack VARCHAR, asst VARCHAR, totaltk VARCHAR) ###human: What is the total of yards when asst. is 19, totaltk is 60 and sack is more than 0? ###assistant: SELECT SUM(yards) FROM table_name_60 WHERE asst = 19 AND totaltk = 60 AND sack > 0
###context:CREATE TABLE table_name_40 (sack INTEGER, player VARCHAR, fumr VARCHAR) ###human: what is the total sack for mike green when fumr is less than 0? ###assistant: SELECT SUM(sack) FROM table_name_40 WHERE player = "mike green" AND fumr < 0
###context:CREATE TABLE table_name_86 (sack INTEGER, totaltk VARCHAR, asst VARCHAR) ###human: what is the total sack when totaltk is 1 and asst. is more than 0? ###assistant: SELECT SUM(sack) FROM table_name_86 WHERE totaltk = 1 AND asst > 0
###context:CREATE TABLE table_name_21 (tackles VARCHAR, yards VARCHAR, fumr VARCHAR, totaltk VARCHAR) ###human: what is the total number of tackles when fumr is 0, totaltk is 54 and yards is less than 0? ###assistant: SELECT COUNT(tackles) FROM table_name_21 WHERE fumr = 0 AND totaltk = 54 AND yards < 0
###context:CREATE TABLE table_name_9 (totaltk INTEGER, yards INTEGER) ###human: what is the sum of totaltk when yards is less than 0? ###assistant: SELECT SUM(totaltk) FROM table_name_9 WHERE yards < 0
###context:CREATE TABLE table_name_45 (class VARCHAR, year VARCHAR, points VARCHAR) ###human: What class is after 1973 with 41 points? ###assistant: SELECT class FROM table_name_45 WHERE year > 1973 AND points = 41
###context:CREATE TABLE table_name_90 (wins VARCHAR, year VARCHAR, class VARCHAR, points VARCHAR, team VARCHAR) ###human: How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977? ###assistant: SELECT COUNT(wins) FROM table_name_90 WHERE points < 54 AND team = "yamaha" AND class = "250cc" AND year < 1977
###context:CREATE TABLE table_name_10 (distance VARCHAR, stage VARCHAR, winner VARCHAR) ###human: What distance did giovanni lombardi win after stage 5? ###assistant: SELECT distance FROM table_name_10 WHERE stage > 5 AND winner = "giovanni lombardi"
###context:CREATE TABLE table_name_51 (gc_leader VARCHAR, course VARCHAR) ###human: Who is the GC leader at ávila - segovia? ###assistant: SELECT gc_leader FROM table_name_51 WHERE course = "ávila - segovia"
###context:CREATE TABLE table_name_11 (grid VARCHAR, laps VARCHAR, driver VARCHAR) ###human: How many grids have less than 41 laps and a Driver of pedro de la rosa? ###assistant: SELECT COUNT(grid) FROM table_name_11 WHERE laps < 41 AND driver = "pedro de la rosa"
###context:CREATE TABLE table_name_58 (time_retired VARCHAR, grid VARCHAR, driver VARCHAR) ###human: Which Time/Retired has a Grid smaller than 3, and a Driver of mika häkkinen? ###assistant: SELECT time_retired FROM table_name_58 WHERE grid < 3 AND driver = "mika häkkinen"
###context:CREATE TABLE table_name_14 (laps INTEGER, driver VARCHAR) ###human: What are toranosuke takagi's average laps? ###assistant: SELECT AVG(laps) FROM table_name_14 WHERE driver = "toranosuke takagi"
###context:CREATE TABLE table_name_95 (grid INTEGER, time_retired VARCHAR) ###human: Which grid has a Time/Retired of +5.004? ###assistant: SELECT MIN(grid) FROM table_name_95 WHERE time_retired = "+5.004"
###context:CREATE TABLE table_name_73 (score VARCHAR, visitor VARCHAR, date VARCHAR) ###human: What was the score of the game on November 9 when Atlanta was the visiting team? ###assistant: SELECT score FROM table_name_73 WHERE visitor = "atlanta" AND date = "november 9"