training_input
stringlengths
118
1.06k
###context:CREATE TABLE table_name_83 (duration VARCHAR, start_date_time VARCHAR) ###human: The EVA that started on 8 July 12:38 went for how long? ###assistant: SELECT duration FROM table_name_83 WHERE start_date_time = "8 july 12:38"
###context:CREATE TABLE table_name_96 (spacecraft VARCHAR, start_date_time VARCHAR) ###human: The EVA that started 8 July 12:38 was from what spacecraft? ###assistant: SELECT spacecraft FROM table_name_96 WHERE start_date_time = "8 july 12:38"
###context:CREATE TABLE table_name_90 (assists VARCHAR, opponent VARCHAR, team VARCHAR, competition VARCHAR, total_gs VARCHAR) ###human: How many assists were in the k-league competition, which has more than 20 total Gs, the pohang steelers team, and chunnam dragons as the opponent? ###assistant: SELECT assists FROM table_name_90 WHERE competition = "k-league" AND total_gs > 20 AND team = "pohang steelers" AND opponent = "chunnam dragons"
###context:CREATE TABLE table_name_65 (goals INTEGER, total_gs VARCHAR, name VARCHAR, competition VARCHAR, team VARCHAR) ###human: What is the average number of goals of park sung-ho at the k-league competition, which has the pohang steelers team and less than 46 total Gs? ###assistant: SELECT AVG(goals) FROM table_name_65 WHERE competition = "k-league" AND team = "pohang steelers" AND name = "park sung-ho" AND total_gs < 46
###context:CREATE TABLE table_name_93 (date VARCHAR, competition VARCHAR, venue VARCHAR, goals VARCHAR) ###human: What is the date of the k-league cup, which has less than 28 goals, at the jeonju venue? ###assistant: SELECT date FROM table_name_93 WHERE venue = "jeonju" AND goals < 28 AND competition = "k-league cup"
###context:CREATE TABLE table_name_81 (total_as INTEGER, venue VARCHAR, team VARCHAR, opponent VARCHAR) ###human: What is the sum of the total As of team bucheon sk, who had the chunnam dragons as their opponent at the bucheon venue? ###assistant: SELECT SUM(total_as) FROM table_name_81 WHERE team = "bucheon sk" AND opponent = "chunnam dragons" AND venue = "bucheon"
###context:CREATE TABLE table_name_6 (assists INTEGER, name VARCHAR, venue VARCHAR, competition VARCHAR) ###human: What is the sum of the assists kang jae-soon had in the k-league competition in ulsan? ###assistant: SELECT SUM(assists) FROM table_name_6 WHERE venue = "ulsan" AND competition = "k-league" AND name = "kang jae-soon"
###context:CREATE TABLE table_name_16 (goals INTEGER, date VARCHAR) ###human: What is the sum of the goals on 2007-06-16? ###assistant: SELECT SUM(goals) FROM table_name_16 WHERE date = "2007-06-16"
###context:CREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR) ###human: What was Bill Glasson's score to par after 2 rounds? ###assistant: SELECT to_par FROM table_name_76 WHERE player = "bill glasson"
###context:CREATE TABLE table_name_20 (to_par VARCHAR, player VARCHAR) ###human: What was Phil Mickelson's score to par? ###assistant: SELECT to_par FROM table_name_20 WHERE player = "phil mickelson"
###context:CREATE TABLE table_name_49 (place VARCHAR, player VARCHAR) ###human: What place was Bill Glasson in? ###assistant: SELECT place FROM table_name_49 WHERE player = "bill glasson"
###context:CREATE TABLE table_name_36 (pick INTEGER, overall VARCHAR, round VARCHAR) ###human: What is the average pick with 85 overall in a round lower than 3? ###assistant: SELECT AVG(pick) FROM table_name_36 WHERE overall = 85 AND round < 3
###context:CREATE TABLE table_name_71 (Id VARCHAR) ###human: What was the 2009 results that has q1 for 2010, and A as the result for 2011? ###assistant: SELECT 2009 FROM table_name_71 WHERE 2010 = "q1" AND 2011 = "a"
###context:CREATE TABLE table_name_52 (Id VARCHAR) ###human: What were the 2009 results that has 0 in 2010? ###assistant: SELECT 2009 FROM table_name_52 WHERE 2010 = "0"
###context:CREATE TABLE table_name_83 (Id VARCHAR) ###human: With a 2011 of 0 what was the 2006 result? ###assistant: SELECT 2006 FROM table_name_83 WHERE 2011 = "0"
###context:CREATE TABLE table_name_32 (Id VARCHAR) ###human: What is the result for 2004 when A is the result for 2005, and the result of q1 when 2009? ###assistant: SELECT 2004 FROM table_name_32 WHERE 2005 = "a" AND 2009 = "q1"
###context:CREATE TABLE table_name_23 (Id VARCHAR) ###human: With a 2008 result of 153 what is the result for 2007? ###assistant: SELECT 2007 FROM table_name_23 WHERE 2008 = "153"
###context:CREATE TABLE table_name_36 (tournament VARCHAR) ###human: What are the results in 2008 when 2009 is 0, and the ATP Tournaments Won is the tournament? ###assistant: SELECT 2008 FROM table_name_36 WHERE 2009 = "0" AND tournament = "atp tournaments won"
###context:CREATE TABLE table_name_40 (team VARCHAR, year VARCHAR) ###human: Which team was in 1951? ###assistant: SELECT team FROM table_name_40 WHERE year = 1951
###context:CREATE TABLE table_name_69 (date VARCHAR, opponent_in_the_final VARCHAR) ###human: What is the date of the match with arnaud di pasquale as the opponent in the final? ###assistant: SELECT date FROM table_name_69 WHERE opponent_in_the_final = "arnaud di pasquale"
###context:CREATE TABLE table_name_27 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR) ###human: What is the date of the match with a winner outcome and jim courier as the opponent in the final? ###assistant: SELECT date FROM table_name_27 WHERE outcome = "winner" AND opponent_in_the_final = "jim courier"
###context:CREATE TABLE table_name_61 (surface VARCHAR, championship VARCHAR) ###human: What is the surface of the palermo, italy championship? ###assistant: SELECT surface FROM table_name_61 WHERE championship = "palermo, italy"
###context:CREATE TABLE table_name_92 (round INTEGER, position VARCHAR, player VARCHAR) ###human: In what Round was OL Player Richard Zulys picked? ###assistant: SELECT SUM(round) FROM table_name_92 WHERE position = "ol" AND player = "richard zulys"
###context:CREATE TABLE table_name_30 (player VARCHAR, school_club_team VARCHAR) ###human: What is the Player from McGill? ###assistant: SELECT player FROM table_name_30 WHERE school_club_team = "mcgill"
###context:CREATE TABLE table_name_53 (college VARCHAR, overall VARCHAR) ###human: Which College had an Overall pick of 171? ###assistant: SELECT college FROM table_name_53 WHERE overall = 171
###context:CREATE TABLE table_name_36 (name VARCHAR, overall VARCHAR) ###human: Who had the overall pick of 72? ###assistant: SELECT name FROM table_name_36 WHERE overall = 72
###context:CREATE TABLE table_name_39 (primary_conference VARCHAR, team_nickname VARCHAR) ###human: What primary conference does the team nicknamed Phoenix belongs to? ###assistant: SELECT primary_conference FROM table_name_39 WHERE team_nickname = "phoenix"
###context:CREATE TABLE table_name_36 (location VARCHAR, home_rink VARCHAR) ###human: Where is the location for the home rink Triangle sports plex/Greensboro ice house? ###assistant: SELECT location FROM table_name_36 WHERE home_rink = "triangle sports plex/greensboro ice house"
###context:CREATE TABLE table_name_60 (pick INTEGER, former_wnba_team VARCHAR) ###human: What pick was a player that previously played for the Minnesota Lynx? ###assistant: SELECT SUM(pick) FROM table_name_60 WHERE former_wnba_team = "minnesota lynx"
###context:CREATE TABLE table_name_89 (player VARCHAR, pick INTEGER) ###human: Which player was picked after 23? ###assistant: SELECT player FROM table_name_89 WHERE pick > 23
###context:CREATE TABLE table_name_74 (nationality VARCHAR, college_country_team VARCHAR) ###human: What is the nationality of the player who went to college at Mississippi? ###assistant: SELECT nationality FROM table_name_74 WHERE college_country_team = "mississippi"
###context:CREATE TABLE table_name_62 (player VARCHAR, new_wnba_team VARCHAR, college_country_team VARCHAR) ###human: Who is the player who played for the Miami Sol and went to school at North Carolina State? ###assistant: SELECT player FROM table_name_62 WHERE new_wnba_team = "miami sol" AND college_country_team = "north carolina state"
###context:CREATE TABLE table_name_74 (ast_avg INTEGER, total_assists VARCHAR, games VARCHAR, rank VARCHAR) ###human: WHAT IS THE AVG AST FOR GAMES LARGER THAN 101, RANK 5, TOTAL ASSISTS SMALLER THAN 331? ###assistant: SELECT AVG(ast_avg) FROM table_name_74 WHERE games > 101 AND rank = 5 AND total_assists < 331
###context:CREATE TABLE table_name_20 (ast_avg INTEGER, rank VARCHAR, games VARCHAR) ###human: WHAT IS THE SUM OF AST AVG WITH RANK 5 AND GAMES BIGGER THAN 108? ###assistant: SELECT SUM(ast_avg) FROM table_name_20 WHERE rank = 5 AND games > 108
###context:CREATE TABLE table_name_55 (round VARCHAR, name VARCHAR) ###human: Which Round has a Name of john goodyear? ###assistant: SELECT round FROM table_name_55 WHERE name = "john goodyear"
###context:CREATE TABLE table_name_64 (round VARCHAR, college VARCHAR, overall VARCHAR) ###human: Which Round has a College of appalachian state, and an Overall smaller than 156? ###assistant: SELECT COUNT(round) FROM table_name_64 WHERE college = "appalachian state" AND overall < 156
###context:CREATE TABLE table_name_46 (pick VARCHAR, round VARCHAR, name VARCHAR) ###human: Which Pick has a Round larger than 17, and a Name of gene stewart? ###assistant: SELECT COUNT(pick) FROM table_name_46 WHERE round > 17 AND name = "gene stewart"
###context:CREATE TABLE table_name_96 (res VARCHAR, opponent VARCHAR) ###human: What was the result when the opponent was Rory Markham? ###assistant: SELECT res FROM table_name_96 WHERE opponent = "rory markham"
###context:CREATE TABLE table_name_27 (branding VARCHAR, frequency VARCHAR) ###human: Which Branding has a frequency of 1080khz? ###assistant: SELECT branding FROM table_name_27 WHERE frequency = "1080khz"
###context:CREATE TABLE table_name_23 (frequency VARCHAR, location VARCHAR) ###human: Which frequency is located in Dagupan? ###assistant: SELECT frequency FROM table_name_23 WHERE location = "dagupan"
###context:CREATE TABLE table_name_33 (frequency VARCHAR, branding VARCHAR) ###human: What frequency does branding dzec radyo agila 1062 have? ###assistant: SELECT frequency FROM table_name_33 WHERE branding = "dzec radyo agila 1062"
###context:CREATE TABLE table_name_5 (frequency VARCHAR, power__kw_ VARCHAR) ###human: Which frequency has 40kw power? ###assistant: SELECT frequency FROM table_name_5 WHERE power__kw_ = "40kw"
###context:CREATE TABLE table_name_35 (frequency VARCHAR, location VARCHAR) ###human: Which frequency is located in Davao? ###assistant: SELECT frequency FROM table_name_35 WHERE location = "davao"
###context:CREATE TABLE table_name_34 (peak_population__year_ VARCHAR, city VARCHAR) ###human: what is the peak population (year) for scranton? ###assistant: SELECT peak_population__year_ FROM table_name_34 WHERE city = "scranton"
###context:CREATE TABLE table_name_99 (numeric_decline_from_peak_population VARCHAR, percent_decline_from_peak_population VARCHAR) ###human: what is the numeric decline from peak population when the perfect decline from peak population is -16.76% ###assistant: SELECT numeric_decline_from_peak_population FROM table_name_99 WHERE percent_decline_from_peak_population = "-16.76%"
###context:CREATE TABLE table_name_33 (state VARCHAR, peak_population__year_ VARCHAR) ###human: what is the state when the peak population (year) is 134995 (1950)? ###assistant: SELECT state FROM table_name_33 WHERE peak_population__year_ = "134995 (1950)"
###context:CREATE TABLE table_name_98 (percent_decline_from_peak_population VARCHAR, peak_population__year_ VARCHAR) ###human: what is the percent decline from peak population when the peak population (year) is 178320 (1960)? ###assistant: SELECT percent_decline_from_peak_population FROM table_name_98 WHERE peak_population__year_ = "178320 (1960)"
###context:CREATE TABLE table_name_7 (rank VARCHAR, studio VARCHAR, director VARCHAR) ###human: WHAT IS THE RANK OF UNIVERSAL, AND DIRECTOR JOHN HUGHES? ###assistant: SELECT rank FROM table_name_7 WHERE studio = "universal" AND director = "john hughes"
###context:CREATE TABLE table_name_98 (title VARCHAR, rank VARCHAR, director VARCHAR) ###human: WHAT IS THE TITLE THAT HAS A RANK BIGGER THAN 10, FOR DIRECTOR WALTER HILL? ###assistant: SELECT title FROM table_name_98 WHERE rank > 10 AND director = "walter hill"
###context:CREATE TABLE table_name_41 (studio VARCHAR, title VARCHAR) ###human: WHAT IS THE STUDIO WITH THE TITLE MASK? ###assistant: SELECT studio FROM table_name_41 WHERE title = "mask"
###context:CREATE TABLE table_name_59 (rank VARCHAR, gross VARCHAR) ###human: WHAT IS THE RANK WITH A GROSS OF $96,773,200? ###assistant: SELECT COUNT(rank) FROM table_name_59 WHERE gross = "$96,773,200"
###context:CREATE TABLE table_name_44 (drawn VARCHAR, lost VARCHAR, goal_difference VARCHAR) ###human: How many times was the player drawn that had less than 12 losses and a goal difference of +20? ###assistant: SELECT drawn FROM table_name_44 WHERE lost < 12 AND goal_difference = "+20"
###context:CREATE TABLE table_name_36 (position INTEGER, played VARCHAR, goal_difference VARCHAR, drawn VARCHAR, lost VARCHAR) ###human: What is the sum of the positions for the player who had less than 25 losses, a goal difference of +20, 10 draws, and played less than 42? ###assistant: SELECT SUM(position) FROM table_name_36 WHERE drawn = 10 AND lost < 25 AND goal_difference = "+20" AND played < 42
###context:CREATE TABLE table_name_89 (played INTEGER, lost VARCHAR, goal_difference VARCHAR) ###human: What is the highest number played when there were less than 13 losses and a goal difference of +46? ###assistant: SELECT MAX(played) FROM table_name_89 WHERE lost < 13 AND goal_difference = "+46"
###context:CREATE TABLE table_name_75 (points_1 VARCHAR, lost VARCHAR, position VARCHAR, goals_for VARCHAR) ###human: What is listed under points 1 when the position was greater than 4, there were 54 goals for and more than 11 losses? ###assistant: SELECT points_1 FROM table_name_75 WHERE position > 4 AND goals_for = 54 AND lost > 11
###context:CREATE TABLE table_name_33 (worship_leader VARCHAR, lead_supporting_vocal VARCHAR) ###human: Who was the worship leader that had a lead supporting vocal Marcus Temu? ###assistant: SELECT worship_leader FROM table_name_33 WHERE lead_supporting_vocal = "marcus temu"
###context:CREATE TABLE table_name_32 (lead_supporting_vocal VARCHAR, time VARCHAR) ###human: Who was the lead supporting vocalist on the song that was 4:54 long? ###assistant: SELECT lead_supporting_vocal FROM table_name_32 WHERE time = "4:54"
###context:CREATE TABLE table_name_17 (worship_leader VARCHAR, time VARCHAR) ###human: Who was the Worship Leader for the song that was 7:05 long? ###assistant: SELECT worship_leader FROM table_name_17 WHERE time = "7:05"
###context:CREATE TABLE table_name_12 (song VARCHAR, lead_supporting_vocal VARCHAR) ###human: What is the song name that featured Marcus Temu as the lead supporting vocalist? ###assistant: SELECT song FROM table_name_12 WHERE lead_supporting_vocal = "marcus temu"
###context:CREATE TABLE table_name_71 (diameter INTEGER, longitude VARCHAR) ###human: What's the lowest diameter when the longitude is 71.1w? ###assistant: SELECT MIN(diameter) FROM table_name_71 WHERE longitude = "71.1w"
###context:CREATE TABLE table_name_7 (diameter INTEGER, name VARCHAR) ###human: What is dardanus sulcus' lowest diameter? ###assistant: SELECT MIN(diameter) FROM table_name_7 WHERE name = "dardanus sulcus"
###context:CREATE TABLE table_name_68 (year_named VARCHAR, name VARCHAR, diameter VARCHAR) ###human: How many years is ur sulcus listed with a diameter less than 1,145.0? ###assistant: SELECT COUNT(year_named) FROM table_name_68 WHERE name = "ur sulcus" AND diameter < 1 OFFSET 145.0
###context:CREATE TABLE table_name_78 (score VARCHAR, attendance VARCHAR) ###human: When the attendance was 3188 what was the score? ###assistant: SELECT score FROM table_name_78 WHERE attendance = 3188
###context:CREATE TABLE table_name_69 (attendance INTEGER, date VARCHAR, home VARCHAR) ###human: What is the maximum number of people in attendance on 16 August 2008 when the home team was Deportes Savio? ###assistant: SELECT MAX(attendance) FROM table_name_69 WHERE date = "16 august 2008" AND home = "deportes savio"
###context:CREATE TABLE table_name_49 (away VARCHAR, home VARCHAR) ###human: What team was the away team when the Deportes Savio was the home team? ###assistant: SELECT away FROM table_name_49 WHERE home = "deportes savio"
###context:CREATE TABLE table_name_93 (away VARCHAR, score VARCHAR) ###human: What was the away team when the score was 3:1? ###assistant: SELECT away FROM table_name_93 WHERE score = "3:1"
###context:CREATE TABLE table_name_29 (attendance VARCHAR, date VARCHAR, away VARCHAR) ###human: When Platense was the away team on 16 August 2008 how many people attended the game? ###assistant: SELECT attendance FROM table_name_29 WHERE date = "16 august 2008" AND away = "platense"
###context:CREATE TABLE table_name_17 (score VARCHAR, attendance VARCHAR) ###human: What was the score when 2441 people were in attendance? ###assistant: SELECT score FROM table_name_17 WHERE attendance = 2441
###context:CREATE TABLE table_name_77 (driver VARCHAR, points VARCHAR) ###human: Which driver had 35+3 points? ###assistant: SELECT driver FROM table_name_77 WHERE points = "35+3"
###context:CREATE TABLE table_name_78 (time_retired VARCHAR, points VARCHAR) ###human: What was the time/retired for the driver with 14 points? ###assistant: SELECT time_retired FROM table_name_78 WHERE points = "14"
###context:CREATE TABLE table_name_79 (total VARCHAR, league_cup_goals VARCHAR, fa_cup_goals VARCHAR) ###human: What is the sum of goals when the league cup goals are 4 and the FA cup goals are 0? ###assistant: SELECT total FROM table_name_79 WHERE league_cup_goals = "4" AND fa_cup_goals = "0"
###context:CREATE TABLE table_name_78 (fa_cup_goals VARCHAR, club VARCHAR, total VARCHAR, league_cup_goals VARCHAR) ###human: What is the amount of FA cups goals that were made when the total goals is greater than 16, and the league cup goals is 1 for the Norwich City club? ###assistant: SELECT fa_cup_goals FROM table_name_78 WHERE total > 16 AND league_cup_goals = "1" AND club = "norwich city"
###context:CREATE TABLE table_name_66 (league_goals VARCHAR, league_cup_goals VARCHAR, scorer VARCHAR) ###human: What is the number of league goals when Bill Dearden was the scorer and there was 0 league cup goals? ###assistant: SELECT league_goals FROM table_name_66 WHERE league_cup_goals = "0" AND scorer = "bill dearden"
###context:CREATE TABLE table_name_15 (name VARCHAR, moving_from VARCHAR, transfer_window VARCHAR, transfer_fee VARCHAR) ###human: What is the name of the player with a transfer window in summer, an undisclosed transfer fee, and is moving from brussels? ###assistant: SELECT name FROM table_name_15 WHERE transfer_window = "summer" AND transfer_fee = "undisclosed" AND moving_from = "brussels"
###context:CREATE TABLE table_name_79 (type VARCHAR, transfer_window VARCHAR, name VARCHAR) ###human: What is the type of bulykin, which has a summer transfer window? ###assistant: SELECT type FROM table_name_79 WHERE transfer_window = "summer" AND name = "bulykin"
###context:CREATE TABLE table_name_70 (country VARCHAR, name VARCHAR) ###human: What is the country of cordier? ###assistant: SELECT country FROM table_name_70 WHERE name = "cordier"
###context:CREATE TABLE table_name_69 (country VARCHAR, transfer_window VARCHAR, moving_from VARCHAR) ###human: What is the country of the player moving from belgrano with a summer transfer window? ###assistant: SELECT country FROM table_name_69 WHERE transfer_window = "summer" AND moving_from = "belgrano"
###context:CREATE TABLE table_name_40 (transfer_window VARCHAR, moving_from VARCHAR) ###human: What is the transfer window of the player moving from barueri? ###assistant: SELECT transfer_window FROM table_name_40 WHERE moving_from = "barueri"
###context:CREATE TABLE table_name_11 (type VARCHAR, moving_from VARCHAR) ###human: What is the type of the player moving from belgrano? ###assistant: SELECT type FROM table_name_11 WHERE moving_from = "belgrano"
###context:CREATE TABLE table_name_94 (round INTEGER, pick VARCHAR, overall VARCHAR) ###human: Average round for 22 pick that is overall smaller than 229? ###assistant: SELECT AVG(round) FROM table_name_94 WHERE pick = 22 AND overall < 229
###context:CREATE TABLE table_name_88 (country VARCHAR) ###human: What is the normal 2002 that has a Country of Peru, and 2007 bigger than 1,200? ###assistant: SELECT AVG(2002) FROM table_name_88 WHERE country = "peru" AND 2007 > 1 OFFSET 200
###context:CREATE TABLE table_name_81 (Id VARCHAR) ###human: What is the least 2009 that has 2005 littler than 640, and 2011 of 425, and 2003 littler than 500? ###assistant: SELECT MIN(2009) FROM table_name_81 WHERE 2005 < 640 AND 2011 = 425 AND 2003 < 500
###context:CREATE TABLE table_name_37 (bronze INTEGER, silver INTEGER) ###human: How many Bronze medals did the Nation with 0 Silver receive? ###assistant: SELECT MAX(bronze) FROM table_name_37 WHERE silver < 0
###context:CREATE TABLE table_name_88 (gold INTEGER, silver VARCHAR, total VARCHAR, bronze VARCHAR) ###human: How many Gold medals did the Nation with less than 8 Total medals including 1 Bronze and 0 Silver receive? ###assistant: SELECT MIN(gold) FROM table_name_88 WHERE total < 8 AND bronze < 1 AND silver < 1
###context:CREATE TABLE table_name_47 (total INTEGER, bronze INTEGER) ###human: How many Total medals did the Nation the got 0 Bronze medals receive? ###assistant: SELECT AVG(total) FROM table_name_47 WHERE bronze < 0
###context:CREATE TABLE table_name_46 (nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR, total VARCHAR) ###human: What Nation had a more than 1 Total medal including less than 3 Silver, less than 4 Gold and a Rank of 4? ###assistant: SELECT nation FROM table_name_46 WHERE silver < 3 AND total > 1 AND gold < "4" AND rank = "4"
###context:CREATE TABLE table_name_21 (silver INTEGER, total VARCHAR, gold VARCHAR, rank VARCHAR) ###human: How many Silver medals did the Nation ranking 8 with more than 1 Total medal but less than 1 Gold receive? ###assistant: SELECT SUM(silver) FROM table_name_21 WHERE gold < 1 AND rank = "8" AND total > 1
###context:CREATE TABLE table_name_16 (start VARCHAR, main_host VARCHAR, winning_mentor VARCHAR) ###human: What is the start date with Luke Jacobz hosting and Dannii Minogue as a winning mentor? ###assistant: SELECT start FROM table_name_16 WHERE main_host = "luke jacobz" AND winning_mentor = "dannii minogue"
###context:CREATE TABLE table_name_59 (third_place VARCHAR, winning_mentor VARCHAR, runner_up VARCHAR) ###human: Who was in third place when Guy Sebastian was the winning mentor and Andrew Wishart was the runner-up? ###assistant: SELECT third_place FROM table_name_59 WHERE winning_mentor = "guy sebastian" AND runner_up = "andrew wishart"
###context:CREATE TABLE table_name_64 (election INTEGER, mayor VARCHAR, inhabitants VARCHAR) ###human: In what Election year was Adalberto Mosaner the Mayor with less than 16,170 Inhabitants? ###assistant: SELECT SUM(election) FROM table_name_64 WHERE mayor = "adalberto mosaner" AND inhabitants < 16 OFFSET 170
###context:CREATE TABLE table_name_14 (election VARCHAR, inhabitants INTEGER) ###human: In what Election year were there less than 16,170 Inhabitants? ###assistant: SELECT COUNT(election) FROM table_name_14 WHERE inhabitants < 16 OFFSET 170
###context:CREATE TABLE table_name_37 (mayor VARCHAR, election VARCHAR, municipality VARCHAR) ###human: What is the Mayor of Riva del Garda in 2010? ###assistant: SELECT mayor FROM table_name_37 WHERE election = 2010 AND municipality = "riva del garda"
###context:CREATE TABLE table_name_7 (inhabitants INTEGER, party VARCHAR, election VARCHAR) ###human: How many Inhabitants were there after 2009 in the Municipality with a Party of union for trentino? ###assistant: SELECT AVG(inhabitants) FROM table_name_7 WHERE party = "union for trentino" AND election > 2009
###context:CREATE TABLE table_name_19 (enrollment INTEGER, founded VARCHAR, joined_conference VARCHAR) ###human: What is the lowest enrolled school that was founded in 1992 and joined a conference before 1998? ###assistant: SELECT MIN(enrollment) FROM table_name_19 WHERE founded = "1992" AND joined_conference < 1998
###context:CREATE TABLE table_name_2 (football VARCHAR, soccer VARCHAR, golf VARCHAR) ###human: Which foot ball team played soccer at wooster, and Gold in Ashland? ###assistant: SELECT football FROM table_name_2 WHERE soccer = "wooster" AND golf = "ashland"
###context:CREATE TABLE table_name_98 (total VARCHAR, silver VARCHAR, bronze VARCHAR, rank VARCHAR) ###human: What is the total for the team with fewer than 2 bronze, ranked less than 4 and fewer than 1 silver? ###assistant: SELECT COUNT(total) FROM table_name_98 WHERE bronze < 2 AND rank < 4 AND silver < 1
###context:CREATE TABLE table_name_53 (silver VARCHAR, bronze VARCHAR, gold VARCHAR) ###human: How many silver for the team with more than 2 bronze and more than 7 gold? ###assistant: SELECT COUNT(silver) FROM table_name_53 WHERE bronze > 2 AND gold > 7
###context:CREATE TABLE table_name_41 (total INTEGER, bronze VARCHAR, silver VARCHAR) ###human: What is the total for the team with 0 bronze and 3 silver? ###assistant: SELECT SUM(total) FROM table_name_41 WHERE bronze = 0 AND silver = 3
###context:CREATE TABLE table_name_5 (round VARCHAR, location VARCHAR, time VARCHAR) ###human: What is the total number of Rounds held in Nevada, United States in which the time was 1:55? ###assistant: SELECT COUNT(round) FROM table_name_5 WHERE location = "nevada, united states" AND time = "1:55"
###context:CREATE TABLE table_name_5 (time VARCHAR, opponent VARCHAR) ###human: What was the time when his opponent was Rudy Martin? ###assistant: SELECT time FROM table_name_5 WHERE opponent = "rudy martin"