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 had a loss of Gott (2-7)? ### Context: CREATE TABLE table_name_98 (date VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT date FROM table_name_98 WHERE loss = "gott (2-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: Who was the opponent at the game when the record was 54-58? ### Context: CREATE TABLE table_name_13 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_13 WHERE record = "54-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: What was the score of the game when the record was 59-65? ### Context: CREATE TABLE table_name_77 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_77 WHERE record = "59-65" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that had a loss of Caldwell (10-11)? ### Context: CREATE TABLE table_name_35 (opponent VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_35 WHERE loss = "caldwell (10-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 opponent had a time of 1:26? ### Context: CREATE TABLE table_name_1 (opponent VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_1 WHERE time = "1:26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with the Kansas City Royals when the Blue Jays record was 18-12? ### Context: CREATE TABLE table_name_77 (date VARCHAR, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_77 WHERE opponent = "royals" AND record = "18-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: Which catalogue is from the UK region, and is on vinyl, and was dated in 1986? ### Context: CREATE TABLE table_name_33 (catalogue VARCHAR, date VARCHAR, region VARCHAR, format VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_33 WHERE region = "uk" AND format = "vinyl" AND date = "1986" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 region has a bronze label and a catalogue of 202 876-270? ### Context: CREATE TABLE table_name_82 (region VARCHAR, label VARCHAR, catalogue VARCHAR) [/INST] ### Response: SELECT region FROM table_name_82 WHERE label = "bronze" AND catalogue = "202 876-270" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label is from the Germany region? ### Context: CREATE TABLE table_name_52 (label VARCHAR, region VARCHAR) [/INST] ### Response: SELECT label FROM table_name_52 WHERE region = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What label has brol 34531 as it's catalogue? ### Context: CREATE TABLE table_name_31 (label VARCHAR, catalogue VARCHAR) [/INST] ### Response: SELECT label FROM table_name_31 WHERE catalogue = "brol 34531" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label has UK for its region, is on a CD, and is dated from 1986? ### Context: CREATE TABLE table_name_61 (label VARCHAR, format VARCHAR, region VARCHAR, date VARCHAR) [/INST] ### Response: SELECT label FROM table_name_61 WHERE region = "uk" AND date = "1986" AND format = "cd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalogue has essential, castle music as it's label? ### Context: CREATE TABLE table_name_46 (catalogue VARCHAR, label VARCHAR) [/INST] ### Response: SELECT catalogue FROM table_name_46 WHERE label = "essential, castle music" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 period of a rock album released in 1973? ### Context: CREATE TABLE table_name_83 (period_active VARCHAR, release_year_of_first_charted_record VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT period_active FROM table_name_83 WHERE release_year_of_first_charted_record = 1973 AND genre = "rock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick number for bill atessis ### Context: CREATE TABLE table_name_15 (pick__number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT pick__number FROM table_name_15 WHERE name = "bill atessis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of overall for defensive tackle ### Context: CREATE TABLE table_name_6 (overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_6 WHERE position = "defensive tackle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 engine has daimler benz ag as an entrant? ### Context: CREATE TABLE table_name_7 (engine VARCHAR, entrant VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_7 WHERE entrant = "daimler benz ag" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which years was the to par +6? ### Context: CREATE TABLE table_name_86 (year_s__won VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_86 WHERE to_par = "+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: In 1991, what was the lowest total? ### Context: CREATE TABLE table_name_31 (total INTEGER, year_s__won VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_31 WHERE year_s__won = "1991" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the total lanes that have a rank larger than 22? ### Context: CREATE TABLE table_name_11 (lane INTEGER, rank INTEGER) [/INST] ### Response: SELECT SUM(lane) FROM table_name_11 WHERE rank > 22 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 one has a rank bigger than 2, lane of 1, and is from Hong Kong? ### Context: CREATE TABLE table_name_55 (name VARCHAR, nationality VARCHAR, rank VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT name FROM table_name_55 WHERE rank > 2 AND lane = 1 AND nationality = "hong kong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank is from Japan, has a lane smaller than 7 and a heat smaller than 3? ### Context: CREATE TABLE table_name_52 (rank INTEGER, heat VARCHAR, nationality VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT SUM(rank) FROM table_name_52 WHERE nationality = "japan" AND lane < 7 AND heat < 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 was Jim Hoff's sum of losses and a wins smaller than 12? ### Context: CREATE TABLE table_name_9 (losses INTEGER, manager VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT SUM(losses) FROM table_name_9 WHERE manager = "jim hoff" AND wins < 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 was the average of games that were one in 1978 that were smaller than 141? ### Context: CREATE TABLE table_name_42 (wins INTEGER, years VARCHAR, games VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_42 WHERE years = "1978" AND games < 141 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of Richie Hebner winning games that were smaller 34? ### Context: CREATE TABLE table_name_80 (games INTEGER, manager VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT SUM(games) FROM table_name_80 WHERE manager = "richie hebner" AND wins < 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: What was the average of wins with manager George Scherger smaller than 3 and losses smaller than 1? ### Context: CREATE TABLE table_name_91 (wins INTEGER, losses VARCHAR, games VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_91 WHERE games < 3 AND manager = "george scherger" AND losses < 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: When was the golden slipper race? ### Context: CREATE TABLE table_name_53 (date VARCHAR, race VARCHAR) [/INST] ### Response: SELECT date FROM table_name_53 WHERE race = "golden slipper" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which races did the jockey weigh less than 55.5 kg? ### Context: CREATE TABLE table_name_78 (race VARCHAR, weight__kg_ INTEGER) [/INST] ### Response: SELECT race FROM table_name_78 WHERE weight__kg_ < 55.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 result of the Todman stakes race at rosehill? ### Context: CREATE TABLE table_name_28 (result VARCHAR, venue VARCHAR, race VARCHAR) [/INST] ### Response: SELECT result FROM table_name_28 WHERE venue = "rosehill" AND race = "todman stakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Country has Player Ky Laffoon? ### Context: CREATE TABLE table_name_80 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_80 WHERE player = "ky laffoon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is from the Country United States and Money ($) of 356? ### Context: CREATE TABLE table_name_24 (player VARCHAR, country VARCHAR, money___$__ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_24 WHERE country = "united states" AND money___$__ = 356 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player has a To par of +1 and the Score 75-70-71-73=289? ### Context: CREATE TABLE table_name_10 (player VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_10 WHERE to_par = "+1" AND score = 75 - 70 - 71 - 73 = 289 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome for the Rome 2, Italy tournament? ### Context: CREATE TABLE table_name_73 (outcome VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_73 WHERE tournament = "rome 2, italy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome of the match opponents in the final of Marius Călugăru Ciprian Petre Porumb? ### Context: CREATE TABLE table_name_38 (outcome VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_38 WHERE opponents_in_the_final = "marius călugăru ciprian petre porumb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 golds have a Total of 11, and a Bronze smaller than 3? ### Context: CREATE TABLE table_name_81 (gold INTEGER, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_81 WHERE total = 11 AND bronze < 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many golds have a Bronze of 0, a Total larger than 1, a Nation of chad, and a Silver larger than 0? ### Context: CREATE TABLE table_name_34 (gold INTEGER, silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_34 WHERE bronze = 0 AND total > 1 AND nation = "chad" AND silver > 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 smallest silver with a Gold of 1, and a Nation of lithuania? ### Context: CREATE TABLE table_name_7 (silver INTEGER, gold VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT MIN(silver) FROM table_name_7 WHERE gold = 1 AND nation = "lithuania" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total bronze with a Gold larger than 1, a Rank of 2, and a Silver smaller than 12? ### Context: CREATE TABLE table_name_62 (bronze VARCHAR, silver VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_62 WHERE gold > 1 AND rank = 2 AND silver < 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: Which Visiting Team is on december 23? ### Context: CREATE TABLE table_name_59 (visiting_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visiting_team FROM table_name_59 WHERE date = "december 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Host Team has Final Score of 42-23? ### Context: CREATE TABLE table_name_86 (host_team VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT host_team FROM table_name_86 WHERE final_score = "42-23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Final Score of 31-7 happen? ### Context: CREATE TABLE table_name_64 (date VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_64 WHERE final_score = "31-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 Tournament in 2010 also has Grand Slam tournaments in 2011 ### Context: CREATE TABLE table_name_74 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_74 WHERE 2011 = "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 was the average attendance when the New York Mets were opponents with a record of 51-33? ### Context: CREATE TABLE table_name_81 (attendance INTEGER, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_81 WHERE opponent = "new york mets" AND record = "51-33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team played on October 18? ### Context: CREATE TABLE table_name_36 (visiting_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visiting_team FROM table_name_36 WHERE date = "october 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 visiting team played at 3com park on October 7? ### Context: CREATE TABLE table_name_49 (visiting_team VARCHAR, stadium VARCHAR, date VARCHAR) [/INST] ### Response: SELECT visiting_team FROM table_name_49 WHERE stadium = "3com park" AND date = "october 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 host team won on a final scoreline of 13-10? ### Context: CREATE TABLE table_name_55 (host_team VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT host_team FROM table_name_55 WHERE final_score = "13-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: In what stadium did a game result in a final scoreline reading 27-34? ### Context: CREATE TABLE table_name_30 (stadium VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_30 WHERE final_score = "27-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: In the game in which the Jacksonville Jaguars were hosts, what was the name of the visiting team? ### Context: CREATE TABLE table_name_92 (visiting_team VARCHAR, host_team VARCHAR) [/INST] ### Response: SELECT visiting_team FROM table_name_92 WHERE host_team = "jacksonville jaguars" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 visiting team wound up with a final score of 18-40? ### Context: CREATE TABLE table_name_77 (visiting_team VARCHAR, final_score VARCHAR) [/INST] ### Response: SELECT visiting_team FROM table_name_77 WHERE final_score = "18-40" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sum of attendacne for 16 weeks ### Context: CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_30 WHERE week = 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: Name the result for week less than 7 and game sites of los angeles memorial coliseum ### Context: CREATE TABLE table_name_25 (result VARCHAR, week VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT result FROM table_name_25 WHERE week < 7 AND game_site = "los angeles memorial coliseum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result for week 7 ### Context: CREATE TABLE table_name_14 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_14 WHERE week = 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 yards lost by the player with more gained than 51 and average/g of 3.6? ### Context: CREATE TABLE table_name_97 (loss VARCHAR, avg_g VARCHAR, gain VARCHAR) [/INST] ### Response: SELECT COUNT(loss) FROM table_name_97 WHERE avg_g = "3.6" AND gain > 51 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the gains for the player with average of 26.8 and lost yard fewer than 13? ### Context: CREATE TABLE table_name_43 (gain INTEGER, avg_g VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT SUM(gain) FROM table_name_43 WHERE avg_g = "26.8" AND loss < 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: When did Mathieu play against Flavio Cipolla? ### Context: CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_60 WHERE opponent_in_the_final = "flavio cipolla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament had a final score of 6–3, 6–2? ### Context: CREATE TABLE table_name_65 (tournament VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_65 WHERE score_in_the_final = "6–3, 6–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: On which surface did Mathieu play against Antonio Veić? ### Context: CREATE TABLE table_name_84 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_84 WHERE opponent_in_the_final = "antonio veić" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Mathieu play against Antonio Veić? ### Context: CREATE TABLE table_name_60 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_60 WHERE opponent_in_the_final = "antonio veić" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Mathieu play against Andrey Golubev? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE opponent_in_the_final = "andrey golubev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 park opened in 1999? ### Context: CREATE TABLE table_name_48 (park VARCHAR, opened VARCHAR) [/INST] ### Response: SELECT park FROM table_name_48 WHERE opened = "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: Name the record for detroit and decision of denis ### Context: CREATE TABLE table_name_39 (record VARCHAR, home VARCHAR, decision VARCHAR) [/INST] ### Response: SELECT record FROM table_name_39 WHERE home = "detroit" AND decision = "denis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with dallas visitor ### Context: CREATE TABLE table_name_78 (attendance INTEGER, visitor VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_78 WHERE visitor = "dallas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 close to par was Tom Kite when he played? ### Context: CREATE TABLE table_name_29 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_29 WHERE player = "tom kite" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the countries showed a score of 71-72=143? ### Context: CREATE TABLE table_name_8 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_8 WHERE score = 71 - 72 = 143 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country watch Tom Watson at t9 score 72-72=144? ### Context: CREATE TABLE table_name_44 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_44 WHERE place = "t9" AND score = 72 - 72 = 144 AND player = "tom watson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score when the player was an e to par? ### Context: CREATE TABLE table_name_97 (score VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE to_par = "e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the team that has 307 attempts? ### Context: CREATE TABLE table_name_7 (team VARCHAR, attempts VARCHAR) [/INST] ### Response: SELECT team FROM table_name_7 WHERE attempts = "307" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the team that has 1,317 attempts? ### Context: CREATE TABLE table_name_8 (team VARCHAR, attempts VARCHAR) [/INST] ### Response: SELECT team FROM table_name_8 WHERE attempts = "1,317" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2,242 yards achieved? ### Context: CREATE TABLE table_name_68 (year VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT year FROM table_name_68 WHERE yards = "2,242" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a 59.8% completion rate? ### Context: CREATE TABLE table_name_16 (team VARCHAR, completion__percentage VARCHAR) [/INST] ### Response: SELECT team FROM table_name_16 WHERE completion__percentage = "59.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: Which year has has a Engine of maserati straight-6? ### Context: CREATE TABLE table_name_31 (year VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_31 WHERE engine = "maserati straight-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Point of Chassis of Lancia d50 in 1954 ### Context: CREATE TABLE table_name_91 (points VARCHAR, chassis VARCHAR, year VARCHAR) [/INST] ### Response: SELECT points FROM table_name_91 WHERE chassis = "lancia d50" AND year = 1954 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match total for a score over 299 and under 412 innings? ### Context: CREATE TABLE table_name_26 (matches INTEGER, high_score VARCHAR, innings VARCHAR) [/INST] ### Response: SELECT SUM(matches) FROM table_name_26 WHERE high_score = "299" AND innings < 412 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high run total associated with a high score of 385 and under 407 innings? ### Context: CREATE TABLE table_name_96 (runs INTEGER, high_score VARCHAR, innings VARCHAR) [/INST] ### Response: SELECT MAX(runs) FROM table_name_96 WHERE high_score = "385" AND innings < 407 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Team 1 has union douala as Team 2? ### Context: CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game that had a loss of Cerutti (0-1)? ### Context: CREATE TABLE table_name_91 (score VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT score FROM table_name_91 WHERE loss = "cerutti (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: Who was the opponent at the game that had a record of 93-54? ### Context: CREATE TABLE table_name_73 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_73 WHERE record = "93-54" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par for 156 strokes? ### Context: CREATE TABLE table_name_37 (to_par VARCHAR, total INTEGER) [/INST] ### Response: SELECT COUNT(to_par) FROM table_name_37 WHERE total > 156 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 strokes for arnold palmer with a to par of greater than 9? ### Context: CREATE TABLE table_name_69 (total INTEGER, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_69 WHERE to_par > 9 AND player = "arnold palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score to par in 1960? ### Context: CREATE TABLE table_name_74 (to_par VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_74 WHERE year_s__won = "1960" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest first game for a rugby team that has 7 lost games and 0 draws? ### Context: CREATE TABLE table_name_78 (first_game INTEGER, lost VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT MIN(first_game) FROM table_name_78 WHERE lost = 7 AND drawn < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many games were played by a team that won 0.00% of their games and 0 draws? ### Context: CREATE TABLE table_name_55 (played INTEGER, percentage VARCHAR, drawn VARCHAR) [/INST] ### Response: SELECT SUM(played) FROM table_name_55 WHERE percentage = "0.00%" AND drawn < 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: Name the 1st match for brisbane bears ### Context: CREATE TABLE table_name_61 (team VARCHAR) [/INST] ### Response: SELECT 1 AS st_match FROM table_name_61 WHERE team = "brisbane bears" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost for matches of 1 928 ### Context: CREATE TABLE table_name_66 (lost VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_66 WHERE matches = "1 928" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost for % won of 55.37 ### Context: CREATE TABLE table_name_64 (lost VARCHAR, _percentage_won VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_64 WHERE _percentage_won = "55.37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matches for gold coast ### Context: CREATE TABLE table_name_11 (matches VARCHAR, team VARCHAR) [/INST] ### Response: SELECT matches FROM table_name_11 WHERE team = "gold coast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lost for % won of 55.37 ### Context: CREATE TABLE table_name_46 (lost VARCHAR, _percentage_won VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_46 WHERE _percentage_won = "55.37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the year when cable was 4.6%? ### Context: CREATE TABLE table_name_99 (year VARCHAR, cable VARCHAR) [/INST] ### Response: SELECT year FROM table_name_99 WHERE cable = "4.6%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the other for 2012? ### Context: CREATE TABLE table_name_54 (other VARCHAR, year VARCHAR) [/INST] ### Response: SELECT other FROM table_name_54 WHERE year = "2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the xDSL for the other of 0.6% and FTTx of 35.4%? ### Context: CREATE TABLE table_name_1 (xdsl VARCHAR, other VARCHAR, fttx VARCHAR) [/INST] ### Response: SELECT xdsl FROM table_name_1 WHERE other = "0.6%" AND fttx = "35.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 other for a 78.2% xDSL? ### Context: CREATE TABLE table_name_15 (other VARCHAR, xdsl VARCHAR) [/INST] ### Response: SELECT other FROM table_name_15 WHERE xdsl = "78.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 xDSL in 2010 when the other was 0.6%? ### Context: CREATE TABLE table_name_55 (xdsl VARCHAR, other VARCHAR, year VARCHAR) [/INST] ### Response: SELECT xdsl FROM table_name_55 WHERE other = "0.6%" AND year = "2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date has a Result of won, and a Score of 1-0? ### Context: CREATE TABLE table_name_23 (date VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_23 WHERE result = "won" AND score = "1-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which result has a Date of november 2, 2007? ### Context: CREATE TABLE table_name_86 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_86 WHERE date = "november 2, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Score of 2-0? ### Context: CREATE TABLE table_name_7 (competition VARCHAR, score VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_7 WHERE 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: Which Venue has a Date of january 9, 2011? ### Context: CREATE TABLE table_name_51 (venue VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_51 WHERE date = "january 9, 2011" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 termination of mission date of the representative with a presentation of credentials date on July 4, 1898? ### Context: CREATE TABLE table_name_58 (termination_of_mission VARCHAR, presentation_of_credentials VARCHAR) [/INST] ### Response: SELECT termination_of_mission FROM table_name_58 WHERE presentation_of_credentials = "july 4, 1898" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 presentation of credentials date of raúl h. castro, who has a title of ambassador extraordinary and plenipotentiary? ### Context: CREATE TABLE table_name_7 (presentation_of_credentials VARCHAR, title VARCHAR, representative VARCHAR) [/INST] ### Response: SELECT presentation_of_credentials FROM table_name_7 WHERE title = "ambassador extraordinary and plenipotentiary" AND representative = "raúl h. castro" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 representative with a presentation of credentials date on February 23, 1854? ### Context: CREATE TABLE table_name_32 (representative VARCHAR, presentation_of_credentials VARCHAR) [/INST] ### Response: SELECT representative FROM table_name_32 WHERE presentation_of_credentials = "february 23, 1854" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the representative appointed by James K. Polk? ### Context: CREATE TABLE table_name_52 (title VARCHAR, appointed_by VARCHAR) [/INST] ### Response: SELECT title FROM table_name_52 WHERE appointed_by = "james k. polk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 termination of mission date of the representative appointed by Franklin Pierce with a title of chargé d'affaires? ### Context: CREATE TABLE table_name_37 (termination_of_mission VARCHAR, appointed_by VARCHAR, title VARCHAR) [/INST] ### Response: SELECT termination_of_mission FROM table_name_37 WHERE appointed_by = "franklin pierce" AND title = "chargé d'affaires" </s>