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 Pinyin has a County of changhua? ### Context: CREATE TABLE table_name_44 (pinyin VARCHAR, county VARCHAR) [/INST] ### Response: SELECT pinyin FROM table_name_44 WHERE county = "changhua" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 County has a Chinese of ζ–°η«Ή? ### Context: CREATE TABLE table_name_2 (county VARCHAR, chinese VARCHAR) [/INST] ### Response: SELECT county FROM table_name_2 WHERE chinese = "ζ–°η«Ή" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pinyin has a Chinese of 臺南? ### Context: CREATE TABLE table_name_89 (pinyin VARCHAR, chinese VARCHAR) [/INST] ### Response: SELECT pinyin FROM table_name_89 WHERE chinese = "臺南" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 County has a City of changhua? ### Context: CREATE TABLE table_name_61 (county VARCHAR, city VARCHAR) [/INST] ### Response: SELECT county FROM table_name_61 WHERE city = "changhua" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 taipei's lowest 2010 population? ### Context: CREATE TABLE table_name_99 (population__2010_ INTEGER, city VARCHAR) [/INST] ### Response: SELECT MIN(population__2010_) FROM table_name_99 WHERE city = "taipei" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Diego Saraiva's record when he fought for 3 rounds against danny suarez? ### Context: CREATE TABLE table_name_75 (record VARCHAR, round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_75 WHERE round = "3" AND opponent = "danny suarez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event did Diego Saraiva fight jorge gurgel? ### Context: CREATE TABLE table_name_98 (event VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT event FROM table_name_98 WHERE opponent = "jorge gurgel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games had Montreal Canadiens as an opponent? ### Context: CREATE TABLE table_name_24 (game INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_24 WHERE opponent = "montreal canadiens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time when the method was TKO? ### Context: CREATE TABLE table_name_61 (time VARCHAR, method VARCHAR) [/INST] ### Response: SELECT time FROM table_name_61 WHERE method = "tko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rounds was the fight when the record was 4-0? ### Context: CREATE TABLE table_name_74 (round VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_74 WHERE record = "4-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent when the round was more than 2? ### Context: CREATE TABLE table_name_30 (opponent VARCHAR, round INTEGER) [/INST] ### Response: SELECT opponent FROM table_name_30 WHERE round > 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: Can you tell me the average Game that has the Team of @ boston? ### Context: CREATE TABLE table_name_30 (game INTEGER, team VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_30 WHERE team = "@ boston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Team that has the Date of march 17? ### Context: CREATE TABLE table_name_77 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_name_77 WHERE date = "march 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record with the opponent as Carlton Jones? ### Context: CREATE TABLE table_name_85 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_85 WHERE opponent = "carlton jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 percentage of votes received by the party of family rights? ### Context: CREATE TABLE table_name_88 (_percentage_of_votes VARCHAR, party VARCHAR) [/INST] ### Response: SELECT _percentage_of_votes FROM table_name_88 WHERE party = "family rights" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 % of seats where the difference is 0.25? ### Context: CREATE TABLE table_name_86 (_percentage_of_seats VARCHAR, difference VARCHAR) [/INST] ### Response: SELECT _percentage_of_seats FROM table_name_86 WHERE difference = "0.25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 % of seats where the difference is 0.19? ### Context: CREATE TABLE table_name_92 (_percentage_of_seats VARCHAR, difference VARCHAR) [/INST] ### Response: SELECT _percentage_of_seats FROM table_name_92 WHERE difference = "0.19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 No. 8 when No. 10 Jackson and No. 5 Mason? ### Context: CREATE TABLE table_name_51 (no_8 VARCHAR, no_10 VARCHAR, no_5 VARCHAR) [/INST] ### Response: SELECT no_8 FROM table_name_51 WHERE no_10 = "jackson" AND no_5 = "mason" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 No. 5 when No. 6 Mason and No. 10 Jackson? ### Context: CREATE TABLE table_name_17 (no_5 VARCHAR, no_6 VARCHAR, no_10 VARCHAR) [/INST] ### Response: SELECT no_5 FROM table_name_17 WHERE no_6 = "mason" AND no_10 = "jackson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 No. 8 when No. 1 Michael and No. 4 Logan? ### Context: CREATE TABLE table_name_48 (no_8 VARCHAR, no_1 VARCHAR, no_4 VARCHAR) [/INST] ### Response: SELECT no_8 FROM table_name_48 WHERE no_1 = "michael" AND no_4 = "logan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 No. 9 when No. 5 Mason and No. 3 Aiden? ### Context: CREATE TABLE table_name_65 (no_9 VARCHAR, no_5 VARCHAR, no_3 VARCHAR) [/INST] ### Response: SELECT no_9 FROM table_name_65 WHERE no_5 = "mason" AND no_3 = "aiden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 No. 3 when No. 5 James and No. 6 Mason? ### Context: CREATE TABLE table_name_35 (no_3 VARCHAR, no_5 VARCHAR, no_6 VARCHAR) [/INST] ### Response: SELECT no_3 FROM table_name_35 WHERE no_5 = "james" AND no_6 = "mason" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Smaller than 37, the highest year for Ford? ### Context: CREATE TABLE table_name_18 (year INTEGER, manufacturer VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_18 WHERE manufacturer = "ford" AND finish < 37 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Lowest finish for ganassi at smaller than 19 start for smaller than 2004 year? ### Context: CREATE TABLE table_name_13 (finish INTEGER, year VARCHAR, team VARCHAR, start VARCHAR) [/INST] ### Response: SELECT MIN(finish) FROM table_name_13 WHERE team = "ganassi" AND start < 19 AND year < 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Method, when Event is "Reality Submission Fighting 2"? ### Context: CREATE TABLE table_name_49 (method VARCHAR, event VARCHAR) [/INST] ### Response: SELECT method FROM table_name_49 WHERE event = "reality submission fighting 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 Votes has a Governorate of hewler? ### Context: CREATE TABLE table_name_15 (votes INTEGER, governorate VARCHAR) [/INST] ### Response: SELECT AVG(votes) FROM table_name_15 WHERE governorate = "hewler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 draws with less than 3 wins and more than 5 points? ### Context: CREATE TABLE table_name_69 (draws INTEGER, wins VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(draws) FROM table_name_69 WHERE wins < 3 AND points > 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 average number of goals with more than 9 points, less than 14 goals against, and a goal difference less than 17? ### Context: CREATE TABLE table_name_81 (goals_for INTEGER, goal_difference VARCHAR, points VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT AVG(goals_for) FROM table_name_81 WHERE points > 9 AND goals_against < 14 AND goal_difference < 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of wins with less than 10 goals? ### Context: CREATE TABLE table_name_76 (wins INTEGER, goals_against INTEGER) [/INST] ### Response: SELECT AVG(wins) FROM table_name_76 WHERE goals_against < 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position with a -22 goal difference and more than 5 points? ### Context: CREATE TABLE table_name_51 (position INTEGER, goal_difference VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(position) FROM table_name_51 WHERE goal_difference = -22 AND points > 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 Title, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham? ### Context: CREATE TABLE table_name_79 (title VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR) [/INST] ### Response: SELECT title FROM table_name_79 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Title, when the Lyricist(s) is Yarosake, and when the Composer(s) is Yarosake? ### Context: CREATE TABLE table_name_69 (title VARCHAR, lyricist_s_ VARCHAR, composer_s_ VARCHAR) [/INST] ### Response: SELECT title FROM table_name_69 WHERE lyricist_s_ = "yarosake" AND composer_s_ = "yarosake" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Length, when the Composer(s) is Sakdatorn, and when the Arranger(s) is Jitrakorn Mongkoltham? ### Context: CREATE TABLE table_name_4 (length VARCHAR, composer_s_ VARCHAR, arranger_s_ VARCHAR) [/INST] ### Response: SELECT length FROM table_name_4 WHERE composer_s_ = "sakdatorn" AND arranger_s_ = "jitrakorn mongkoltham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? ### Context: CREATE TABLE table_name_44 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) [/INST] ### Response: SELECT composer_s_ FROM table_name_44 WHERE arranger_s_ = "banana boat" AND length = "4:25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/are the Composer(s), when the Arranger(s) is Banana Boat, and when the Length is 4:25? ### Context: CREATE TABLE table_name_96 (composer_s_ VARCHAR, arranger_s_ VARCHAR, length VARCHAR) [/INST] ### Response: SELECT composer_s_ FROM table_name_96 WHERE arranger_s_ = "banana boat" AND length = "4:25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 i the try bonus with 12 losses? ### Context: CREATE TABLE table_name_78 (try_bonus VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT try_bonus FROM table_name_78 WHERE lost = "12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the losing bonus for the 20 played, and 353 points? ### Context: CREATE TABLE table_name_89 (losing_bonus VARCHAR, played VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_89 WHERE played = "20" AND points_for = "353" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played with 38 tries? ### Context: CREATE TABLE table_name_55 (played VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT played FROM table_name_55 WHERE tries_for = "38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the tries for a club of a club? ### Context: CREATE TABLE table_name_58 (tries_for VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_58 WHERE "club" = "club" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 loss with 319 points? ### Context: CREATE TABLE table_name_66 (lost VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_66 WHERE points_for = "319" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner(s)-Up to winner Sarah Brice? ### Context: CREATE TABLE table_name_23 (runner_s__up VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_23 WHERE winner = "sarah brice" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season had bachelor Byron Velvick? ### Context: CREATE TABLE table_name_19 (season INTEGER, bachelor VARCHAR) [/INST] ### Response: SELECT MIN(season) FROM table_name_19 WHERE bachelor = "byron velvick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season that the runner -up was Tenley Molzahn? ### Context: CREATE TABLE table_name_34 (season INTEGER, runner_s__up VARCHAR) [/INST] ### Response: SELECT SUM(season) FROM table_name_34 WHERE runner_s__up = "tenley molzahn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up for the show that premiered on March 25, 2002? ### Context: CREATE TABLE table_name_50 (runner_s__up VARCHAR, premiered VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_50 WHERE premiered = "march 25, 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leading scorer on the game played on February 25? ### Context: CREATE TABLE table_name_28 (leading_scorer VARCHAR, date VARCHAR) [/INST] ### Response: SELECT leading_scorer FROM table_name_28 WHERE date = "february 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team that had a record of 26-18? ### Context: CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_82 WHERE record = "26-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: What was the score for the game played between Cleveland and Orlando at Cleveland? ### Context: CREATE TABLE table_name_26 (score VARCHAR, home VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT score FROM table_name_26 WHERE home = "cleveland" AND visitor = "orlando" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team for the game that ended 82-75? ### Context: CREATE TABLE table_name_51 (visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_51 WHERE score = "82-75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who were the semifinalists for the tournament in montreal? ### Context: CREATE TABLE table_name_95 (semifinalists VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_name_95 WHERE tournament = "montreal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the finalist for the tournament in berlin? ### Context: CREATE TABLE table_name_14 (finalist VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_14 WHERE tournament = "berlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of surface was played at the tournament in berlin? ### Context: CREATE TABLE table_name_16 (surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_16 WHERE tournament = "berlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the tournament where monica seles was the finalist who played on a hard surface? ### Context: CREATE TABLE table_name_60 (tournament VARCHAR, surface VARCHAR, finalist VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_60 WHERE surface = "hard" AND finalist = "monica seles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team against the home team Hartlepools United? ### Context: CREATE TABLE table_name_61 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_61 WHERE home_team = "hartlepools united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team against the home team Ashington? ### Context: CREATE TABLE table_name_76 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_76 WHERE home_team = "ashington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the away team, Ipswich Town? ### Context: CREATE TABLE table_name_6 (score VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_6 WHERE away_team = "ipswich town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date did the away team Mansfield Town play? ### Context: CREATE TABLE table_name_56 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_56 WHERE away_team = "mansfield town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fore the away team Dartford? ### Context: CREATE TABLE table_name_88 (score VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_88 WHERE away_team = "dartford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date did the away team Bristol Rovers play? ### Context: CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_63 WHERE away_team = "bristol rovers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Brigade, when the Type is Rural, and when the value for Tankers is 1? ### Context: CREATE TABLE table_name_10 (brigade VARCHAR, type VARCHAR, tankers VARCHAR) [/INST] ### Response: SELECT brigade FROM table_name_10 WHERE type = "rural" AND tankers = 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 Hazmat, when the Type is Rural, and when the number of Tankers is 1? ### Context: CREATE TABLE table_name_98 (hazmat VARCHAR, type VARCHAR, tankers VARCHAR) [/INST] ### Response: SELECT hazmat FROM table_name_98 WHERE type = "rural" AND tankers = 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 country had the first store in the year 2007? ### Context: CREATE TABLE table_name_15 (country VARCHAR, first_store VARCHAR) [/INST] ### Response: SELECT country FROM table_name_15 WHERE first_store = "2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the first store that had a hypermarket of 3? ### Context: CREATE TABLE table_name_2 (first_store VARCHAR, hypermarkets VARCHAR) [/INST] ### Response: SELECT first_store FROM table_name_2 WHERE hypermarkets = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the first store in India? ### Context: CREATE TABLE table_name_20 (first_store VARCHAR, country VARCHAR) [/INST] ### Response: SELECT first_store FROM table_name_20 WHERE country = "india" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic? ### Context: CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the average Attendance that has the Scorers of steven, johnston, walters, mccoist, i.ferguson? ### Context: CREATE TABLE table_name_10 (attendance INTEGER, scorers VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_10 WHERE scorers = "steven, johnston, walters, mccoist, i.ferguson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number has 0 steals and less than 32 points? ### Context: CREATE TABLE table_name_46 (number VARCHAR, points VARCHAR, steals VARCHAR) [/INST] ### Response: SELECT number FROM table_name_46 WHERE points < 32 AND steals = 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 was the overall score when the score for set 3 is 21–25? ### Context: CREATE TABLE table_name_55 (score VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT score FROM table_name_55 WHERE set_3 = "21–25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 set 1 score when the total is 85–101? ### Context: CREATE TABLE table_name_92 (set_1 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_1 FROM table_name_92 WHERE total = "85–101" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was the score for set 3 22–25? ### Context: CREATE TABLE table_name_32 (date VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT date FROM table_name_32 WHERE set_3 = "22–25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when the set 2 score is 25–18? ### Context: CREATE TABLE table_name_57 (score VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT score FROM table_name_57 WHERE set_2 = "25–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: What is the score for set 1 when the score for set 3 is 22–25? ### Context: CREATE TABLE table_name_10 (set_1 VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT set_1 FROM table_name_10 WHERE set_3 = "22–25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a Score of 70-69-75=214? ### Context: CREATE TABLE table_name_11 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_11 WHERE score = 70 - 69 - 75 = 214 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a To par of +4, what is Andy Bean's Score? ### Context: CREATE TABLE table_name_21 (score VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_21 WHERE to_par = "+4" AND player = "andy bean" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 T5 Place Player with a Score of 71-68-76=215? ### Context: CREATE TABLE table_name_33 (to_par VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_33 WHERE place = "t5" AND score = 71 - 68 - 76 = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place of the Player with a To par of +4 and Score of 70-76-71=217? ### Context: CREATE TABLE table_name_67 (place VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_67 WHERE to_par = "+4" AND score = 70 - 76 - 71 = 217 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of the T3 Place Player? ### Context: CREATE TABLE table_name_33 (score VARCHAR, place VARCHAR) [/INST] ### Response: SELECT score FROM table_name_33 WHERE place = "t3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a To par of –1? ### Context: CREATE TABLE table_name_35 (country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT country FROM table_name_35 WHERE to_par = "–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: In what year was Luxembourg Host? ### Context: CREATE TABLE table_name_77 (year INTEGER, host VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_77 WHERE host = "luxembourg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Iceland gets the Silver, who gets the Bronze? ### Context: CREATE TABLE table_name_67 (bronze VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT bronze FROM table_name_67 WHERE silver = "iceland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the maximum rank when there is 0 gold, and the bronze is less than 4, and the silver is greater than 1, and 2 as the total? ### Context: CREATE TABLE table_name_76 (rank INTEGER, silver VARCHAR, total VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_76 WHERE gold = 0 AND bronze < 4 AND total = 2 AND silver > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Rank 14 with a total greater than 1 has what as the average bronze? ### Context: CREATE TABLE table_name_41 (bronze INTEGER, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_41 WHERE rank = 14 AND total > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many medals under total when silver is less than 2, gold is 3, and bronze is less than 0? ### Context: CREATE TABLE table_name_53 (total INTEGER, bronze VARCHAR, silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_53 WHERE silver < 2 AND gold = 3 AND bronze < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the fewest total when silver is 0, and gold is less than 1, and rank is less than 13? ### Context: CREATE TABLE table_name_16 (total INTEGER, rank VARCHAR, silver VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_16 WHERE silver = 0 AND gold < 1 AND rank < 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 total rank where the total is less than 5, and bronze is less than 0? ### Context: CREATE TABLE table_name_18 (rank VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_18 WHERE total < 5 AND bronze < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place was the player hailing from Zimbabwe in? ### Context: CREATE TABLE table_name_86 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_86 WHERE country = "zimbabwe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of Bernhard Langer after 3 rounds? ### Context: CREATE TABLE table_name_88 (score VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_88 WHERE player = "bernhard langer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for were recorded when there was a percentage smaller than 0.519 and points greater than 65? ### Context: CREATE TABLE table_name_62 (goals_for VARCHAR, pct__percentage VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(goals_for) FROM table_name_62 WHERE pct__percentage < 0.519 AND points > 65 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games were recorded with Goals for number of 215? ### Context: CREATE TABLE table_name_34 (games VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_name_34 WHERE goals_for = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the player is jack nicklaus? ### Context: CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_29 WHERE player = "jack nicklaus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money ($) when the place is t2 for player johnny miller? ### Context: CREATE TABLE table_name_81 (money___ INTEGER, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(money___) AS $__ FROM table_name_81 WHERE place = "t2" AND player = "johnny miller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the score is 69-70-72-72=283? ### 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 - 72 = 283 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the result was 3-2? ### Context: CREATE TABLE table_name_50 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_50 WHERE result = "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: What competition had a score of 3-0, and a result of 4-1? ### Context: CREATE TABLE table_name_8 (competition VARCHAR, score VARCHAR, result VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_8 WHERE score = "3-0" AND result = "4-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 Tie no that has an Away team of altrincham? ### Context: CREATE TABLE table_name_28 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_28 WHERE away_team = "altrincham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Score of 0–1, and a Tie no of 3? ### Context: CREATE TABLE table_name_12 (date VARCHAR, score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT date FROM table_name_12 WHERE score = "0–1" AND tie_no = "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: When has a Tie no of 15? ### Context: CREATE TABLE table_name_17 (date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT date FROM table_name_17 WHERE tie_no = "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: Which Away has a Tie no of replay, and a Score of 2–0? ### Context: CREATE TABLE table_name_93 (away_team VARCHAR, tie_no VARCHAR, score VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_93 WHERE tie_no = "replay" AND score = "2–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: Name the Score on 17 december 1979? ### Context: CREATE TABLE table_name_80 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_80 WHERE date = "17 december 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: Name the Home team of tranmere rovers? ### Context: CREATE TABLE table_name_14 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_14 WHERE home_team = "tranmere rovers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area when the census ranking is 2,290 of 5,008? ### Context: CREATE TABLE table_name_49 (area_km_2 VARCHAR, census_ranking VARCHAR) [/INST] ### Response: SELECT area_km_2 FROM table_name_49 WHERE census_ranking = "2,290 of 5,008" </s>