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: Which athlete played at the Birmingham venue? ### Context: CREATE TABLE table_name_32 (athlete VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT athlete FROM table_name_32 WHERE venue = "birmingham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Frequency has a Webcast of •, and a Callsign of xemr? ### Context: CREATE TABLE table_name_31 (frequency INTEGER, webcast VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT AVG(frequency) FROM table_name_31 WHERE webcast = "•" AND callsign = "xemr" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Website has a Frequency smaller than 760 and a Callsign of kkyx? ### Context: CREATE TABLE table_name_85 (website VARCHAR, frequency VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT website FROM table_name_85 WHERE frequency < 760 AND callsign = "kkyx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Webcast has a Callsign of kgbt? ### Context: CREATE TABLE table_name_91 (webcast VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT webcast FROM table_name_91 WHERE callsign = "kgbt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Frequency has a Website of •, and a Webcast of •in san antonio? ### Context: CREATE TABLE table_name_44 (frequency INTEGER, city_of_license VARCHAR, website VARCHAR, webcast VARCHAR) [/INST] ### Response: SELECT AVG(frequency) FROM table_name_44 WHERE website = "•" AND webcast = "•" AND city_of_license = "san antonio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did the player play when he scored 78 points and 22 goals? ### Context: CREATE TABLE table_name_56 (years VARCHAR, points VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT years FROM table_name_56 WHERE points = "78" AND goals = "22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals did Joey Worthen have when he had 15 assists? ### Context: CREATE TABLE table_name_78 (goals VARCHAR, assists VARCHAR, player VARCHAR) [/INST] ### Response: SELECT goals FROM table_name_78 WHERE assists = "15" AND player = "joey worthen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals were scored when 158 points were collected? ### Context: CREATE TABLE table_name_45 (goals VARCHAR, points VARCHAR) [/INST] ### Response: SELECT goals FROM table_name_45 WHERE points = "158" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years had players who scored 36 goals? ### Context: CREATE TABLE table_name_51 (years VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT years FROM table_name_51 WHERE goals = "36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank of the player who had 13 assists? ### Context: CREATE TABLE table_name_14 (rank VARCHAR, assists VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_14 WHERE assists = "13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of the weeks during which the Redskins played against the Houston Oilers and had more than 54,582 fans in attendance? ### Context: CREATE TABLE table_name_97 (week INTEGER, opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_97 WHERE opponent = "houston oilers" AND attendance > 54 OFFSET 582 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for week 1? ### Context: CREATE TABLE table_name_63 (attendance INTEGER, week INTEGER) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_63 WHERE week < 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 total number in attendance for the game after week 8 that was on November 25, 1979? ### Context: CREATE TABLE table_name_49 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_49 WHERE week > 8 AND date = "november 25, 1979" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Score of 2009 wta tour? ### Context: CREATE TABLE table_name_13 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_13 WHERE score = "2009 wta tour" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Round has a Ranking of 2008 wta tour? ### Context: CREATE TABLE table_name_31 (round VARCHAR, ranking VARCHAR) [/INST] ### Response: SELECT round FROM table_name_31 WHERE ranking = "2008 wta tour" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Round of 4th round, and a Player of maria sharapova? ### Context: CREATE TABLE table_name_57 (surface VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_57 WHERE round = "4th round" AND player = "maria sharapova" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Score of 6–4, 7–6 (7–5)? ### Context: CREATE TABLE table_name_97 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_97 WHERE score = "6–4, 7–6 (7–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 Round has a Player of anna chakvetadze? ### Context: CREATE TABLE table_name_23 (round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT round FROM table_name_23 WHERE player = "anna chakvetadze" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Record of 89-67 had what loss? ### Context: CREATE TABLE table_name_16 (loss VARCHAR, record VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_16 WHERE record = "89-67" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Score of 3 - 2 had what record? ### Context: CREATE TABLE table_name_93 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_93 WHERE score = "3 - 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: Opponent of @ blue jays, and a Loss of lyon (5-4) had what opponent? ### Context: CREATE TABLE table_name_60 (record VARCHAR, opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_60 WHERE opponent = "@ blue jays" AND loss = "lyon (5-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: Loss of lyon (5-4) had what score? ### Context: CREATE TABLE table_name_17 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_17 WHERE loss = "lyon (5-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: Loss of finley (8-7) had what record? ### Context: CREATE TABLE table_name_99 (record VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_99 WHERE loss = "finley (8-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: Opponent of @ blue jays, and a Date of october 6 had what score? ### Context: CREATE TABLE table_name_19 (score VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_19 WHERE opponent = "@ blue jays" AND date = "october 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 score for game 5? ### Context: CREATE TABLE table_name_82 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_82 WHERE game = 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 score that has a game greater than 3, with buffalo sabres as the opponent? ### Context: CREATE TABLE table_name_77 (score VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_77 WHERE game > 3 AND opponent = "buffalo sabres" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score has may 9 as the date? ### Context: CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_26 WHERE date = "may 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 was the score on October 16, 1983? ### Context: CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_37 WHERE date = "october 16, 1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when she was a runner-up? ### Context: CREATE TABLE table_name_38 (score VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT score FROM table_name_38 WHERE outcome = "runner-up" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was being played on August 11, 1984? ### Context: CREATE TABLE table_name_86 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_86 WHERE date = "august 11, 1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue on June 8, 2005? ### Context: CREATE TABLE table_name_9 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_9 WHERE date = "june 8, 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: On what Date was the Venue Los Angeles? ### Context: CREATE TABLE table_name_90 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_90 WHERE venue = "los angeles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on September 29, 2003? ### Context: CREATE TABLE table_name_64 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_64 WHERE date = "september 29, 2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Venue in Carson? ### Context: CREATE TABLE table_name_10 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_10 WHERE venue = "carson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competition on October 21, 2003? ### Context: CREATE TABLE table_name_83 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_83 WHERE date = "october 21, 2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Competition on September 29, 2003? ### Context: CREATE TABLE table_name_15 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_15 WHERE date = "september 29, 2003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chunkath, mohan verghese as the name? ### Context: CREATE TABLE table_name_88 (country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT country FROM table_name_88 WHERE name = "chunkath, mohan verghese" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position has a spread greater than -319, and United States as the country, a win loss of 11-13, and gabriel, marty as the name? ### Context: CREATE TABLE table_name_96 (position VARCHAR, name VARCHAR, win_loss VARCHAR, spread VARCHAR, country VARCHAR) [/INST] ### Response: SELECT position FROM table_name_96 WHERE spread > -319 AND country = "united states" AND win_loss = "11-13" AND name = "gabriel, marty" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name has a spread of 69? ### Context: CREATE TABLE table_name_96 (name VARCHAR, spread VARCHAR) [/INST] ### Response: SELECT name FROM table_name_96 WHERE spread = 69 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Performer 2 has an Episode of 5? ### Context: CREATE TABLE table_name_26 (performer_2 VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT performer_2 FROM table_name_26 WHERE episode = 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 weight has one rupee as the denomination? ### Context: CREATE TABLE table_name_88 (weight VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT weight FROM table_name_88 WHERE denomination = "one rupee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 size that has nickel as the metal, and one rupee as the denomination? ### Context: CREATE TABLE table_name_46 (size VARCHAR, metal VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT size FROM table_name_46 WHERE metal = "nickel" AND denomination = "one rupee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 metal has one rupee as the denomination? ### Context: CREATE TABLE table_name_83 (metal VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT metal FROM table_name_83 WHERE denomination = "one rupee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shape has nickel as the metal, and one rupee as the denomination? ### Context: CREATE TABLE table_name_78 (shape VARCHAR, metal VARCHAR, denomination VARCHAR) [/INST] ### Response: SELECT shape FROM table_name_78 WHERE metal = "nickel" AND denomination = "one rupee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2007 has a 2010 of A, and a 2006 of lq? ### Context: CREATE TABLE table_name_18 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_18 WHERE 2010 = "a" AND 2006 = "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: Which 2012 has a 2007 of 1r? ### Context: CREATE TABLE table_name_51 (Id VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_51 WHERE 2007 = "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 2002 has a 2013 of 2–4? ### Context: CREATE TABLE table_name_37 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_37 WHERE 2013 = "2–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: Which 2013 has a 2010 of 1r? ### Context: CREATE TABLE table_name_98 (Id VARCHAR) [/INST] ### Response: SELECT 2013 FROM table_name_98 WHERE 2010 = "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 2005 has a Tournament of grand slam tournaments? ### Context: CREATE TABLE table_name_52 (tournament VARCHAR) [/INST] ### Response: SELECT 2005 FROM table_name_52 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: Which 2007 has a 2008 of 1r, and a Tournament of wimbledon? ### Context: CREATE TABLE table_name_53 (tournament VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_53 WHERE 2008 = "1r" AND tournament = "wimbledon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Home of minnesota? ### Context: CREATE TABLE table_name_25 (date VARCHAR, home VARCHAR) [/INST] ### Response: SELECT date FROM table_name_25 WHERE home = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Visitor has a Decision of myre, and a Record of 44–7–15? ### Context: CREATE TABLE table_name_32 (visitor VARCHAR, decision VARCHAR, record VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_32 WHERE decision = "myre" AND record = "44–7–15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Championship had a Winning score of 6 & 5? ### Context: CREATE TABLE table_name_31 (championship VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_31 WHERE winning_score = "6 & 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 Winning Score when Betsy Rawls was the Runner(s)-up? ### Context: CREATE TABLE table_name_96 (winning_score VARCHAR, runner_s__up VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_96 WHERE runner_s__up = "betsy rawls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1946, what is the Runner(s)-up of the Women's Western Open Championship? ### Context: CREATE TABLE table_name_60 (runner_s__up VARCHAR, championship VARCHAR, year VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_60 WHERE championship = "women's western open" AND year = 1946 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Margin in 1953 when Patty Berg was Runner(s)-up? ### Context: CREATE TABLE table_name_29 (margin VARCHAR, runner_s__up VARCHAR, year VARCHAR) [/INST] ### Response: SELECT margin FROM table_name_29 WHERE runner_s__up = "patty berg" AND year = 1953 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339? ### Context: CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name that has a DCSF number bigger than 2448 and an Ofsted number of 131319? ### Context: CREATE TABLE table_name_95 (name VARCHAR, dcsf_number VARCHAR, ofsted_number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_95 WHERE dcsf_number > 2448 AND ofsted_number = 131319 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 faith has a DCSF number bigger than 2448 in Holtsmere End? ### Context: CREATE TABLE table_name_44 (faith VARCHAR, dcsf_number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT faith FROM table_name_44 WHERE dcsf_number > 2448 AND name = "holtsmere end" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the lowest DCSF number in Aycliffe Drive but an Ofsted number smaller than 117335? ### Context: CREATE TABLE table_name_77 (dcsf_number INTEGER, name VARCHAR, ofsted_number VARCHAR) [/INST] ### Response: SELECT MIN(dcsf_number) FROM table_name_77 WHERE name = "aycliffe drive" AND ofsted_number < 117335 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city is the toamasina airport in? ### Context: CREATE TABLE table_name_42 (city VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT city FROM table_name_42 WHERE airport = "toamasina airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the city, Sydney? ### Context: CREATE TABLE table_name_99 (country VARCHAR, city VARCHAR) [/INST] ### Response: SELECT country FROM table_name_99 WHERE city = "sydney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city is in the country of Mayotte? ### Context: CREATE TABLE table_name_63 (city VARCHAR, country VARCHAR) [/INST] ### Response: SELECT city FROM table_name_63 WHERE country = "mayotte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 IATA for the chennai international airport? ### Context: CREATE TABLE table_name_96 (iata VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_96 WHERE airport = "chennai international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 airport name that has nos listed as the IATA? ### Context: CREATE TABLE table_name_78 (airport VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_78 WHERE iata = "nos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 part number of athlon x2 4850e? ### Context: CREATE TABLE table_name_89 (part_number_s_ VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT part_number_s_ FROM table_name_89 WHERE model_number = "athlon x2 4850e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency of the device that has a Multi 1 of 7.5×? ### Context: CREATE TABLE table_name_28 (frequency VARCHAR, multi_1 VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_28 WHERE multi_1 = "7.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's amount of L2 Cache on a device that has a Frequency of 1500mhz? ### Context: CREATE TABLE table_name_78 (l2_cache VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_name_78 WHERE frequency = "1500mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the release date for a chip that has a Frequency of 2300mhz? ### Context: CREATE TABLE table_name_88 (release_date VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_88 WHERE frequency = "2300mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date for technology that has a Multi 1 of 10.5×? ### Context: CREATE TABLE table_name_72 (release_date VARCHAR, multi_1 VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_72 WHERE multi_1 = "10.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's the stepping amount for adh4450iaa5do? ### Context: CREATE TABLE table_name_61 (stepping VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT stepping FROM table_name_61 WHERE part_number_s_ = "adh4450iaa5do" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Wins is the highest one that has a Year larger than 1996, and a Championship Finish of 1st, and Points smaller than 168? ### Context: CREATE TABLE table_name_40 (wins INTEGER, points VARCHAR, year VARCHAR, championship_finish VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_40 WHERE year > 1996 AND championship_finish = "1st" AND points < 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: Which Year is the highest that has a Team of walker racing, and Wins larger than 1? ### Context: CREATE TABLE table_name_58 (year INTEGER, team VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_58 WHERE team = "walker racing" AND wins > 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: Which Points have a Year larger than 1998, and Wins of 1? ### Context: CREATE TABLE table_name_79 (points INTEGER, year VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_79 WHERE year > 1998 AND wins = 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 lowest bronze number when silver shows 2, and the total is 8? ### Context: CREATE TABLE table_name_35 (bronze INTEGER, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MIN(bronze) FROM table_name_35 WHERE silver = 2 AND total = 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 is the silver number when gold is more than 4, and the total is less than 24? ### Context: CREATE TABLE table_name_54 (silver INTEGER, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(silver) FROM table_name_54 WHERE gold > 4 AND total < 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 gold number when the total is 8 and bronze is more than 4? ### Context: CREATE TABLE table_name_19 (gold INTEGER, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_19 WHERE total = 8 AND bronze > 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 is the sum of Total for 0 gold and less than 2, silver with a rank of 6? ### Context: CREATE TABLE table_name_11 (total INTEGER, rank VARCHAR, gold VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_11 WHERE gold = 0 AND silver < 2 AND rank = "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 average Gold when silver is more than 2, and bronze is more than 1 ### Context: CREATE TABLE table_name_59 (gold INTEGER, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_59 WHERE silver > 2 AND bronze > 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 Bronze when silver is more than 2, and rank is 2, and gold more than 2 ### Context: CREATE TABLE table_name_62 (bronze INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_62 WHERE silver > "2" AND rank = "2" AND gold > 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 city in Svalbard has a longitude of 15°39′e? ### Context: CREATE TABLE table_name_77 (city VARCHAR, state VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT city FROM table_name_77 WHERE state = "svalbard" AND longitude = "15°39′e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the latitude is 77°28′n, what is the longitude? ### Context: CREATE TABLE table_name_27 (longitude VARCHAR, latitude VARCHAR) [/INST] ### Response: SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the latitude is 76°25′n, what is the longitude? ### Context: CREATE TABLE table_name_52 (longitude VARCHAR, latitude VARCHAR) [/INST] ### Response: SELECT longitude FROM table_name_52 WHERE latitude = "76°25′n" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the latitude is 71°18′n, what is the longitude? ### Context: CREATE TABLE table_name_98 (longitude VARCHAR, latitude VARCHAR) [/INST] ### Response: SELECT longitude FROM table_name_98 WHERE latitude = "71°18′n" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the partner facing the opponents florian Mayer & alexander waske in the final? ### Context: CREATE TABLE table_name_95 (partner VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_95 WHERE opponents_in_the_final = "florian mayer & alexander waske" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hard surface and final opponents rohan bopanna & mustafa ghouse? ### Context: CREATE TABLE table_name_19 (tournament VARCHAR, surface VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_19 WHERE surface = "hard" AND opponents_in_the_final = "rohan bopanna & mustafa ghouse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which date did the tournament final with the clay surface take place? ### Context: CREATE TABLE table_name_94 (date VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE surface = "clay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 features the partner julian knowle? ### Context: CREATE TABLE table_name_93 (tournament VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_93 WHERE partner = "julian knowle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which date is the tournament final with the opponents michael berrer & kenneth carlsen? ### Context: CREATE TABLE table_name_98 (date VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_98 WHERE opponents_in_the_final = "michael berrer & kenneth carlsen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 after february 4 in the game 61? ### Context: CREATE TABLE table_name_30 (score VARCHAR, february VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE february > 4 AND game = 61 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Arkansas State's total pick number with an overal lower than 242? ### Context: CREATE TABLE table_name_96 (pick__number VARCHAR, college VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_name_96 WHERE college = "arkansas state" AND overall < 242 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is from the College of Cincinnati? ### Context: CREATE TABLE table_name_38 (name VARCHAR, college VARCHAR) [/INST] ### Response: SELECT name FROM table_name_38 WHERE college = "cincinnati" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall number for a kicker with a pick of less than 6? ### Context: CREATE TABLE table_name_84 (overall VARCHAR, position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_84 WHERE position = "kicker" AND pick__number < 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 college has a defensive end with a round less than 6? ### Context: CREATE TABLE table_name_84 (college VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_name_84 WHERE round > 6 AND position = "defensive end" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record has a score of 111-96? ### Context: CREATE TABLE table_name_56 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_56 WHERE score = "111-96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for a game after 34 with a record of 31-11? ### Context: CREATE TABLE table_name_53 (score VARCHAR, game VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_53 WHERE game > 34 AND record = "31-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: What was the date with a resulted score of 130-100? ### Context: CREATE TABLE table_name_16 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_16 WHERE score = "130-100" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Water has a Metal of contracting? ### Context: CREATE TABLE table_name_72 (water VARCHAR, metal VARCHAR) [/INST] ### Response: SELECT water FROM table_name_72 WHERE metal = "contracting" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Metal has an Element of heavenly stems? ### Context: CREATE TABLE table_name_84 (metal VARCHAR, element VARCHAR) [/INST] ### Response: SELECT metal FROM table_name_84 WHERE element = "heavenly stems" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 water has green wood? ### Context: CREATE TABLE table_name_50 (water VARCHAR, wood VARCHAR) [/INST] ### Response: SELECT water FROM table_name_50 WHERE wood = "green" </s>