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