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: How many teams drew the widnes vikings? ### Context: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR) [/INST] ### Response: SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did whitehaven win? ### Context: CREATE TABLE table_13018091_1 (won INTEGER, club VARCHAR) [/INST] ### Response: SELECT MIN(won) FROM table_13018091_1 WHERE club = "Whitehaven" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did the sheffield eagles finish in? ### Context: CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR) [/INST] ### Response: SELECT MAX(position) FROM table_13018091_1 WHERE club = "Sheffield Eagles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game in week 14? ### Context: CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_13023925_2 WHERE week = 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total points for the tean with 8 losses? ### Context: CREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_13015539_1 WHERE lost = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many numbers are given for losses by the Keighley Cougars? ### Context: CREATE TABLE table_13015539_1 (lost VARCHAR, club VARCHAR) [/INST] ### Response: SELECT COUNT(lost) FROM table_13015539_1 WHERE club = "Keighley Cougars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 australian marquee for alessandro del piero ### Context: CREATE TABLE table_1301373_7 (australian_marquee VARCHAR, international_marquee VARCHAR) [/INST] ### Response: SELECT australian_marquee FROM table_1301373_7 WHERE international_marquee = "Alessandro Del Piero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vice captain for melbourne victory ### Context: CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR) [/INST] ### Response: SELECT Vice - captain FROM table_1301373_7 WHERE club = "Melbourne Victory" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captain for emile heskey ### Context: CREATE TABLE table_1301373_7 (captain VARCHAR, international_marquee VARCHAR) [/INST] ### Response: SELECT captain FROM table_1301373_7 WHERE international_marquee = "Emile Heskey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What championship had a margin of playoff 2? ### Context: CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR) [/INST] ### Response: SELECT championship FROM table_13026799_1 WHERE margin = "Playoff 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 was the margin of the Masters Tournament? ### Context: CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score of the Masters Tournament? ### Context: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_13026799_1 WHERE championship = "Masters Tournament" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score of the PGA Championship (3)? ### Context: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA championship (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 is the number of starts for 1987? ### Context: CREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(starts) FROM table_13026799_3 WHERE year = 1987 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 scoring aerage for 111419? ### Context: CREATE TABLE table_13026799_3 (scoring_average VARCHAR, earnings__$_ VARCHAR) [/INST] ### Response: SELECT scoring_average FROM table_13026799_3 WHERE earnings__$_ = 111419 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the money list rank for 1966? ### Context: CREATE TABLE table_13026799_3 (money_list_rank VARCHAR, year VARCHAR) [/INST] ### Response: SELECT money_list_rank FROM table_13026799_3 WHERE year = 1966 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scoring average for money list rank of 174 ### Context: CREATE TABLE table_13026799_3 (scoring_average VARCHAR, money_list_rank VARCHAR) [/INST] ### Response: SELECT COUNT(scoring_average) FROM table_13026799_3 WHERE money_list_rank = "174" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 county where kerry# is 59740? ### Context: CREATE TABLE table_1302886_1 (county VARCHAR, kerry_number VARCHAR) [/INST] ### Response: SELECT county FROM table_1302886_1 WHERE kerry_number = 59740 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cook county Kerry# is? ### Context: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, county VARCHAR) [/INST] ### Response: SELECT kerry_number FROM table_1302886_1 WHERE county = "Cook" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bush# is 3907, what is Kerry#? ### Context: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, bush_number VARCHAR) [/INST] ### Response: SELECT kerry_number FROM table_1302886_1 WHERE bush_number = 3907 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 others# when bush% is 57.0%? ### Context: CREATE TABLE table_1302886_1 (others_number INTEGER, bush_percentage VARCHAR) [/INST] ### Response: SELECT MAX(others_number) FROM table_1302886_1 WHERE bush_percentage = "57.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's the mole with airdate being 8 january 2009 ### Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT the_mole FROM table_13036251_1 WHERE airdate = "8 January 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the mole with prize money being €24,475 ### Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, prize_money VARCHAR) [/INST] ### Response: SELECT the_mole FROM table_13036251_1 WHERE prize_money = "€24,475" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the the mole with airdate being 5 january 2012 ### Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT COUNT(the_mole) FROM table_13036251_1 WHERE airdate = "5 January 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's airdate with international destination being scotland ### Context: CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR) [/INST] ### Response: SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's the mole with winner being frédérique huydts ### Context: CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT the_mole FROM table_13036251_1 WHERE winner = "Frédérique Huydts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what's runner-up with season being season 13 ### Context: CREATE TABLE table_13036251_1 (runner_up VARCHAR, season VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_13036251_1 WHERE season = "season 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: In what county did 29231 people vote for Kerry? ### Context: CREATE TABLE table_1304443_2 (county VARCHAR, kerry_number VARCHAR) [/INST] ### Response: SELECT county FROM table_1304443_2 WHERE kerry_number = 29231 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the county where 48.3% voted for Bush? ### Context: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR) [/INST] ### Response: SELECT county FROM table_1304443_2 WHERE bush_percentage = "48.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's the percentage of votes for other candidates in the county where Bush got 51.6% of the votes? ### Context: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR) [/INST] ### Response: SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.6%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the county where 54.6% voted for Bush? ### Context: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR) [/INST] ### Response: SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of steals for 2012 ### Context: CREATE TABLE table_13050003_3 (steals VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(steals) FROM table_13050003_3 WHERE year = 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: Who are the blockers where points are scored by Zach Randolph (24)? ### Context: CREATE TABLE table_13050003_2 (blocks VARCHAR, points VARCHAR) [/INST] ### Response: SELECT blocks FROM table_13050003_2 WHERE points = "Zach Randolph (24)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rebounds were there in 2008? ### Context: CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(rebounds) FROM table_13050003_2 WHERE year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had all of the blocks in 2012? ### Context: CREATE TABLE table_13050003_2 (blocks VARCHAR, year VARCHAR) [/INST] ### Response: SELECT blocks FROM table_13050003_2 WHERE year = 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 year has Nerlens Noel (4) as blocker? ### Context: CREATE TABLE table_13050003_2 (year INTEGER, blocks VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_13050003_2 WHERE blocks = "Nerlens Noel (4)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the most silver medals? ### Context: CREATE TABLE table_1305623_18 (silver_medals INTEGER) [/INST] ### Response: SELECT MAX(silver_medals) FROM table_1305623_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 are all the gold medals when the silver medals is smaller than 1.0? ### Context: CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER) [/INST] ### Response: SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.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 numbers were listed under Silver Medals for Portsmouth HS? ### Context: CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR) [/INST] ### Response: SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 smallest total number of medals? ### Context: CREATE TABLE table_1305623_20 (total_medals INTEGER) [/INST] ### Response: SELECT MIN(total_medals) FROM table_1305623_20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of gold medals Naugatuck HS won? ### Context: CREATE TABLE table_1305623_20 (gold_medals INTEGER, ensemble VARCHAR) [/INST] ### Response: SELECT MAX(gold_medals) FROM table_1305623_20 WHERE ensemble = "Naugatuck HS" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for gt3 winner hector lester tim mullen and pole position of jonny cocker paul drayson ### Context: CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date for gt3 winner oliver bryant matt harris ### Context: CREATE TABLE table_13079788_3 (date VARCHAR, gt3_winner VARCHAR) [/INST] ### Response: SELECT date FROM table_13079788_3 WHERE gt3_winner = "Oliver Bryant Matt Harris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 date for gtc winners graeme mundy jamie smyth and gt3 winners hector lester tim mullen ### Context: CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR) [/INST] ### Response: SELECT date FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND gt3_winner = "Hector Lester Tim Mullen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit for 9 september and gt3 winner hector lester allan simonsen ### Context: CREATE TABLE table_13079788_3 (circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR) [/INST] ### Response: SELECT circuit FROM table_13079788_3 WHERE date = "9 September" AND gt3_winner = "Hector Lester Allan Simonsen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 circuit for gtc winner graeme mundy jamie smyth and pole position bradley ellis alex mortimer ### Context: CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT circuit FROM table_13079788_3 WHERE gtc_winner = "Graeme Mundy Jamie Smyth" AND pole_position = "Bradley Ellis Alex Mortimer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gtc winners for pole position no. 21 team modena ### Context: CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR) [/INST] ### Response: SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What material is made with a rounded, plain edge? ### Context: CREATE TABLE table_1307572_1 (composition VARCHAR, edge VARCHAR) [/INST] ### Response: SELECT composition FROM table_1307572_1 WHERE edge = "Rounded, plain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coins have a diameter of 23mm? ### Context: CREATE TABLE table_1307572_1 (reverse VARCHAR, diameter VARCHAR) [/INST] ### Response: SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coin with the mass of 3.7 g first minted? ### Context: CREATE TABLE table_1307572_1 (first_minting VARCHAR, mass VARCHAR) [/INST] ### Response: SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of population for lithuania? ### Context: CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR) [/INST] ### Response: SELECT COUNT(population) FROM table_1307842_7 WHERE member_countries = "Lithuania" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gdp where gdp per capita 20200 ### Context: CREATE TABLE table_1307842_7 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] ### Response: SELECT gdp__billion_us$_ FROM table_1307842_7 WHERE gdp_per_capita__us$_ = 20200 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 area for 775927 population ### Context: CREATE TABLE table_1307842_7 (area__km²_ VARCHAR, population VARCHAR) [/INST] ### Response: SELECT COUNT(area__km²_) FROM table_1307842_7 WHERE population = 775927 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gdp of the country with an area of 83871 (km2)? ### Context: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT gdp__billion_us$_ FROM table_1307842_6 WHERE area__km²_ = 83871 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 gdp of the country with a gdp per capita of $18048? ### Context: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR) [/INST] ### Response: SELECT gdp__billion_us$_ FROM table_1307842_6 WHERE gdp_per_capita__us$_ = 18048 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Austria's maximum area (km2)? ### Context: CREATE TABLE table_1307842_6 (area__km²_ INTEGER, member_countries VARCHAR) [/INST] ### Response: SELECT MAX(area__km²_) FROM table_1307842_6 WHERE member_countries = "Austria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season for no award given for rookie of the year? ### Context: CREATE TABLE table_13082900_1 (season VARCHAR, rookie_of_the_year VARCHAR) [/INST] ### Response: SELECT season FROM table_13082900_1 WHERE rookie_of_the_year = "No award given" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date with overall being 83/95 ### Context: CREATE TABLE table_13110459_2 (air_date VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = "83/95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 viewers (m) with overall being 91/101 ### Context: CREATE TABLE table_13110459_2 (viewers__m_ VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(viewers__m_) FROM table_13110459_2 WHERE overall = "91/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: what are all the rating with viewers (m) being 2.89 ### Context: CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR) [/INST] ### Response: SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall with rating being 1.4 ### Context: CREATE TABLE table_13110459_2 (overall VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT overall FROM table_13110459_2 WHERE rating = "1.4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what are all the overall with viewers (m) being 2.61 ### Context: CREATE TABLE table_13110459_2 (overall VARCHAR, viewers__m_ VARCHAR) [/INST] ### Response: SELECT overall FROM table_13110459_2 WHERE viewers__m_ = "2.61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what are all the rating with viewers (m) being 2.61 ### Context: CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR) [/INST] ### Response: SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the year where the qualifying score was 15.150? ### Context: CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR) [/INST] ### Response: SELECT year FROM table_13114949_3 WHERE qualifying_score = "15.150" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times was the qualifying score 60.750? ### Context: CREATE TABLE table_13114949_3 (event VARCHAR, qualifying_score VARCHAR) [/INST] ### Response: SELECT COUNT(event) FROM table_13114949_3 WHERE qualifying_score = "60.750" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times is the qualifying score 61.400? ### Context: CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_13114949_3 WHERE qualifying_score = "61.400" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 final-rank for the uneven bars and the competition is u.s. championships? ### Context: CREATE TABLE table_13114949_3 (final_rank VARCHAR, event VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the lowest qualifying rank? ### Context: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER) [/INST] ### Response: SELECT MIN(qualifying_rank) FROM table_13114949_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 is the highest qualifying rank where the competition is olympic trials, the final-rank is 4 and qualifying score is 15.100? ### Context: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR) [/INST] ### Response: SELECT MAX(qualifying_rank) FROM table_13114949_3 WHERE competition = "Olympic Trials" AND final_rank = "4" AND qualifying_score = "15.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: In what number kōhaku was the red team host Peggy Hayama? ### Context: CREATE TABLE table_1315616_1 (kōhaku__number VARCHAR, red_team_host VARCHAR) [/INST] ### Response: SELECT kōhaku__number FROM table_1315616_1 WHERE red_team_host = "Peggy Hayama" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mediator in kōhaku number 53? ### Context: CREATE TABLE table_1315616_1 (mediator VARCHAR, kōhaku__number VARCHAR) [/INST] ### Response: SELECT mediator FROM table_1315616_1 WHERE kōhaku__number = 53 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Keiichi Ubukata the mediator and Mitsuko Mori the red team host? ### Context: CREATE TABLE table_1315616_1 (date VARCHAR, mediator VARCHAR, red_team_host VARCHAR) [/INST] ### Response: SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 recent year? ### Context: CREATE TABLE table_13169136_1 (year INTEGER) [/INST] ### Response: SELECT MAX(year) FROM table_13169136_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 year is Jiyai Shin the champion? ### Context: CREATE TABLE table_13169136_1 (year VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_13169136_1 WHERE champion = "Jiyai Shin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 # for the episode with a Production code of 3T7057? ### Context: CREATE TABLE table_13183076_3 (_number VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT _number FROM table_13183076_3 WHERE production_code = "3T7057" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the episode directed by Tricia Brock? ### Context: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_13183076_3 WHERE directed_by = "Tricia Brock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the episode written by Peter Ocko? ### Context: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 U.S. viewers (million) are there for the episode whose Production code is 3T7051? ### Context: CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = "3T7051" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 michelob ultra mountains classification for darren lill ### Context: CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR) [/INST] ### Response: SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey) FROM table_13223187_1 WHERE drury_hotels_most_aggressive_rider_red_jersey = "Darren Lill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 release date of Sonic Adventure 2? ### Context: CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR) [/INST] ### Response: SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 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: Was the release on April 8 available on Windows? ### Context: CREATE TABLE table_1322904_1 (windows VARCHAR, release VARCHAR) [/INST] ### Response: SELECT windows FROM table_1322904_1 WHERE release = "April 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What title was released on August 27? ### Context: CREATE TABLE table_1322904_1 (title VARCHAR, release VARCHAR) [/INST] ### Response: SELECT title FROM table_1322904_1 WHERE release = "August 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: Is icewind dale available for windows ### Context: CREATE TABLE table_1322914_1 (windows VARCHAR, title VARCHAR) [/INST] ### Response: SELECT windows FROM table_1322914_1 WHERE title = "Icewind Dale" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all number of yards with an AST of 8. ### Context: CREATE TABLE table_13237088_28 (no_yds VARCHAR, ast VARCHAR) [/INST] ### Response: SELECT no_yds FROM table_13237088_28 WHERE ast = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did the Seahawks play when the listed attendance was 61615? ### Context: CREATE TABLE table_13258876_2 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_13258876_2 WHERE attendance = 61615 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Seahawks record on September 18, 1983? ### Context: CREATE TABLE table_13258876_2 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_13258876_2 WHERE date = "September 18, 1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week did the Seahawks play at los angeles memorial coliseum? ### Context: CREATE TABLE table_13258876_2 (week INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_13258876_2 WHERE game_site = "Los Angeles Memorial Coliseum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game when the attendance was 48945? ### Context: CREATE TABLE table_13258876_2 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_13258876_2 WHERE attendance = 48945 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the Seahawks play on September 4, 1983? ### Context: CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record set during the game played at Hubert H. Humphrey Metrodome? ### Context: CREATE TABLE table_13258851_2 (record VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game against San Diego Chargers played? ### Context: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_13258851_2 WHERE opponent = "San Diego Chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the game against Kansas City Chiefs? ### Context: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_13258851_2 WHERE opponent = "Kansas City Chiefs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the game played on September 16, 1984? ### Context: CREATE TABLE table_13258851_2 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_13258851_2 WHERE date = "September 16, 1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date did the game end with the result w 43-14? ### Context: CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_13258806_2 WHERE result = "W 43-14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance at the game that resulted in w 24-20? ### Context: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did they play against in the game that ended in 2-2? ### Context: CREATE TABLE table_13258806_2 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_13258806_2 WHERE record = "2-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 was the record of 0-1 set? ### Context: CREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_13258806_2 WHERE record = "0-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: During what weak of the season was the game played on october 4, 1987? ### Context: CREATE TABLE table_13258806_2 (week INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_13258806_2 WHERE date = "October 4, 1987" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance when the record was 1-1? ### Context: CREATE TABLE table_13258972_2 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT attendance FROM table_13258972_2 WHERE record = "1-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 week was the record 5-9? ### Context: CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_13258972_2 WHERE record = "5-9" </s>