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 is the method when the time was 5:00, and the round higher than 4? ### Context: CREATE TABLE table_name_86 (method VARCHAR, time VARCHAR, round VARCHAR) [/INST] ### Response: SELECT method FROM table_name_86 WHERE time = "5:00" AND round > 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: When the others had a value of 7%, what was the Polling organisation/client? ### Context: CREATE TABLE table_name_5 (polling_organisation_client VARCHAR, others VARCHAR) [/INST] ### Response: SELECT polling_organisation_client FROM table_name_5 WHERE others = "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: What player plays the position of small forward? ### Context: CREATE TABLE table_name_26 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_26 WHERE position = "small forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latitude of the 0 diameter? ### Context: CREATE TABLE table_name_18 (latitude VARCHAR, diameter__km_ VARCHAR) [/INST] ### Response: SELECT latitude FROM table_name_18 WHERE diameter__km_ = 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the longitude of Angerona Tholus? ### Context: CREATE TABLE table_name_35 (longitude VARCHAR, name VARCHAR) [/INST] ### Response: SELECT longitude FROM table_name_35 WHERE name = "angerona tholus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest diameter for Eirene Tholus? ### Context: CREATE TABLE table_name_97 (diameter__km_ INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(diameter__km_) FROM table_name_97 WHERE name = "eirene tholus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 game on April 25? ### Context: CREATE TABLE table_name_88 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_88 WHERE date = "april 25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the wkts when the ovrs were bigger than 2 and econ was bigger than 7.84? ### Context: CREATE TABLE table_name_46 (wkts INTEGER, ovrs VARCHAR, econ VARCHAR) [/INST] ### Response: SELECT SUM(wkts) FROM table_name_46 WHERE ovrs > 2 AND econ > 7.84 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the runs when the wkts were bigger than 0 and ovrs were smaller than 2? ### Context: CREATE TABLE table_name_65 (runs INTEGER, ovrs VARCHAR, wkts VARCHAR) [/INST] ### Response: SELECT SUM(runs) FROM table_name_65 WHERE ovrs < 2 AND wkts > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest wkts for james hopes who had less than 26 runs and more than 2 ovrs? ### Context: CREATE TABLE table_name_21 (wkts INTEGER, ovrs VARCHAR, runs VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MAX(wkts) FROM table_name_21 WHERE runs < 26 AND player = "james hopes" AND ovrs > 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 average sales in billions of the company headquartered in France with more than 2,539.1 billion in assets? ### Context: CREATE TABLE table_name_65 (sales__billion_ INTEGER, headquarters VARCHAR, assets__billion_$_ VARCHAR) [/INST] ### Response: SELECT AVG(sales__billion_) AS $_ FROM table_name_65 WHERE headquarters = "france" AND assets__billion_$_ > 2 OFFSET 539.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 average sales in billions of walmart, which has more than 15.7 billion in profits? ### Context: CREATE TABLE table_name_5 (sales__billion_ INTEGER, company VARCHAR, profits__billion_$_ VARCHAR) [/INST] ### Response: SELECT AVG(sales__billion_) AS $_ FROM table_name_5 WHERE company = "walmart" AND profits__billion_$_ > 15.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: What is the rider when the grid is 21? ### Context: CREATE TABLE table_name_35 (rider VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_35 WHERE grid = 21 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average laps when the manufacturer is yamaha, and the rider is garry mccoy and the grid is smaller than 4? ### Context: CREATE TABLE table_name_71 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_71 WHERE manufacturer = "yamaha" AND rider = "garry mccoy" AND grid < 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest laps for rider andrew pitt, with a grid smaller than 18? Wha ### Context: CREATE TABLE table_name_10 (laps INTEGER, rider VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_10 WHERE rider = "andrew pitt" AND grid < 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest laps that has a manufacturer of yamaha, and a time/retired of +1:08.312, and a grid less than 20? ### Context: CREATE TABLE table_name_4 (laps INTEGER, grid VARCHAR, manufacturer VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_4 WHERE manufacturer = "yamaha" AND time_retired = "+1:08.312" AND grid < 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What event had a tko (punches) method and jason macdonald as the opponent? ### Context: CREATE TABLE table_name_74 (event VARCHAR, method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT event FROM table_name_74 WHERE method = "tko (punches)" AND opponent = "jason macdonald" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent after round number 1 with a method of decision (unanimous)? ### Context: CREATE TABLE table_name_30 (opponent VARCHAR, round VARCHAR, method VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_30 WHERE round > 1 AND method = "decision (unanimous)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partnering that had the opponents of Marcelo Melo AndrΓ© SΓ‘? ### Context: CREATE TABLE table_name_29 (partnering VARCHAR, opponents_in_final VARCHAR) [/INST] ### Response: SELECT partnering FROM table_name_29 WHERE opponents_in_final = "marcelo melo andrΓ© sΓ‘" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on February 14, 1999? ### Context: CREATE TABLE table_name_32 (score_in_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score_in_final FROM table_name_32 WHERE date = "february 14, 1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the score 6–7(9), 6–2, (10–7)? ### Context: CREATE TABLE table_name_29 (date VARCHAR, score_in_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_29 WHERE score_in_final = "6–7(9), 6–2, (10–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: What is the lowest value for Sydney, when WEEKLY RANK is less than 8, and when Brisbane is greater than 252,000? ### Context: CREATE TABLE table_name_16 (sydney INTEGER, weekly_rank VARCHAR, brisbane VARCHAR) [/INST] ### Response: SELECT MIN(sydney) FROM table_name_16 WHERE weekly_rank < 8 AND brisbane > 252 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the values for Melbourne, when Episode Number Production Number is 19 2-06, and when Sydney is less than 389,000? ### Context: CREATE TABLE table_name_93 (melbourne INTEGER, episode_number_production_number VARCHAR, sydney VARCHAR) [/INST] ### Response: SELECT SUM(melbourne) FROM table_name_93 WHERE episode_number_production_number = "19 2-06" AND sydney < 389 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rounds had a time of 5:00 at UFC 155? ### Context: CREATE TABLE table_name_25 (round VARCHAR, time VARCHAR, event VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_25 WHERE time = "5:00" AND event = "ufc 155" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event had a time of 2:34? ### Context: CREATE TABLE table_name_86 (event VARCHAR, time VARCHAR) [/INST] ### Response: SELECT event FROM table_name_86 WHERE time = "2:34" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the bout that led to a win in a time of 1:21? ### Context: CREATE TABLE table_name_47 (opponent VARCHAR, res VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_47 WHERE res = "win" AND time = "1:21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the method of resolution for the fight against akihiro gono? ### Context: CREATE TABLE table_name_31 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_31 WHERE opponent = "akihiro gono" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds that Lance Gibson fought when his record was 1-1? ### Context: CREATE TABLE table_name_52 (round INTEGER, record VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_52 WHERE record = "1-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Country of the Player with a Score of 69-71-66=206? ### Context: CREATE TABLE table_name_99 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_99 WHERE score = 69 - 71 - 66 = 206 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place of the Player from Scotland? ### Context: CREATE TABLE table_name_36 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_36 WHERE country = "scotland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Steve Lowery's Place? ### Context: CREATE TABLE table_name_78 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_78 WHERE player = "steve lowery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1961's qual? ### Context: CREATE TABLE table_name_98 (qual VARCHAR, year VARCHAR) [/INST] ### Response: SELECT qual FROM table_name_98 WHERE year = "1961" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 13's finish? ### Context: CREATE TABLE table_name_10 (finish VARCHAR, start VARCHAR) [/INST] ### Response: SELECT finish FROM table_name_10 WHERE start = "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: How many laps were in 1969? ### Context: CREATE TABLE table_name_95 (laps VARCHAR, year VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_95 WHERE year = "1969" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rank has a Qual of 145.144? ### Context: CREATE TABLE table_name_68 (rank VARCHAR, qual VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_68 WHERE qual = "145.144" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sources for Bandung? ### Context: CREATE TABLE table_name_37 (sources_of_pop___area VARCHAR, city VARCHAR) [/INST] ### Response: SELECT sources_of_pop___area FROM table_name_37 WHERE city = "bandung" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race happened at Iowa Speedway? ### Context: CREATE TABLE table_name_91 (race VARCHAR, track VARCHAR) [/INST] ### Response: SELECT race FROM table_name_91 WHERE track = "iowa speedway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the Food World 250? ### Context: CREATE TABLE table_name_14 (winner VARCHAR, race VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_14 WHERE race = "food world 250" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race happened at pocono on 08-02-2008? ### Context: CREATE TABLE table_name_24 (race VARCHAR, track VARCHAR, date VARCHAR) [/INST] ### Response: SELECT race FROM table_name_24 WHERE track = "pocono" AND date = "08-02-2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What race happened on 04-25-2008? ### Context: CREATE TABLE table_name_1 (race VARCHAR, date VARCHAR) [/INST] ### Response: SELECT race FROM table_name_1 WHERE date = "04-25-2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the race on 09-13-2008? ### Context: CREATE TABLE table_name_34 (track VARCHAR, date VARCHAR) [/INST] ### Response: SELECT track FROM table_name_34 WHERE date = "09-13-2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which game number was played after March 11 and ended with a record of 26-30-10? ### Context: CREATE TABLE table_name_17 (game INTEGER, record VARCHAR, march VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_17 WHERE record = "26-30-10" AND march > 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games total were played against @ Boston Bruins this season? ### Context: CREATE TABLE table_name_77 (game INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(game) FROM table_name_77 WHERE opponent = "@ boston bruins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earliest game date in March where the match ended with a record of 25-29-10? ### Context: CREATE TABLE table_name_32 (march INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(march) FROM table_name_32 WHERE record = "25-29-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: How many points when John Vopni won a season before 1977? ### Context: CREATE TABLE table_name_58 (points VARCHAR, season VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT points FROM table_name_58 WHERE season < 1977 AND winner = "john vopni" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points when Bill Benson was the winner? ### Context: CREATE TABLE table_name_95 (points VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT points FROM table_name_95 WHERE winner = "bill benson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team did Tyson Chandler (7) have high rebounds for? ### Context: CREATE TABLE table_name_10 (team VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT team FROM table_name_10 WHERE high_rebounds = "tyson chandler (7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many high assists were on November 27? ### Context: CREATE TABLE table_name_10 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_10 WHERE date = "november 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score in 1980? ### Context: CREATE TABLE table_name_51 (winning_score VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_51 WHERE year = 1980 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the winning score in 1985 for Championship of u.s. women's open? ### Context: CREATE TABLE table_name_8 (winning_score VARCHAR, year VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_8 WHERE year < 1985 AND championship = "u.s. women's open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 runner-up Jane Geddes? ### Context: CREATE TABLE table_name_35 (year VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT year FROM table_name_35 WHERE runner_up = "jane geddes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship after 1985 had a winning score of –8 (68-72-69-71=280)? ### Context: CREATE TABLE table_name_17 (championship VARCHAR, year VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_17 WHERE year > 1985 AND winning_score = –8(68 - 72 - 69 - 71 = 280) </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 method of resolution for the fight against jake brown? ### Context: CREATE TABLE table_name_77 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_77 WHERE opponent = "jake brown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what team did John Bowe round winner at Winton Motor Raceway belong to? ### Context: CREATE TABLE table_name_44 (team VARCHAR, round_winner VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT team FROM table_name_44 WHERE round_winner = "john bowe" AND circuit = "winton motor raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team features at Oran Park Raceway? ### Context: CREATE TABLE table_name_41 (team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT team FROM table_name_41 WHERE circuit = "oran park raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the Eastern Creek Raceway located? ### Context: CREATE TABLE table_name_19 (location___state VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT location___state FROM table_name_19 WHERE circuit = "eastern creek raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state was Dai from? ### Context: CREATE TABLE table_name_9 (state VARCHAR, name VARCHAR) [/INST] ### Response: SELECT state FROM table_name_9 WHERE name = "dai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Mu's title? ### Context: CREATE TABLE table_name_6 (title VARCHAR, name VARCHAR) [/INST] ### Response: SELECT title FROM table_name_6 WHERE name = "mu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for week 3? ### Context: CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_34 WHERE week = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the result for the week higher than 7 on november 4, 1979? ### Context: CREATE TABLE table_name_16 (result VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_16 WHERE week > 7 AND date = "november 4, 1979" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the date is september 16, 1979 and the attendance less than 54,212? ### Context: CREATE TABLE table_name_2 (week INTEGER, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_2 WHERE date = "september 16, 1979" AND attendance < 54 OFFSET 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 competition has stuart potts as the man of the match? ### Context: CREATE TABLE table_name_98 (competition VARCHAR, man_of_the_match VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_98 WHERE man_of_the_match = "stuart potts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue had a lost 5-4 result? ### Context: CREATE TABLE table_name_15 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_15 WHERE result = "lost 5-4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the venue of the match with the wightlink raiders as the opponent? ### Context: CREATE TABLE table_name_9 (venue VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_9 WHERE opponent = "wightlink raiders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result of the league/cup competition with the swindon wildcats as the opponent and neil liddiard as the man of the match? ### Context: CREATE TABLE table_name_45 (result VARCHAR, man_of_the_match VARCHAR, competition VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_45 WHERE competition = "league/cup" AND opponent = "swindon wildcats" AND man_of_the_match = "neil liddiard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance of the match on the 2nd with the slough jets as the opponent? ### Context: CREATE TABLE table_name_35 (attendance VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_35 WHERE opponent = "slough jets" AND date = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when the total was 75–53? ### Context: CREATE TABLE table_name_89 (score VARCHAR, total VARCHAR) [/INST] ### Response: SELECT score FROM table_name_89 WHERE total = "75–53" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the total when the set 3 was 25–14? ### Context: CREATE TABLE table_name_80 (total VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT total FROM table_name_80 WHERE set_3 = "25–14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the set 1 25–23, and a Set 3 of 25–14? ### Context: CREATE TABLE table_name_12 (date VARCHAR, set_1 VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT date FROM table_name_12 WHERE set_1 = "25–23" AND set_3 = "25–14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the Set 3 of 12–25? ### Context: CREATE TABLE table_name_79 (date VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT date FROM table_name_79 WHERE set_3 = "12–25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Set 3 when the total was 53–75? ### Context: CREATE TABLE table_name_26 (set_3 VARCHAR, total VARCHAR) [/INST] ### Response: SELECT set_3 FROM table_name_26 WHERE total = "53–75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 win with a top 5 greater than 2 and a top 10 less than 5? ### Context: CREATE TABLE table_name_99 (wins INTEGER, top_5 VARCHAR, top_10 VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_99 WHERE top_5 > 2 AND top_10 < 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: How many poles have 4 Starts of 4 and position of 46th? ### Context: CREATE TABLE table_name_20 (poles VARCHAR, starts VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_name_20 WHERE starts = 4 AND position = "46th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Sum of m. night shyamalan ranks? ### Context: CREATE TABLE table_name_41 (rank INTEGER, director_s_ VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_41 WHERE director_s_ = "m. night shyamalan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Director for Star Wars Episode II: attack of the clones? ### Context: CREATE TABLE table_name_92 (director_s_ VARCHAR, title VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_name_92 WHERE title = "star wars episode ii: attack of the clones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the tie no when Oxford city was the away team? ### Context: CREATE TABLE table_name_39 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_39 WHERE away_team = "oxford city" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the tie no when Wrexham was the away team? ### Context: CREATE TABLE table_name_97 (tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_97 WHERE away_team = "wrexham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score when Spennymoor United as the away team? ### Context: CREATE TABLE table_name_67 (score VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_67 WHERE away_team = "spennymoor united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was Grimsby Town the away team? ### Context: CREATE TABLE table_name_34 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_34 WHERE away_team = "grimsby town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was eliminated on Banana Night? ### Context: CREATE TABLE table_name_33 (name VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT name FROM table_name_33 WHERE eliminated = "banana night" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 special guest when the category was vocal groups and the name was Romantic? ### Context: CREATE TABLE table_name_28 (special_guest VARCHAR, category VARCHAR, name VARCHAR) [/INST] ### Response: SELECT special_guest FROM table_name_28 WHERE category = "vocal groups" AND name = "romantic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was elimination on final night? ### Context: CREATE TABLE table_name_43 (date VARCHAR, eliminated VARCHAR) [/INST] ### Response: SELECT date FROM table_name_43 WHERE eliminated = "final night" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games for the opponent in Washington? ### Context: CREATE TABLE table_name_89 (game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_89 WHERE opponent = "washington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stories have a height less than 138 meters with a completion date in 1971? ### Context: CREATE TABLE table_name_53 (stories VARCHAR, height__m_ VARCHAR, year_of_completion VARCHAR) [/INST] ### Response: SELECT stories FROM table_name_53 WHERE height__m_ < 138 AND year_of_completion = 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest number of stories in Recife completed later than 2007 with a height less than 135 meters? ### Context: CREATE TABLE table_name_38 (stories INTEGER, height__m_ VARCHAR, location VARCHAR, year_of_completion VARCHAR) [/INST] ### Response: SELECT MAX(stories) FROM table_name_38 WHERE location = "recife" AND year_of_completion > 2007 AND height__m_ < 135 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sanskrit has an English of mindfulness of breathing? ### Context: CREATE TABLE table_name_26 (sanskrit VARCHAR, english VARCHAR) [/INST] ### Response: SELECT sanskrit FROM table_name_26 WHERE english = "mindfulness of breathing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sanskrit has a Chinese of β€”, and an English of cultivation of settling? ### Context: CREATE TABLE table_name_74 (sanskrit VARCHAR, chinese VARCHAR, english VARCHAR) [/INST] ### Response: SELECT sanskrit FROM table_name_74 WHERE chinese = "β€”" AND english = "cultivation of settling" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pali has an English of mindfulness of breathing? ### Context: CREATE TABLE table_name_54 (pali VARCHAR, english VARCHAR) [/INST] ### Response: SELECT pali FROM table_name_54 WHERE english = "mindfulness of breathing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Pali has an English of meditative concentration? ### Context: CREATE TABLE table_name_74 (pali VARCHAR, english VARCHAR) [/INST] ### Response: SELECT pali FROM table_name_74 WHERE english = "meditative concentration" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chinese has a Pali of atappa? ### Context: CREATE TABLE table_name_59 (chinese VARCHAR, pali VARCHAR) [/INST] ### Response: SELECT chinese FROM table_name_59 WHERE pali = "atappa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 English has a Sanskrit of samādhi? ### Context: CREATE TABLE table_name_42 (english VARCHAR, sanskrit VARCHAR) [/INST] ### Response: SELECT english FROM table_name_42 WHERE sanskrit = "samādhi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player in guard position from Stephen F. Austin in a round less than 8? ### Context: CREATE TABLE table_name_60 (player VARCHAR, school_club_team VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_60 WHERE round < 8 AND position = "guard" AND school_club_team = "stephen f. austin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position has a pick less than 41 from Ohio State? ### Context: CREATE TABLE table_name_31 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_31 WHERE pick < 41 AND school_club_team = "ohio state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shows for 2006 when 2002 is Grand Slam Tournaments? ### Context: CREATE TABLE table_name_52 (Id VARCHAR) [/INST] ### Response: SELECT 2006 FROM table_name_52 WHERE 2002 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shows for 2002 when 2006 is Grand Slam Tournaments? ### Context: CREATE TABLE table_name_65 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_65 WHERE 2006 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shows for 2005 when 2002 shows 0–1? ### Context: CREATE TABLE table_name_16 (Id VARCHAR) [/INST] ### Response: SELECT 2005 FROM table_name_16 WHERE 2002 = "0–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 2006 when 2002 is 0–1? ### Context: CREATE TABLE table_name_96 (Id VARCHAR) [/INST] ### Response: SELECT 2006 FROM table_name_96 WHERE 2002 = "0–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What shows for 2002 when the 2004 is A, and the 2005 is 1r? ### Context: CREATE TABLE table_name_40 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_40 WHERE 2004 = "a" AND 2005 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shows for 2004 when 2005 is A, 2006 is A, tournament is US Open? ### Context: CREATE TABLE table_name_60 (tournament VARCHAR) [/INST] ### Response: SELECT 2004 FROM table_name_60 WHERE 2005 = "a" AND 2006 = "a" AND tournament = "us open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on December 2, 1962? ### Context: CREATE TABLE table_name_8 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_8 WHERE date = "december 2, 1962" </s>