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 young rider classification for jesper worre and stage 3 ### Context: CREATE TABLE table_name_66 (young_rider_classification VARCHAR, mountains_classification VARCHAR, stage VARCHAR) [/INST] ### Response: SELECT young_rider_classification FROM table_name_66 WHERE mountains_classification = "jesper worre" AND stage = "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 college did the player with a school of crete-monee high school go to? ### Context: CREATE TABLE table_name_83 (college VARCHAR, school VARCHAR) [/INST] ### Response: SELECT college FROM table_name_83 WHERE school = "crete-monee high school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the school of the player with a hometown of little rock, arkansas? ### Context: CREATE TABLE table_name_94 (school VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT school FROM table_name_94 WHERE hometown = "little rock, arkansas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the hometown of thomas tyner? ### Context: CREATE TABLE table_name_80 (hometown VARCHAR, player VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_80 WHERE player = "thomas tyner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did hunter henry go to? ### Context: CREATE TABLE table_name_30 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_30 WHERE player = "hunter henry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did the player with a school of huntsville high school go to? ### Context: CREATE TABLE table_name_42 (college VARCHAR, school VARCHAR) [/INST] ### Response: SELECT college FROM table_name_42 WHERE school = "huntsville high school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 went to ohio state? ### Context: CREATE TABLE table_name_53 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_53 WHERE college = "ohio state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was introduced where it was withdrawn 1955? ### Context: CREATE TABLE table_name_31 (introduced VARCHAR, withdrawn VARCHAR) [/INST] ### Response: SELECT introduced FROM table_name_31 WHERE withdrawn = "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 engine was introduced in 1935? ### Context: CREATE TABLE table_name_66 (engine VARCHAR, introduced VARCHAR) [/INST] ### Response: SELECT engine FROM table_name_66 WHERE introduced = "1935" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number range for the Gloucester RCW builder introduced in 1937? ### Context: CREATE TABLE table_name_84 (number_range VARCHAR, builder VARCHAR, introduced VARCHAR) [/INST] ### Response: SELECT number_range FROM table_name_84 WHERE builder = "gloucester rcw" AND introduced = "1937" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round was Craig Erickson drafted? ### Context: CREATE TABLE table_name_58 (round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT round FROM table_name_58 WHERE player = "craig erickson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date with a Score with 86–108? ### Context: CREATE TABLE table_name_7 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE score = "86–108" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with a Date with 24 march 2008? ### Context: CREATE TABLE table_name_47 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_47 WHERE date = "24 march 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Record with a Date with 29 march 2008? ### Context: CREATE TABLE table_name_27 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_27 WHERE date = "29 march 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Visitor with a Leading scorer with rudy gay (24)? ### Context: CREATE TABLE table_name_28 (visitor VARCHAR, leading_scorer VARCHAR) [/INST] ### Response: SELECT visitor FROM table_name_28 WHERE leading_scorer = "rudy gay (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 is the Leading scorer with a Visitor of grizzlies, and with a Score with 114–111? ### Context: CREATE TABLE table_name_65 (leading_scorer VARCHAR, visitor VARCHAR, score VARCHAR) [/INST] ### Response: SELECT leading_scorer FROM table_name_65 WHERE visitor = "grizzlies" AND score = "114–111" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Joe Deane play for? ### Context: CREATE TABLE table_name_20 (team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT team FROM table_name_20 WHERE player = "joe deane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the game whose team is Waterford and debuted later than 1995? ### Context: CREATE TABLE table_name_60 (game VARCHAR, team VARCHAR, début VARCHAR) [/INST] ### Response: SELECT game FROM table_name_60 WHERE team = "waterford" AND début > 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 year of debut when Tom Feeney plays for the Waterford team? ### Context: CREATE TABLE table_name_9 (début VARCHAR, team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT début FROM table_name_9 WHERE team = "waterford" AND player = "tom feeney" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent when the team is Cork? ### Context: CREATE TABLE table_name_32 (opposition VARCHAR, team VARCHAR) [/INST] ### Response: SELECT opposition FROM table_name_32 WHERE team = "cork" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 constructor when the grid is more than 10 and the time/retired is +1 lap? ### Context: CREATE TABLE table_name_59 (constructor VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT constructor FROM table_name_59 WHERE grid > 10 AND time_retired = "+1 lap" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid when the laps is less than 44 and the constructor is renault? ### Context: CREATE TABLE table_name_10 (grid INTEGER, laps VARCHAR, constructor VARCHAR) [/INST] ### Response: SELECT MAX(grid) FROM table_name_10 WHERE laps < 44 AND constructor = "renault" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Whose attendance was the highest when the team played Arsenal? ### Context: CREATE TABLE table_name_95 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_95 WHERE opponent = "arsenal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 flag for Terkoeli? ### Context: CREATE TABLE table_name_52 (flag VARCHAR, name VARCHAR) [/INST] ### Response: SELECT flag FROM table_name_52 WHERE name = "terkoeli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date for the flag of Norway? ### Context: CREATE TABLE table_name_73 (date VARCHAR, flag VARCHAR) [/INST] ### Response: SELECT date FROM table_name_73 WHERE flag = "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: Who sunk the ship with the flag of Norway? ### Context: CREATE TABLE table_name_67 (sunk_by VARCHAR, flag VARCHAR) [/INST] ### Response: SELECT sunk_by FROM table_name_67 WHERE flag = "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 name of the entrant with a chassis of m185b m186? ### Context: CREATE TABLE table_name_65 (entrant VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_65 WHERE chassis = "m185b m186" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have a chassis of thl2? ### Context: CREATE TABLE table_name_87 (rounds VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT rounds FROM table_name_87 WHERE chassis = "thl2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the 1958 when 1957 is dnf-9 ### Context: CREATE TABLE table_name_24 (Id VARCHAR) [/INST] ### Response: SELECT 1958 FROM table_name_24 WHERE 1957 = "dnf-9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the reference when the strain is msb8? ### Context: CREATE TABLE table_name_38 (reference VARCHAR, strain VARCHAR) [/INST] ### Response: SELECT reference FROM table_name_38 WHERE strain = "msb8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 genes when the reference is 2009 and the strain is rku-1? ### Context: CREATE TABLE table_name_84 (genes INTEGER, reference VARCHAR, strain VARCHAR) [/INST] ### Response: SELECT AVG(genes) FROM table_name_84 WHERE reference = "2009" AND strain = "rku-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: In which year did Kati Klinzing finish 3rd? ### Context: CREATE TABLE table_name_24 (year VARCHAR, third VARCHAR) [/INST] ### Response: SELECT year FROM table_name_24 WHERE third = "kati klinzing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winner the year Ramona Rahnis finished 2nd and Diana Sartor 3rd? ### Context: CREATE TABLE table_name_74 (champion VARCHAR, second VARCHAR, third VARCHAR) [/INST] ### Response: SELECT champion FROM table_name_74 WHERE second = "ramona rahnis" AND third = "diana sartor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winterberg, who was 3rd the year that Monique Riekewald was 2nd? ### Context: CREATE TABLE table_name_83 (third VARCHAR, location VARCHAR, second VARCHAR) [/INST] ### Response: SELECT third FROM table_name_83 WHERE location = "winterberg" AND second = "monique riekewald" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 years after 1999, what was the location where Anja Huber finished 2nd? ### Context: CREATE TABLE table_name_14 (location VARCHAR, year VARCHAR, second VARCHAR) [/INST] ### Response: SELECT location FROM table_name_14 WHERE year > 1999 AND second = "anja huber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 goals were scored with a pos larger than 4 and active in 2001-? ### Context: CREATE TABLE table_name_50 (goals_scored VARCHAR, pos VARCHAR, years_active VARCHAR) [/INST] ### Response: SELECT goals_scored FROM table_name_50 WHERE pos > 4 AND years_active = "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 day did they play the bolton wanderers with a result F–A of 1–2? ### Context: CREATE TABLE table_name_78 (date VARCHAR, result_f_a VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away teams score at Princes Park? ### Context: CREATE TABLE table_name_37 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_37 WHERE venue = "princes park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team played Hawthorn as the away team? ### Context: CREATE TABLE table_name_44 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_44 WHERE away_team = "hawthorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Geelong play as the home team? ### Context: CREATE TABLE table_name_89 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_89 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played as the away team when Essendon was the home team? ### Context: CREATE TABLE table_name_85 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_85 WHERE home_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the attendance when oadby town is away? ### Context: CREATE TABLE table_name_37 (attendance VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_37 WHERE away_team = "oadby town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score when parkgate is at home? ### Context: CREATE TABLE table_name_38 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_38 WHERE home_team = "parkgate" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 against the devil rays on september 14? ### Context: CREATE TABLE table_name_89 (score VARCHAR, opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_89 WHERE opponent = "devil rays" AND date = "september 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 the score on september 20? ### Context: CREATE TABLE table_name_6 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_6 WHERE date = "september 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: Who had the highest number of rebounds on February 14? ### Context: CREATE TABLE table_name_42 (high_rebounds VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_name_42 WHERE date = "february 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: Where was the game played where North Melbourne was the away team? ### Context: CREATE TABLE table_name_40 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_40 WHERE away_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week 12 result? ### Context: CREATE TABLE table_name_17 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_17 WHERE week = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did the player from Fort Lauderdale, FL attend? ### Context: CREATE TABLE table_name_79 (college VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT college FROM table_name_79 WHERE hometown = "fort lauderdale, fl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometown of the player who attended Ohio State? ### Context: CREATE TABLE table_name_35 (hometown VARCHAR, college VARCHAR) [/INST] ### Response: SELECT hometown FROM table_name_35 WHERE college = "ohio state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the height of the player from Elizabeth, NJ? ### Context: CREATE TABLE table_name_36 (height VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT height FROM table_name_36 WHERE hometown = "elizabeth, nj" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college did the player from Ames High School attend? ### Context: CREATE TABLE table_name_56 (college VARCHAR, school VARCHAR) [/INST] ### Response: SELECT college FROM table_name_56 WHERE school = "ames high school" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the frequency mhz for fcc and ERP W of 9 watts ### Context: CREATE TABLE table_name_7 (frequency_mhz VARCHAR, fcc_info VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_7 WHERE fcc_info = "fcc" AND erp_w = "9 watts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the frequency mhz for ERP W of 850 watts ### Context: CREATE TABLE table_name_44 (frequency_mhz VARCHAR, erp_w VARCHAR) [/INST] ### Response: SELECT frequency_mhz FROM table_name_44 WHERE erp_w = "850 watts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the FCC info for call sign of kpcc ### Context: CREATE TABLE table_name_67 (fcc_info VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_67 WHERE call_sign = "kpcc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the FCC info for frequency Mhz of 95.3 fm ### Context: CREATE TABLE table_name_34 (fcc_info VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_34 WHERE frequency_mhz = "95.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: Name the city of license for call sign of kcmp ### Context: CREATE TABLE table_name_95 (city_of_license VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_95 WHERE call_sign = "kcmp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the most Att with a long of 27 with yards longer than 27 ### Context: CREATE TABLE table_name_24 (att INTEGER, long VARCHAR, yards VARCHAR) [/INST] ### Response: SELECT MAX(att) FROM table_name_24 WHERE long = 27 AND yards > 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: I want to know the average Fuml for Att of 5 and long more than 7 ### Context: CREATE TABLE table_name_13 (fuml INTEGER, att VARCHAR, long VARCHAR) [/INST] ### Response: SELECT AVG(fuml) FROM table_name_13 WHERE att = 5 AND long > 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: I want to know the longest Long for santana moss and Att more than 1 ### Context: CREATE TABLE table_name_5 (long INTEGER, player VARCHAR, att VARCHAR) [/INST] ### Response: SELECT MIN(long) FROM table_name_5 WHERE player = "santana moss" AND att > 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: Tell me the greatest att with an avg of 4.3 ### Context: CREATE TABLE table_name_91 (att INTEGER, avg VARCHAR) [/INST] ### Response: SELECT MAX(att) FROM table_name_91 WHERE avg = 4.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: Tell me the sum of yards for jason campbell and long less than 23 ### Context: CREATE TABLE table_name_29 (yards INTEGER, player VARCHAR, long VARCHAR) [/INST] ### Response: SELECT SUM(yards) FROM table_name_29 WHERE player = "jason campbell" AND long < 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which driver scored 9 points? ### Context: CREATE TABLE table_name_58 (driver VARCHAR, points VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_58 WHERE points = "9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points were scored in 1:44:59.557 of time? ### Context: CREATE TABLE table_name_64 (points VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT points FROM table_name_64 WHERE time_retired = "1:44:59.557" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 loss for June 2? ### Context: CREATE TABLE table_name_79 (loss VARCHAR, date VARCHAR) [/INST] ### Response: SELECT loss FROM table_name_79 WHERE date = "june 2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record for the game that has a loss of Johnson (5-6)? ### Context: CREATE TABLE table_name_73 (record VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT record FROM table_name_73 WHERE loss = "johnson (5-6)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for the game where the score was 0-6? ### Context: CREATE TABLE table_name_8 (attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_8 WHERE score = "0-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: How many people attended the game that ended 4-6? ### Context: CREATE TABLE table_name_15 (attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_15 WHERE score = "4-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the sample size when the date(s) administered is march 24, 2010? ### Context: CREATE TABLE table_name_4 (sample_size VARCHAR, date_s__administered VARCHAR) [/INST] ### Response: SELECT sample_size FROM table_name_4 WHERE date_s__administered = "march 24, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the margin of error when the undicided is 8% and other is 4%? ### Context: CREATE TABLE table_name_77 (margin_of_error VARCHAR, undecided VARCHAR, other VARCHAR) [/INST] ### Response: SELECT margin_of_error FROM table_name_77 WHERE undecided = "8%" AND other = "4%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the percent for other when the margin of error is ± 3%? ### Context: CREATE TABLE table_name_35 (other VARCHAR, margin_of_error VARCHAR) [/INST] ### Response: SELECT other FROM table_name_35 WHERE margin_of_error = "± 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: Of all shows who have a rating larger than 7.8, aired on October 26, 2006, and has a share of over 14, what is the sum of the viewers? ### Context: CREATE TABLE table_name_91 (viewers INTEGER, share VARCHAR, rating VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT SUM(viewers) FROM table_name_91 WHERE rating > 7.8 AND airdate = "october 26, 2006" AND share > 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 the latest year that has an n/a mintage and an Issue Price of $89.95? ### Context: CREATE TABLE table_name_39 (year INTEGER, mintage VARCHAR, issue_price VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_39 WHERE mintage = "n/a" AND issue_price = "$89.95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mintage for the royal canadian mint engravers before 2008 that has an issue price of $102.95? ### Context: CREATE TABLE table_name_98 (mintage VARCHAR, issue_price VARCHAR, artist VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mintage FROM table_name_98 WHERE artist = "royal canadian mint engravers" AND year < 2008 AND issue_price = "$102.95" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 theme is associated with a year before 2006 and Issue Price of $25.22? ### Context: CREATE TABLE table_name_14 (theme VARCHAR, year VARCHAR, issue_price VARCHAR) [/INST] ### Response: SELECT theme FROM table_name_14 WHERE year < 2006 AND issue_price = "$25.22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score in the final on 14 august 1994? ### Context: CREATE TABLE table_name_36 (score_in_the_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_name_36 WHERE date = "14 august 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which tournament had a final score of 6–7, 2–6, and a Partner of wayne arthurs? ### Context: CREATE TABLE table_name_7 (tournament VARCHAR, score_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_7 WHERE score_in_the_final = "6–7, 2–6" AND partner = "wayne arthurs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with round 17? ### Context: CREATE TABLE table_name_64 (opponent VARCHAR, round VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_64 WHERE round = "17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round saw wakefield trinity wildcats u21 as the opponenet at belle vue? ### Context: CREATE TABLE table_name_19 (round VARCHAR, opponent VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT round FROM table_name_19 WHERE opponent = "wakefield trinity wildcats u21" AND venue = "belle vue" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round happened at galpharm stadium? ### Context: CREATE TABLE table_name_16 (round VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT round FROM table_name_16 WHERE venue = "galpharm 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: In the game where Melbourne was the away team, what did they score? ### Context: CREATE TABLE table_name_67 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_67 WHERE away_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 venue Corio Oval, who was the away team? ### Context: CREATE TABLE table_name_97 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_97 WHERE venue = "corio oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 biggest pick number for the new team of Texas Rangers, in the compensation-a round? ### Context: CREATE TABLE table_name_55 (pick INTEGER, new_team VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_55 WHERE new_team = "texas rangers" AND round = "compensation-a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number for the compensation-a round, for player Frank Catalanotto? ### Context: CREATE TABLE table_name_93 (pick VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pick FROM table_name_93 WHERE round = "compensation-a" AND player = "frank catalanotto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new team has a compensation-a round, and Frank Catalanotto as a player? ### Context: CREATE TABLE table_name_27 (new_team VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT new_team FROM table_name_27 WHERE round = "compensation-a" AND player = "frank catalanotto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 free agent class, with a pick less than 38? ### Context: CREATE TABLE table_name_22 (free_agent_class VARCHAR, pick INTEGER) [/INST] ### Response: SELECT free_agent_class FROM table_name_22 WHERE pick < 38 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away team when the home team is Footscray? ### Context: CREATE TABLE table_name_95 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_95 WHERE home_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's listed as the Issue Price (BU) [Clarification Needed] with a Mintage (Proof) of 29,586? ### Context: CREATE TABLE table_name_57 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, mintage__proof_ VARCHAR) [/INST] ### Response: SELECT issue_price__bu_[_clarification_needed_] FROM table_name_57 WHERE mintage__proof_ = "29,586" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Artist with an Issue Price (BU) [Clarification Needed] of n/a along with a Year larger than 2004, and Mintage (Proof) of 25,000? ### Context: CREATE TABLE table_name_53 (artist VARCHAR, mintage__proof_ VARCHAR, year VARCHAR, issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR) [/INST] ### Response: SELECT artist FROM table_name_53 WHERE issue_price__bu_[_clarification_needed_] = "n/a" AND year > 2004 AND mintage__proof_ = "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's the average Year with an Issue Price (Proof) of $49.95, and Artist of W.H.J. Blakemore? ### Context: CREATE TABLE table_name_19 (year INTEGER, issue_price__proof_ VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_19 WHERE issue_price__proof_ = "$49.95" AND artist = "w.h.j. blakemore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the Issue Price (BU) [Clarification Needed] with a Year larger than 2002 and Mintage (Proof) of 50,000? ### Context: CREATE TABLE table_name_35 (issue_price__bu_ VARCHAR, _clarification_needed_ VARCHAR, year VARCHAR, mintage__proof_ VARCHAR) [/INST] ### Response: SELECT issue_price__bu_[_clarification_needed_] FROM table_name_35 WHERE year > 2002 AND mintage__proof_ = "50,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: Who was the winner when the runner-up was Chemnitzer FC II? ### Context: CREATE TABLE table_name_86 (winners VARCHAR, runners_up VARCHAR) [/INST] ### Response: SELECT winners FROM table_name_86 WHERE runners_up = "chemnitzer fc ii" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the preliminary average for utah ### Context: CREATE TABLE table_name_34 (preliminary_average VARCHAR, state VARCHAR) [/INST] ### Response: SELECT preliminary_average FROM table_name_34 WHERE state = "utah" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament titles for texas with over 0 total? ### Context: CREATE TABLE table_name_89 (tournament VARCHAR, total VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(tournament) FROM table_name_89 WHERE total > 0 AND team = "texas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament titles for iowa state with 3 total titles? ### Context: CREATE TABLE table_name_90 (tournament INTEGER, total VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MAX(tournament) FROM table_name_90 WHERE total = 3 AND team = "iowa state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the country when the bie recognised is no and years(s) is 2014? ### Context: CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type when the bie recognised is yes and year(s) is 1960? ### Context: CREATE TABLE table_name_62 (type VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT type FROM table_name_62 WHERE bie_recognised = "yes" AND year_s_ = "1960" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the type when the bie recognised is yes, festival name is floriade and the year(s) is 2002? ### Context: CREATE TABLE table_name_45 (type VARCHAR, year_s_ VARCHAR, bie_recognised VARCHAR, festival_name VARCHAR) [/INST] ### Response: SELECT type FROM table_name_45 WHERE bie_recognised = "yes" AND festival_name = "floriade" AND year_s_ = "2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the year(s) when the city is kunming? ### Context: CREATE TABLE table_name_59 (year_s_ VARCHAR, city VARCHAR) [/INST] ### Response: SELECT year_s_ FROM table_name_59 WHERE city = "kunming" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type when the year(s) is 1982? ### Context: CREATE TABLE table_name_23 (type VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT type FROM table_name_23 WHERE year_s_ = "1982" </s>