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: What was the date of the game that led to a 48-21-6 record? ### Context: CREATE TABLE table_name_33 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_33 WHERE record = "48-21-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: Name the average attendance from june 11 ### Context: CREATE TABLE table_name_50 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_50 WHERE date = "june 11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is south africa's margin of victory? ### Context: CREATE TABLE table_name_29 (margin_of_victory VARCHAR, country VARCHAR) [/INST] ### Response: SELECT margin_of_victory FROM table_name_29 WHERE country = "south africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Year larger than 1980, and a Margin of victory of 2 strokes, and a Country of united states, and a Player of jim furyk? ### Context: CREATE TABLE table_name_68 (score VARCHAR, player VARCHAR, country VARCHAR, year VARCHAR, margin_of_victory VARCHAR) [/INST] ### Response: SELECT score FROM table_name_68 WHERE year > 1980 AND margin_of_victory = "2 strokes" AND country = "united states" AND player = "jim furyk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Beaudesert suburb club founded ### Context: CREATE TABLE table_name_95 (founded VARCHAR, suburb VARCHAR) [/INST] ### Response: SELECT founded FROM table_name_95 WHERE suburb = "beaudesert" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did the Nerang Suburb get founded? ### Context: CREATE TABLE table_name_96 (founded VARCHAR, suburb VARCHAR) [/INST] ### Response: SELECT COUNT(founded) FROM table_name_96 WHERE suburb = "nerang" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent when the Phillies played on April 28? ### Context: CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_77 WHERE date = "april 28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 run rate for rank 4? ### Context: CREATE TABLE table_name_61 (run_rate INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MAX(run_rate) FROM table_name_61 WHERE 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: Chinese title of 反正 卓文萱 had what released? ### Context: CREATE TABLE table_name_44 (released VARCHAR, chinese_title VARCHAR) [/INST] ### Response: SELECT released FROM table_name_44 WHERE chinese_title = "反正 卓文萱" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Album # of 5th is what chinese title? ### Context: CREATE TABLE table_name_94 (chinese_title VARCHAR, album_number VARCHAR) [/INST] ### Response: SELECT chinese_title FROM table_name_94 WHERE album_number = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Album # of 1st was released on what date? ### Context: CREATE TABLE table_name_6 (released VARCHAR, album_number VARCHAR) [/INST] ### Response: SELECT released FROM table_name_6 WHERE album_number = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Album # of 3rd is what chinese title? ### Context: CREATE TABLE table_name_57 (chinese_title VARCHAR, album_number VARCHAR) [/INST] ### Response: SELECT chinese_title FROM table_name_57 WHERE album_number = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: English title of oxygenie of happiness has what release date? ### Context: CREATE TABLE table_name_41 (released VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT released FROM table_name_41 WHERE english_title = "oxygenie of happiness" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Home of quebec nordiques on april 16? ### Context: CREATE TABLE table_name_83 (score VARCHAR, home VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_83 WHERE home = "quebec nordiques" AND date = "april 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: WHich Record has a Visitor of quebec nordiques with a Score of 7–5? ### Context: CREATE TABLE table_name_37 (record VARCHAR, visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_37 WHERE visitor = "quebec nordiques" AND score = "7–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: Who is the Visitor on april 8? ### Context: CREATE TABLE table_name_94 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_94 WHERE date = "april 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When has Score of 4–5 and quebec nordiques as Visitor? ### Context: CREATE TABLE table_name_92 (date VARCHAR, score VARCHAR, visitor VARCHAR) [/INST] ### Response: SELECT date FROM table_name_92 WHERE score = "4–5" AND visitor = "quebec nordiques" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Visitor on april 14? ### Context: CREATE TABLE table_name_78 (visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_78 WHERE date = "april 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: Which Record has a Visitor of quebec nordiques with a Score of 4–5? ### Context: CREATE TABLE table_name_58 (record VARCHAR, visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_58 WHERE visitor = "quebec nordiques" AND score = "4–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's the highest December against the Pittsburgh Penguins in a game larger than 27, with less than 41 points? ### Context: CREATE TABLE table_name_61 (december INTEGER, points VARCHAR, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT MAX(december) FROM table_name_61 WHERE game > 27 AND opponent = "pittsburgh penguins" AND points < 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's the score for December of 30? ### Context: CREATE TABLE table_name_48 (score VARCHAR, december VARCHAR) [/INST] ### Response: SELECT score FROM table_name_48 WHERE december = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of games associated with 6 points and under 2 losses? ### Context: CREATE TABLE table_name_80 (games INTEGER, points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(games) FROM table_name_80 WHERE points = 6 AND lost < 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 low point total when there are over 5 games? ### Context: CREATE TABLE table_name_56 (points INTEGER, games INTEGER) [/INST] ### Response: SELECT MIN(points) FROM table_name_56 WHERE games > 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 was the share of votes when there were more than 56 electors and the year was more recent than 1950? ### Context: CREATE TABLE table_name_95 (share_of_votes VARCHAR, electors VARCHAR, year VARCHAR) [/INST] ### Response: SELECT share_of_votes FROM table_name_95 WHERE electors > 56 AND year > 1950 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 electors when the share of votes was 11,0%? ### Context: CREATE TABLE table_name_70 (electors INTEGER, share_of_votes VARCHAR) [/INST] ### Response: SELECT SUM(electors) FROM table_name_70 WHERE share_of_votes = "11,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 Lost has Games larger than 7? ### Context: CREATE TABLE table_name_54 (lost INTEGER, games INTEGER) [/INST] ### Response: SELECT AVG(lost) FROM table_name_54 WHERE games > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Points have a Lost smaller than 1, and Games larger than 7? ### Context: CREATE TABLE table_name_81 (points INTEGER, lost VARCHAR, games VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_81 WHERE lost < 1 AND games > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Lost has Points larger than 13? ### Context: CREATE TABLE table_name_91 (lost INTEGER, points INTEGER) [/INST] ### Response: SELECT AVG(lost) FROM table_name_91 WHERE points > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Points have a Drawn larger than 1? ### Context: CREATE TABLE table_name_98 (points INTEGER, drawn INTEGER) [/INST] ### Response: SELECT AVG(points) FROM table_name_98 WHERE drawn > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Diameter has a Year of Issue of 1977? ### Context: CREATE TABLE table_name_28 (diameter VARCHAR, year_of_issue VARCHAR) [/INST] ### Response: SELECT diameter FROM table_name_28 WHERE year_of_issue = 1977 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year of Issue has a Thickness of 1.42mm? ### Context: CREATE TABLE table_name_52 (year_of_issue INTEGER, thickness VARCHAR) [/INST] ### Response: SELECT MAX(year_of_issue) FROM table_name_52 WHERE thickness = "1.42mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Diameter has a Thickness of 1.3mm? ### Context: CREATE TABLE table_name_93 (diameter VARCHAR, thickness VARCHAR) [/INST] ### Response: SELECT diameter FROM table_name_93 WHERE thickness = "1.3mm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party's candidate is Grech Louis Grech? ### Context: CREATE TABLE table_name_36 (party VARCHAR, candidate VARCHAR) [/INST] ### Response: SELECT party FROM table_name_36 WHERE candidate = "grech louis grech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sport played in Iowa City on February 14, 2009? ### Context: CREATE TABLE table_name_17 (sport VARCHAR, site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT sport FROM table_name_17 WHERE site = "iowa city" AND date = "february 14, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the series of the winning team in Iowa, for softball? ### Context: CREATE TABLE table_name_24 (series VARCHAR, winning_team VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT series FROM table_name_24 WHERE winning_team = "iowa" AND sport = "softball" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the match that was against alberto berasategui? ### Context: CREATE TABLE table_name_25 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_25 WHERE opponent_in_the_final = "alberto berasategui" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rebounds does Ann Wauters have? ### Context: CREATE TABLE table_name_89 (rebounds VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(rebounds) FROM table_name_89 WHERE name = "ann wauters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 played 10 games? ### Context: CREATE TABLE table_name_56 (name VARCHAR, games VARCHAR) [/INST] ### Response: SELECT name FROM table_name_56 WHERE games = 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of rebounds values for Ann Wauters? ### Context: CREATE TABLE table_name_56 (rebounds VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(rebounds) FROM table_name_56 WHERE name = "ann wauters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did the Colts play against on September 25, 1966? ### Context: CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_8 WHERE date = "september 25, 1966" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the game with 40,005 in attendance? ### Context: CREATE TABLE table_name_61 (date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_61 WHERE attendance = "40,005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week number for the game that was at milwaukee county stadium? ### Context: CREATE TABLE table_name_18 (week INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_18 WHERE game_site = "milwaukee county 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: After week 11, what was the Result on December 13, 1964? ### Context: CREATE TABLE table_name_49 (result VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_49 WHERE week > 11 AND date = "december 13, 1964" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: After week 8, what was the Attendance on November 1, 1964? ### Context: CREATE TABLE table_name_43 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_43 WHERE date = "november 1, 1964" AND week > 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 alternate of the nation with Piotras Gerasimovici as the second? ### Context: CREATE TABLE table_name_19 (alternate VARCHAR, second VARCHAR) [/INST] ### Response: SELECT alternate FROM table_name_19 WHERE second = "piotras gerasimovici" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alternate of the nation with hubert grΓΌndhammer as the second? ### Context: CREATE TABLE table_name_97 (alternate VARCHAR, second VARCHAR) [/INST] ### Response: SELECT alternate FROM table_name_97 WHERE second = "hubert grΓΌndhammer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 alternate of the nation with Erkki Lill as the skip? ### Context: CREATE TABLE table_name_55 (alternate VARCHAR, skip VARCHAR) [/INST] ### Response: SELECT alternate FROM table_name_55 WHERE skip = "erkki lill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the skip of the nation with Laurens van der Windt as the alternate? ### Context: CREATE TABLE table_name_74 (skip VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_74 WHERE alternate = "laurens van der windt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lead of the nation with Juha Pekaristo as the alternate? ### Context: CREATE TABLE table_name_46 (lead VARCHAR, alternate VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_46 WHERE alternate = "juha pekaristo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round in which a player was picked for the Center position? ### Context: CREATE TABLE table_name_24 (round INTEGER, position VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_name_24 WHERE position = "center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 John Flatters' nationality? ### Context: CREATE TABLE table_name_10 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_10 WHERE player = "john flatters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jeremy Duchesne's position? ### Context: CREATE TABLE table_name_67 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_67 WHERE player = "jeremy duchesne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the attendance 1,034? ### Context: CREATE TABLE table_name_51 (date INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MIN(date) FROM table_name_51 WHERE attendance = "1,034" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent on 26 october 1889? ### Context: CREATE TABLE table_name_51 (opponents VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents FROM table_name_51 WHERE date = "26 october 1889" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 1950 larger than 80, and a 1960 of 196, and a 1990 larger than 131 what is the lowest 1996[2]? ### Context: CREATE TABLE table_name_80 (Id VARCHAR) [/INST] ### Response: SELECT MIN(1996)[2] FROM table_name_80 WHERE 1950 > 80 AND 1960 = 196 AND 1990 > 131 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 1960 larger than 196, and a 1996[2] smaller than 726, and a 1980 larger than 125, and a 1990 larger than 848, what is the highest 1950? ### Context: CREATE TABLE table_name_13 (Id VARCHAR) [/INST] ### Response: SELECT MAX(1950) FROM table_name_13 WHERE 1960 > 196 AND 1996[2] < 726 AND 1980 > 125 AND 1990 > 848 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 1980 smaller than 719, and a 1960 smaller than 205, and a 1996[2] smaller than 364, and a 1970 larger than 251 is what 1990 highest? ### Context: CREATE TABLE table_name_94 (Id VARCHAR) [/INST] ### Response: SELECT MAX(1990) FROM table_name_94 WHERE 1980 < 719 AND 1960 < 205 AND 1996[2] < 364 AND 1970 > 251 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 1996[2] larger than 68, and a 1990 smaller than 352, and a 1970 larger than 105, and a 1950 of 119 is the sum of what 1980? ### Context: CREATE TABLE table_name_6 (Id VARCHAR) [/INST] ### Response: SELECT SUM(1980) FROM table_name_6 WHERE 1996[2] > 68 AND 1990 < 352 AND 1970 > 105 AND 1950 = 119 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 1996[2] of 127, and a 1990 smaller than 120 is the sum of 1990? ### Context: CREATE TABLE table_name_89 (Id VARCHAR) [/INST] ### Response: SELECT SUM(1980) FROM table_name_89 WHERE 1996[2] = 127 AND 1990 < 120 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent at the game with a result of w 14–6? ### Context: CREATE TABLE table_name_60 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_60 WHERE result = "w 14–6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the game with a record of 2–3–2 before week 8? ### Context: CREATE TABLE table_name_38 (result VARCHAR, week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_name_38 WHERE week < 8 AND record = "2–3–2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the earliest week with a game at the Braves Field on October 2, 1932? ### Context: CREATE TABLE table_name_78 (week INTEGER, game_site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_78 WHERE game_site = "braves field" AND date = "october 2, 1932" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record at the game on November 13, 1932? ### Context: CREATE TABLE table_name_38 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_38 WHERE date = "november 13, 1932" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 role is Kevin Bishop the actor? ### Context: CREATE TABLE table_name_18 (role VARCHAR, actor VARCHAR) [/INST] ### Response: SELECT role FROM table_name_18 WHERE actor = "kevin bishop" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration for mike walling as the actor? ### Context: CREATE TABLE table_name_47 (duration VARCHAR, actor VARCHAR) [/INST] ### Response: SELECT duration FROM table_name_47 WHERE actor = "mike walling" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration that has 3 for appearances, and james garret as the character? ### Context: CREATE TABLE table_name_20 (duration VARCHAR, appearances VARCHAR, character VARCHAR) [/INST] ### Response: SELECT duration FROM table_name_20 WHERE appearances = "3" AND character = "james garret" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 duration for nickolas grace as the actor? ### Context: CREATE TABLE table_name_36 (duration VARCHAR, actor VARCHAR) [/INST] ### Response: SELECT duration FROM table_name_36 WHERE actor = "nickolas grace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Time ( ET ) of 1:00pm, and a Result of w 34–14 has what record? ### Context: CREATE TABLE table_name_67 (record VARCHAR, time___et__ VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_name_67 WHERE time___et__ = "1:00pm" AND result = "w 34–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: Date of sun. oct. 1 has what location? ### Context: CREATE TABLE table_name_29 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_name_29 WHERE date = "sun. oct. 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: Record of 3–3 has what result? ### Context: CREATE TABLE table_name_83 (result VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result FROM table_name_83 WHERE record = "3–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: Date of sun. oct. 29 has what time (et)? ### Context: CREATE TABLE table_name_65 (time___et__ VARCHAR, date VARCHAR) [/INST] ### Response: SELECT time___et__ FROM table_name_65 WHERE date = "sun. oct. 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 games have more than 10 points and more than 2 draws? ### Context: CREATE TABLE table_name_13 (games VARCHAR, points VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_name_13 WHERE points = 10 AND drawn > 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 sum of losses that have points of 11 and more than 1 draw? ### Context: CREATE TABLE table_name_86 (lost INTEGER, points VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT SUM(lost) FROM table_name_86 WHERE points = 11 AND drawn > 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 greatest points value that have draws under 2 and 2 losses? ### Context: CREATE TABLE table_name_67 (points INTEGER, drawn VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_name_67 WHERE drawn < 2 AND lost = 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 losses have draw values under 1? ### Context: CREATE TABLE table_name_36 (lost VARCHAR, drawn INTEGER) [/INST] ### Response: SELECT COUNT(lost) FROM table_name_36 WHERE drawn < 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's the lowest February for less than 57 points? ### Context: CREATE TABLE table_name_32 (february INTEGER, points INTEGER) [/INST] ### Response: SELECT MIN(february) FROM table_name_32 WHERE points < 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 February for the game against the Montreal Canadiens? ### Context: CREATE TABLE table_name_88 (february INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(february) FROM table_name_88 WHERE opponent = "montreal canadiens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the record for Game 58? ### Context: CREATE TABLE table_name_22 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_22 WHERE game = 58 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winner has a Season of 2005–06? ### Context: CREATE TABLE table_name_15 (winner VARCHAR, season VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_15 WHERE season = "2005–06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Runner-up played in the Season of 2000–01? ### Context: CREATE TABLE table_name_72 (runner_up VARCHAR, season VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_72 WHERE season = "2000–01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the venue during the Season of 2010–11? ### Context: CREATE TABLE table_name_88 (venue VARCHAR, season VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_88 WHERE season = "2010–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: Which Winner has a Runner-up of larne, and a Season of 2003–04? ### Context: CREATE TABLE table_name_13 (winner VARCHAR, runner_up VARCHAR, season VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_13 WHERE runner_up = "larne" AND season = "2003–04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winner has a Score of 1 – 0, and a Season of 2011–12? ### Context: CREATE TABLE table_name_30 (winner VARCHAR, score VARCHAR, season VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_30 WHERE score = "1 – 0" AND season = "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 position does Martin Rucker play? ### Context: CREATE TABLE table_name_78 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_name_78 WHERE name = "martin rucker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest round for Paul Hubbard? ### Context: CREATE TABLE table_name_21 (round INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_21 WHERE name = "paul hubbard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest round for a tight end position? ### Context: CREATE TABLE table_name_94 (round INTEGER, position VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_94 WHERE position = "tight end" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years did the person coach who had more than 31 ties? ### Context: CREATE TABLE table_name_5 (years VARCHAR, ties INTEGER) [/INST] ### Response: SELECT years FROM table_name_5 WHERE ties > 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of wins for the person who coached from 1951 to 1956 and had less than 174 losses and less than 6 ties? ### Context: CREATE TABLE table_name_70 (wins INTEGER, ties VARCHAR, losses VARCHAR, years VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_70 WHERE losses < 174 AND years = "1951 to 1956" AND ties < 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: Who was the coach who had 215 losses? ### Context: CREATE TABLE table_name_33 (coach VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT coach FROM table_name_33 WHERE losses = 215 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What years did the person coach who had more than 1 tie, mess than 311 wins and 174 losses? ### Context: CREATE TABLE table_name_30 (years VARCHAR, losses VARCHAR, ties VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT years FROM table_name_30 WHERE ties > 1 AND wins < 311 AND losses = 174 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What years did the person coach who had less than 82 wins and more than 24 losses? ### Context: CREATE TABLE table_name_99 (years VARCHAR, wins VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT years FROM table_name_99 WHERE wins < 82 AND losses > 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Points have a Game larger than 25, and an Opponent of dallas stars? ### Context: CREATE TABLE table_name_75 (points INTEGER, game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_75 WHERE game > 25 AND opponent = "dallas stars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record has a December smaller than 28, and Points smaller than 38, and a Game smaller than 26, and a Score of 0–1 ot? ### Context: CREATE TABLE table_name_53 (record VARCHAR, score VARCHAR, game VARCHAR, december VARCHAR, points VARCHAR) [/INST] ### Response: SELECT record FROM table_name_53 WHERE december < 28 AND points < 38 AND game < 26 AND score = "0–1 ot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Game of 31? ### Context: CREATE TABLE table_name_56 (opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_56 WHERE game = 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record has Points smaller than 40, and a Game larger than 25, and a Score of 2–0? ### Context: CREATE TABLE table_name_49 (record VARCHAR, score VARCHAR, points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT record FROM table_name_49 WHERE points < 40 AND game > 25 AND score = "2–0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Episode of 9 in which performer 3 had? ### Context: CREATE TABLE table_name_82 (performer_3 VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT performer_3 FROM table_name_82 WHERE episode = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Date of 8 july 1994 involves which performer 1? ### Context: CREATE TABLE table_name_31 (performer_1 VARCHAR, date VARCHAR) [/INST] ### Response: SELECT performer_1 FROM table_name_31 WHERE date = "8 july 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Date of 15 july 1994 involves which performer 3? ### Context: CREATE TABLE table_name_56 (performer_3 VARCHAR, date VARCHAR) [/INST] ### Response: SELECT performer_3 FROM table_name_56 WHERE date = "15 july 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Performer 2 of chip esten has what performer 3? ### Context: CREATE TABLE table_name_40 (performer_3 VARCHAR, performer_2 VARCHAR) [/INST] ### Response: SELECT performer_3 FROM table_name_40 WHERE performer_2 = "chip esten" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Name has a Pennant number of f82? ### Context: CREATE TABLE table_name_56 (name VARCHAR, pennant_number VARCHAR) [/INST] ### Response: SELECT name FROM table_name_56 WHERE pennant_number = "f82" </s>