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: Who was eliminated a person at 18:48? ### Context: CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR) [/INST] ### Response: SELECT eliminated AS by FROM table_29692554_2 WHERE time = "18:48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are shown for entered at 21:09? ### Context: CREATE TABLE table_29692554_2 (entered VARCHAR, time VARCHAR) [/INST] ### Response: SELECT COUNT(entered) FROM table_29692554_2 WHERE time = "21:09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eliminated by being pinned after a spear at 22:50? ### Context: CREATE TABLE table_29692554_2 (wrestler VARCHAR, method_of_elimination VARCHAR, time VARCHAR) [/INST] ### Response: SELECT wrestler FROM table_29692554_2 WHERE method_of_elimination = "Pinned after a spear" AND time = "22:50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was the person eliminated at 22:50? ### Context: CREATE TABLE table_29692554_2 (eliminated VARCHAR, time VARCHAR) [/INST] ### Response: SELECT eliminated FROM table_29692554_2 WHERE time = "22:50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit where the fastest lap is sam lowes and the winning rider is luca scassa? ### Context: CREATE TABLE table_29686983_1 (circuit VARCHAR, fastest_lap VARCHAR, winning_rider VARCHAR) [/INST] ### Response: SELECT circuit FROM table_29686983_1 WHERE fastest_lap = "Sam Lowes" AND winning_rider = "Luca Scassa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round wher the fabien foret had the fastest lap and david salom was the pole position? ### Context: CREATE TABLE table_29686983_1 (round VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT round FROM table_29686983_1 WHERE fastest_lap = "Fabien Foret" AND pole_position = "David Salom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who had the fastest lap for round 1? ### Context: CREATE TABLE table_29686983_1 (fastest_lap VARCHAR, round VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_29686983_1 WHERE round = 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 pole position for france? ### Context: CREATE TABLE table_29686983_1 (pole_position VARCHAR, country VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_29686983_1 WHERE country = "France" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the maximum round and fabien foret had the pole position? ### Context: CREATE TABLE table_29686983_1 (round INTEGER, pole_position VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_29686983_1 WHERE pole_position = "Fabien Foret" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 values of attendance occur when ave. on previous season is +645? ### Context: CREATE TABLE table_2970978_1 (ave_attendance VARCHAR, ___ave_on_prev_season VARCHAR) [/INST] ### Response: SELECT COUNT(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+645" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value of average attendance when average on previous season is -459? ### Context: CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR) [/INST] ### Response: SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "-459" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least value for average attendance when average on previous season is +644? ### Context: CREATE TABLE table_2970978_1 (ave_attendance INTEGER, ___ave_on_prev_season VARCHAR) [/INST] ### Response: SELECT MIN(ave_attendance) FROM table_2970978_1 WHERE ___ave_on_prev_season = "+644" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every value for average on previous season if the competition is league two? ### Context: CREATE TABLE table_2970978_1 (___ave_on_prev_season VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT ___ave_on_prev_season FROM table_2970978_1 WHERE competition = "League Two" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least w? ### Context: CREATE TABLE table_29704430_1 (w INTEGER) [/INST] ### Response: SELECT MIN(w) FROM table_29704430_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 most stolen ends? ### Context: CREATE TABLE table_29704430_1 (stolen_ends INTEGER) [/INST] ### Response: SELECT MAX(stolen_ends) FROM table_29704430_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 appearances when the total goals is 289? ### Context: CREATE TABLE table_29701419_2 (total_appearances INTEGER, total_goals VARCHAR) [/INST] ### Response: SELECT MIN(total_appearances) FROM table_29701419_2 WHERE total_goals = 289 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 league goals when the total goals is 179? ### Context: CREATE TABLE table_29701419_2 (league_goals INTEGER, total_goals VARCHAR) [/INST] ### Response: SELECT MAX(league_goals) FROM table_29701419_2 WHERE total_goals = 179 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many total appearances are there when the league appearances is 192? ### Context: CREATE TABLE table_29701419_2 (total_appearances VARCHAR, league_appearances VARCHAR) [/INST] ### Response: SELECT COUNT(total_appearances) FROM table_29701419_2 WHERE league_appearances = 192 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away teams when the competition was the 1st ``republic of srpska football day`` and the home team was u 14 republic of srpska? ### Context: CREATE TABLE table_29728596_2 (away_team VARCHAR, competition VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_29728596_2 WHERE competition = "1st ``Republic of Srpska Football Day``" AND home_team = "U 14 Republic of Srpska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the competitions when the away team was fk kozara gradiska? ### Context: CREATE TABLE table_29728596_2 (competition VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT competition FROM table_29728596_2 WHERE away_team = "FK Kozara Gradiska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 names of players from the dr congo? ### Context: CREATE TABLE table_29743928_3 (name VARCHAR, country VARCHAR) [/INST] ### Response: SELECT name FROM table_29743928_3 WHERE country = "DR Congo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the high assist total for players from panama? ### Context: CREATE TABLE table_29743928_3 (assists INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(assists) FROM table_29743928_3 WHERE country = "Panama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the home match against FK Rudar Ugljevik? ### Context: CREATE TABLE table_29728596_1 (result VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT result FROM table_29728596_1 WHERE away_team = "FK Rudar Ugljevik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home match against FK Rudar Ugljevik played? ### Context: CREATE TABLE table_29728596_1 (location VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT location FROM table_29728596_1 WHERE away_team = "FK Rudar Ugljevik" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1971 is the year what is the la roche? ### Context: CREATE TABLE table_29728787_1 (la_roche VARCHAR, year VARCHAR) [/INST] ### Response: SELECT la_roche FROM table_29728787_1 WHERE year = "1971" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 deutsche grammophon is the label how many clairons are there? ### Context: CREATE TABLE table_29728787_1 (clairon VARCHAR, label VARCHAR) [/INST] ### Response: SELECT COUNT(clairon) FROM table_29728787_1 WHERE label = "Deutsche Grammophon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hermann uhde is the count who is the conductor? ### Context: CREATE TABLE table_29728787_1 (conductor VARCHAR, count VARCHAR) [/INST] ### Response: SELECT conductor FROM table_29728787_1 WHERE count = "Hermann Uhde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dietrich fischer-dieskau is the olivier who is the conductor? ### Context: CREATE TABLE table_29728787_1 (conductor VARCHAR, olivier VARCHAR) [/INST] ### Response: SELECT conductor FROM table_29728787_1 WHERE olivier = "Dietrich Fischer-Dieskau" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 karl ridderbusch is the la roche who is the olivier? ### Context: CREATE TABLE table_29728787_1 (olivier VARCHAR, la_roche VARCHAR) [/INST] ### Response: SELECT olivier FROM table_29728787_1 WHERE la_roche = "Karl Ridderbusch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For what year is the SAR no. 874? ### Context: CREATE TABLE table_29753553_1 (year VARCHAR, sar_no VARCHAR) [/INST] ### Response: SELECT year FROM table_29753553_1 WHERE sar_no = 874 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer when the director is bob berlinger? ### Context: CREATE TABLE table_29747178_2 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29747178_2 WHERE directed_by = "Bob Berlinger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of U.S viewers are there when the director is andy wolk? ### Context: CREATE TABLE table_29747178_2 (us_viewers__million_ VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_29747178_2 WHERE directed_by = "Andy Wolk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series # when the director is john showalter? ### Context: CREATE TABLE table_29747178_2 (series__number VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT series__number FROM table_29747178_2 WHERE directed_by = "John Showalter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 series # is 7? ### Context: CREATE TABLE table_29747178_2 (title VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT title FROM table_29747178_2 WHERE series__number = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which episode had a share 16-19 of 23,22%? ### Context: CREATE TABLE table_29773532_21 (episode INTEGER, share_16_39 VARCHAR) [/INST] ### Response: SELECT MAX(episode) FROM table_29773532_21 WHERE share_16_39 = "23,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: What was the official rating 16-39 of episode 9? ### Context: CREATE TABLE table_29773532_21 (official_rating_16_39 VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT official_rating_16_39 FROM table_29773532_21 WHERE episode = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the intro date for the interface that equals pci? ### Context: CREATE TABLE table_29778616_1 (intro_date VARCHAR, interface VARCHAR) [/INST] ### Response: SELECT intro_date FROM table_29778616_1 WHERE interface = "PCI" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 intro date for the throughput of 16 mbit/s? ### Context: CREATE TABLE table_29778616_1 (intro_date VARCHAR, throughput VARCHAR) [/INST] ### Response: SELECT intro_date FROM table_29778616_1 WHERE throughput = "16 Mbit/s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 intro dates have the price of 686€? ### Context: CREATE TABLE table_29778616_1 (intro_date VARCHAR, price VARCHAR) [/INST] ### Response: SELECT COUNT(intro_date) FROM table_29778616_1 WHERE price = "686€" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 price for the manufacturer LETech? ### Context: CREATE TABLE table_29778616_1 (price VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT price FROM table_29778616_1 WHERE manufacturer = "LETech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 price (usd) for the model pq32mu? ### Context: CREATE TABLE table_29778616_1 (price__usd_ INTEGER, model VARCHAR) [/INST] ### Response: SELECT MIN(price__usd_) FROM table_29778616_1 WHERE model = "PQ32MU" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer whose intro date is 2006 and their throughput is 4 mbit/s? ### Context: CREATE TABLE table_29778616_1 (manufacturer VARCHAR, intro_date VARCHAR, throughput VARCHAR) [/INST] ### Response: SELECT manufacturer FROM table_29778616_1 WHERE intro_date = "2006" AND throughput = "4 Mbit/s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lok Sabha in Karakat (Vidhan Sabha Constituency)? ### Context: CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, vidhan_sabha_constituency VARCHAR) [/INST] ### Response: SELECT lok_sabha FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Karakat (Vidhan Sabha constituency)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were in the Kargahar (vidhan sabha constituency)? ### Context: CREATE TABLE table_29785324_5 (constituency_no INTEGER, vidhan_sabha_constituency VARCHAR) [/INST] ### Response: SELECT MIN(constituency_no) FROM table_29785324_5 WHERE vidhan_sabha_constituency = "Kargahar (Vidhan Sabha constituency)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What district has 213 constituents? ### Context: CREATE TABLE table_29785324_5 (district VARCHAR, constituency_no VARCHAR) [/INST] ### Response: SELECT COUNT(district) FROM table_29785324_5 WHERE constituency_no = 213 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Lok Sabha are in the one with 216 constituents? ### Context: CREATE TABLE table_29785324_5 (lok_sabha VARCHAR, constituency_no VARCHAR) [/INST] ### Response: SELECT lok_sabha FROM table_29785324_5 WHERE constituency_no = 216 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries spent at least $51.0 billion in international tourism in 2012? ### Context: CREATE TABLE table_29789_3 (rank_2012 INTEGER, international_tourism_expenditure_2011 VARCHAR) [/INST] ### Response: SELECT MAX(rank_2012) FROM table_29789_3 WHERE international_tourism_expenditure_2011 = "$51.0 billion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 countries spent $83.7 billion on international tourism in 2012? ### Context: CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2012 VARCHAR) [/INST] ### Response: SELECT COUNT(_percentage_change) FROM table_29789_3 WHERE international_tourism_expenditure_2012 = "$83.7 billion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 percentage increase in spending on international tourism from 2011 to 2012 of the country that spent $85.9 billion in 2011? ### Context: CREATE TABLE table_29789_3 (_percentage_change VARCHAR, international_tourism_expenditure_2011 VARCHAR) [/INST] ### Response: SELECT _percentage_change FROM table_29789_3 WHERE international_tourism_expenditure_2011 = "$85.9 billion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 saw a 5.7% increase in spending on international tourism between 2011 and 2012? ### Context: CREATE TABLE table_29789_3 (country VARCHAR, _percentage_change VARCHAR) [/INST] ### Response: SELECT country FROM table_29789_3 WHERE _percentage_change = "5.7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most other apps for league goals being 1 ### Context: CREATE TABLE table_2979789_1 (other_apps INTEGER, league_goals VARCHAR) [/INST] ### Response: SELECT MAX(other_apps) FROM table_2979789_1 WHERE league_goals = 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: Name the most fa cup apps for league apps being 27 ### Context: CREATE TABLE table_2979789_1 (fa_cup_apps INTEGER, league_apps VARCHAR) [/INST] ### Response: SELECT MAX(fa_cup_apps) FROM table_2979789_1 WHERE league_apps = 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of division for fa cups being 9 ### Context: CREATE TABLE table_2979789_1 (division VARCHAR, fa_cup_apps VARCHAR) [/INST] ### Response: SELECT COUNT(division) FROM table_2979789_1 WHERE fa_cup_apps = 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: How many international tourists visited Russia in 2012? ### Context: CREATE TABLE table_29789_1 (international_tourist_arrivals__2012_ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT international_tourist_arrivals__2012_ FROM table_29789_1 WHERE country = "Russia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 premiere date for the episode whose alternate title was miłość i przeznaczenie? ### Context: CREATE TABLE table_29799700_2 (series_premiere VARCHAR, alternante_title VARCHAR) [/INST] ### Response: SELECT series_premiere FROM table_29799700_2 WHERE alternante_title = "Miłość i przeznaczenie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which TV network had its series finale on May 7, 2012? ### Context: CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR) [/INST] ### Response: SELECT tv_network_s_ FROM table_29799700_2 WHERE series_finale = "May 7, 2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the series premiere whose TV network was TV3? ### Context: CREATE TABLE table_29799700_2 (series_premiere VARCHAR, tv_network_s_ VARCHAR) [/INST] ### Response: SELECT series_premiere FROM table_29799700_2 WHERE tv_network_s_ = "TV3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which TV network has a country of origin of Iran? ### Context: CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR) [/INST] ### Response: SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the series finale for Peru? ### Context: CREATE TABLE table_29799700_2 (series_finale VARCHAR, country VARCHAR) [/INST] ### Response: SELECT series_finale FROM table_29799700_2 WHERE country = "Peru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 every original air date with U.S. viewers of 0.23 million? ### Context: CREATE TABLE table_29803475_2 (original_air_date VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_29803475_2 WHERE us_viewers__million_ = "0.23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number in series when U.S. viewers is 0.23 million? ### Context: CREATE TABLE table_29803475_2 (no_in_series INTEGER, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT MIN(no_in_series) FROM table_29803475_2 WHERE us_viewers__million_ = "0.23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the total apps for Dunne in season where he had 0 league goals? ### Context: CREATE TABLE table_2980024_1 (total_apps VARCHAR, league_goals VARCHAR) [/INST] ### Response: SELECT total_apps FROM table_2980024_1 WHERE league_goals = 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many league goals did Dunne have in the season where he had 2 league apps? ### Context: CREATE TABLE table_2980024_1 (league_goals VARCHAR, league_apps VARCHAR) [/INST] ### Response: SELECT league_goals FROM table_2980024_1 WHERE league_apps = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many other goals did Dunne have in the season where he had 1 league goal? ### Context: CREATE TABLE table_2980024_1 (other_goals VARCHAR, league_goals VARCHAR) [/INST] ### Response: SELECT other_goals FROM table_2980024_1 WHERE league_goals = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When boston university is the team what is the record? ### Context: CREATE TABLE table_29846807_5 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_29846807_5 WHERE team = "Boston University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 subject when the highest mark is 79? ### Context: CREATE TABLE table_29842201_1 (subject VARCHAR, highest_mark VARCHAR) [/INST] ### Response: SELECT subject FROM table_29842201_1 WHERE highest_mark = 79 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest mark entries are there when % passed is 76? ### Context: CREATE TABLE table_29842201_1 (lowest_mark VARCHAR, _percentage_pass VARCHAR) [/INST] ### Response: SELECT COUNT(lowest_mark) FROM table_29842201_1 WHERE _percentage_pass = 76 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: if the flm winning team is no. 99 jmb racing what is the name of the lmp2 winning team ### Context: CREATE TABLE table_29826467_2 (lmp2_winning_team VARCHAR, flm_winning_team VARCHAR) [/INST] ### Response: SELECT lmp2_winning_team FROM table_29826467_2 WHERE flm_winning_team = "No. 99 JMB Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every high rebound when the team is Mount St. Mary's? ### Context: CREATE TABLE table_29846807_4 (high_rebounds VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_29846807_4 WHERE team = "Mount St. Mary's" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 was serena abrami in? ### Context: CREATE TABLE table_29857115_4 (position VARCHAR, singer VARCHAR) [/INST] ### Response: SELECT position FROM table_29857115_4 WHERE singer = "Serena Abrami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gabriella ferrone's result on the 5th evening? ### Context: CREATE TABLE table_29857115_4 (singer VARCHAR) [/INST] ### Response: SELECT 5 AS th_evening FROM table_29857115_4 WHERE singer = "Gabriella Ferrone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall number? ### Context: CREATE TABLE table_2985714_2 (_number INTEGER) [/INST] ### Response: SELECT MAX(_number) FROM table_2985714_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: When the number is 2 what is the lowest amount of al-wedhat wins? ### Context: CREATE TABLE table_2985714_2 (al_wehdat_wins INTEGER, _number VARCHAR) [/INST] ### Response: SELECT MIN(al_wehdat_wins) FROM table_2985714_2 WHERE _number = 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: When jordan fa cup is the tournament how many draws? ### Context: CREATE TABLE table_2985714_2 (draws VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT COUNT(draws) FROM table_2985714_2 WHERE tournament = "Jordan FA Cup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest value of area when capital is San Juan? ### Context: CREATE TABLE table_298550_1 (area__km²_ INTEGER, capital VARCHAR) [/INST] ### Response: SELECT MAX(area__km²_) FROM table_298550_1 WHERE capital = "San Juan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries for area correspond to a population density of 207.9? ### Context: CREATE TABLE table_298550_1 (area__km²_ VARCHAR, population_density__per_km²_ VARCHAR) [/INST] ### Response: SELECT COUNT(area__km²_) FROM table_298550_1 WHERE population_density__per_km²_ = "207.9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every entry for area if capital is Port-au-Prince? ### Context: CREATE TABLE table_298550_1 (area__km²_ VARCHAR, capital VARCHAR) [/INST] ### Response: SELECT area__km²_ FROM table_298550_1 WHERE capital = "Port-au-Prince" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every country with a flag with population of 11346670? ### Context: CREATE TABLE table_298550_1 (country_with_flag VARCHAR, population__1_july_2005_est_ VARCHAR) [/INST] ### Response: SELECT country_with_flag FROM table_298550_1 WHERE population__1_july_2005_est_ = 11346670 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value for population when area is 9104? ### Context: CREATE TABLE table_298550_1 (population__1_july_2005_est_ INTEGER, area__km²_ VARCHAR) [/INST] ### Response: SELECT MAX(population__1_july_2005_est_) FROM table_298550_1 WHERE area__km²_ = 9104 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What many times was the victoria derby raced? ### Context: CREATE TABLE table_2985987_2 (date VARCHAR, race VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_2985987_2 WHERE race = "Victoria Derby" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 autumn classic weight? ### Context: CREATE TABLE table_2985987_2 (weight__kg_ VARCHAR, race VARCHAR) [/INST] ### Response: SELECT weight__kg_ FROM table_2985987_2 WHERE race = "Autumn Classic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the episode that had 3.55 million viewers? ### Context: CREATE TABLE table_29897962_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29897962_1 WHERE us_viewers__million_ = "3.55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the dimensions of the coin worth ₩200? ### Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, value VARCHAR) [/INST] ### Response: SELECT dimensions FROM table_298883_5 WHERE value = "₩200" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different dates of issue are the for the coin with kumsusan memorial palace on the obverse? ### Context: CREATE TABLE table_298883_5 (date_of_issue VARCHAR, obverse VARCHAR) [/INST] ### Response: SELECT COUNT(date_of_issue) FROM table_298883_5 WHERE obverse = "Kumsusan Memorial Palace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 dimensions of the coin issued in 1992 with kim il-sung on the obverse? ### Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, obverse VARCHAR, date_of_issue VARCHAR) [/INST] ### Response: SELECT dimensions FROM table_298883_5 WHERE obverse = "Kim Il-sung" AND date_of_issue = "1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on the reverse side of the ₩500 coin? ### Context: CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR) [/INST] ### Response: SELECT reverse FROM table_298883_5 WHERE value = "₩500" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is on the reverse side of the ₩100 coin? ### Context: CREATE TABLE table_298883_5 (reverse VARCHAR, value VARCHAR) [/INST] ### Response: SELECT reverse FROM table_298883_5 WHERE value = "₩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: What are the dimensions of the coin with western sea barrage and locks at taedong gang on the reverse side? ### Context: CREATE TABLE table_298883_5 (dimensions VARCHAR, reverse VARCHAR) [/INST] ### Response: SELECT dimensions FROM table_298883_5 WHERE reverse = "Western sea barrage and locks at Taedong Gang" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the name(namesakes) for the entire chart? ### Context: CREATE TABLE table_29860752_11 (name__namesake_ VARCHAR) [/INST] ### Response: SELECT name__namesake_ FROM table_29860752_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 TV season was the 1st season? ### Context: CREATE TABLE table_299121_2 (tv_season VARCHAR, season VARCHAR) [/INST] ### Response: SELECT tv_season FROM table_299121_2 WHERE season = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the 3rd season premiere originally aired? ### Context: CREATE TABLE table_299121_2 (season VARCHAR) [/INST] ### Response: SELECT season AS premiere FROM table_299121_2 WHERE season = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2nd's season's ranking? ### Context: CREATE TABLE table_299121_2 (ranking VARCHAR, season VARCHAR) [/INST] ### Response: SELECT ranking FROM table_299121_2 WHERE season = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the season premiere that saw 8.4 million viewers first air? ### Context: CREATE TABLE table_299121_2 (season VARCHAR, viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT season AS premiere FROM table_299121_2 WHERE viewers__in_millions_ = "8.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: Who directed the episode that was watched by 2.97 million U.S. viewers? ### Context: CREATE TABLE table_29920800_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the episode written by Liz Feldman? ### Context: CREATE TABLE table_29920800_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_29920800_1 WHERE written_by = "Liz Feldman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote the episode that was watched by 2.97 million U.S. viewers? ### Context: CREATE TABLE table_29920800_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29920800_1 WHERE us_viewers__million_ = "2.97" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of U.S viewers watched the episode written by Liz Feldman? ### Context: CREATE TABLE table_29920800_1 (us_viewers__million_ VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_29920800_1 WHERE written_by = "Liz Feldman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people attended the uefa champions league competition? ### Context: CREATE TABLE table_299271_2 (attendance VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT attendance FROM table_299271_2 WHERE competition = "UEFA Champions League" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 women has reached the title of Miss International representing the country ranked as number 1? ### Context: CREATE TABLE table_29942205_1 (miss_international INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MIN(miss_international) FROM table_29942205_1 WHERE rank = 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 women has got the first runner-up position in representation of Philippines? ### Context: CREATE TABLE table_29942205_1 (country_territory VARCHAR) [/INST] ### Response: SELECT 1 AS st_runner_up FROM table_29942205_1 WHERE country_territory = "Philippines" </s>