inputs
stringlengths
400
1.34k
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What release date is when kids-270 is a reference? ### Context: CREATE TABLE table_10979230_5 (release_date VARCHAR, reference VARCHAR) ### Response: ### Response: SELECT release_date FROM table_10979230_5 WHERE reference = "KIDS-270"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every value for population (2006) with a Romanian mother tongue? ### Context: CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR) ### Response: ### Response: SELECT population__2006_ FROM table_189893_1 WHERE mother_tongue = "Romanian"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the sum of the game numbers for games with less than 30 points? ### Context: CREATE TABLE table_name_41 (game INTEGER, points INTEGER) ### Response: ### Response: SELECT SUM(game) FROM table_name_41 WHERE points < 30</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: On how many different dates was the episode written by Charlie Day aired for the first time? ### Context: CREATE TABLE table_29273115_1 (original_air_date VARCHAR, written_by VARCHAR) ### Response: ### Response: SELECT COUNT(original_air_date) FROM table_29273115_1 WHERE written_by = "Charlie Day"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633? ### Context: CREATE TABLE table_name_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR) ### Response: ### Response: SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many viewers watched the episode with a story by david simon & mari kornhauser? ### Context: CREATE TABLE table_26914076_3 (us_viewers__millions_ VARCHAR, story_by VARCHAR) ### Response: ### Response: SELECT us_viewers__millions_ FROM table_26914076_3 WHERE story_by = "David Simon & Mari Kornhauser"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which team had 15 draws? ### Context: CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR) ### Response: ### Response: SELECT team FROM table_name_21 WHERE draws = "15"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the highest wins for year less than 2000 and best finish of 4 and tournaments played less than 3 ### Context: CREATE TABLE table_name_42 (wins INTEGER, tournaments_played VARCHAR, year VARCHAR, best_finish VARCHAR) ### Response: ### Response: SELECT MAX(wins) FROM table_name_42 WHERE year < 2000 AND best_finish = "4" AND tournaments_played < 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Record for a game less than 3 and the score was l 91–96 (ot)? ### Context: CREATE TABLE table_name_19 (record VARCHAR, game VARCHAR, score VARCHAR) ### Response: ### Response: SELECT record FROM table_name_19 WHERE game < 3 AND score = "l 91–96 (ot)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the champion of the title previously held by Lash? ### Context: CREATE TABLE table_name_4 (champion_s_ VARCHAR, previous_champion_s_ VARCHAR) ### Response: ### Response: SELECT champion_s_ FROM table_name_4 WHERE previous_champion_s_ = "lash"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the prize pool for the event number 27H? ### Context: CREATE TABLE table_22050544_4 (prize VARCHAR, event__number VARCHAR) ### Response: ### Response: SELECT prize AS Pool FROM table_22050544_4 WHERE event__number = "27H"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which version has a KINKA pre-release of no*? ### Context: CREATE TABLE table_name_42 (version VARCHAR, kinka_pre_release VARCHAR) ### Response: ### Response: SELECT version FROM table_name_42 WHERE kinka_pre_release = "no*"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who had the fastest lap where Joan Lascorz was the winner? ### Context: CREATE TABLE table_name_45 (fastest_lap VARCHAR, race_winner VARCHAR) ### Response: ### Response: SELECT fastest_lap FROM table_name_45 WHERE race_winner = "joan lascorz"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the sum of rank for when gold is more than 0 and silver less than 23 with total more than 32 ### Context: CREATE TABLE table_name_59 (rank INTEGER, silver VARCHAR, gold VARCHAR, total VARCHAR) ### Response: ### Response: SELECT SUM(rank) FROM table_name_59 WHERE gold > 0 AND total > 32 AND silver < 23</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Year is the first one that has an Apparatus of uneven bars, and a Rank-Final smaller than 3? ### Context: CREATE TABLE table_name_15 (year INTEGER, apparatus VARCHAR, rank_final VARCHAR) ### Response: ### Response: SELECT MIN(year) FROM table_name_15 WHERE apparatus = "uneven bars" AND rank_final < 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the average ga cup goals when the league cup apps is 2, the fa cup apps is 3 and the league goals is 3? ### Context: CREATE TABLE table_name_96 (fa_cup_goals INTEGER, league_goals VARCHAR, league_cup_apps VARCHAR, fa_cup_apps VARCHAR) ### Response: ### Response: SELECT AVG(fa_cup_goals) FROM table_name_96 WHERE league_cup_apps = "2" AND fa_cup_apps = "3" AND league_goals = 3</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the date of the game against Hayes & Yeading United? ### Context: CREATE TABLE table_name_60 (date VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT date FROM table_name_60 WHERE opponent = "hayes & yeading united"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Drawn smaller than 24, and a Lost smaller than 17, and a Win % smaller than 31.25 had how many total number of matches? ### Context: CREATE TABLE table_name_5 (matches VARCHAR, win__percentage VARCHAR, drawn VARCHAR, lost VARCHAR) ### Response: ### Response: SELECT COUNT(matches) FROM table_name_5 WHERE drawn < 24 AND lost < 17 AND win__percentage < 31.25</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the method used when the time was 4:52? ### Context: CREATE TABLE table_name_49 (method VARCHAR, time VARCHAR) ### Response: ### Response: SELECT method FROM table_name_49 WHERE time = "4:52"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When did he play with peter nyborg? ### Context: CREATE TABLE table_name_76 (date VARCHAR, partner VARCHAR) ### Response: ### Response: SELECT date FROM table_name_76 WHERE partner = "peter nyborg"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the diameter of the Archery Reverse coin? ### Context: CREATE TABLE table_name_46 (diameter VARCHAR, reverse VARCHAR) ### Response: ### Response: SELECT diameter FROM table_name_46 WHERE reverse = "archery"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what's the economics score with justice being 90.8 ### Context: CREATE TABLE table_145439_1 (economics VARCHAR, justice VARCHAR) ### Response: ### Response: SELECT economics FROM table_145439_1 WHERE justice = "90.8"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which country is ranked 56 overall and has a heat rank smaller than 8? ### Context: CREATE TABLE table_name_72 (country VARCHAR, heat_rank VARCHAR, overall_rank VARCHAR) ### Response: ### Response: SELECT country FROM table_name_72 WHERE heat_rank < 8 AND overall_rank = "56"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every score with a record of 46-25? ### Context: CREATE TABLE table_23248910_9 (score VARCHAR, record VARCHAR) ### Response: ### Response: SELECT score FROM table_23248910_9 WHERE record = "46-25"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who was the visiting team that played against the Kings? ### Context: CREATE TABLE table_name_42 (visitor VARCHAR, home VARCHAR) ### Response: ### Response: SELECT visitor FROM table_name_42 WHERE home = "kings"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Winner, when Dates is Dec 11-14? ### Context: CREATE TABLE table_name_18 (winner VARCHAR, dates VARCHAR) ### Response: ### Response: SELECT winner FROM table_name_18 WHERE dates = "dec 11-14"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which site has a Cost free and a Editor of jsvi? ### Context: CREATE TABLE table_name_46 (site VARCHAR, cost___us$__ VARCHAR, editor VARCHAR) ### Response: ### Response: SELECT site FROM table_name_46 WHERE cost___us$__ = "free" AND editor = "jsvi"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the 2003 statistic for the product that had 514,000 tonnes in 2001? ### Context: CREATE TABLE table_name_34 (Id VARCHAR) ### Response: ### Response: SELECT 2003 FROM table_name_34 WHERE 2001 = "514,000 tonnes"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many date of appointments are there when the date of vacancy was 2 october 2010? ### Context: CREATE TABLE table_26976615_3 (date_of_appointment VARCHAR, date_of_vacancy VARCHAR) ### Response: ### Response: SELECT COUNT(date_of_appointment) FROM table_26976615_3 WHERE date_of_vacancy = "2 October 2010"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the score in the game on May 11? ### Context: CREATE TABLE table_11963601_11 (score VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score FROM table_11963601_11 WHERE date = "May 11"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What event was in the 2008 Beijing games? ### Context: CREATE TABLE table_name_81 (event VARCHAR, games VARCHAR) ### Response: ### Response: SELECT event FROM table_name_81 WHERE games = "2008 beijing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who directed the film 'The Chapel'? ### Context: CREATE TABLE table_name_22 (director_s_ VARCHAR, film VARCHAR) ### Response: ### Response: SELECT director_s_ FROM table_name_22 WHERE film = "the chapel"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What engine what in the vehicle when adt champion racing ranked in 1st place? ### Context: CREATE TABLE table_name_21 (engine VARCHAR, rank VARCHAR, entrant VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_21 WHERE rank = "1st" AND entrant = "adt champion racing"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Place, when Player is "Phil Mickelson"? ### Context: CREATE TABLE table_name_17 (place VARCHAR, player VARCHAR) ### Response: ### Response: SELECT place FROM table_name_17 WHERE player = "phil mickelson"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Nationality for the university of wisconsin (wcha), and a Player of bob lundeen? ### Context: CREATE TABLE table_name_30 (nationality VARCHAR, college_junior_club_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT nationality FROM table_name_30 WHERE college_junior_club_team = "university of wisconsin (wcha)" AND player = "bob lundeen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What county is the team with the mascot of the Tigers in? ### Context: CREATE TABLE table_name_89 (county VARCHAR, mascot VARCHAR) ### Response: ### Response: SELECT county FROM table_name_89 WHERE mascot = "tigers"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the record in the November 7 game? ### Context: CREATE TABLE table_23308178_5 (record VARCHAR, date VARCHAR) ### Response: ### Response: SELECT record FROM table_23308178_5 WHERE date = "November 7"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many Rebounds did Maccabi Tel Aviv Team get after Game 6? ### Context: CREATE TABLE table_name_10 (rebounds VARCHAR, team VARCHAR, games VARCHAR) ### Response: ### Response: SELECT COUNT(rebounds) FROM table_name_10 WHERE team = "maccabi tel aviv" AND games > 6</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What Engine does the w123.026 chassis have? ### Context: CREATE TABLE table_name_53 (engine VARCHAR, chassis_code VARCHAR) ### Response: ### Response: SELECT engine FROM table_name_53 WHERE chassis_code = "w123.026"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are all the conjugated forms of the verb where the el/ ella/usted verb is piense? ### Context: CREATE TABLE table_1977630_2 (nosotros___nosotras VARCHAR, él___ella___usted VARCHAR) ### Response: ### Response: SELECT nosotros___nosotras FROM table_1977630_2 WHERE él___ella___usted = "piense"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the most recent year when a g-force chassis started in 1st? ### Context: CREATE TABLE table_name_35 (year INTEGER, start VARCHAR, chassis VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_name_35 WHERE start = "1st" AND chassis = "g-force"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the Comp of the Shooter with a Score of 489.5? ### Context: CREATE TABLE table_name_3 (comp VARCHAR, score VARCHAR) ### Response: ### Response: SELECT comp FROM table_name_3 WHERE score = "489.5"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which station has the frequency of 107.3? ### Context: CREATE TABLE table_19131921_1 (station VARCHAR, frequency VARCHAR) ### Response: ### Response: SELECT station FROM table_19131921_1 WHERE frequency = "107.3"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the investing dragon for razzamataz ### Context: CREATE TABLE table_name_5 (investing_dragon_s_ VARCHAR, company_or_product_name VARCHAR) ### Response: ### Response: SELECT investing_dragon_s_ FROM table_name_5 WHERE company_or_product_name = "razzamataz"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the nat for total apps for 27 ### Context: CREATE TABLE table_19018191_5 (nat VARCHAR, total_apps VARCHAR) ### Response: ### Response: SELECT nat FROM table_19018191_5 WHERE total_apps = 27</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the position of the player bill simmons? ### Context: CREATE TABLE table_26996293_7 (position VARCHAR, player VARCHAR) ### Response: ### Response: SELECT position FROM table_26996293_7 WHERE player = "Bill Simmons"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Please give me a list of cities whose regional population is over 8000000 or under 5000000. ### Context: CREATE TABLE city (city VARCHAR, regional_population INTEGER) ### Response: ### Response: SELECT city FROM city WHERE regional_population > 10000000 UNION SELECT city FROM city WHERE regional_population < 5000000</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Prize, when Name is "Valdemar Kwaysser"? ### Context: CREATE TABLE table_name_58 (prize VARCHAR, name VARCHAR) ### Response: ### Response: SELECT prize FROM table_name_58 WHERE name = "valdemar kwaysser"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the date of the game away against Pride? ### Context: CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR, home_away VARCHAR) ### Response: ### Response: SELECT date FROM table_name_35 WHERE opponent = "pride" AND home_away = "away"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What result had a time of 1:02? ### Context: CREATE TABLE table_name_14 (result VARCHAR, time VARCHAR) ### Response: ### Response: SELECT result FROM table_name_14 WHERE time = "1:02"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which Car # has a Make of toyota, and a Pos of 7? ### Context: CREATE TABLE table_name_93 (car__number INTEGER, make VARCHAR, pos VARCHAR) ### Response: ### Response: SELECT AVG(car__number) FROM table_name_93 WHERE make = "toyota" AND pos = 7</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the most recent final result for the years (won in bold) 1979? ### Context: CREATE TABLE table_1463332_2 (most_recent_final VARCHAR, years__won_in_bold_ VARCHAR) ### Response: ### Response: SELECT most_recent_final FROM table_1463332_2 WHERE years__won_in_bold_ = "1979"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What's the highest Year with the Region of Southeast? ### Context: CREATE TABLE table_name_11 (year INTEGER, region VARCHAR) ### Response: ### Response: SELECT MAX(year) FROM table_name_11 WHERE region = "southeast"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: who is the husband when ceased to be dauphine is 22 july 1461 became queen? ### Context: CREATE TABLE table_name_36 (husband VARCHAR, ceased_to_be_dauphine VARCHAR) ### Response: ### Response: SELECT husband FROM table_name_36 WHERE ceased_to_be_dauphine = "22 july 1461 became queen"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What CFL team got the player from york? ### Context: CREATE TABLE table_28059992_5 (cfl_team VARCHAR, college VARCHAR) ### Response: ### Response: SELECT cfl_team FROM table_28059992_5 WHERE college = "York"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is 1955 when 1961 is n/a? ### Context: CREATE TABLE table_name_78 (Id VARCHAR) ### Response: ### Response: SELECT 1955 FROM table_name_78 WHERE 1961 = "n/a"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the call sign of the translator with an ERP W greater than 38 and a city license from Great Falls, Montana? ### Context: CREATE TABLE table_name_60 (call_sign VARCHAR, erp_w VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT call_sign FROM table_name_60 WHERE erp_w > 38 AND city_of_license = "great falls, montana"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many people voted in Cabarrus county? ### Context: CREATE TABLE table_20350118_1 (total INTEGER, county VARCHAR) ### Response: ### Response: SELECT MIN(total) FROM table_20350118_1 WHERE county = "Cabarrus"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what year was BBC 2 13th in rank? ### Context: CREATE TABLE table_name_51 (year VARCHAR, bbc_two_rank VARCHAR) ### Response: ### Response: SELECT year FROM table_name_51 WHERE bbc_two_rank = "13th"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Find the names of all reviewers who have ratings with a NULL value for the date. ### Context: CREATE TABLE Rating (rID VARCHAR); CREATE TABLE Reviewer (rID VARCHAR) ### Response: ### Response: SELECT DISTINCT name FROM Reviewer AS T1 JOIN Rating AS T2 ON T1.rID = T2.rID WHERE ratingDate = "null"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is every CFL team with the player Mark Farraway? ### Context: CREATE TABLE table_28059992_1 (cfl_team VARCHAR, player VARCHAR) ### Response: ### Response: SELECT cfl_team FROM table_28059992_1 WHERE player = "Mark Farraway"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Give me the MHz Frequency of Allapattah, Florida. ### Context: CREATE TABLE table_name_28 (frequency_mhz VARCHAR, city_of_license VARCHAR) ### Response: ### Response: SELECT frequency_mhz FROM table_name_28 WHERE city_of_license = "allapattah, florida"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What years did art grand prix compete? ### Context: CREATE TABLE table_10748727_1 (season VARCHAR, team_name VARCHAR) ### Response: ### Response: SELECT season FROM table_10748727_1 WHERE team_name = "ART Grand Prix"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the number listed in home games when the team is Seattle Seahawks? ### Context: CREATE TABLE table_28884858_1 (home_games VARCHAR, team VARCHAR) ### Response: ### Response: SELECT home_games FROM table_28884858_1 WHERE team = "Seattle Seahawks"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is Kerry J. Donley's First Election date? ### Context: CREATE TABLE table_name_23 (first_election VARCHAR, name VARCHAR) ### Response: ### Response: SELECT first_election FROM table_name_23 WHERE name = "kerry j. donley"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the total attendance at games with a score of 4-2? ### Context: CREATE TABLE table_name_20 (attendance VARCHAR, score VARCHAR) ### Response: ### Response: SELECT COUNT(attendance) FROM table_name_20 WHERE score = "4-2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the Attendance on Week 10? ### Context: CREATE TABLE table_name_34 (attendance VARCHAR, week VARCHAR) ### Response: ### Response: SELECT attendance FROM table_name_34 WHERE week = 10</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Bronze of 0, and a Total of 1, and a Silver smaller than 1 what is the lowest gold? ### Context: CREATE TABLE table_name_35 (gold INTEGER, silver VARCHAR, bronze VARCHAR, total VARCHAR) ### Response: ### Response: SELECT MIN(gold) FROM table_name_35 WHERE bronze = 0 AND total = 1 AND silver < 1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who drive over 43 laps in grid 5? ### Context: CREATE TABLE table_name_66 (driver VARCHAR, laps VARCHAR, grid VARCHAR) ### Response: ### Response: SELECT driver FROM table_name_66 WHERE laps > 43 AND grid = 5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who is the captain of the team coached by Giles White? ### Context: CREATE TABLE table_name_28 (captain VARCHAR, coach VARCHAR) ### Response: ### Response: SELECT captain FROM table_name_28 WHERE coach = "giles white"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Name the 2012 for 2009 of 1r ### Context: CREATE TABLE table_name_19 (Id VARCHAR) ### Response: ### Response: SELECT 2012 FROM table_name_19 WHERE 2009 = "1r"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the final score of the runner-up on 9 February 1992? ### Context: CREATE TABLE table_name_75 (score_in_final VARCHAR, outcome VARCHAR, date VARCHAR) ### Response: ### Response: SELECT score_in_final FROM table_name_75 WHERE outcome = "runner-up" AND date = "9 february 1992"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the song released by Travis? ### Context: CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) ### Response: ### Response: SELECT single FROM table_25760427_2 WHERE artist = "Travis"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When the final position/round is group stage, when is the last match? ### Context: CREATE TABLE table_name_60 (last_match VARCHAR, final_position___round VARCHAR) ### Response: ### Response: SELECT last_match FROM table_name_60 WHERE final_position___round = "group stage"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What players finished 2nd? ### Context: CREATE TABLE table_1506950_4 (player VARCHAR, finish VARCHAR) ### Response: ### Response: SELECT player FROM table_1506950_4 WHERE finish = "2nd"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the result of the 2007 gulf cup of nations? ### Context: CREATE TABLE table_name_39 (result VARCHAR, competition VARCHAR) ### Response: ### Response: SELECT result FROM table_name_39 WHERE competition = "2007 gulf cup of nations"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the pick# for the California Golden Seals? ### Context: CREATE TABLE table_name_92 (pick__number VARCHAR, nhl_team VARCHAR) ### Response: ### Response: SELECT pick__number FROM table_name_92 WHERE nhl_team = "california golden seals"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the class when part 3 was *heldun? ### Context: CREATE TABLE table_name_79 (class VARCHAR, part_3 VARCHAR) ### Response: ### Response: SELECT class FROM table_name_79 WHERE part_3 = "*heldun"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What team has a Record of 50–28? ### Context: CREATE TABLE table_name_9 (team VARCHAR, record VARCHAR) ### Response: ### Response: SELECT team FROM table_name_9 WHERE record = "50–28"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: what is the sum of wins when events is 13 and top-5 is less than 1? ### Context: CREATE TABLE table_name_15 (wins INTEGER, events VARCHAR, top_5 VARCHAR) ### Response: ### Response: SELECT SUM(wins) FROM table_name_15 WHERE events = 13 AND top_5 < 1</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What week had attendance of 52,714? ### Context: CREATE TABLE table_name_54 (week INTEGER, attendance VARCHAR) ### Response: ### Response: SELECT MAX(week) FROM table_name_54 WHERE attendance = 52 OFFSET 714</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When the apparent magnitude is 10.5, what is the right ascension? ### Context: CREATE TABLE table_name_71 (right_ascension___j2000__ VARCHAR, apparent_magnitude VARCHAR) ### Response: ### Response: SELECT right_ascension___j2000__ FROM table_name_71 WHERE apparent_magnitude = 10.5</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the height in ft for the rockets from 1973-78? ### Context: CREATE TABLE table_11734041_16 (height_in_ft VARCHAR, years_for_rockets VARCHAR) ### Response: ### Response: SELECT height_in_ft FROM table_11734041_16 WHERE years_for_rockets = "1973-78"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How many years have a Surface of clay, and a Score of 4 : 0? ### Context: CREATE TABLE table_name_45 (year VARCHAR, surface VARCHAR, score VARCHAR) ### Response: ### Response: SELECT COUNT(year) FROM table_name_45 WHERE surface = "clay" AND score = "4 : 0"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What are the years won when the to par is +5? ### Context: CREATE TABLE table_name_76 (year_s__won VARCHAR, to_par VARCHAR) ### Response: ### Response: SELECT year_s__won FROM table_name_76 WHERE to_par = "+5"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: In what edition is Ungur's opponent David Nalbandian? ### Context: CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the pick# for the medicine hat tigers (wchl)? ### Context: CREATE TABLE table_1473672_2 (pick__number INTEGER, college_junior_club_team VARCHAR) ### Response: ### Response: SELECT MIN(pick__number) FROM table_1473672_2 WHERE college_junior_club_team = "Medicine Hat Tigers (WCHL)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the frequency of the station owned by the Canadian Broadcasting Corporation and branded as CBC Radio One? ### Context: CREATE TABLE table_name_49 (frequency VARCHAR, owner VARCHAR, branding VARCHAR) ### Response: ### Response: SELECT frequency FROM table_name_49 WHERE owner = "canadian broadcasting corporation" AND branding = "cbc radio one"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Tell me the record for yukiya naito ### Context: CREATE TABLE table_name_78 (record VARCHAR, opponent VARCHAR) ### Response: ### Response: SELECT record FROM table_name_78 WHERE opponent = "yukiya naito"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: When was a game played where the away team is St Kilda? ### Context: CREATE TABLE table_name_63 (date VARCHAR, away_team VARCHAR) ### Response: ### Response: SELECT date FROM table_name_63 WHERE away_team = "st kilda"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Which 1991 has an A 1993 ? ### Context: CREATE TABLE table_name_77 (Id VARCHAR) ### Response: ### Response: SELECT 1991 FROM table_name_77 WHERE 1993 = "a"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the highest number of oppenents points recorded for game 9 when the attendance was less than 60,091? ### Context: CREATE TABLE table_name_85 (opponents INTEGER, game VARCHAR, attendance VARCHAR) ### Response: ### Response: SELECT MAX(opponents) FROM table_name_85 WHERE game = 9 AND attendance < 60 OFFSET 091</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the largest goal number when the transfer fee was £0.8m? ### Context: CREATE TABLE table_name_50 (goals INTEGER, transfer_fee VARCHAR) ### Response: ### Response: SELECT MAX(goals) FROM table_name_50 WHERE transfer_fee = "£0.8m"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the event of the match with a round larger than 2 and ended with a method of ko (kick)? ### Context: CREATE TABLE table_name_39 (event VARCHAR, round VARCHAR, method VARCHAR) ### Response: ### Response: SELECT event FROM table_name_39 WHERE round > 2 AND method = "ko (kick)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is tuesday day three when thursday day five is kamis? ### Context: CREATE TABLE table_1277350_7 (tuesday_day_three VARCHAR, thursday_day_five VARCHAR) ### Response: ### Response: SELECT tuesday_day_three FROM table_1277350_7 WHERE thursday_day_five = "Kamis"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: If there is a VCPC of 75km/h (47mph) what is the VCA? ### Context: CREATE TABLE table_name_7 (vca_155 VARCHAR, vcpc VARCHAR) ### Response: ### Response: SELECT vca_155 FROM table_name_7 WHERE vcpc = "75km/h (47mph)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What is the most recent year that Queen Nefertiti (pegasus two) was built? ### Context: CREATE TABLE table_name_44 (built INTEGER, name VARCHAR) ### Response: ### Response: SELECT MAX(built) FROM table_name_44 WHERE name = "queen nefertiti (pegasus two)"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: What was the location of the game on February 2? ### Context: CREATE TABLE table_name_50 (location_attendance VARCHAR, date VARCHAR) ### Response: ### Response: SELECT location_attendance FROM table_name_50 WHERE date = "february 2"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: How often does a train leave sealdah? ### Context: CREATE TABLE table_12095519_1 (frequency VARCHAR, origin VARCHAR) ### Response: ### Response: SELECT frequency FROM table_12095519_1 WHERE origin = "Sealdah"</s>
<s>### Instruction: You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. ### Dialect: sqlite ### Input: Who won the mixed doubles when ji xinpeng won the mens singles? ### Context: CREATE TABLE table_12027364_1 (mixed_doubles VARCHAR, mens_singles VARCHAR) ### Response: ### Response: SELECT mixed_doubles FROM table_12027364_1 WHERE mens_singles = "Ji Xinpeng"</s>