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's the 2013 result for the grand slam tournaments? ### Context: CREATE TABLE table_name_76 (tournament VARCHAR) [/INST] ### Response: SELECT 2013 FROM table_name_76 WHERE tournament = "grand slam tournaments" </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 2010 result when 2006 is a? ### Context: CREATE TABLE table_name_20 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_20 WHERE 2006 = "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 tournament has a 2003 of a? ### Context: CREATE TABLE table_name_47 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_47 WHERE 2003 = "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's the 2007 result when 2003 is a? ### Context: CREATE TABLE table_name_83 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_83 WHERE 2003 = "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's the 2011 result when 2010 is 2r and 2013 is w? ### Context: CREATE TABLE table_name_25 (Id VARCHAR) [/INST] ### Response: SELECT 2011 FROM table_name_25 WHERE 2010 = "2r" AND 2013 = "w" </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 2005 result when 2001 is sf? ### Context: CREATE TABLE table_name_64 (Id VARCHAR) [/INST] ### Response: SELECT 2005 FROM table_name_64 WHERE 2001 = "sf" </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 Binibining Pilipinas-World has a Second runner-up of sonia santiago? ### Context: CREATE TABLE table_name_72 (binibining_pilipinas_world VARCHAR, second_runner_up VARCHAR) [/INST] ### Response: SELECT binibining_pilipinas_world FROM table_name_72 WHERE second_runner_up = "sonia santiago" </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 Binibining Pilipinas International of alma concepcion? ### Context: CREATE TABLE table_name_54 (year VARCHAR, binibining_pilipinas_international VARCHAR) [/INST] ### Response: SELECT year FROM table_name_54 WHERE binibining_pilipinas_international = "alma concepcion" </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 Binibining Pilipinas International has a Binibining Pilipinas-World of sharmaine gutierrez? ### Context: CREATE TABLE table_name_24 (binibining_pilipinas_international VARCHAR, binibining_pilipinas_world VARCHAR) [/INST] ### Response: SELECT binibining_pilipinas_international FROM table_name_24 WHERE binibining_pilipinas_world = "sharmaine gutierrez" </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 Result has a Site of rice stadium • houston, tx? ### Context: CREATE TABLE table_name_9 (result VARCHAR, site VARCHAR) [/INST] ### Response: SELECT result FROM table_name_9 WHERE site = "rice stadium • houston, tx" </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 Opponent has a Site of razorback stadium • fayetteville, ar, and a Date of october 7, 1967? ### Context: CREATE TABLE table_name_29 (opponent VARCHAR, site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_29 WHERE site = "razorback stadium • fayetteville, ar" AND date = "october 7, 1967" </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 Opponent has a Site of war memorial stadium • little rock, ar, and a Result of l6–7? ### Context: CREATE TABLE table_name_63 (opponent VARCHAR, site VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_63 WHERE site = "war memorial stadium • little rock, ar" AND result = "l6–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 Result has a Date of october 14, 1967? ### Context: CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_86 WHERE date = "october 14, 1967" </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 Attendance has a Result of l12–21? ### Context: CREATE TABLE table_name_13 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_13 WHERE result = "l12–21" </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 Site has Attendance of 53,000, and a Date of october 21, 1967? ### Context: CREATE TABLE table_name_83 (site VARCHAR, attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT site FROM table_name_83 WHERE attendance = "53,000" AND date = "october 21, 1967" </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 region is the toshiba emi label with a cd format? ### Context: CREATE TABLE table_name_51 (region VARCHAR, format_s_ VARCHAR, label VARCHAR) [/INST] ### Response: SELECT region FROM table_name_51 WHERE format_s_ = "cd" AND label = "toshiba emi" </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 dage of catalog asw 28033? ### Context: CREATE TABLE table_name_68 (date VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_68 WHERE catalog = "asw 28033" </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 with a Japan region? ### Context: CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE region = "japan" </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 region has a lp format on 4 August 2008? ### Context: CREATE TABLE table_name_72 (region VARCHAR, format_s_ VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_72 WHERE format_s_ = "lp" AND date = "4 august 2008" </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 region is on 11 August 2008? ### Context: CREATE TABLE table_name_4 (region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT region FROM table_name_4 WHERE date = "11 august 2008" </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 position with a neutral H/A/N and more than 2 innings? ### Context: CREATE TABLE table_name_93 (pos INTEGER, h_a_n VARCHAR, inn VARCHAR) [/INST] ### Response: SELECT AVG(pos) FROM table_name_93 WHERE h_a_n = "neutral" AND inn > 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: Which venue has a neutral H/A/N, lower than position 3 and a score of 141? ### Context: CREATE TABLE table_name_85 (venue VARCHAR, score VARCHAR, h_a_n VARCHAR, pos VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_85 WHERE h_a_n = "neutral" AND pos < 3 AND score = "141" </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 H/A/N has a score of 105*♠? ### Context: CREATE TABLE table_name_13 (h_a_n VARCHAR, score VARCHAR) [/INST] ### Response: SELECT h_a_n FROM table_name_13 WHERE score = "105*♠" </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 goals scored when less than 34 were played and there were more than 2 draws? ### Context: CREATE TABLE table_name_78 (goals_scored INTEGER, played VARCHAR, draw VARCHAR) [/INST] ### Response: SELECT AVG(goals_scored) FROM table_name_78 WHERE played < 34 AND draw > 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: What is the average goals scored of the team who scored 44 points and placed higher than 5? ### Context: CREATE TABLE table_name_48 (goals_scored INTEGER, points VARCHAR, place VARCHAR) [/INST] ### Response: SELECT AVG(goals_scored) FROM table_name_48 WHERE points = "44" AND place > 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 lowest place of the team who conceded 36 goals and lost more than 6 times? ### Context: CREATE TABLE table_name_41 (place INTEGER, goals_conceded VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MIN(place) FROM table_name_41 WHERE goals_conceded = 36 AND lost > 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 games when the losses is more than 1, percent is 0.5 and wins is 2? ### Context: CREATE TABLE table_name_36 (games VARCHAR, wins VARCHAR, losses VARCHAR, percent VARCHAR) [/INST] ### Response: SELECT games FROM table_name_36 WHERE losses > 1 AND percent = 0.5 AND wins = 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: what is the average wins when percent is more than 0.4 and teams is chargers~? ### Context: CREATE TABLE table_name_53 (wins INTEGER, percent VARCHAR, teams VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_53 WHERE percent > 0.4 AND teams = "chargers~" </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 wins when teams is lions and the percent is more than 0? ### Context: CREATE TABLE table_name_31 (wins INTEGER, teams VARCHAR, percent VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_31 WHERE teams = "lions" AND percent > 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 highest wins when the losses is less than 1, team is rams and the games is more than 8? ### Context: CREATE TABLE table_name_23 (wins INTEGER, games VARCHAR, losses VARCHAR, teams VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_23 WHERE losses < 1 AND teams = "rams" AND games > 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 category is Matthew Barton? ### Context: CREATE TABLE table_name_35 (category VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT category FROM table_name_35 WHERE opponent = "matthew barton" </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 did the ship commissioned in November 1975 with a bow number of ps-18 launch? ### Context: CREATE TABLE table_name_33 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR) [/INST] ### Response: SELECT launched FROM table_name_33 WHERE commissioned = "november 1975" AND bow_number = "ps-18" </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 did the ship that was commissioned July 1948 with a bow number of ps-31 launch? ### Context: CREATE TABLE table_name_22 (launched VARCHAR, commissioned VARCHAR, bow_number VARCHAR) [/INST] ### Response: SELECT launched FROM table_name_22 WHERE commissioned = "july 1948" AND bow_number = "ps-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: When was the ship BRP Miguel Malvar commissioned? ### Context: CREATE TABLE table_name_78 (commissioned VARCHAR, ship_name VARCHAR) [/INST] ### Response: SELECT commissioned FROM table_name_78 WHERE ship_name = "brp miguel malvar" </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 population of northfield parish that has an area less than 342.4? ### Context: CREATE TABLE table_name_50 (population INTEGER, area_km_2 VARCHAR, official_name VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_50 WHERE area_km_2 < 342.4 AND official_name = "northfield" </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 population of the parish with a census ranking of 579 of 5,008? ### Context: CREATE TABLE table_name_32 (population INTEGER, census_ranking VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_32 WHERE census_ranking = "579 of 5,008" </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 population of the parish that has an area of 304.06? ### Context: CREATE TABLE table_name_78 (population INTEGER, area_km_2 VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_78 WHERE area_km_2 = 304.06 </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 earliest year the world junior championships has 1500 m notes? ### Context: CREATE TABLE table_name_85 (year INTEGER, notes VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_85 WHERE notes = "1500 m" AND competition = "world junior championships" </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 venue had 5000 m notes in 2009 with a 1st position? ### Context: CREATE TABLE table_name_2 (venue VARCHAR, position VARCHAR, notes VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_2 WHERE notes = "5000 m" AND year = 2009 AND position = "1st" </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 year with 7th (heats) position? ### Context: CREATE TABLE table_name_50 (year INTEGER, position VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_50 WHERE position = "7th (heats)" </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 Method was used with opponent Kenneth Allen? ### Context: CREATE TABLE table_name_55 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_55 WHERE opponent = "kenneth allen" </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 remark for Norway? ### Context: CREATE TABLE table_name_38 (remarks VARCHAR, country_of_origin VARCHAR) [/INST] ### Response: SELECT remarks FROM table_name_38 WHERE country_of_origin = "norway" </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 people attended the game against the Kaizer Chiefs? ### Context: CREATE TABLE table_name_7 (attendance INTEGER, opponents VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_7 WHERE opponents = "kaizer chiefs" </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 F-A with an H/A of h and more than 31,727 attending? ### Context: CREATE TABLE table_name_11 (result_f___a VARCHAR, h___a VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result_f___a FROM table_name_11 WHERE h___a = "h" AND attendance > 31 OFFSET 727 </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 College/Junior/Club Team (League) is "Val d'Or Foreurs ( QMJHL )"? ### Context: CREATE TABLE table_name_23 (player VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_23 WHERE college_junior_club_team__league_ = "val d'or foreurs ( qmjhl )" </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 Position, when Player is "Magnus Nygren"? ### Context: CREATE TABLE table_name_53 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_53 WHERE player = "magnus nygren" </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 Position, when Round is less than 5, when Nationality is "Canada", and when College/Junior/Club Team (League) is "Saint John Sea Dogs ( QMJHL )"? ### Context: CREATE TABLE table_name_30 (position VARCHAR, college_junior_club_team__league_ VARCHAR, round VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT position FROM table_name_30 WHERE round < 5 AND nationality = "canada" AND college_junior_club_team__league_ = "saint john sea dogs ( qmjhl )" </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 College/Junior/Club Team (League), when Position is "Defence", when Nationality is "Canada", when Round is less than 5, and when Player is "Josiah Didier"? ### Context: CREATE TABLE table_name_18 (college_junior_club_team__league_ VARCHAR, player VARCHAR, round VARCHAR, position VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_18 WHERE position = "defence" AND nationality = "canada" AND round < 5 AND player = "josiah didier" </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: count the the average Total of ian baker-finch? ### Context: CREATE TABLE table_name_39 (total INTEGER, player VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_39 WHERE player = "ian baker-finch" </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 Country has a Year(s) won of 1963? ### Context: CREATE TABLE table_name_62 (country VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT country FROM table_name_62 WHERE year_s__won = "1963" </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 money for the player with a score of 68-69-67-73=277? ### Context: CREATE TABLE table_name_72 (money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_72 WHERE score = 68 - 69 - 67 - 73 = 277 </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 to par of the player with a 72-71-65-69=277 score? ### Context: CREATE TABLE table_name_55 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_55 WHERE score = 72 - 71 - 65 - 69 = 277 </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 with playoff money and a score of 66-67-70-67=270? ### Context: CREATE TABLE table_name_73 (country VARCHAR, money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_73 WHERE money___$__ = "playoff" AND score = 66 - 67 - 70 - 67 = 270 </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 much money does the player with a score of 76-70-65-68=279 have? ### Context: CREATE TABLE table_name_24 (money___$__ VARCHAR, score VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_24 WHERE score = 76 - 70 - 65 - 68 = 279 </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 score of player darren clarke, who has $112,500? ### Context: CREATE TABLE table_name_72 (score VARCHAR, money___$__ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_72 WHERE money___$__ = "112,500" AND player = "darren clarke" </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 to par of player notah begay iii from the United States? ### Context: CREATE TABLE table_name_59 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_59 WHERE country = "united states" AND player = "notah begay iii" </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 song has a draw more than 4 in 1st place? ### Context: CREATE TABLE table_name_65 (song VARCHAR, draw VARCHAR, place VARCHAR) [/INST] ### Response: SELECT song FROM table_name_65 WHERE draw > 4 AND place = "1st" </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 Weight of ádám steinmetz category:articles with hcards? ### Context: CREATE TABLE table_name_96 (weight VARCHAR, name VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_96 WHERE name = "ádám steinmetz category:articles with hcards" </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 Weight which has a Name of balázs hárai category:articles with hcards? ### Context: CREATE TABLE table_name_10 (weight VARCHAR, name VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_10 WHERE name = "balázs hárai category:articles with hcards" </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 012 club which has of norbert hosnyánszky category:articles with hcards? ### Context: CREATE TABLE table_name_23 (name VARCHAR) [/INST] ### Response: SELECT 2012 AS _club FROM table_name_23 WHERE name = "norbert hosnyánszky category:articles with hcards" </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 Against, when Venue is "Twickenham , London", when Status is "Six Nations", and when Opposing Teams is "France"? ### Context: CREATE TABLE table_name_78 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR) [/INST] ### Response: SELECT MIN(against) FROM table_name_78 WHERE venue = "twickenham , london" AND status = "six nations" AND opposing_teams = "france" </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 Against, when Date is "27/02/2005"? ### Context: CREATE TABLE table_name_63 (against VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(against) FROM table_name_63 WHERE date = "27/02/2005" </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 Against, when Date is "27/02/2005"? ### Context: CREATE TABLE table_name_29 (against INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(against) FROM table_name_29 WHERE date = "27/02/2005" </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 Status, when Opposing Teams is "Italy"? ### Context: CREATE TABLE table_name_16 (status VARCHAR, opposing_teams VARCHAR) [/INST] ### Response: SELECT status FROM table_name_16 WHERE opposing_teams = "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: Which Name has Apparent Magnitude smaller than 11.4, and R.A. (J2000) of 04h17m35.8s? ### Context: CREATE TABLE table_name_75 (name VARCHAR, apparent_magnitude VARCHAR, ra___j2000__ VARCHAR) [/INST] ### Response: SELECT name FROM table_name_75 WHERE apparent_magnitude < 11.4 AND ra___j2000__ = "04h17m35.8s" </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 R.A. (J2000) has a Name of ngc 1543? ### Context: CREATE TABLE table_name_68 (ra___j2000__ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT ra___j2000__ FROM table_name_68 WHERE name = "ngc 1543" </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 Dec. (J2000) has a Redshift (km/ s) of 1331 ± 3? ### Context: CREATE TABLE table_name_31 (dec___j2000__ VARCHAR, redshift__km__s__ VARCHAR) [/INST] ### Response: SELECT dec___j2000__ FROM table_name_31 WHERE redshift__km__s__ = "1331 ± 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 R.A. (J2000) has a Name of ngc 1515? ### Context: CREATE TABLE table_name_64 (ra___j2000__ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT ra___j2000__ FROM table_name_64 WHERE name = "ngc 1515" </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 R.A. (J2000) has Apparent Magnitude of 11.7, and Dec. (J2000) of °07′06″? ### Context: CREATE TABLE table_name_22 (ra___j2000__ VARCHAR, apparent_magnitude VARCHAR, dec___j2000__ VARCHAR) [/INST] ### Response: SELECT ra___j2000__ FROM table_name_22 WHERE apparent_magnitude = 11.7 AND dec___j2000__ = "°07′06″" </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 had a To par of +11? ### Context: CREATE TABLE table_name_66 (player VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT player FROM table_name_66 WHERE to_par = "+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 won in 1997 with a finish of t48? ### Context: CREATE TABLE table_name_47 (player VARCHAR, finish VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT player FROM table_name_47 WHERE finish = "t48" AND year_s__won = "1997" </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 from the United States had a total of 297? ### Context: CREATE TABLE table_name_33 (player VARCHAR, country VARCHAR, total VARCHAR) [/INST] ### Response: SELECT player FROM table_name_33 WHERE country = "united states" AND total = 297 </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 country won in 1988? ### Context: CREATE TABLE table_name_19 (country VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT country FROM table_name_19 WHERE year_s__won = "1988" </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 had a term start of 5 august 1999? ### Context: CREATE TABLE table_name_95 (party VARCHAR, term_start VARCHAR) [/INST] ### Response: SELECT party FROM table_name_95 WHERE term_start = "5 august 1999" </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 term end had minister Danny Ayalon? ### Context: CREATE TABLE table_name_40 (term_end VARCHAR, minister VARCHAR) [/INST] ### Response: SELECT term_end FROM table_name_40 WHERE minister = "danny ayalon" </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 goverment had a party of yisrael beiteinu? ### Context: CREATE TABLE table_name_60 (governments VARCHAR, party VARCHAR) [/INST] ### Response: SELECT governments FROM table_name_60 WHERE party = "yisrael beiteinu" </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 minister of the labor party and had 26 goverments? ### Context: CREATE TABLE table_name_82 (minister VARCHAR, party VARCHAR, governments VARCHAR) [/INST] ### Response: SELECT minister FROM table_name_82 WHERE party = "labor party" AND governments = "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: What is the category that came before 2011? ### Context: CREATE TABLE table_name_44 (category VARCHAR, year INTEGER) [/INST] ### Response: SELECT category FROM table_name_44 WHERE year < 2011 </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 of the Premios Carlos Gardel 2009 award? ### Context: CREATE TABLE table_name_58 (year VARCHAR, award VARCHAR) [/INST] ### Response: SELECT year FROM table_name_58 WHERE award = "premios carlos gardel 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 Andrea Suarez Lazaro's height? ### Context: CREATE TABLE table_name_25 (height VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT height FROM table_name_25 WHERE contestant = "andrea suarez lazaro" </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 niurbi encarnación ynoa's height? ### Context: CREATE TABLE table_name_95 (height VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT height FROM table_name_95 WHERE contestant = "niurbi encarnación ynoa" </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 province for Jamao Afuera? ### Context: CREATE TABLE table_name_13 (province VARCHAR, _community VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT province, _community FROM table_name_13 WHERE hometown = "jamao afuera" </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 geographical region for hometown Imbert? ### Context: CREATE TABLE table_name_1 (geographical_regions VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT geographical_regions FROM table_name_1 WHERE hometown = "imbert" </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 Ship attacked on 20February1942? ### Context: CREATE TABLE table_name_64 (name_of_ship VARCHAR, date VARCHAR) [/INST] ### Response: SELECT name_of_ship FROM table_name_64 WHERE date = "20february1942" </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 ship was sunk at 01:00? ### Context: CREATE TABLE table_name_96 (name_of_ship VARCHAR, fate VARCHAR, time VARCHAR) [/INST] ### Response: SELECT name_of_ship FROM table_name_96 WHERE fate = "sunk at" AND time = "01:00" </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 to par for the 68-72-73=213 score? ### Context: CREATE TABLE table_name_73 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_73 WHERE score = 68 - 72 - 73 = 213 </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 to par for the 69-70-72=211 score? ### Context: CREATE TABLE table_name_56 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_56 WHERE score = 69 - 70 - 72 = 211 </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 to par for the United States with a 67-71-73=211 score? ### Context: CREATE TABLE table_name_72 (to_par VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_72 WHERE country = "united states" AND score = 67 - 71 - 73 = 211 </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 country has t4 place and a 67-71-73=211 score? ### Context: CREATE TABLE table_name_16 (country VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_16 WHERE place = "t4" AND score = 67 - 71 - 73 = 211 </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 to par for Australia and a 73-69-71=213 score? ### Context: CREATE TABLE table_name_43 (to_par VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_43 WHERE country = "australia" AND score = 73 - 69 - 71 = 213 </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 Location has a Partner of app, a Population Served larger than 2000, and a Design flow (LPM) of 375? ### Context: CREATE TABLE table_name_31 (location VARCHAR, design_flow__lpm_ VARCHAR, partner VARCHAR, population_served VARCHAR) [/INST] ### Response: SELECT location FROM table_name_31 WHERE partner = "app" AND population_served > 2000 AND design_flow__lpm_ = 375 </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 Construction Start has an Inauguration Date of 2010 june? ### Context: CREATE TABLE table_name_39 (construction_start VARCHAR, inauguration_date VARCHAR) [/INST] ### Response: SELECT construction_start FROM table_name_39 WHERE inauguration_date = "2010 june" </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 Construction Start has a Design flow (LPM) of 1300? ### Context: CREATE TABLE table_name_99 (construction_start VARCHAR, design_flow__lpm_ VARCHAR) [/INST] ### Response: SELECT construction_start FROM table_name_99 WHERE design_flow__lpm_ = 1300 </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 Location has a Design flow (LPM) smaller than 1900, and a Construction Start of 2006 june? ### Context: CREATE TABLE table_name_40 (location VARCHAR, design_flow__lpm_ VARCHAR, construction_start VARCHAR) [/INST] ### Response: SELECT location FROM table_name_40 WHERE design_flow__lpm_ < 1900 AND construction_start = "2006 june" </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 Partner has a Construction Start of 2008 january? ### Context: CREATE TABLE table_name_2 (partner VARCHAR, construction_start VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_2 WHERE construction_start = "2008 january" </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 Design flow (LPM) with a Partner of app, a Construction Start of 2008 january, and a Population Served larger than 3500? ### Context: CREATE TABLE table_name_6 (design_flow__lpm_ INTEGER, population_served VARCHAR, partner VARCHAR, construction_start VARCHAR) [/INST] ### Response: SELECT SUM(design_flow__lpm_) FROM table_name_6 WHERE partner = "app" AND construction_start = "2008 january" AND population_served > 3500 </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 Sandy Lyle's To Par? ### Context: CREATE TABLE table_name_76 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_76 WHERE player = "sandy lyle" </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 Australia's score where they were in place t1? ### Context: CREATE TABLE table_name_43 (score VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT score FROM table_name_43 WHERE country = "australia" AND place = "t1" </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 has Wales as a country? ### Context: CREATE TABLE table_name_16 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_16 WHERE country = "wales" </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 To Par of Peter Senior from Australia? ### Context: CREATE TABLE table_name_28 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_28 WHERE country = "australia" AND player = "peter senior" </s>