training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_87 (track INTEGER, song_title VARCHAR) ###human: What is the highest track for the song Rip it Up? ###assistant: SELECT MAX(track) FROM table_name_87 WHERE song_title = "rip it up"
###context:CREATE TABLE table_name_12 (track INTEGER, catalogue VARCHAR, time VARCHAR) ###human: What is the sum of every track with a catalogue of EPA 4054 with a 2:05 length? ###assistant: SELECT SUM(track) FROM table_name_12 WHERE catalogue = "epa 4054" AND time = "2:05"
###context:CREATE TABLE table_name_82 (catalogue VARCHAR, time VARCHAR) ###human: What catalogue has a length of 2:10? ###assistant: SELECT catalogue FROM table_name_82 WHERE time = "2:10"
###context:CREATE TABLE table_name_59 (release_date VARCHAR, time VARCHAR, track VARCHAR, recorded VARCHAR) ###human: When was the release date of a track greater than 4, 1/12/57 recorded, and a length of 2:31? ###assistant: SELECT release_date FROM table_name_59 WHERE track > 4 AND recorded = "1/12/57" AND time = "2:31"
###context:CREATE TABLE table_name_31 (release_date VARCHAR, catalogue VARCHAR, recorded VARCHAR) ###human: When was the cataglogue EPA 4054 released with a 1/12/57 recorded? ###assistant: SELECT release_date FROM table_name_31 WHERE catalogue = "epa 4054" AND recorded = "1/12/57"
###context:CREATE TABLE table_name_82 (school VARCHAR, height VARCHAR) ###human: Tell me the school with a height of 6-9 ###assistant: SELECT school FROM table_name_82 WHERE height = "6-9"
###context:CREATE TABLE table_name_65 (school VARCHAR, height VARCHAR) ###human: Which school did the player have a height of 6-4? ###assistant: SELECT school FROM table_name_65 WHERE height = "6-4"
###context:CREATE TABLE table_name_32 (college VARCHAR, player VARCHAR) ###human: Tell me the college that paul davis went to ###assistant: SELECT college FROM table_name_32 WHERE player = "paul davis"
###context:CREATE TABLE table_name_14 (school VARCHAR, player VARCHAR) ###human: Tell me the school that jason fraser went to ###assistant: SELECT school FROM table_name_14 WHERE player = "jason fraser"
###context:CREATE TABLE table_name_98 (result VARCHAR, attendance VARCHAR) ###human: What is the result of the game with 68,436 attending? ###assistant: SELECT result FROM table_name_98 WHERE attendance = "68,436"
###context:CREATE TABLE table_name_38 (nba_draft VARCHAR, college VARCHAR) ###human: What is the NBA Draft status of the person who went to college at LSU? ###assistant: SELECT nba_draft FROM table_name_38 WHERE college = "lsu"
###context:CREATE TABLE table_name_53 (height VARCHAR, player VARCHAR) ###human: What is Player Kenny Williams' Height? ###assistant: SELECT height FROM table_name_53 WHERE player = "kenny williams"
###context:CREATE TABLE table_name_37 (school VARCHAR, player VARCHAR) ###human: What School did Player Billy Owens attend? ###assistant: SELECT school FROM table_name_37 WHERE player = "billy owens"
###context:CREATE TABLE table_name_74 (school VARCHAR, player VARCHAR) ###human: What School did Player Alonzo Mourning attend? ###assistant: SELECT school FROM table_name_74 WHERE player = "alonzo mourning"
###context:CREATE TABLE table_name_16 (bronze INTEGER, rank VARCHAR, total VARCHAR, gold VARCHAR) ###human: How many bronze's on average for nations with over 1 total, less than 2 golds, ranked 2nd? ###assistant: SELECT AVG(bronze) FROM table_name_16 WHERE total > 1 AND gold < 2 AND rank = 2
###context:CREATE TABLE table_name_89 (silver INTEGER, bronze VARCHAR, total VARCHAR, rank VARCHAR) ###human: How many silvers on average for nations with less than 3 total, ranked 6, and over 1 bronze? ###assistant: SELECT AVG(silver) FROM table_name_89 WHERE total < 3 AND rank = 6 AND bronze > 1
###context:CREATE TABLE table_name_2 (date VARCHAR, record VARCHAR) ###human: What is the date of the Cubs game when the Cubs had a record of 1-0? ###assistant: SELECT date FROM table_name_2 WHERE record = "1-0"
###context:CREATE TABLE table_name_56 (opponent VARCHAR, record VARCHAR) ###human: Who did the Cubs play when they had a record of 4-4? ###assistant: SELECT opponent FROM table_name_56 WHERE record = "4-4"
###context:CREATE TABLE table_name_21 (frequency VARCHAR, call_letters VARCHAR) ###human: What is the frequency of WMAD? ###assistant: SELECT frequency FROM table_name_21 WHERE call_letters = "wmad"
###context:CREATE TABLE table_name_23 (ifop_5_11_09 VARCHAR, opinionway_5_11_09 VARCHAR, ipsos_3_14_09 VARCHAR) ###human: Name the lfop 5/11/09 with opinion way of 5/11/09 of 2% and lpsos 3/14/09 of 2% ###assistant: SELECT ifop_5_11_09 FROM table_name_23 WHERE opinionway_5_11_09 = "2%" AND ipsos_3_14_09 = "2%"
###context:CREATE TABLE table_name_43 (ifop_4_24_09 VARCHAR, opinionway_4_17_09 VARCHAR, party VARCHAR) ###human: Name the lfop 4/24/09 for opinionway of 4/17/09 of 5% for party of left front ###assistant: SELECT ifop_4_24_09 FROM table_name_43 WHERE opinionway_4_17_09 = "5%" AND party = "left front"
###context:CREATE TABLE table_name_18 (ifop_5_11_09 VARCHAR, ifop_1_9_09 VARCHAR) ###human: Name the lfop for 5/11/09 with lfop 1/9/09 of 5% ###assistant: SELECT ifop_5_11_09 FROM table_name_18 WHERE ifop_1_9_09 = "5%"
###context:CREATE TABLE table_name_17 (csa_4_16_09 VARCHAR, opinionway_4_17_09 VARCHAR) ###human: Name the csa 4/16/09 for opinionway being 4/17/09 of 12% ###assistant: SELECT csa_4_16_09 FROM table_name_17 WHERE opinionway_4_17_09 = "12%"
###context:CREATE TABLE table_name_33 (ipsos_3_14_09 VARCHAR, ifop_11_12_08 VARCHAR, opinionway_4_17_09 VARCHAR) ###human: Name the lpsos 3/14/09 for opinionway of 4/17/09 of 5% and lfof 11/12/08 of 7% ###assistant: SELECT ipsos_3_14_09 FROM table_name_33 WHERE ifop_11_12_08 = "7%" AND opinionway_4_17_09 = "5%"
###context:CREATE TABLE table_name_18 (results_2004 VARCHAR, party VARCHAR) ###human: Name the 2004 results for npa ###assistant: SELECT results_2004 FROM table_name_18 WHERE party = "npa"
###context:CREATE TABLE table_name_14 (decision VARCHAR, visitor VARCHAR) ###human: What was the decision when Tampa Bay was the visitor? ###assistant: SELECT decision FROM table_name_14 WHERE visitor = "tampa bay"
###context:CREATE TABLE table_name_14 (visitor VARCHAR, date VARCHAR) ###human: Which visitor visited on February 21? ###assistant: SELECT visitor FROM table_name_14 WHERE date = "february 21"
###context:CREATE TABLE table_name_3 (date VARCHAR, venue VARCHAR) ###human: What date is the Victoria Park venue? ###assistant: SELECT date FROM table_name_3 WHERE venue = "victoria park"
###context:CREATE TABLE table_name_16 (away_team VARCHAR, home_team VARCHAR) ###human: What Away team is from Fitzroy? ###assistant: SELECT away_team FROM table_name_16 WHERE home_team = "fitzroy"
###context:CREATE TABLE table_name_85 (home VARCHAR, visitor VARCHAR) ###human: Who was the home team that played the Lakers? ###assistant: SELECT home FROM table_name_85 WHERE visitor = "lakers"
###context:CREATE TABLE table_name_85 (tournament VARCHAR) ###human: Which tournament had a 2008 result of 1R? ###assistant: SELECT tournament FROM table_name_85 WHERE 2006 = "a" AND 2008 = "1r"
###context:CREATE TABLE table_name_91 (Id VARCHAR) ###human: Which tournament in 2012 had a 2007 and 2011 finishes of "A"? ###assistant: SELECT 2012 FROM table_name_91 WHERE 2007 = "a" AND 2011 = "a"
###context:CREATE TABLE table_name_44 (Id VARCHAR) ###human: Which tournament in 2013 had a 2010 finish of 1R? ###assistant: SELECT 2013 FROM table_name_44 WHERE 2006 = "a" AND 2010 = "1r"
###context:CREATE TABLE table_name_71 (home_team VARCHAR, away_team VARCHAR) ###human: Which home team score has an Away team of melbourne? ###assistant: SELECT home_team AS score FROM table_name_71 WHERE away_team = "melbourne"
###context:CREATE TABLE table_name_47 (crowd INTEGER, home_team VARCHAR) ###human: What is the highest crowd for Home team of geelong? ###assistant: SELECT MAX(crowd) FROM table_name_47 WHERE home_team = "geelong"
###context:CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR) ###human: What is the year when the performance is 60.73m and the age (years) is more than 45? ###assistant: SELECT COUNT(year) FROM table_name_85 WHERE performance = "60.73m" AND age__years_ > 45
###context:CREATE TABLE table_name_45 (age__years_ INTEGER, place VARCHAR, performance VARCHAR) ###human: What is the highest age (years) that the 1st place had a performance of 62.20m? ###assistant: SELECT MAX(age__years_) FROM table_name_45 WHERE place = "1st" AND performance = "62.20m"
###context:CREATE TABLE table_name_65 (place VARCHAR, performance VARCHAR) ###human: What is the place when the performance is 60.73m? ###assistant: SELECT place FROM table_name_65 WHERE performance = "60.73m"
###context:CREATE TABLE table_name_47 (kaz_hayashi VARCHAR, block_a VARCHAR) ###human: Name the kaz hayashi with block A of Shuji Kondo ###assistant: SELECT kaz_hayashi FROM table_name_47 WHERE block_a = "shuji kondo"
###context:CREATE TABLE table_name_93 (block_a VARCHAR, toshizo VARCHAR) ###human: Name the block A for shuji kondo ###assistant: SELECT block_a FROM table_name_93 WHERE toshizo = "shuji kondo"
###context:CREATE TABLE table_name_97 (nosawa_rongai VARCHAR, block_a VARCHAR) ###human: Name the NOSAWA Rongai for petey williams ###assistant: SELECT nosawa_rongai FROM table_name_97 WHERE block_a = "petey williams"
###context:CREATE TABLE table_name_61 (score VARCHAR, champion VARCHAR) ###human: What was the score when Nannette Hill was the champion? ###assistant: SELECT score FROM table_name_61 WHERE champion = "nannette hill"
###context:CREATE TABLE table_name_74 (home_team VARCHAR, away_team VARCHAR) ###human: What score did the opposing home team have against Melbourne ###assistant: SELECT home_team AS score FROM table_name_74 WHERE away_team = "melbourne"
###context:CREATE TABLE table_name_76 (venue VARCHAR, away_team VARCHAR) ###human: Name the venue where St Kilda was the opposing away team ###assistant: SELECT venue FROM table_name_76 WHERE away_team = "st kilda"
###context:CREATE TABLE table_name_36 (date VARCHAR, venue VARCHAR) ###human: Which Date has a Venue of lake oval? ###assistant: SELECT date FROM table_name_36 WHERE venue = "lake oval"
###context:CREATE TABLE table_name_79 (crowd INTEGER, away_team VARCHAR) ###human: Which Crowd has an Away team of collingwood? ###assistant: SELECT SUM(crowd) FROM table_name_79 WHERE away_team = "collingwood"
###context:CREATE TABLE table_name_82 (rd__number INTEGER, player VARCHAR, pl_gp VARCHAR) ###human: When Steve Hazlett is the Player, and the PI GP is under 0, what is the average Rd #? ###assistant: SELECT AVG(rd__number) FROM table_name_82 WHERE player = "steve hazlett" AND pl_gp < 0
###context:CREATE TABLE table_name_71 (player VARCHAR, pl_gp VARCHAR, rd__number VARCHAR) ###human: Which Player has a PI GP over 0 and a Rd # of 1? ###assistant: SELECT player FROM table_name_71 WHERE pl_gp > 0 AND rd__number = 1
###context:CREATE TABLE table_name_9 (pick__number INTEGER, rd__number INTEGER) ###human: Which Pick # is the highest and has the Rd # is under 1? ###assistant: SELECT MAX(pick__number) FROM table_name_9 WHERE rd__number < 1
###context:CREATE TABLE table_name_53 (pl_gp INTEGER, pick__number VARCHAR, reg_gp VARCHAR, player VARCHAR) ###human: What is the lowest PI GP when the Reg GP is 1, Murray Bannerman is the Player, and the Pick # is under 58? ###assistant: SELECT MIN(pl_gp) FROM table_name_53 WHERE reg_gp = 1 AND player = "murray bannerman" AND pick__number < 58
###context:CREATE TABLE table_name_33 (top_25 INTEGER, events VARCHAR, cuts_made VARCHAR) ###human: Tell me the average top 25 with events of 5 and cuts madde less than 3 ###assistant: SELECT AVG(top_25) FROM table_name_33 WHERE events = 5 AND cuts_made < 3
###context:CREATE TABLE table_name_5 (cuts_made INTEGER, wins INTEGER) ###human: Tell me the highest cuts made with wins more than 1 ###assistant: SELECT MAX(cuts_made) FROM table_name_5 WHERE wins > 1
###context:CREATE TABLE table_name_71 (wins INTEGER, cuts_made INTEGER) ###human: I want to know the highest wins for cuts made more than 5 ###assistant: SELECT MAX(wins) FROM table_name_71 WHERE cuts_made > 5
###context:CREATE TABLE table_name_98 (top_5 INTEGER, events VARCHAR, top_25 VARCHAR) ###human: Tell me the sum of top 5 with events less than 12 and top 25 less than 0 ###assistant: SELECT SUM(top_5) FROM table_name_98 WHERE events < 12 AND top_25 < 0
###context:CREATE TABLE table_name_94 (crowd INTEGER, away_team VARCHAR) ###human: What was the biggest crowd when South Melbourne was an away team? ###assistant: SELECT MAX(crowd) FROM table_name_94 WHERE away_team = "south melbourne"
###context:CREATE TABLE table_name_9 (attendance INTEGER, date VARCHAR) ###human: How many people attended the game on 8 March 2008? ###assistant: SELECT SUM(attendance) FROM table_name_9 WHERE date = "8 march 2008"
###context:CREATE TABLE table_name_15 (away_team VARCHAR, home_team VARCHAR) ###human: What is the Away team score when they played Geelong as the Home team? ###assistant: SELECT away_team AS score FROM table_name_15 WHERE home_team = "geelong"
###context:CREATE TABLE table_name_73 (home_team VARCHAR) ###human: What did Carlton score when they were the Home team? ###assistant: SELECT home_team AS score FROM table_name_73 WHERE home_team = "carlton"
###context:CREATE TABLE table_name_53 (home_team VARCHAR, away_team VARCHAR) ###human: What is the name of the Home team that played Fitzroy as the Away team? ###assistant: SELECT home_team FROM table_name_53 WHERE away_team = "fitzroy"
###context:CREATE TABLE table_name_31 (points INTEGER, grade VARCHAR) ###human: What is the total number of points when the grade was A? ###assistant: SELECT SUM(points) FROM table_name_31 WHERE grade = "a"
###context:CREATE TABLE table_name_67 (standing_broad_jump__cm_ VARCHAR, grade VARCHAR) ###human: Which standing broad jump (cm) had the b grade? ###assistant: SELECT standing_broad_jump__cm_ FROM table_name_67 WHERE grade = "b"
###context:CREATE TABLE table_name_54 (grade VARCHAR, chin_up__reps_ VARCHAR) ###human: Which grade did the chin-up (reps) 9-10 receive? ###assistant: SELECT grade FROM table_name_54 WHERE chin_up__reps_ = "9-10"
###context:CREATE TABLE table_name_99 (year VARCHAR, comp VARCHAR) ###human: What year was the comp 33? ###assistant: SELECT year FROM table_name_99 WHERE comp = "33"
###context:CREATE TABLE table_name_51 (ravg VARCHAR, year VARCHAR) ###human: In 1984, what was the RAvg? ###assistant: SELECT ravg FROM table_name_51 WHERE year = "1984"
###context:CREATE TABLE table_name_85 (ratt VARCHAR, year VARCHAR) ###human: In 1983, what was the RAtt? ###assistant: SELECT ratt FROM table_name_85 WHERE year = "1983"
###context:CREATE TABLE table_name_67 (team VARCHAR, rate VARCHAR) ###human: What team has a 94.1 rating? ###assistant: SELECT team FROM table_name_67 WHERE rate = "94.1"
###context:CREATE TABLE table_name_60 (year VARCHAR, ratt VARCHAR, comp VARCHAR) ###human: What year has a RAtt of 1 and a comp of 49? ###assistant: SELECT year FROM table_name_60 WHERE ratt = "1" AND comp = "49"
###context:CREATE TABLE table_name_98 (loss VARCHAR, date VARCHAR) ###human: Who recorded the loss on august 7? ###assistant: SELECT loss FROM table_name_98 WHERE date = "august 7"
###context:CREATE TABLE table_name_7 (home_team VARCHAR, away_team VARCHAR) ###human: When the away team was st kilda, what did the home team score? ###assistant: SELECT home_team AS score FROM table_name_7 WHERE away_team = "st kilda"
###context:CREATE TABLE table_name_98 (away_team VARCHAR, home_team VARCHAR) ###human: When the home team was geelong, what did the away team score? ###assistant: SELECT away_team AS score FROM table_name_98 WHERE home_team = "geelong"
###context:CREATE TABLE table_name_11 (artist VARCHAR, issue_price VARCHAR) ###human: Which Artist has an Issue Price of $8,159.95? ###assistant: SELECT artist FROM table_name_11 WHERE issue_price = "$8,159.95"
###context:CREATE TABLE table_name_9 (mintage INTEGER, year VARCHAR, artist VARCHAR, issue_price VARCHAR) ###human: What is the lowest Mintage for the Artist Royal Canadian Mint Engravers, in the Year 2009, with an Issue Price of $10,199.95? ###assistant: SELECT MIN(mintage) FROM table_name_9 WHERE artist = "royal canadian mint engravers" AND issue_price = "$10,199.95" AND year > 2009
###context:CREATE TABLE table_name_75 (mintage INTEGER, artist VARCHAR) ###human: What is the sum of Artist Steve Hepburn's Mintage? ###assistant: SELECT SUM(mintage) FROM table_name_75 WHERE artist = "steve hepburn"
###context:CREATE TABLE table_name_35 (year INTEGER, artist VARCHAR, mintage VARCHAR) ###human: What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200? ###assistant: SELECT AVG(year) FROM table_name_35 WHERE artist = "royal canadian mint engravers" AND mintage < 200
###context:CREATE TABLE table_name_46 (mintage INTEGER, artist VARCHAR, year VARCHAR) ###human: When the Year is over 2008, what is the highest Mintage for the Royal Canadian Mint Engravers Artist? ###assistant: SELECT MAX(mintage) FROM table_name_46 WHERE artist = "royal canadian mint engravers" AND year > 2008
###context:CREATE TABLE table_name_76 (until VARCHAR, name VARCHAR) ###human: When did José Luis Sánchez Solá end his term of coaching? ###assistant: SELECT until FROM table_name_76 WHERE name = "josé luis sánchez solá"
###context:CREATE TABLE table_name_72 (class VARCHAR, year_s__withdrawn VARCHAR, manufacturer VARCHAR, year_made VARCHAR) ###human: What is the class of the locomotive with an Eastleigh Works manufacturer, made in 1914, and withdrawn in 1959? ###assistant: SELECT class FROM table_name_72 WHERE manufacturer = "eastleigh works" AND year_made = "1914" AND year_s__withdrawn = "1959"
###context:CREATE TABLE table_name_47 (class VARCHAR, wheel_arrangement VARCHAR, quantity_made VARCHAR) ###human: What is the class of the locomotive with a wheel arrangement of 4-6-0 and a quantity made of 14? ###assistant: SELECT class FROM table_name_47 WHERE wheel_arrangement = "4-6-0" AND quantity_made = "14"
###context:CREATE TABLE table_name_59 (fleet_number_s_ VARCHAR, quantity_made VARCHAR) ###human: What is the fleet number of the locomotive with 1 quantity made? ###assistant: SELECT fleet_number_s_ FROM table_name_59 WHERE quantity_made = "1"
###context:CREATE TABLE table_name_68 (crowd INTEGER, away_team VARCHAR) ###human: In games where st kilda was the away team, what was the smallest crowd? ###assistant: SELECT MIN(crowd) FROM table_name_68 WHERE away_team = "st kilda"
###context:CREATE TABLE table_name_7 (home_team VARCHAR) ###human: In fitzroy's match where they were the home team, how much did they score? ###assistant: SELECT home_team AS score FROM table_name_7 WHERE home_team = "fitzroy"
###context:CREATE TABLE table_name_4 (home_team VARCHAR, venue VARCHAR) ###human: What was the score for the home team who plays their matches at the mcg venue? ###assistant: SELECT home_team AS score FROM table_name_4 WHERE venue = "mcg"
###context:CREATE TABLE table_name_50 (earnings__ INTEGER, wins VARCHAR, rank VARCHAR) ###human: Which player has the lowest earnings and has at least 4 wins and is ranked higher than 4? ###assistant: SELECT MIN(earnings__) AS $__ FROM table_name_50 WHERE wins = 4 AND rank > 4
###context:CREATE TABLE table_name_8 (wins INTEGER, earnings__$__ INTEGER) ###human: How many wins do the players that earned more than 720,134 have? ###assistant: SELECT SUM(wins) FROM table_name_8 WHERE earnings__$__ > 720 OFFSET 134
###context:CREATE TABLE table_name_70 (rank INTEGER, earnings__$__ INTEGER) ###human: Who is the highest ranked player that has earnings below 395,386? ###assistant: SELECT MAX(rank) FROM table_name_70 WHERE earnings__$__ < 395 OFFSET 386
###context:CREATE TABLE table_name_82 (game VARCHAR, rams_points VARCHAR) ###human: In what Game did Rams Points equal 0? ###assistant: SELECT game FROM table_name_82 WHERE rams_points = 0
###context:CREATE TABLE table_name_54 (opponent VARCHAR, record VARCHAR) ###human: What Opponent has a 6-0 Record? ###assistant: SELECT opponent FROM table_name_54 WHERE record = "6-0"
###context:CREATE TABLE table_name_4 (interview INTEGER, swimsuit VARCHAR, state VARCHAR, average VARCHAR, evening_gown VARCHAR) ###human: 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? ###assistant: SELECT SUM(interview) FROM table_name_4 WHERE average < 8.697 AND evening_gown < 8.73 AND state = "north dakota" AND swimsuit > 8.41
###context:CREATE TABLE table_name_77 (swimsuit INTEGER, average VARCHAR, evening_gown VARCHAR, state VARCHAR) ###human: 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? ###assistant: SELECT SUM(swimsuit) FROM table_name_77 WHERE evening_gown < 8.77 AND state = "missouri" AND average < 8.823
###context:CREATE TABLE table_name_19 (swimsuit VARCHAR, interview VARCHAR, average VARCHAR, evening_gown VARCHAR) ###human: What is the total number of swimsuit scores that have average scores less than 8.823, evening gown scores less than 8.69, and interview scores equal to 8.27? ###assistant: SELECT COUNT(swimsuit) FROM table_name_19 WHERE average < 8.823 AND evening_gown < 8.69 AND interview = 8.27
###context:CREATE TABLE table_name_85 (swimsuit INTEGER, interview VARCHAR, evening_gown VARCHAR) ###human: What is the lowest swimsuit score where the contestant scored less than 8.56 in the interview and greater than 8.54 in the evening gown? ###assistant: SELECT MIN(swimsuit) FROM table_name_85 WHERE interview < 8.56 AND evening_gown > 8.54
###context:CREATE TABLE table_name_4 (evening_gown INTEGER, average VARCHAR, interview VARCHAR, swimsuit VARCHAR) ###human: What is the sum of the evening gown scores where the interview score is less than 8.77, the swimsuit score is equal to 7.8, and the average score is less than 8.2? ###assistant: SELECT SUM(evening_gown) FROM table_name_4 WHERE interview < 8.77 AND swimsuit = 7.8 AND average < 8.2
###context:CREATE TABLE table_name_96 (attendance INTEGER, tie_no VARCHAR) ###human: What was the attendance for the game that has a tie number of 13? ###assistant: SELECT SUM(attendance) FROM table_name_96 WHERE tie_no = "13"
###context:CREATE TABLE table_name_82 (attendance INTEGER, away_team VARCHAR) ###human: What is the average attendance when the Forest Green Rovers is the away team? ###assistant: SELECT AVG(attendance) FROM table_name_82 WHERE away_team = "forest green rovers"
###context:CREATE TABLE table_name_48 (grid INTEGER, rider VARCHAR, laps VARCHAR) ###human: What is the grid number for troy corser with under 22 laps? ###assistant: SELECT SUM(grid) FROM table_name_48 WHERE rider = "troy corser" AND laps < 22
###context:CREATE TABLE table_name_11 (rider VARCHAR, laps VARCHAR, grid VARCHAR) ###human: What rider went under 22 laps with grid number 2? ###assistant: SELECT rider FROM table_name_11 WHERE laps < 22 AND grid = 2
###context:CREATE TABLE table_name_76 (country_region VARCHAR, languages VARCHAR) ###human: What country speaks Vietnamese? ###assistant: SELECT country_region FROM table_name_76 WHERE languages = "vietnamese"
###context:CREATE TABLE table_name_44 (rank VARCHAR, team VARCHAR, time VARCHAR) ###human: What ranking did Team 250cc Honda end up in when it finished a race with a time of 1:27.57.28? ###assistant: SELECT COUNT(rank) FROM table_name_44 WHERE team = "250cc honda" AND time = "1:27.57.28"
###context:CREATE TABLE table_name_57 (constructor VARCHAR, grid VARCHAR) ###human: Tell me the constructor for grid of 8 ###assistant: SELECT constructor FROM table_name_57 WHERE grid = 8
###context:CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR) ###human: I want the total number of Grids for heinz-harald frentzen ###assistant: SELECT COUNT(grid) FROM table_name_10 WHERE driver = "heinz-harald frentzen"