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: What is the score of the tournament with olivier delaître as the opponent in the final? ### Context: CREATE TABLE table_name_41 (score VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_41 WHERE opponent_in_the_final = "olivier delaître" </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 tournament with olivier delaître as the opponent in the final? ### Context: CREATE TABLE table_name_49 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_49 WHERE opponent_in_the_final = "olivier delaître" </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 tournament with cédric pioline as the opponent in the final? ### Context: CREATE TABLE table_name_37 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_37 WHERE opponent_in_the_final = "cédric pioline" </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 for the team with 3 draws? ### Context: CREATE TABLE table_name_42 (result VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT result FROM table_name_42 WHERE draws = "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: How many draws were there in 2006? ### Context: CREATE TABLE table_name_58 (draws VARCHAR, year VARCHAR) [/INST] ### Response: SELECT draws FROM table_name_58 WHERE year = "2006" </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 matches where the teams finished in the first group stage, in 1998? ### Context: CREATE TABLE table_name_95 (matches VARCHAR, result VARCHAR, year VARCHAR) [/INST] ### Response: SELECT matches FROM table_name_95 WHERE result = "first group stage" AND year = "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: What year was Zona Sur nominated? ### Context: CREATE TABLE table_name_69 (year__ceremony_ VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur" </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 Dependencia Sexual's film title that was used in its nomination? ### Context: CREATE TABLE table_name_2 (film_title_used_in_nomination VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_name_2 WHERE original_title = "dependencia sexual" </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 Zona Sur's result after being considered for nomination? ### Context: CREATE TABLE table_name_36 (result VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT result FROM table_name_36 WHERE original_title = "zona sur" </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 losses did leon patton have with the longest gain higher than 45? ### Context: CREATE TABLE table_name_12 (loss VARCHAR, name VARCHAR, long VARCHAR) [/INST] ### Response: SELECT COUNT(loss) FROM table_name_12 WHERE name = "leon patton" AND long > 45 </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 top-5 when the cuts made is more than 34? ### Context: CREATE TABLE table_name_1 (top_5 INTEGER, cuts_made INTEGER) [/INST] ### Response: SELECT AVG(top_5) FROM table_name_1 WHERE cuts_made > 34 </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 wins when events is 13 and top-5 is less than 1? ### Context: CREATE TABLE table_name_15 (wins INTEGER, events VARCHAR, top_5 VARCHAR) [/INST] ### Response: SELECT SUM(wins) FROM table_name_15 WHERE events = 13 AND top_5 < 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 highest events when the cuts made is less than 34, the top-25 is less than 5 and the top-10 is more than 1? ### Context: CREATE TABLE table_name_72 (events INTEGER, top_10 VARCHAR, cuts_made VARCHAR, top_25 VARCHAR) [/INST] ### Response: SELECT MAX(events) FROM table_name_72 WHERE cuts_made < 34 AND top_25 < 5 AND top_10 > 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 average top-10 when the cuts made is less than 9 and the events is more than 14? ### Context: CREATE TABLE table_name_48 (top_10 INTEGER, cuts_made VARCHAR, events VARCHAR) [/INST] ### Response: SELECT AVG(top_10) FROM table_name_48 WHERE cuts_made < 9 AND events > 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 2008 for 2009 heartland high tech? ### Context: CREATE TABLE table_name_2 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_2 WHERE 2009 = "heartland high tech" </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 2007 with ch callaway's copyright in 2003? ### Context: CREATE TABLE table_name_92 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_92 WHERE 2003 = "ch callaway's copyright" </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 year is the 2007 big red? ### Context: CREATE TABLE table_name_96 (year VARCHAR) [/INST] ### Response: SELECT year FROM table_name_96 WHERE 2007 = "big red" </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 year is the 2004 shake don't stir? ### Context: CREATE TABLE table_name_67 (year VARCHAR) [/INST] ### Response: SELECT year FROM table_name_67 WHERE 2004 = "shake don't stir" </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 2007 for the 2003 desert prince? ### Context: CREATE TABLE table_name_48 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_48 WHERE 2003 = "desert prince" </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 2008 for the 2009 ch our charming lady? ### Context: CREATE TABLE table_name_89 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_89 WHERE 2009 = "ch our charming lady" </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 antiparticle symbol with a rest mess (mev/c2) of .47 ± .33? ### Context: CREATE TABLE table_name_16 (antiparticle_symbol VARCHAR, rest_mass___mev___c_2__ VARCHAR) [/INST] ### Response: SELECT antiparticle_symbol FROM table_name_16 WHERE rest_mass___mev___c_2__ = ".47 ± .33" </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 surface in 1981? ### Context: CREATE TABLE table_name_56 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_56 WHERE date = 1981 </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 outcome on a hard surface, when the score in the final was 4–6, 3–6? ### Context: CREATE TABLE table_name_1 (outcome VARCHAR, surface VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_1 WHERE surface = "hard" AND score_in_the_final = "4–6, 3–6" </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 championships that the league cup is less than 0? ### Context: CREATE TABLE table_name_55 (championship INTEGER, league_cup INTEGER) [/INST] ### Response: SELECT SUM(championship) FROM table_name_55 WHERE league_cup < 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 total championships of James Henry that has a league cup more than 1? ### Context: CREATE TABLE table_name_4 (championship INTEGER, league_cup VARCHAR, name VARCHAR) [/INST] ### Response: SELECT SUM(championship) FROM table_name_4 WHERE league_cup > 1 AND name = "james henry" </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 championship of Jem Karacan that has a total of 2 and a league cup more than 0? ### Context: CREATE TABLE table_name_10 (championship VARCHAR, name VARCHAR, total VARCHAR, league_cup VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_10 WHERE total = 2 AND league_cup > 0 AND name = "jem karacan" </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 which season did he have 0 Poles and 19th position in the GP2 Series? ### Context: CREATE TABLE table_name_57 (season VARCHAR, position VARCHAR, poles VARCHAR, series VARCHAR) [/INST] ### Response: SELECT season FROM table_name_57 WHERE poles = "0" AND series = "gp2 series" AND position = "19th" </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 his position in 2009 with 1 win? ### Context: CREATE TABLE table_name_93 (position VARCHAR, wins VARCHAR, season VARCHAR) [/INST] ### Response: SELECT position FROM table_name_93 WHERE wins = "1" AND season = "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: How many races did he do in the year he had 8 points? ### Context: CREATE TABLE table_name_47 (races VARCHAR, points VARCHAR) [/INST] ### Response: SELECT races FROM table_name_47 WHERE points = "8" </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 points in the year when his Wins were 0, his Podiums were 0, and he drove in 4 races? ### Context: CREATE TABLE table_name_60 (points VARCHAR, races VARCHAR, wins VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT points FROM table_name_60 WHERE wins = "0" AND podiums = "0" AND races = "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: What were the points in the year when his Podiums were 5? ### Context: CREATE TABLE table_name_35 (points VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT points FROM table_name_35 WHERE podiums = "5" </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 F/Laps when the Wins were 0 and the Position was 4th? ### Context: CREATE TABLE table_name_97 (f_laps VARCHAR, wins VARCHAR, position VARCHAR) [/INST] ### Response: SELECT f_laps FROM table_name_97 WHERE wins = "0" AND position = "4th" </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 on May 30? ### Context: CREATE TABLE table_name_66 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_66 WHERE date = "may 30" </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 on July 24? ### Context: CREATE TABLE table_name_1 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_1 WHERE date = "july 24" </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 of the game with a Record of 0-1? ### Context: CREATE TABLE table_name_31 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_31 WHERE record = "0-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 Record of the game on June 24? ### Context: CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_23 WHERE date = "june 24" </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 game with a Loss and Record of 7-9? ### Context: CREATE TABLE table_name_91 (date VARCHAR, result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_91 WHERE result = "loss" AND record = "7-9" </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 Record on July 12? ### Context: CREATE TABLE table_name_10 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_10 WHERE date = "july 12" </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 player has a total of 290 points? ### Context: CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR) [/INST] ### Response: SELECT player FROM table_name_46 WHERE total = 290 </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 year that Hale Irwin won with 285 points? ### Context: CREATE TABLE table_name_80 (year_s__won VARCHAR, total VARCHAR, player VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_80 WHERE total = 285 AND player = "hale irwin" </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 year has a 2011 of 1r? ### Context: CREATE TABLE table_name_47 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_47 WHERE 2011 = "1r" </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 tournament has a 2013 of 1r, and a 2012 of 1r? ### Context: CREATE TABLE table_name_38 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_38 WHERE 2013 = "1r" AND 2012 = "1r" </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 year has a 2003 of lq? ### Context: CREATE TABLE table_name_82 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_82 WHERE 2003 = "lq" </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 WEEK WITH AN ATTENDANCE OF 75,555? ### Context: CREATE TABLE table_name_23 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_23 WHERE attendance = "75,555" </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 WHEN THE OPPONENT WAS CHICAGO BEARS? ### Context: CREATE TABLE table_name_18 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_18 WHERE opponent = "chicago bears" </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 TV TIME WOTH A WEEK BIGGER THAN 15, WITH THE OAKLAND RAIDERS AS OPPONENT? ### Context: CREATE TABLE table_name_33 (tv_time VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_33 WHERE week > 15 AND opponent = "oakland raiders" </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 TV TIME FOR NOVEMBER 10, 1996? ### Context: CREATE TABLE table_name_93 (tv_time VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tv_time FROM table_name_93 WHERE date = "november 10, 1996" </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 date for the match where Tweedie-Yates' partner was jodi kenoyer? ### Context: CREATE TABLE table_name_18 (date VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE partner = "jodi kenoyer" </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 were the opponents during the final when christina wheeler was partner? ### Context: CREATE TABLE table_name_87 (opponents_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_87 WHERE partner = "christina wheeler" </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 Country, when Total is less than 290, and when Year(s) Won is 1960? ### Context: CREATE TABLE table_name_29 (country VARCHAR, total VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT country FROM table_name_29 WHERE total < 290 AND year_s__won = "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 total number of Total, when To Par is 12? ### Context: CREATE TABLE table_name_71 (total VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_71 WHERE to_par = 12 </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 Player, when Total is 292? ### Context: CREATE TABLE table_name_36 (player VARCHAR, total VARCHAR) [/INST] ### Response: SELECT player FROM table_name_36 WHERE total = 292 </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 Player, when Year(s) Won is 1955? ### Context: CREATE TABLE table_name_84 (player VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT player FROM table_name_84 WHERE year_s__won = "1955" </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 Oil Pattern has a Winner (Title #) of mike wolfe (3)? ### Context: CREATE TABLE table_name_58 (oil_pattern VARCHAR, winner__title__number_ VARCHAR) [/INST] ### Response: SELECT oil_pattern FROM table_name_58 WHERE winner__title__number_ = "mike wolfe (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: Which Score has an Event of constructionjobs.com classic? ### Context: CREATE TABLE table_name_74 (score VARCHAR, event VARCHAR) [/INST] ### Response: SELECT score FROM table_name_74 WHERE event = "constructionjobs.com classic" </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: Name the Event which has a Winner (Title #) of parker bohn iii (31)? ### Context: CREATE TABLE table_name_90 (event VARCHAR, winner__title__number_ VARCHAR) [/INST] ### Response: SELECT event FROM table_name_90 WHERE winner__title__number_ = "parker bohn iii (31)" </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: Name the Date when has robert smith (7)? ### Context: CREATE TABLE table_name_8 (date VARCHAR, winner__title__number_ VARCHAR) [/INST] ### Response: SELECT date FROM table_name_8 WHERE winner__title__number_ = "robert smith (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: Name the Event which has a Score of 209-197? ### Context: CREATE TABLE table_name_24 (event VARCHAR, score VARCHAR) [/INST] ### Response: SELECT event FROM table_name_24 WHERE score = "209-197" </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: Name the Date which has a Oil Pattern of chameleon, and a Event of lake county indiana classic? ### Context: CREATE TABLE table_name_51 (date VARCHAR, oil_pattern VARCHAR, event VARCHAR) [/INST] ### Response: SELECT date FROM table_name_51 WHERE oil_pattern = "chameleon" AND event = "lake county indiana classic" </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 Rank has a Nation of south korea, and a Silver larger than 0? ### Context: CREATE TABLE table_name_53 (rank INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_53 WHERE nation = "south korea" AND 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: Which Bronze has a Rank of 3, and a Silver larger than 0? ### Context: CREATE TABLE table_name_39 (bronze INTEGER, rank VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_39 WHERE rank = 3 AND 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: Who was the opponent when there was a TKO method? ### Context: CREATE TABLE table_name_32 (opponent VARCHAR, method VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_32 WHERE method = "tko" </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 round that Sergio Vinagre had a time of 5:00? ### Context: CREATE TABLE table_name_36 (round INTEGER, time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_36 WHERE time = "5:00" AND opponent = "sergio vinagre" </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 round was it when the method was TKO (would not stand up from Butt Scoot)? ### Context: CREATE TABLE table_name_89 (round INTEGER, method VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_89 WHERE method = "tko (would not stand up from butt scoot)" </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 record after the game before Jan 7? ### Context: CREATE TABLE table_name_1 (record VARCHAR, january INTEGER) [/INST] ### Response: SELECT record FROM table_name_1 WHERE january < 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: Which TV season has a Season larger than 2, and a Ranking of #5? ### Context: CREATE TABLE table_name_4 (tv_season VARCHAR, season VARCHAR, ranking VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_name_4 WHERE season > 2 AND ranking = "#5" </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 TV season has a Season smaller than 8, and a Household (in millions) of 15.92 (17.1 rating)? ### Context: CREATE TABLE table_name_61 (tv_season VARCHAR, season VARCHAR, households__in_millions_ VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_name_61 WHERE season < 8 AND households__in_millions_ = "15.92 (17.1 rating)" </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 TV season has Households (in millions) of 30.503 (34.9 rating)? ### Context: CREATE TABLE table_name_80 (tv_season VARCHAR, households__in_millions_ VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_name_80 WHERE households__in_millions_ = "30.503 (34.9 rating)" </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 area listed for cannonvale with a population less than 409? ### Context: CREATE TABLE table_name_96 (area__km_2__ VARCHAR, population VARCHAR, place VARCHAR) [/INST] ### Response: SELECT COUNT(area__km_2__) FROM table_name_96 WHERE population < 409 AND place = "cannonvale" </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 code number for the remainder of the municipality that has an area bigger than 15.34 squared kilometers, a population greater than 762 and a language of xhosa spoken? ### Context: CREATE TABLE table_name_3 (code INTEGER, place VARCHAR, area__km_2__ VARCHAR, population VARCHAR, most_spoken_language VARCHAR) [/INST] ### Response: SELECT MIN(code) FROM table_name_3 WHERE population > 762 AND most_spoken_language = "xhosa" AND area__km_2__ > 15.34 AND place = "remainder of the municipality" </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 code number for places with a population greater than 87,585? ### Context: CREATE TABLE table_name_41 (code VARCHAR, population INTEGER) [/INST] ### Response: SELECT COUNT(code) FROM table_name_41 WHERE population > 87 OFFSET 585 </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 area for cannonvale that speaks afrikaans? ### Context: CREATE TABLE table_name_31 (area__km_2__ INTEGER, most_spoken_language VARCHAR, place VARCHAR) [/INST] ### Response: SELECT MIN(area__km_2__) FROM table_name_31 WHERE most_spoken_language = "afrikaans" AND place = "cannonvale" </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 Score has a Location of richfield coliseum? ### Context: CREATE TABLE table_name_96 (score VARCHAR, location VARCHAR) [/INST] ### Response: SELECT score FROM table_name_96 WHERE location = "richfield coliseum" </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 was game 78 held? ### Context: CREATE TABLE table_name_62 (location VARCHAR, game VARCHAR) [/INST] ### Response: SELECT location FROM table_name_62 WHERE game = 78 </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 was the score 56-26? ### Context: CREATE TABLE table_name_2 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE record = "56-26" </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 Opponent has a Score of 92-111? ### Context: CREATE TABLE table_name_44 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_44 WHERE score = "92-111" </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 Opponent when the Cavaliers had a Record of 3-9? ### Context: CREATE TABLE table_name_10 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_10 WHERE record = "3-9" </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: On what Date was the Score 105-128? ### Context: CREATE TABLE table_name_14 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_14 WHERE score = "105-128" </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 Opponent of the game with a H/A/N of H and Score of 120-99? ### Context: CREATE TABLE table_name_89 (opponent VARCHAR, h_a_n VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_89 WHERE h_a_n = "h" AND score = "120-99" </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: On what Date was the Score 106-104 against the Portland Trail Blazers? ### Context: CREATE TABLE table_name_30 (date VARCHAR, opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_30 WHERE opponent = "portland trail blazers" AND score = "106-104" </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: On what Date was the Score 105-118 and the H/A/N A? ### Context: CREATE TABLE table_name_80 (date VARCHAR, h_a_n VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_80 WHERE h_a_n = "a" AND score = "105-118" </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 Selection has a College of texas a&m? ### Context: CREATE TABLE table_name_71 (selection INTEGER, college VARCHAR) [/INST] ### Response: SELECT SUM(selection) FROM table_name_71 WHERE college = "texas a&m" </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 Selection has a Player of jamaar taylor, and a Round larger than 6? ### Context: CREATE TABLE table_name_33 (selection INTEGER, player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(selection) FROM table_name_33 WHERE player = "jamaar taylor" AND round > 6 </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 Position has a Player of gibril wilson? ### Context: CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_29 WHERE player = "gibril wilson" </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 Position has a Round larger than 5, and a Selection of 168? ### Context: CREATE TABLE table_name_13 (position VARCHAR, round VARCHAR, selection VARCHAR) [/INST] ### Response: SELECT position FROM table_name_13 WHERE round > 5 AND selection = 168 </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 Jillian Evans highest number of seats? ### Context: CREATE TABLE table_name_45 (number_of_seats INTEGER, leader VARCHAR) [/INST] ### Response: SELECT MAX(number_of_seats) FROM table_name_45 WHERE leader = "jillian evans" </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 party does Timothy Kirkhope lead? ### Context: CREATE TABLE table_name_50 (party VARCHAR, leader VARCHAR) [/INST] ### Response: SELECT party FROM table_name_50 WHERE leader = "timothy kirkhope" </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 Daultan Leveille's Position? ### Context: CREATE TABLE table_name_68 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_68 WHERE player = "daultan leveille" </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 in Round 5? ### Context: CREATE TABLE table_name_23 (player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_23 WHERE round = 5 </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 rebounds for game 81? ### Context: CREATE TABLE table_name_58 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_58 WHERE game = 81 </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 winner of the Miami tournament where Elena Dementieva was a finalist? ### Context: CREATE TABLE table_name_25 (winner VARCHAR, finalist VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_25 WHERE finalist = "elena dementieva" AND tournament = "miami" </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 finalist of the hard surface tournament in Miami? ### Context: CREATE TABLE table_name_66 (finalist VARCHAR, surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_66 WHERE surface = "hard" AND tournament = "miami" </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 were the semifinalists in the Rome tournament? ### Context: CREATE TABLE table_name_6 (semifinalists VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_name_6 WHERE tournament = "rome" </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 resolution of the camera that has 6726 x 5040 pixels and a model of afi 7? ### Context: CREATE TABLE table_name_65 (resolution VARCHAR, active_pixels VARCHAR, model VARCHAR) [/INST] ### Response: SELECT resolution FROM table_name_65 WHERE active_pixels = "6726 x 5040" AND model = "afi 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: Which model has a sensor sized 48x36 mm, pixels of 6726 x 5040, and a 33 mp resolution? ### Context: CREATE TABLE table_name_87 (model VARCHAR, resolution VARCHAR, sensor_size VARCHAR, active_pixels VARCHAR) [/INST] ### Response: SELECT model FROM table_name_87 WHERE sensor_size = "48x36 mm" AND active_pixels = "6726 x 5040" AND resolution = "33 mp" </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 active pixels of the cantare model? ### Context: CREATE TABLE table_name_10 (active_pixels VARCHAR, model VARCHAR) [/INST] ### Response: SELECT active_pixels FROM table_name_10 WHERE model = "cantare" </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 active pixels of the c-most model camera? ### Context: CREATE TABLE table_name_96 (active_pixels VARCHAR, model VARCHAR) [/INST] ### Response: SELECT active_pixels FROM table_name_96 WHERE model = "c-most" </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 Rank has a Third of 2, and Winners smaller than 2? ### Context: CREATE TABLE table_name_98 (rank INTEGER, third VARCHAR, winners VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_98 WHERE third = 2 AND winners < 2 </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 Winners have a Third of 1, and Runners-up smaller than 0? ### Context: CREATE TABLE table_name_27 (winners VARCHAR, third VARCHAR, runners_up VARCHAR) [/INST] ### Response: SELECT COUNT(winners) FROM table_name_27 WHERE third = 1 AND runners_up < 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: Which Third has Runners-up of 0, and Winners of 0, and a Club of far rabat? ### Context: CREATE TABLE table_name_4 (third INTEGER, club VARCHAR, runners_up VARCHAR, winners VARCHAR) [/INST] ### Response: SELECT AVG(third) FROM table_name_4 WHERE runners_up = 0 AND winners = 0 AND club = "far rabat" </s>