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: Name the lowest Profits (billion $) which has a Sales (billion $) of 425.7, and a Rank larger than 4? ### Context: CREATE TABLE table_name_14 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(profits__billion_) AS $_ FROM table_name_14 WHERE sales__billion_$_ = 425.7 AND rank > 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: Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21? ### Context: CREATE TABLE table_name_44 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR) [/INST] ### Response: SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the Sales (billion $) which have a Company of exxonmobil? ### Context: CREATE TABLE table_name_70 (sales__billion_$_ VARCHAR, company VARCHAR) [/INST] ### Response: SELECT sales__billion_$_ FROM table_name_70 WHERE company = "exxonmobil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Winner, when Win # is greater than 1, and when Points is less than 94? ### Context: CREATE TABLE table_name_76 (winner VARCHAR, win__number VARCHAR, points VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_76 WHERE win__number > 1 AND points < 94 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Playoff Result, when Winner is "Alaska Aces", when Win # is greater than 1, when Points is less than 106, and when Year is "2011-12"? ### Context: CREATE TABLE table_name_45 (playoff_result VARCHAR, year VARCHAR, points VARCHAR, winner VARCHAR, win__number VARCHAR) [/INST] ### Response: SELECT playoff_result FROM table_name_45 WHERE winner = "alaska aces" AND win__number > 1 AND points < 106 AND year = "2011-12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Win #, when Year is "2011-12", and when Points is less than 97? ### Context: CREATE TABLE table_name_27 (win__number INTEGER, year VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(win__number) FROM table_name_27 WHERE year = "2011-12" AND points < 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 highest Win #, when Winner is "Knoxville Cherokees", when Playoff Result is "Lost 1st Round ( LOU )", and when Points is less than 94? ### Context: CREATE TABLE table_name_87 (win__number INTEGER, points VARCHAR, winner VARCHAR, playoff_result VARCHAR) [/INST] ### Response: SELECT MAX(win__number) FROM table_name_87 WHERE winner = "knoxville cherokees" AND playoff_result = "lost 1st round ( lou )" AND points < 94 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner against Lindsay Davenport? ### Context: CREATE TABLE table_name_42 (winner VARCHAR, finalist VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_42 WHERE finalist = "lindsay davenport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the finalist in Miami? ### Context: CREATE TABLE table_name_7 (finalist VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT finalist FROM table_name_7 WHERE tournament = "miami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner against finalist Lina Krasnoroutskaya? ### Context: CREATE TABLE table_name_92 (winner VARCHAR, finalist VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_92 WHERE finalist = "lina krasnoroutskaya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the away team was carlisle united? ### Context: CREATE TABLE table_name_50 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_50 WHERE away_team = "carlisle united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date when the away team was the leeds united? ### Context: CREATE TABLE table_name_3 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_3 WHERE away_team = "leeds united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the tie number when peterborough united was the away team? ### Context: CREATE TABLE table_name_35 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_35 WHERE away_team = "peterborough united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has E as the to par, and The United States as the country? ### Context: CREATE TABLE table_name_6 (player VARCHAR, to_par VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_6 WHERE to_par = "e" AND country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has The United States as the country with 70 as the score? ### Context: CREATE TABLE table_name_91 (player VARCHAR, country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_91 WHERE country = "united states" AND score = 70 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has The United States as the country, with t2 as the place? ### Context: CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_9 WHERE country = "united states" AND place = "t2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place has E as the to par, with Mark Wiebe as the player? ### Context: CREATE TABLE table_name_3 (place VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_3 WHERE to_par = "e" AND player = "mark wiebe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When is the club founded that founed prsl in 2008 and the home city is carolina 1? ### Context: CREATE TABLE table_name_95 (founded INTEGER, joined_prsl VARCHAR, home_city VARCHAR) [/INST] ### Response: SELECT MAX(founded) FROM table_name_95 WHERE joined_prsl = 2008 AND home_city = "carolina 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 club that was founded before 2007, joined prsl in 2008 and the stadium is yldefonso solá morales stadium? ### Context: CREATE TABLE table_name_85 (club VARCHAR, stadium VARCHAR, founded VARCHAR, joined_prsl VARCHAR) [/INST] ### Response: SELECT club FROM table_name_85 WHERE founded < 2007 AND joined_prsl = 2008 AND stadium = "yldefonso solá morales stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the earliest founded when the home city is mayagüez? ### Context: CREATE TABLE table_name_51 (founded INTEGER, home_city VARCHAR) [/INST] ### Response: SELECT MIN(founded) FROM table_name_51 WHERE home_city = "mayagüez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when is the latest to join prsl when founded in 2007 and the stadium is roberto clemente stadium 1? ### Context: CREATE TABLE table_name_31 (joined_prsl INTEGER, founded VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT MAX(joined_prsl) FROM table_name_31 WHERE founded = 2007 AND stadium = "roberto clemente stadium 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 was the International Cup that was won by Akron Goodyear Wingfoots and had Real Madrid as runner-up? ### Context: CREATE TABLE table_name_56 (year VARCHAR, champion VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT year FROM table_name_56 WHERE champion = "akron goodyear wingfoots" AND runner_up = "real madrid" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what year did the United States win To par greater than 14 ### Context: CREATE TABLE table_name_7 (year_s__won VARCHAR, country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_7 WHERE country = "united states" AND to_par > 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 that South Africa had a par greater than 14 ### Context: CREATE TABLE table_name_25 (total INTEGER, country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_25 WHERE country = "south africa" AND to_par > 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 highest to par that is less than 153 ### Context: CREATE TABLE table_name_54 (to_par INTEGER, total INTEGER) [/INST] ### Response: SELECT MAX(to_par) FROM table_name_54 WHERE total < 153 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Attendance, when the Date is September 17, 1981? ### Context: CREATE TABLE table_name_78 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_78 WHERE date = "september 17, 1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance, when the Opponent is the Tampa Bay Buccaneers? ### Context: CREATE TABLE table_name_80 (attendance VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_80 WHERE opponent = "tampa bay buccaneers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Points- when the Sets- is larger than 51? ### Context: CREATE TABLE table_name_56 (points_ VARCHAR, sets_ INTEGER) [/INST] ### Response: SELECT COUNT(points_) FROM table_name_56 WHERE sets_ > 51 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 developer has a year of cancelled releases? ### Context: CREATE TABLE table_name_96 (developer VARCHAR, year_of_release VARCHAR) [/INST] ### Response: SELECT developer FROM table_name_96 WHERE year_of_release = "cancelled" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 publisher has release year of 2000 and an original dreamcast platform? ### Context: CREATE TABLE table_name_60 (publisher VARCHAR, year_of_release VARCHAR, original_platforms VARCHAR) [/INST] ### Response: SELECT publisher FROM table_name_60 WHERE year_of_release = "2000" AND original_platforms = "dreamcast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 publisher is responsible for spec ops: stealth patrol? ### Context: CREATE TABLE table_name_19 (publisher VARCHAR, name VARCHAR) [/INST] ### Response: SELECT publisher FROM table_name_19 WHERE name = "spec ops: stealth patrol" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 connection for the proxyconn web accelerator web client accelerator? ### Context: CREATE TABLE table_name_62 (connection VARCHAR, web_client_accelerator VARCHAR) [/INST] ### Response: SELECT connection FROM table_name_62 WHERE web_client_accelerator = "proxyconn web accelerator" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Date with the Region of Europe and has a Catalog of 28765 22392 8? ### Context: CREATE TABLE table_name_13 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE region = "europe" AND catalog = "28765 22392 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's listed for the Label with a Date of 29 July 1997? ### Context: CREATE TABLE table_name_51 (label VARCHAR, date VARCHAR) [/INST] ### Response: SELECT label FROM table_name_51 WHERE date = "29 july 1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Date for the Region of Europe and has the Catalog of 28765 22392 8? ### Context: CREATE TABLE table_name_70 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 WHERE region = "europe" AND catalog = "28765 22392 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 Format has the Region of Europe and a Catalog of 74321 45851 2? ### Context: CREATE TABLE table_name_86 (format VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT format FROM table_name_86 WHERE region = "europe" AND catalog = "74321 45851 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 Label has the Region of Australia? ### Context: CREATE TABLE table_name_84 (label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT label FROM table_name_84 WHERE region = "australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Date has the Region Europe and a Catalog of 74321 45851 2? ### Context: CREATE TABLE table_name_33 (date VARCHAR, region VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_33 WHERE region = "europe" AND catalog = "74321 45851 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 poles are there in the Formula Three Euroseries in the 2008 season with more than 0 F/Laps? ### Context: CREATE TABLE table_name_40 (poles INTEGER, f_laps VARCHAR, series VARCHAR, season VARCHAR) [/INST] ### Response: SELECT SUM(poles) FROM table_name_40 WHERE series = "formula three euroseries" AND season = "2008" AND f_laps > 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: Which series has 11 points? ### Context: CREATE TABLE table_name_57 (series VARCHAR, points VARCHAR) [/INST] ### Response: SELECT series FROM table_name_57 WHERE points = "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: How many poles are there in the 2009 season with 2 races and more than 0 F/Laps? ### Context: CREATE TABLE table_name_45 (poles VARCHAR, f_laps VARCHAR, season VARCHAR, races VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_name_45 WHERE season = "2009" AND races = 2 AND f_laps > 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 races did the Formula Three Euroseries signature team have? ### Context: CREATE TABLE table_name_2 (races INTEGER, series VARCHAR, team VARCHAR) [/INST] ### Response: SELECT SUM(races) FROM table_name_2 WHERE series = "formula three euroseries" AND team = "signature" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Title, when Studio is "Embassy Pictures"? ### Context: CREATE TABLE table_name_48 (title VARCHAR, studio VARCHAR) [/INST] ### Response: SELECT title FROM table_name_48 WHERE studio = "embassy pictures" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Studio, when Title is "Do Not Disturb"? ### Context: CREATE TABLE table_name_49 (studio VARCHAR, title VARCHAR) [/INST] ### Response: SELECT studio FROM table_name_49 WHERE title = "do not disturb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rank, when Director is "Henry Hathaway"? ### Context: CREATE TABLE table_name_63 (rank INTEGER, director VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_63 WHERE director = "henry hathaway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Country is Player Sam Snead with a To par of less than 5 from? ### Context: CREATE TABLE table_name_26 (country VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_26 WHERE to_par < 5 AND player = "sam snead" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Claude Harmon's Place? ### Context: CREATE TABLE table_name_37 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_37 WHERE player = "claude harmon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Johnny Palmer with a To larger than 6 Money sum? ### Context: CREATE TABLE table_name_81 (money___ INTEGER, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT SUM(money___) AS $__ FROM table_name_81 WHERE to_par > 6 AND player = "johnny palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance of the western conference finals series? ### Context: CREATE TABLE table_name_84 (attendance VARCHAR, series VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_84 WHERE series = "western conference finals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leading scorer of the wnba finals series? ### Context: CREATE TABLE table_name_96 (Leading VARCHAR, series VARCHAR) [/INST] ### Response: SELECT Leading AS scorer FROM table_name_96 WHERE series = "wnba finals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Tie is from birmingham city? ### Context: CREATE TABLE table_name_97 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_97 WHERE home_team = "birmingham city" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Tie is from everton? ### Context: CREATE TABLE table_name_89 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_89 WHERE home_team = "everton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 U Wins, when Alianza Wins is greater than 0, when Alianza Goals is greater than 25, and when Draws is "99"? ### Context: CREATE TABLE table_name_52 (u_wins INTEGER, draws VARCHAR, alianza_wins VARCHAR, alianza_goals VARCHAR) [/INST] ### Response: SELECT MIN(u_wins) FROM table_name_52 WHERE alianza_wins > 0 AND alianza_goals > 25 AND draws = 99 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of Alianza Wins, when Alianza Goals is "317, and when U Goals is greater than 296? ### Context: CREATE TABLE table_name_97 (alianza_wins INTEGER, alianza_goals VARCHAR, u_goals VARCHAR) [/INST] ### Response: SELECT SUM(alianza_wins) FROM table_name_97 WHERE alianza_goals = 317 AND u_goals > 296 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of U Wins, when Alianza Goals is "0", and when U Goals is greater than 3? ### Context: CREATE TABLE table_name_25 (u_wins VARCHAR, alianza_goals VARCHAR, u_goals VARCHAR) [/INST] ### Response: SELECT COUNT(u_wins) FROM table_name_25 WHERE alianza_goals = 0 AND u_goals > 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 lowest Draws, when Alianza Goals is less than 317, when U Goals is less than 3, and when Alianza Wins is less than 2? ### Context: CREATE TABLE table_name_3 (draws INTEGER, alianza_wins VARCHAR, alianza_goals VARCHAR, u_goals VARCHAR) [/INST] ### Response: SELECT MIN(draws) FROM table_name_3 WHERE alianza_goals < 317 AND u_goals < 3 AND alianza_wins < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of all to par with player Bob Rosburg? ### Context: CREATE TABLE table_name_65 (to_par INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(to_par) FROM table_name_65 WHERE player = "bob rosburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 money has player Jack Fleck with t1 place? ### Context: CREATE TABLE table_name_4 (money___$__ VARCHAR, place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT money___$__ FROM table_name_4 WHERE place = "t1" AND player = "jack fleck" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average to par when Bud Holscher is the player? ### Context: CREATE TABLE table_name_38 (to_par INTEGER, player VARCHAR) [/INST] ### Response: SELECT AVG(to_par) FROM table_name_38 WHERE player = "bud holscher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the golfer that has the score of 73-65=138? ### Context: CREATE TABLE table_name_81 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_81 WHERE score = 73 - 65 = 138 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Frank Nobilo plays for what country? ### Context: CREATE TABLE table_name_43 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_43 WHERE player = "frank nobilo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 appearance when goals is more than 0? ### Context: CREATE TABLE table_name_32 (appearance INTEGER, goals INTEGER) [/INST] ### Response: SELECT MIN(appearance) FROM table_name_32 WHERE 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: what is the sum of appearance when goals is more than 0? ### Context: CREATE TABLE table_name_33 (appearance INTEGER, goals INTEGER) [/INST] ### Response: SELECT SUM(appearance) FROM table_name_33 WHERE 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: what is the average tries for the season 2008 warrington wolves with an appearance more than 7? ### Context: CREATE TABLE table_name_55 (tries INTEGER, season VARCHAR, appearance VARCHAR) [/INST] ### Response: SELECT AVG(tries) FROM table_name_55 WHERE season = "2008 warrington wolves" AND appearance > 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: How many times is tries 0 and appearance less than 0? ### Context: CREATE TABLE table_name_51 (points VARCHAR, tries VARCHAR, appearance VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_51 WHERE tries = 0 AND appearance < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Rank of the Film with a Worldwide Gross of $183,031,272? ### Context: CREATE TABLE table_name_19 (rank INTEGER, worldwide_gross VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_19 WHERE worldwide_gross = "$183,031,272" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the Film with a Rank greater than 11 and Worldwide Gross of $131,002,597? ### Context: CREATE TABLE table_name_25 (title VARCHAR, rank VARCHAR, worldwide_gross VARCHAR) [/INST] ### Response: SELECT title FROM table_name_25 WHERE rank > 11 AND worldwide_gross = "$131,002,597" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Worldwide Gross of the Film with a Rank of 3? ### Context: CREATE TABLE table_name_38 (worldwide_gross VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT worldwide_gross FROM table_name_38 WHERE rank = 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 Worldwide Gross of the Film with a Rank of 16? ### Context: CREATE TABLE table_name_68 (worldwide_gross VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT worldwide_gross FROM table_name_68 WHERE rank = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player gained below 1,405 yards and lost over 390 yards, what's the sum of the long yards? ### Context: CREATE TABLE table_name_59 (long INTEGER, loss VARCHAR, gain VARCHAR) [/INST] ### Response: SELECT SUM(long) FROM table_name_59 WHERE loss > 390 AND gain < 1 OFFSET 405 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Gain is 29, and the average per game is 2, and the player lost less than 390 yards, what's the sum of the Long yards? ### Context: CREATE TABLE table_name_26 (long INTEGER, gain VARCHAR, loss VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT SUM(long) FROM table_name_26 WHERE loss < 390 AND avg_g = 2 AND gain > 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overalls have charley barnes as the name, with a pick less than 3? ### Context: CREATE TABLE table_name_90 (overall INTEGER, name VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT SUM(overall) FROM table_name_90 WHERE name = "charley barnes" AND pick < 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: How many rounds have john o'day as the name, and a pick less than 3? ### Context: CREATE TABLE table_name_87 (round INTEGER, name VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_87 WHERE name = "john o'day" AND pick < 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 airport has an IATA of ARN? ### Context: CREATE TABLE table_name_76 (airport VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_76 WHERE iata = "arn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country has an ICAO of ENZV? ### Context: CREATE TABLE table_name_85 (country VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT country FROM table_name_85 WHERE icao = "enzv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What airport has an ICAP of BGBW? ### Context: CREATE TABLE table_name_68 (airport VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_68 WHERE icao = "bgbw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What airport has an ICAO of Birk? ### Context: CREATE TABLE table_name_16 (airport VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT airport FROM table_name_16 WHERE icao = "birk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ICAO for Denmark, and the IATA is bll? ### Context: CREATE TABLE table_name_7 (icao VARCHAR, country VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_7 WHERE country = "denmark" AND iata = "bll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the round in which Ron Hansen was drafted and the overall is greater than 332? ### Context: CREATE TABLE table_name_60 (round VARCHAR, name VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_60 WHERE name = "ron hansen" AND overall > 332 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What pick did George Rosso get drafted when the overall was less than 296? ### Context: CREATE TABLE table_name_71 (pick VARCHAR, name VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(pick) FROM table_name_71 WHERE name = "george rosso" AND overall < 296 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name for the row with Date From of 2008-02-21? ### Context: CREATE TABLE table_name_86 (name VARCHAR, date_from VARCHAR) [/INST] ### Response: SELECT name FROM table_name_86 WHERE date_from = "2008-02-21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Date From for Theo Robinson, who was with the team until the end of season? ### Context: CREATE TABLE table_name_30 (date_from VARCHAR, date_to VARCHAR, name VARCHAR) [/INST] ### Response: SELECT date_from FROM table_name_30 WHERE date_to = "end of season" AND name = "theo robinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did Toumani Diagouraga, who played position MF, start? ### Context: CREATE TABLE table_name_81 (date_from VARCHAR, position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average round against opponent Klas Akesson? ### Context: CREATE TABLE table_name_18 (round INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_18 WHERE opponent = "klas akesson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 week that was played against the Minnesota Vikings? ### Context: CREATE TABLE table_name_5 (week INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota 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: Which opponent was played in Week 6? ### Context: CREATE TABLE table_name_26 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_26 WHERE week = 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: WhichScore has a Location Attendance of seattle center coliseum 11,497? ### Context: CREATE TABLE table_name_15 (score VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_15 WHERE location_attendance = "seattle center coliseum 11,497" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game has a Team of portland trail blazers? ### Context: CREATE TABLE table_name_36 (game INTEGER, team VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_36 WHERE team = "portland trail blazers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game was played on march 2? ### Context: CREATE TABLE table_name_4 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_4 WHERE date = "march 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Game has High assists of s. threatt (9)? ### Context: CREATE TABLE table_name_97 (game INTEGER, high_assists VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_97 WHERE high_assists = "s. threatt (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: Count the sum of Pop (2004) which has a Governorate of al mahrah with an Area km² smaller than 78,073? ### Context: CREATE TABLE table_name_15 (pop__2004_ INTEGER, governorate VARCHAR, area_km² VARCHAR) [/INST] ### Response: SELECT SUM(pop__2004_) FROM table_name_15 WHERE governorate = "al mahrah" AND area_km² < 78 OFFSET 073 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pop (2004) has a Governorate of al mahwit? ### Context: CREATE TABLE table_name_48 (pop__2004_ INTEGER, governorate VARCHAR) [/INST] ### Response: SELECT SUM(pop__2004_) FROM table_name_48 WHERE governorate = "al mahwit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Location Attendance, when High Points is "Allen Iverson (23)"? ### Context: CREATE TABLE table_name_98 (location_attendance VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_98 WHERE high_points = "allen iverson (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 average Game, when Team is "Milwaukee"? ### Context: CREATE TABLE table_name_78 (game INTEGER, team VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_78 WHERE team = "milwaukee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 High Points, when Game is "5"? ### Context: CREATE TABLE table_name_5 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_5 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is High Points, when Game is less than 10, and when High Assists is "Chauncey Billups (8)"? ### Context: CREATE TABLE table_name_18 (high_points VARCHAR, game VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_18 WHERE game < 10 AND high_assists = "chauncey billups (8)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Team in Game 38? ### Context: CREATE TABLE table_name_46 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_name_46 WHERE game = 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Game had a Score of 129–105? ### Context: CREATE TABLE table_name_13 (game INTEGER, score VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_13 WHERE score = "129–105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Team in Game 41? ### Context: CREATE TABLE table_name_97 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_name_97 WHERE game = 41 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Streak in the game with a Record of 20–16? ### Context: CREATE TABLE table_name_42 (streak VARCHAR, record VARCHAR) [/INST] ### Response: SELECT streak FROM table_name_42 WHERE record = "20–16" </s>