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: Which Median family income has a Median household income of $43,125? ### Context: CREATE TABLE table_name_12 (median_family_income VARCHAR, median_household_income VARCHAR) [/INST] ### Response: SELECT median_family_income FROM table_name_12 WHERE median_household_income = "$43,125" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people have a Median household income of $37,759? ### Context: CREATE TABLE table_name_66 (population INTEGER, median_household_income VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_66 WHERE median_household_income = "$37,759" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week had an Attendance smaller than 21,097? ### Context: CREATE TABLE table_name_46 (week VARCHAR, attendance INTEGER) [/INST] ### Response: SELECT COUNT(week) FROM table_name_46 WHERE attendance < 21 OFFSET 097 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Week had an Attendance smaller than 22,333? ### Context: CREATE TABLE table_name_12 (week VARCHAR, attendance INTEGER) [/INST] ### Response: SELECT COUNT(week) FROM table_name_12 WHERE attendance < 22 OFFSET 333 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Municipality of tampere involves which party? ### Context: CREATE TABLE table_name_1 (party VARCHAR, municipality VARCHAR) [/INST] ### Response: SELECT party FROM table_name_1 WHERE municipality = "tampere" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Quotient of 97 350,333 has how many votes? ### Context: CREATE TABLE table_name_45 (votes VARCHAR, quotient VARCHAR) [/INST] ### Response: SELECT votes FROM table_name_45 WHERE quotient = "97 350,333" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Candidate of kimmo kiljunen belongs to which municipality? ### Context: CREATE TABLE table_name_88 (municipality VARCHAR, candidate VARCHAR) [/INST] ### Response: SELECT municipality FROM table_name_88 WHERE candidate = "kimmo kiljunen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Votes of 27,391 has which quotient? ### Context: CREATE TABLE table_name_10 (quotient VARCHAR, votes VARCHAR) [/INST] ### Response: SELECT quotient FROM table_name_10 WHERE votes = "27,391" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Candidate of riikka manner has how many votes? ### Context: CREATE TABLE table_name_41 (votes VARCHAR, candidate VARCHAR) [/INST] ### Response: SELECT votes FROM table_name_41 WHERE candidate = "riikka manner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opposition has a Year smaller than 1911, and a Venue of old trafford? ### Context: CREATE TABLE table_name_51 (opposition VARCHAR, year VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT opposition FROM table_name_51 WHERE year < 1911 AND venue = "old trafford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Year of 1911? ### Context: CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_60 WHERE year = 1911 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opposition has a City of taunton? ### Context: CREATE TABLE table_name_17 (opposition VARCHAR, city VARCHAR) [/INST] ### Response: SELECT opposition FROM table_name_17 WHERE city = "taunton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of Years has a Venue of old trafford, and an Opposition of yorkshire? ### Context: CREATE TABLE table_name_30 (year VARCHAR, venue VARCHAR, opposition VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_name_30 WHERE venue = "old trafford" AND opposition = "yorkshire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match that took place at 6:00 PM with 79,419 in attendance? ### Context: CREATE TABLE table_name_69 (result VARCHAR, time VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_69 WHERE time = "6:00 pm" AND attendance = "79,419" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time was the match that had an attendance of 22,329? ### Context: CREATE TABLE table_name_99 (time VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT time FROM table_name_99 WHERE attendance = "22,329" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 two teams were competing in the match with 103,158 in attendance? ### Context: CREATE TABLE table_name_50 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_50 WHERE attendance = "103,158" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in January that the Rangers played against Chicago Black Hawks? ### Context: CREATE TABLE table_name_92 (january INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT AVG(january) FROM table_name_92 WHERE opponent = "chicago black hawks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the game where the Rangers record was 16-8-4? ### Context: CREATE TABLE table_name_81 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE record = "16-8-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: Which OU career [b] had Position [A] as a forward when there were 56 appearances? ### Context: CREATE TABLE table_name_40 (oxford_united_career_ VARCHAR, b_ VARCHAR, appearances VARCHAR, position_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT oxford_united_career_[b_] FROM table_name_40 WHERE position_[a_] = "forward" AND appearances = 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: Which Score in the final has an Outcome of winner, and a Date of 3 august 2013? ### Context: CREATE TABLE table_name_31 (score_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_31 WHERE outcome = "winner" AND date = "3 august 2013" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Partner has a Date of 8 february 2009? ### Context: CREATE TABLE table_name_57 (partner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_57 WHERE date = "8 february 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 Opponent in the final has a Partner of dustin brown? ### Context: CREATE TABLE table_name_38 (opponent_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_38 WHERE partner = "dustin brown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score in the final has a Surface of clay, and a Partner of martin emmrich? ### Context: CREATE TABLE table_name_62 (score_in_the_final VARCHAR, surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_62 WHERE surface = "clay" AND partner = "martin emmrich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Surface has a Partner of oliver marach? ### Context: CREATE TABLE table_name_82 (surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_82 WHERE partner = "oliver marach" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 call sign for the frequency of 0 105.7 fm? ### Context: CREATE TABLE table_name_67 (call_sign VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_67 WHERE frequency = "0 105.7 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 owner with a frequency of 0 101.1 fm? ### Context: CREATE TABLE table_name_58 (owner VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT owner FROM table_name_58 WHERE frequency = "0 101.1 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city of license has the Kyli call sign? ### Context: CREATE TABLE table_name_98 (city_of_license VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_98 WHERE call_sign = "kyli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format for Cherry Creek Radio with frequency of 0 92.1 fm? ### Context: CREATE TABLE table_name_11 (format VARCHAR, owner VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT format FROM table_name_11 WHERE owner = "cherry creek radio" AND frequency = "0 92.1 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 format is in St. George with a frequency of 0 107.3 fm? ### Context: CREATE TABLE table_name_31 (format VARCHAR, city_of_license VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT format FROM table_name_31 WHERE city_of_license = "st. george" AND frequency = "0 107.3 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city of license has the Kyli call sign? ### Context: CREATE TABLE table_name_20 (city_of_license VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_20 WHERE call_sign = "kyli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Party of republican, and a District of 7th is what elected? ### Context: CREATE TABLE table_name_81 (elected VARCHAR, party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT elected FROM table_name_81 WHERE party = "republican" AND district = "7th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Party of republican, and a District of 5th is what highest elected? ### Context: CREATE TABLE table_name_39 (elected INTEGER, party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT MAX(elected) FROM table_name_39 WHERE party = "republican" AND district = "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: Elected smaller than 2001, and a District of 83rd has what status? ### Context: CREATE TABLE table_name_77 (status VARCHAR, elected VARCHAR, district VARCHAR) [/INST] ### Response: SELECT status FROM table_name_77 WHERE elected < 2001 AND district = "83rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Status of reelected, and a Incumbent of danny marshall iii is what highest elected? ### Context: CREATE TABLE table_name_75 (elected INTEGER, status VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT MAX(elected) FROM table_name_75 WHERE status = "reelected" AND incumbent = "danny marshall iii" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When has a Score of 6–3, 6–4? ### Context: CREATE TABLE table_name_39 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_39 WHERE score = "6–3, 6–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: WHich Score has marcelo filippini mark koevermans? ### Context: CREATE TABLE table_name_18 (score VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_18 WHERE opponents_in_the_final = "marcelo filippini mark koevermans" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Partnering of diego pérez and a Opponents in the final of christer allgardh carl limberger? ### Context: CREATE TABLE table_name_39 (tournament VARCHAR, partnering VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_39 WHERE partnering = "diego pérez" AND opponents_in_the_final = "christer allgardh carl limberger" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponents in the final has a Partnering of tomás carbonell on march 28, 1995? ### Context: CREATE TABLE table_name_18 (opponents_in_the_final VARCHAR, partnering VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_18 WHERE partnering = "tomás carbonell" AND date = "march 28, 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 is the Score of an Opponent\ in the final of jordi arrese àlex corretja? ### Context: CREATE TABLE table_name_25 (score VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_25 WHERE opponents_in_the_final = "jordi arrese àlex corretja" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place in t9 and a Country of Spain? ### Context: CREATE TABLE table_name_55 (to_par VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_55 WHERE place = "t9" AND country = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Place in 8? ### Context: CREATE TABLE table_name_68 (to_par VARCHAR, place VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_68 WHERE place = "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: WHo is Player that has a Place of t9 in united states? ### Context: CREATE TABLE table_name_74 (player VARCHAR, place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_74 WHERE place = "t9" AND country = "united states" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W has a 95.1 MHZ frequency? ### Context: CREATE TABLE table_name_62 (erp_w VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT erp_w FROM table_name_62 WHERE frequency_mhz = 95.1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What call sign is licensed in soledad, california? ### Context: CREATE TABLE table_name_65 (call_sign VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT call_sign FROM table_name_65 WHERE city_of_license = "soledad, california" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MHZ frequency in carmel, california with an ERP W over 10? ### Context: CREATE TABLE table_name_53 (frequency_mhz INTEGER, city_of_license VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT AVG(frequency_mhz) FROM table_name_53 WHERE city_of_license = "carmel, california" AND erp_w > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What class has a MHZ frequency under 103.1 licensed in morro bay, california? ### Context: CREATE TABLE table_name_4 (class VARCHAR, frequency_mhz VARCHAR, city_of_license VARCHAR) [/INST] ### Response: SELECT class FROM table_name_4 WHERE frequency_mhz < 103.1 AND city_of_license = "morro bay, california" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 averages have recs smaller than 26, and a Player of reggie brown, and a Long smaller than 40? ### Context: CREATE TABLE table_name_45 (avg VARCHAR, long VARCHAR, rec VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(avg) FROM table_name_45 WHERE rec < 26 AND player = "reggie brown" AND long < 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: Which Yards has an Avg larger than 7, and a Long smaller than 60, and a Rec larger than 19, and a Player of correll buckhalter? ### Context: CREATE TABLE table_name_90 (yards INTEGER, player VARCHAR, rec VARCHAR, avg VARCHAR, long VARCHAR) [/INST] ### Response: SELECT AVG(yards) FROM table_name_90 WHERE avg > 7 AND long < 60 AND rec > 19 AND player = "correll buckhalter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Yards have an avg of 11.8, and a Player of brent celek, and a Long larger than 44? ### Context: CREATE TABLE table_name_2 (yards INTEGER, long VARCHAR, avg VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(yards) FROM table_name_2 WHERE avg = 11.8 AND player = "brent celek" AND long > 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Yards is the highest one that has a Rec smaller than 54, and a Long smaller than 5, and a Player of todd herremans, and an Avg larger than 1? ### Context: CREATE TABLE table_name_51 (yards INTEGER, avg VARCHAR, player VARCHAR, rec VARCHAR, long VARCHAR) [/INST] ### Response: SELECT MAX(yards) FROM table_name_51 WHERE rec < 54 AND long < 5 AND player = "todd herremans" AND avg > 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the high rebounds with a record that is 18-14? ### Context: CREATE TABLE table_name_44 (high_rebounds VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_44 WHERE record = "18-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 are the high points from a game of 30? ### Context: CREATE TABLE table_name_59 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_59 WHERE game = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the game against Malacca at the Klfa Stadium, Cheras? ### Context: CREATE TABLE table_name_96 (score VARCHAR, opponent VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT score FROM table_name_96 WHERE opponent = "malacca" AND venue = "klfa stadium, cheras" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 held the match at the City Stadium, Georgetown? ### Context: CREATE TABLE table_name_7 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE venue = "city stadium, georgetown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had an opponent of Police at the Selayang Stadium? ### Context: CREATE TABLE table_name_31 (competition VARCHAR, opponent VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_31 WHERE opponent = "police" AND venue = "selayang stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What the average amount of field goals Clark has if he has less than 3 touch downs and less than 5 points? ### Context: CREATE TABLE table_name_25 (field_goals INTEGER, points VARCHAR, touchdowns VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(field_goals) FROM table_name_25 WHERE touchdowns < 3 AND player = "clark" AND points < 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points does Tom Hammond have if he has more than 12 points? ### Context: CREATE TABLE table_name_12 (points INTEGER, player VARCHAR, extra_points VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_12 WHERE player = "tom hammond" AND extra_points > 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: Who had the lowest field goals if they had 12 touchdowns and more than 72 points? ### Context: CREATE TABLE table_name_40 (field_goals INTEGER, touchdowns VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(field_goals) FROM table_name_40 WHERE touchdowns = 12 AND points > 72 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 earnings of Lee Trevino who has 28 wins? ### Context: CREATE TABLE table_name_49 (earnings___ INTEGER, wins VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MIN(earnings___) AS $__ FROM table_name_49 WHERE wins = 28 AND 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: Where is the location of attendance for the Date of december 14? ### Context: CREATE TABLE table_name_1 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_1 WHERE date = "december 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 team has a high score with tracy mcgrady (24)? ### Context: CREATE TABLE table_name_70 (team VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT team FROM table_name_70 WHERE high_points = "tracy mcgrady (24)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location has an attendance and a score of l 90–91 (ot)? ### Context: CREATE TABLE table_name_28 (location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_28 WHERE score = "l 90–91 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What team has a Score of l 88–94 (ot)? ### Context: CREATE TABLE table_name_98 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_98 WHERE score = "l 88–94 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What score has hard (i) as the surface, and Columbus, Ohio as the tournament? ### Context: CREATE TABLE table_name_26 (score VARCHAR, surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT score FROM table_name_26 WHERE surface = "hard (i)" AND tournament = "columbus, ohio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent in the final has rockford, Illinois as the tournament? ### Context: CREATE TABLE table_name_12 (opponent_in_the_final VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_12 WHERE tournament = "rockford, illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score has zadar as the tournament? ### Context: CREATE TABLE table_name_27 (score VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT score FROM table_name_27 WHERE tournament = "zadar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Players of amanda coetzer and marcos ondruska is what team? ### Context: CREATE TABLE table_name_19 (team VARCHAR, players VARCHAR) [/INST] ### Response: SELECT team FROM table_name_19 WHERE players = "amanda coetzer and marcos ondruska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Players of judith wiesner and alex antonitsch had what match w-l? ### Context: CREATE TABLE table_name_64 (matches_w_l VARCHAR, players VARCHAR) [/INST] ### Response: SELECT matches_w_l FROM table_name_64 WHERE players = "judith wiesner and alex antonitsch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Placing of 3 had what match w-l? ### Context: CREATE TABLE table_name_20 (matches_w_l VARCHAR, placing VARCHAR) [/INST] ### Response: SELECT matches_w_l FROM table_name_20 WHERE placing = 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: Matches W-L of 1-2, and a Team of spain had what seeding? ### Context: CREATE TABLE table_name_41 (seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR) [/INST] ### Response: SELECT seeding FROM table_name_41 WHERE matches_w_l = "1-2" AND team = "spain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Notes of bbc radio 4, and a Director of peter kavanagh includes which average year? ### Context: CREATE TABLE table_name_67 (year INTEGER, notes VARCHAR, director VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_67 WHERE notes = "bbc radio 4" AND director = "peter kavanagh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Title of the angry brigade involves which lowest year? ### Context: CREATE TABLE table_name_49 (year INTEGER, title VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_49 WHERE title = "the angry brigade" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Year larger than 2008 includes which notes? ### Context: CREATE TABLE table_name_35 (notes VARCHAR, year INTEGER) [/INST] ### Response: SELECT notes FROM table_name_35 WHERE year > 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Notes of bbc radio 3, and a Title of carnival involves which director? ### Context: CREATE TABLE table_name_74 (director VARCHAR, notes VARCHAR, title VARCHAR) [/INST] ### Response: SELECT director FROM table_name_74 WHERE notes = "bbc radio 3" AND title = "carnival" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song choice when the theme was free choice and Adeleye made it through to bootcamp? ### Context: CREATE TABLE table_name_26 (song_choice VARCHAR, theme VARCHAR, result VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_name_26 WHERE theme = "free choice" AND result = "through to bootcamp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 2? ### Context: CREATE TABLE table_name_93 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_93 WHERE week = "week 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the theme for week 3? ### Context: CREATE TABLE table_name_38 (theme VARCHAR, week VARCHAR) [/INST] ### Response: SELECT theme FROM table_name_38 WHERE week = "week 3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the theme for the final showdown (week 3)? ### Context: CREATE TABLE table_name_93 (theme VARCHAR, week VARCHAR) [/INST] ### Response: SELECT theme FROM table_name_93 WHERE week = "final showdown (week 3)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of Game 2 in the series against the Florida Panthers? ### Context: CREATE TABLE table_name_17 (score VARCHAR, opponent VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_name_17 WHERE opponent = "florida panthers" AND game = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game that led to a 7-5 record? ### Context: CREATE TABLE table_name_91 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_91 WHERE record = "7-5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player is a tight end with a round higher than 3? ### Context: CREATE TABLE table_name_4 (name VARCHAR, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT name FROM table_name_4 WHERE position = "tight end" AND round > 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 position does the College of Louisiana State have? ### Context: CREATE TABLE table_name_89 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_89 WHERE college = "louisiana state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rounds does Jamaal Charles have? ### Context: CREATE TABLE table_name_13 (round VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_13 WHERE name = "jamaal charles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that also has a save of Smith (26)? ### Context: CREATE TABLE table_name_53 (opponent VARCHAR, save VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_53 WHERE save = "smith (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: Which score has a save of Smith (25)? ### Context: CREATE TABLE table_name_47 (score VARCHAR, save VARCHAR) [/INST] ### Response: SELECT score FROM table_name_47 WHERE save = "smith (25)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which circuit is on July 24? ### Context: CREATE TABLE table_name_77 (circuit VARCHAR, date VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_77 WHERE date = "july 24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which date was the GT class at Monterey Sports Car Grand Prix? ### Context: CREATE TABLE table_name_8 (date VARCHAR, class VARCHAR, race VARCHAR) [/INST] ### Response: SELECT date FROM table_name_8 WHERE class = "gt" AND race = "monterey sports car grand prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 length for GT class at Portland International Raceway? ### Context: CREATE TABLE table_name_22 (length VARCHAR, class VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT length FROM table_name_22 WHERE class = "gt" AND circuit = "portland international raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date did Contac 12 Hours of Sebring take place? ### Context: CREATE TABLE table_name_21 (date VARCHAR, race VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 WHERE race = "contac 12 hours of sebring" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has an Attendance of 24,791? ### Context: CREATE TABLE table_name_94 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_94 WHERE attendance = "24,791" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponent of mariners and a Record of 24–25? ### Context: CREATE TABLE table_name_91 (score VARCHAR, opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_91 WHERE opponent = "mariners" AND record = "24–25" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When is Record of 16–16 taken? ### Context: CREATE TABLE table_name_6 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_name_6 WHERE record = "16–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: What was the score of the game with a record of 7–10–3–1? ### Context: CREATE TABLE table_name_2 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_name_2 WHERE record = "7–10–3–1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Year Ended has a Passenger Load Factor (%) larger than 72.8, and a Revenue (€m) smaller than 906.8? ### Context: CREATE TABLE table_name_80 (year_ended VARCHAR, passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR) [/INST] ### Response: SELECT year_ended FROM table_name_80 WHERE passenger_load_factor___percentage_ > 72.8 AND revenue__€m_ < 906.8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Passenger Load Factor (%) that has a Revenue (€m) less than 958.6 and a Profit / (Loss) Before Tax (€m) of 1.1? ### Context: CREATE TABLE table_name_86 (passenger_load_factor___percentage_ VARCHAR, revenue__€m_ VARCHAR, profit____loss__before_tax__€m_ VARCHAR) [/INST] ### Response: SELECT passenger_load_factor___percentage_ FROM table_name_86 WHERE revenue__€m_ < 958.6 AND profit____loss__before_tax__€m_ = "1.1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which First used has a Quantity of 26? ### Context: CREATE TABLE table_name_84 (first_used VARCHAR, quantity VARCHAR) [/INST] ### Response: SELECT first_used FROM table_name_84 WHERE quantity = 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: Which Designation has a Manufacturer of siemens, and a Quantity of 52? ### Context: CREATE TABLE table_name_56 (designation VARCHAR, manufacturer VARCHAR, quantity VARCHAR) [/INST] ### Response: SELECT designation FROM table_name_56 WHERE manufacturer = "siemens" AND quantity = 52 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Designation has a Quantity of 52? ### Context: CREATE TABLE table_name_84 (designation VARCHAR, quantity VARCHAR) [/INST] ### Response: SELECT designation FROM table_name_84 WHERE quantity = 52 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Quantity has a Designation of type 4? ### Context: CREATE TABLE table_name_82 (quantity INTEGER, designation VARCHAR) [/INST] ### Response: SELECT AVG(quantity) FROM table_name_82 WHERE designation = "type 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: Which model number does bombardier manufacture? ### Context: CREATE TABLE table_name_28 (model_no VARCHAR, manufacturer VARCHAR) [/INST] ### Response: SELECT model_no FROM table_name_28 WHERE manufacturer = "bombardier" </s>