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 career SR when 1985 is Grand Slams? ### Context: CREATE TABLE table_name_16 (career_sr VARCHAR) [/INST] ### Response: SELECT career_sr FROM table_name_16 WHERE 1985 = "grand slams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Name has a Date of 11 june 1940? ### Context: CREATE TABLE table_name_95 (name VARCHAR, date VARCHAR) [/INST] ### Response: SELECT name FROM table_name_95 WHERE date = "11 june 1940" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Fate of sunk (mine), and a Tonnage (GRT) smaller than 2,266? ### Context: CREATE TABLE table_name_80 (nationality VARCHAR, fate VARCHAR, tonnage__grt_ VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_80 WHERE fate = "sunk (mine)" AND tonnage__grt_ < 2 OFFSET 266 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tonnage (GRT) is the highest one that has a Date of 16 june 1940? ### Context: CREATE TABLE table_name_52 (tonnage__grt_ INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(tonnage__grt_) FROM table_name_52 WHERE date = "16 june 1940" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nationality has a Name of assyrian? ### Context: CREATE TABLE table_name_86 (nationality VARCHAR, name VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_86 WHERE name = "assyrian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time for the bike (40km) when the swim (1.5km) is 19:56? ### Context: CREATE TABLE table_name_38 (bike__40km_ VARCHAR, swim__15km_ VARCHAR) [/INST] ### Response: SELECT bike__40km_ FROM table_name_38 WHERE swim__15km_ = "19:56" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a swim (1.5km) of 18:55 and a run (10km) of 32:37, what is the trans 2? ### Context: CREATE TABLE table_name_76 (trans_2 VARCHAR, swim__15km_ VARCHAR, run__10km_ VARCHAR) [/INST] ### Response: SELECT trans_2 FROM table_name_76 WHERE swim__15km_ = "18:55" AND run__10km_ = "32: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: Daniela Ryf who competes in the women's even had what swim (1.5km)? ### Context: CREATE TABLE table_name_6 (swim__15km_ VARCHAR, event VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT swim__15km_ FROM table_name_6 WHERE event = "women's" AND athlete = "daniela ryf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the triathlon with a bike (40km) of 58:20 what is the total time? ### Context: CREATE TABLE table_name_21 (total_time VARCHAR, bike__40km_ VARCHAR) [/INST] ### Response: SELECT total_time FROM table_name_21 WHERE bike__40km_ = "58: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: How long did the trans 1 take when 2:00:40.20 is the total time? ### Context: CREATE TABLE table_name_28 (trans_1 VARCHAR, total_time VARCHAR) [/INST] ### Response: SELECT trans_1 FROM table_name_28 WHERE total_time = "2:00:40.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: Can you tell me the Record that has the Team of minnesota? ### Context: CREATE TABLE table_name_91 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_name_91 WHERE team = "minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the Score that has the Team of memphis? ### Context: CREATE TABLE table_name_89 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_89 WHERE team = "memphis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a date of Aldershot and Aldershot as the away team what was the score of the game? ### Context: CREATE TABLE table_name_27 (score VARCHAR, away_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_27 WHERE away_team = "aldershot" AND date = "aldershot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the game when West Ham United was the away team? ### Context: CREATE TABLE table_name_84 (score VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_84 WHERE away_team = "west ham 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: With Sheffield United as the away team and the date, what home team has a tie no of 15? ### Context: CREATE TABLE table_name_27 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_27 WHERE tie_no = "15" AND away_team = "sheffield united" AND date = "sheffield 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: Who was the home team when Sheffield United was the away team and the date was also Sheffield United? ### Context: CREATE TABLE table_name_39 (home_team VARCHAR, away_team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_39 WHERE away_team = "sheffield united" AND date = "sheffield 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 tie no has Watford as the date? ### Context: CREATE TABLE table_name_92 (tie_no VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_92 WHERE date = "watford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Place of t9, and a Score of 71-71-72=214, and a Player of ernie els? ### Context: CREATE TABLE table_name_95 (country VARCHAR, player VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_95 WHERE place = "t9" AND score = 71 - 71 - 72 = 214 AND player = "ernie els" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a To par of –13? ### Context: CREATE TABLE table_name_12 (country VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT country FROM table_name_12 WHERE to_par = "–13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Player has a Score of 72-69-73=214? ### Context: CREATE TABLE table_name_71 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_71 WHERE score = 72 - 69 - 73 = 214 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has a To par of –4, and a Player of duffy waldorf? ### Context: CREATE TABLE table_name_30 (score VARCHAR, to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE to_par = "–4" AND player = "duffy waldorf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Score of 79-68-74=212? ### Context: CREATE TABLE table_name_49 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_49 WHERE score = 79 - 68 - 74 = 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 To par has a Country of united states, and a Player of duffy waldorf? ### Context: CREATE TABLE table_name_22 (to_par VARCHAR, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_22 WHERE country = "united states" AND player = "duffy waldorf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent In Final, when Surface is Hard, when Location is Wellington, New Zealand, and when Date is 6 February 2000? ### Context: CREATE TABLE table_name_72 (opponent_in_final VARCHAR, date VARCHAR, surface VARCHAR, location VARCHAR) [/INST] ### Response: SELECT opponent_in_final FROM table_name_72 WHERE surface = "hard" AND location = "wellington, new zealand" AND date = "6 february 2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface, when Date is 2 May 1999? ### Context: CREATE TABLE table_name_85 (surface VARCHAR, date VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_85 WHERE date = "2 may 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 is the 2nd leg when team #1 is Rubin Kazan? ### Context: CREATE TABLE table_name_44 (team__number1 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_44 WHERE team__number1 = "rubin kazan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 agg when team #2 is 2006 UEFA Intertoto Cup? ### Context: CREATE TABLE table_name_24 (agg VARCHAR, team__number2 VARCHAR) [/INST] ### Response: SELECT agg FROM table_name_24 WHERE team__number2 = "2006 uefa intertoto cup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 market value in billions of the company with profits of 20.96 billions and 166.99 billions in assets? ### Context: CREATE TABLE table_name_79 (market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) [/INST] ### Response: SELECT MAX(market_value__billion_) AS $_ FROM table_name_79 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ > 166.99 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total market value in billions of the company with 20.96 billion in profits and less than 166.99 billions in assets? ### Context: CREATE TABLE table_name_34 (market_value__billion_ VARCHAR, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR) [/INST] ### Response: SELECT COUNT(market_value__billion_) AS $_ FROM table_name_34 WHERE profits__billion_$_ = 20.96 AND assets__billion_$_ < 166.99 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average assets in billions of the company Bank of America, which has less than 49.01 billions in sales? ### Context: CREATE TABLE table_name_70 (assets__billion_ INTEGER, company VARCHAR, sales__billion_$_ VARCHAR) [/INST] ### Response: SELECT AVG(assets__billion_) AS $_ FROM table_name_70 WHERE company = "bank of america" AND sales__billion_$_ < 49.01 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest profits in billions of the company headquartered in the USA with a market value of 194.87 billions and less than 76.66 billions in sales? ### Context: CREATE TABLE table_name_87 (profits__billion_ INTEGER, sales__billion_$_ VARCHAR, headquarters VARCHAR, market_value__billion_$_ VARCHAR) [/INST] ### Response: SELECT MAX(profits__billion_) AS $_ FROM table_name_87 WHERE headquarters = "usa" AND market_value__billion_$_ = 194.87 AND sales__billion_$_ < 76.66 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Total has a Nation of japan, and a Silver larger than 2? ### Context: CREATE TABLE table_name_55 (total INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_55 WHERE nation = "japan" AND silver > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Nation has a Gold larger than 0, and a Total larger than 4, and a Rank of 6? ### Context: CREATE TABLE table_name_74 (nation VARCHAR, rank VARCHAR, gold VARCHAR, total VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_74 WHERE gold > 0 AND total > 4 AND rank = "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: Which Silver has a Rank of 1, and a Total smaller than 11? ### Context: CREATE TABLE table_name_80 (silver INTEGER, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT SUM(silver) FROM table_name_80 WHERE rank = "1" AND total < 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 Total has a Nation of united states, and a Bronze larger than 3? ### Context: CREATE TABLE table_name_4 (total INTEGER, nation VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_name_4 WHERE nation = "united states" 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: Where did jamie cox & daniel marsh play against queensland? ### Context: CREATE TABLE table_name_71 (venue VARCHAR, opponent VARCHAR, batsmen VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_71 WHERE opponent = "queensland" AND batsmen = "jamie cox & daniel marsh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were jamie cox & scott kremerskothen paired? ### Context: CREATE TABLE table_name_24 (venue VARCHAR, batsmen VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_24 WHERE batsmen = "jamie cox & scott kremerskothen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the batsmen paired for wicket 7? ### Context: CREATE TABLE table_name_83 (batsmen VARCHAR, wicket VARCHAR) [/INST] ### Response: SELECT batsmen FROM table_name_83 WHERE wicket = "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 runs did they get against new south wales in 2002/03? ### Context: CREATE TABLE table_name_13 (runs VARCHAR, opponent VARCHAR, season VARCHAR) [/INST] ### Response: SELECT runs FROM table_name_13 WHERE opponent = "new south wales" AND season = "2002/03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season did they play queensland at wicket 4? ### Context: CREATE TABLE table_name_81 (season VARCHAR, opponent VARCHAR, wicket VARCHAR) [/INST] ### Response: SELECT season FROM table_name_81 WHERE opponent = "queensland" AND wicket = "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 was the Peak Position on July 11, 2001? ### Context: CREATE TABLE table_name_12 (peak_position VARCHAR, date VARCHAR) [/INST] ### Response: SELECT peak_position FROM table_name_12 WHERE date = "july 11, 2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 December 12, 2001, how many weeks had the single been in its position? ### Context: CREATE TABLE table_name_18 (weeks VARCHAR, date VARCHAR) [/INST] ### Response: SELECT weeks FROM table_name_18 WHERE date = "december 12, 2001" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of the Team Purdue? ### Context: CREATE TABLE table_name_73 (nationality VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_73 WHERE school_club_team = "purdue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of the Team Georgia Tech? ### Context: CREATE TABLE table_name_47 (nationality VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_47 WHERE school_club_team = "georgia tech" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality of the forward position on the Grizzlies in 2011? ### Context: CREATE TABLE table_name_60 (nationality VARCHAR, position VARCHAR, years_for_grizzlies VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_60 WHERE position = "forward" AND years_for_grizzlies = "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: Who was the runner-up at the event held in Tartu, Estonia? ### Context: CREATE TABLE table_name_53 (runner_up VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_53 WHERE venue = "tartu, estonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the event held in Tartu, Estonia, what is the name of the runner-up? ### Context: CREATE TABLE table_name_90 (runner_up VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_90 WHERE venue = "tartu, estonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 took third place in 2012? ### Context: CREATE TABLE table_name_82 (third_place VARCHAR, year VARCHAR) [/INST] ### Response: SELECT third_place FROM table_name_82 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: In what year was this event held in Oslo, Norway? ### Context: CREATE TABLE table_name_13 (year VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT year FROM table_name_13 WHERE venue = "oslo, norway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head of government for Don Stephen Senanayake? ### Context: CREATE TABLE table_name_77 (head_s__of_government VARCHAR, name VARCHAR) [/INST] ### Response: SELECT head_s__of_government FROM table_name_77 WHERE name = "don stephen senanayake" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is in 14th position? ### Context: CREATE TABLE table_name_20 (team VARCHAR, pos VARCHAR) [/INST] ### Response: SELECT team FROM table_name_20 WHERE pos = "14th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd Leg, when Team #2 is "San Lorenzo"? ### Context: CREATE TABLE table_name_96 (team__number2 VARCHAR) [/INST] ### Response: SELECT 2 AS nd_leg FROM table_name_96 WHERE team__number2 = "san lorenzo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Clock Speed has a FSB Speed of 400 mhz, and a Model Number of c7-m 794? ### Context: CREATE TABLE table_name_63 (clock_speed VARCHAR, fsb_speed VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT clock_speed FROM table_name_63 WHERE fsb_speed = "400 mhz" AND model_number = "c7-m 794" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Socket has a FSB Speed of 400 mhz, and a Voltage Range of 1.004 v? ### Context: CREATE TABLE table_name_16 (socket VARCHAR, fsb_speed VARCHAR, voltage_range VARCHAR) [/INST] ### Response: SELECT socket FROM table_name_16 WHERE fsb_speed = "400 mhz" AND voltage_range = "1.004 v" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Clock Multiplier has a Clock Speed of 1.6 ghz, and a Model Number of c7-m 764? ### Context: CREATE TABLE table_name_69 (clock_multiplier VARCHAR, clock_speed VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT clock_multiplier FROM table_name_69 WHERE clock_speed = "1.6 ghz" AND model_number = "c7-m 764" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FSB Speed has a Model Number of c7-m 765? ### Context: CREATE TABLE table_name_46 (fsb_speed VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT fsb_speed FROM table_name_46 WHERE model_number = "c7-m 765" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Clock Multiplier has a Model Number of c7-m 764? ### Context: CREATE TABLE table_name_23 (clock_multiplier VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT clock_multiplier FROM table_name_23 WHERE model_number = "c7-m 764" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Release Date has a Voltage Range of 1.148 v - 1.196 v? ### Context: CREATE TABLE table_name_34 (release_date VARCHAR, voltage_range VARCHAR) [/INST] ### Response: SELECT release_date FROM table_name_34 WHERE voltage_range = "1.148 v - 1.196 v" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the players that placed t2? ### Context: CREATE TABLE table_name_33 (player VARCHAR, place VARCHAR) [/INST] ### Response: SELECT player FROM table_name_33 WHERE place = "t2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country is Lee Trevino from? ### Context: CREATE TABLE table_name_97 (country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT country FROM table_name_97 WHERE player = "lee trevino" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player(s) is from South Africa? ### Context: CREATE TABLE table_name_76 (player VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_76 WHERE country = "south africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the record when the year is after 1992, manager is tom kotchman and finish is 2nd? ### Context: CREATE TABLE table_name_51 (record VARCHAR, finish VARCHAR, year VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT record FROM table_name_51 WHERE year > 1992 AND manager = "tom kotchman" AND finish = "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 is the finish when the manager is tom kotchman and record is 43-33? ### Context: CREATE TABLE table_name_82 (finish VARCHAR, manager VARCHAR, record VARCHAR) [/INST] ### Response: SELECT finish FROM table_name_82 WHERE manager = "tom kotchman" AND record = "43-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 is the finish when the manager is tom kotchman and the record is 40-36? ### Context: CREATE TABLE table_name_50 (finish VARCHAR, manager VARCHAR, record VARCHAR) [/INST] ### Response: SELECT finish FROM table_name_50 WHERE manager = "tom kotchman" AND record = "40-36" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manager when the year is before 1994 and finish is 5th? ### Context: CREATE TABLE table_name_6 (manager VARCHAR, year VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT manager FROM table_name_6 WHERE year < 1994 AND finish = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the record when the year is 2011? ### Context: CREATE TABLE table_name_45 (record VARCHAR, year VARCHAR) [/INST] ### Response: SELECT record FROM table_name_45 WHERE year = 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 Player, when Total is "294", and when Year(s) Won is "1955"? ### Context: CREATE TABLE table_name_61 (player VARCHAR, total VARCHAR, year_s__won VARCHAR) [/INST] ### Response: SELECT player FROM table_name_61 WHERE total = 294 AND year_s__won = "1955" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Player, when To Par is less than 14? ### Context: CREATE TABLE table_name_28 (player VARCHAR, to_par INTEGER) [/INST] ### Response: SELECT player FROM table_name_28 WHERE to_par < 14 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is To Par, when Player is "Tommy Bolt"? ### Context: CREATE TABLE table_name_55 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_55 WHERE player = "tommy bolt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Total, when Player is "Tommy Bolt"? ### Context: CREATE TABLE table_name_4 (total INTEGER, player VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_4 WHERE player = "tommy bolt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Total, when To Par is "7"? ### Context: CREATE TABLE table_name_50 (total VARCHAR, to_par VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_50 WHERE to_par = 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 award was won when the nomination was Senses Around? ### Context: CREATE TABLE table_name_77 (award VARCHAR, result VARCHAR, nomination VARCHAR) [/INST] ### Response: SELECT award FROM table_name_77 WHERE result = "won" AND nomination = "senses around" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nomination in a year earlier than 2009? ### Context: CREATE TABLE table_name_43 (nomination VARCHAR, year INTEGER) [/INST] ### Response: SELECT nomination FROM table_name_43 WHERE year < 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which award is for the category Best New Artist? ### Context: CREATE TABLE table_name_55 (award VARCHAR, category VARCHAR) [/INST] ### Response: SELECT award FROM table_name_55 WHERE category = "best new artist" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year with a category of Top 10 Selling Mandarin Albums of the Year? ### Context: CREATE TABLE table_name_53 (year INTEGER, category VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_53 WHERE category = "top 10 selling mandarin albums of the year" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the USAC National Championship, what is the Discipline? ### Context: CREATE TABLE table_name_31 (discipline VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT discipline FROM table_name_31 WHERE championship = "usac national championship" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Indianapolis Sweepstakes race session, what is the championship? ### Context: CREATE TABLE table_name_72 (championship VARCHAR, session VARCHAR, event VARCHAR) [/INST] ### Response: SELECT championship FROM table_name_72 WHERE session = "race" AND event = "indianapolis sweepstakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit is the Sprint Cup series championship? ### Context: CREATE TABLE table_name_29 (circuit VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_29 WHERE championship = "sprint cup series" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the Results for 25,000 Attendance? ### Context: CREATE TABLE table_name_91 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_91 WHERE attendance = "25,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 was the result on 10/06/1934? ### Context: CREATE TABLE table_name_80 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_80 WHERE date = "10/06/1934" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was the team Club of atlético de san juan fc who plays at hiram bithorn stadium founded. ### Context: CREATE TABLE table_name_18 (founded INTEGER, stadium VARCHAR, club VARCHAR) [/INST] ### Response: SELECT SUM(founded) FROM table_name_18 WHERE stadium = "hiram bithorn stadium" AND club = "atlético de san juan fc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Branding of the Iloilo City Frequency with a Power of 10 Kw? ### Context: CREATE TABLE table_name_38 (branding VARCHAR, power VARCHAR, location VARCHAR) [/INST] ### Response: SELECT branding FROM table_name_38 WHERE power = "10 kw" AND location = "iloilo 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 is the Power of the Frequency with a Callsign of DXLL? ### Context: CREATE TABLE table_name_48 (power VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT power FROM table_name_48 WHERE callsign = "dxll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Frequency in Davao City? ### Context: CREATE TABLE table_name_91 (frequency VARCHAR, location VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_91 WHERE location = "davao 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 is the Branding with a Callsign DWLL? ### Context: CREATE TABLE table_name_99 (branding VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT branding FROM table_name_99 WHERE callsign = "dwll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Branding of the Metro Manila Frequency with a Callsign of DWBL? ### Context: CREATE TABLE table_name_19 (branding VARCHAR, location VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT branding FROM table_name_19 WHERE location = "metro manila" AND callsign = "dwbl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location of the Frequency with a Callsign of DXBL? ### Context: CREATE TABLE table_name_89 (location VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT location FROM table_name_89 WHERE callsign = "dxbl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name in a year after 1997 has a longitude of 213.0e? ### Context: CREATE TABLE table_name_91 (name VARCHAR, year_named VARCHAR, longitude VARCHAR) [/INST] ### Response: SELECT name FROM table_name_91 WHERE year_named > 1997 AND longitude = "213.0e" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years correspond to longitude of 36.8e and diameter greater than 697? ### Context: CREATE TABLE table_name_72 (year_named VARCHAR, longitude VARCHAR, diameter__km_ VARCHAR) [/INST] ### Response: SELECT COUNT(year_named) FROM table_name_72 WHERE longitude = "36.8e" AND diameter__km_ > 697 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pick # for a center picked before round 6? ### Context: CREATE TABLE table_name_87 (pick__number VARCHAR, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT COUNT(pick__number) FROM table_name_87 WHERE position = "center" AND round < 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 team with a seed value greater than 7 has a note that they were an NCRAA champion? ### Context: CREATE TABLE table_name_75 (team VARCHAR, seed VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT team FROM table_name_75 WHERE seed > 7 AND notes = "ncraa champion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ORICON PEAK NUMBER WITH AN ATLANTIC LABEL, SUBHUMAN RACE, LATER THAN 1995? ### Context: CREATE TABLE table_name_72 (oricon_peak VARCHAR, date_of_release VARCHAR, label VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(oricon_peak) FROM table_name_72 WHERE label = "atlantic" AND title = "subhuman race" AND date_of_release > 1995 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 HAD A RELEASE DATE OF 1991? ### Context: CREATE TABLE table_name_80 (label VARCHAR, date_of_release VARCHAR) [/INST] ### Response: SELECT label FROM table_name_80 WHERE date_of_release = 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 IS THE AVERAGE DATE OF RELEASE FOR THICKSKIN? ### Context: CREATE TABLE table_name_33 (date_of_release INTEGER, title VARCHAR) [/INST] ### Response: SELECT AVG(date_of_release) FROM table_name_33 WHERE title = "thickskin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment amount for a year left of 2012 and a current conference of Mid-South? ### Context: CREATE TABLE table_name_17 (enrollment INTEGER, left VARCHAR, current_conference VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_name_17 WHERE left = 2012 AND current_conference = "mid-south" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season was there a game with the score of 1:3 played at the venue of national stadium, maldives? ### Context: CREATE TABLE table_name_40 (season INTEGER, score VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT SUM(season) FROM table_name_40 WHERE score = "1:3" AND venue = "national stadium, maldives" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the venue of the match where the score was 1:3 and team 2 was binh duong? ### Context: CREATE TABLE table_name_61 (venue VARCHAR, score VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_61 WHERE score = "1:3" AND team_2 = "binh duong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team 2 was club valencia? ### Context: CREATE TABLE table_name_70 (score VARCHAR, team_2 VARCHAR) [/INST] ### Response: SELECT score FROM table_name_70 WHERE team_2 = "club valencia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the venue of the match where team 2 was pea and the score was 1:3? ### Context: CREATE TABLE table_name_59 (venue VARCHAR, team_2 VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_59 WHERE team_2 = "pea" AND score = "1: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: In 2011 with a hydroelectricity less than 119.6, what was the solar? ### Context: CREATE TABLE table_name_48 (solar VARCHAR, year VARCHAR, hydroelectricity VARCHAR) [/INST] ### Response: SELECT solar FROM table_name_48 WHERE year = 2011 AND hydroelectricity < 119.6 </s>