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 molecules when the percent mass is 1.0? ### Context: CREATE TABLE table_name_8 (molecules VARCHAR, percent_of_mass VARCHAR) [/INST] ### Response: SELECT molecules FROM table_name_8 WHERE percent_of_mass = "1.0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the mol.weight (daltons) when the percent of mass is 1.5? ### Context: CREATE TABLE table_name_47 (molweight__daltons_ VARCHAR, percent_of_mass VARCHAR) [/INST] ### Response: SELECT molweight__daltons_ FROM table_name_47 WHERE percent_of_mass = "1.5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the perfect of mass when the molecules is 1.74e14*? ### Context: CREATE TABLE table_name_58 (percent_of_mass VARCHAR, molecules VARCHAR) [/INST] ### Response: SELECT percent_of_mass FROM table_name_58 WHERE molecules = "1.74e14*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of mass when the mol.weight (daltons) is 1e11? ### Context: CREATE TABLE table_name_21 (percent_of_mass VARCHAR, molweight__daltons_ VARCHAR) [/INST] ### Response: SELECT percent_of_mass FROM table_name_21 WHERE molweight__daltons_ = "1e11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia? ### Context: CREATE TABLE table_name_31 (attendance VARCHAR, away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_31 WHERE away_team = "dynamo kyiv" AND home_team = "torpedo zaporizhia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round when the home team was chornomorets odessa? ### Context: CREATE TABLE table_name_55 (round VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT round FROM table_name_55 WHERE home_team = "chornomorets odessa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank when the game was at dnipro stadium , kremenchuk? ### Context: CREATE TABLE table_name_55 (rank VARCHAR, location VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_55 WHERE location = "dnipro stadium , kremenchuk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lowest points for the engines of the Lamborghini v12 and the Chassis on Minardi m191b? ### Context: CREATE TABLE table_name_48 (points INTEGER, engine VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_48 WHERE engine = "lamborghini v12" AND chassis = "minardi m191b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Chassis from before 1997 with a Lamborghini v12 engine? ### Context: CREATE TABLE table_name_98 (chassis VARCHAR, year VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_98 WHERE year < 1997 AND engine = "lamborghini v12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total of the year with a point larger than 0 or the Chassis of Minardi m190? ### Context: CREATE TABLE table_name_32 (year INTEGER, chassis VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_32 WHERE chassis = "minardi m190" AND points > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the lowest points from 1992 with a Chassis of Minardi m192? ### Context: CREATE TABLE table_name_89 (points INTEGER, year VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_89 WHERE year = 1992 AND chassis = "minardi m192" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Entrant has 0 points and from 1997? ### Context: CREATE TABLE table_name_67 (entrant VARCHAR, points VARCHAR, year VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_67 WHERE points = 0 AND year = 1997 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total roll with a decile less than 7, and an authority of state, in the Macraes Flat area? ### Context: CREATE TABLE table_name_98 (roll VARCHAR, area VARCHAR, decile VARCHAR, authority VARCHAR) [/INST] ### Response: SELECT COUNT(roll) FROM table_name_98 WHERE decile = 7 AND authority = "state" AND area = "macraes flat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year has a decile more than 6, in the Waikouaiti area? ### Context: CREATE TABLE table_name_78 (years VARCHAR, decile VARCHAR, area VARCHAR) [/INST] ### Response: SELECT years FROM table_name_78 WHERE decile > 6 AND area = "waikouaiti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place did the Nashville Metros place in the 1994/95 Season? ### Context: CREATE TABLE table_name_64 (regular_season VARCHAR, year VARCHAR) [/INST] ### Response: SELECT regular_season FROM table_name_64 WHERE year = "1994/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 years did the Nashville Metros have Usisl Indoor League? ### Context: CREATE TABLE table_name_63 (year VARCHAR, league VARCHAR) [/INST] ### Response: SELECT year FROM table_name_63 WHERE league = "usisl indoor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Round has kim eun-ha as an Opponent? ### Context: CREATE TABLE table_name_37 (round VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT round FROM table_name_37 WHERE opponent = "kim eun-ha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of Edition that has a Surface of clay, and Park Sung-Hee as an opponent? ### Context: CREATE TABLE table_name_95 (edition VARCHAR, surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT edition FROM table_name_95 WHERE surface = "clay" AND opponent = "park sung-hee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gold number count where a county had over 9 golds and 10 silvers? ### Context: CREATE TABLE table_name_87 (gold INTEGER, total VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT MAX(gold) FROM table_name_87 WHERE total > 9 AND silver > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many bronze medals did the country with 7 medals and over 5 silver medals receive? ### Context: CREATE TABLE table_name_88 (bronze INTEGER, total VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(bronze) FROM table_name_88 WHERE total = 7 AND silver > 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: Name the date for venue of lord's ### Context: CREATE TABLE table_name_78 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_78 WHERE venue = "lord's" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result for venue of lord's ### Context: CREATE TABLE table_name_82 (result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_82 WHERE venue = "lord's" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the date for result of eng by 23 runs ### Context: CREATE TABLE table_name_24 (date VARCHAR, result VARCHAR) [/INST] ### Response: SELECT date FROM table_name_24 WHERE result = "eng by 23 runs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for result of draw, and venue of edgbaston ### Context: CREATE TABLE table_name_37 (date VARCHAR, result VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 WHERE result = "draw" AND venue = "edgbaston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of weeks that the Seahawks had a record of 5-5? ### Context: CREATE TABLE table_name_73 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_73 WHERE record = "5-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: Who has 1 win, 1 loss, and has played 2 matches? ### Context: CREATE TABLE table_name_77 (name VARCHAR, matches VARCHAR, wins VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT name FROM table_name_77 WHERE wins = "1" AND losses = "1" AND matches = "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: Who has 5 losses and has played 11 matches? ### Context: CREATE TABLE table_name_47 (name VARCHAR, losses VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT name FROM table_name_47 WHERE losses = "5" AND matches = "11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many matches has Mohammad Al-Shamlan played when there is 1 win? ### Context: CREATE TABLE table_name_43 (matches VARCHAR, wins VARCHAR, name VARCHAR) [/INST] ### Response: SELECT matches FROM table_name_43 WHERE wins = "1" AND name = "mohammad al-shamlan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matches were played when there was 1 draw and 1 win? ### Context: CREATE TABLE table_name_92 (matches VARCHAR, draws VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT matches FROM table_name_92 WHERE draws = "1" AND wins = "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: Name the played with lost of 5 ### Context: CREATE TABLE table_name_65 (played VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT played FROM table_name_65 WHERE lost = "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: Name the played with points against of points against ### Context: CREATE TABLE table_name_95 (played VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT played FROM table_name_95 WHERE points_against = "points against" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries with tries against of 38 ### Context: CREATE TABLE table_name_35 (tries_for VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_35 WHERE tries_against = "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: Name the points against when tries against is 51 and points is 52 with played of 22 ### Context: CREATE TABLE table_name_91 (points_against VARCHAR, tries_against VARCHAR, played VARCHAR, points VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_91 WHERE played = "22" AND points = "52" AND tries_against = "51" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the points against for cwmllynfell rfc ### Context: CREATE TABLE table_name_27 (points_against VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points_against FROM table_name_27 WHERE club = "cwmllynfell rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lead for the Election Results polling firm and has a PSOE of 39.6% 175? ### Context: CREATE TABLE table_name_8 (lead VARCHAR, polling_firm VARCHAR, psoe VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_8 WHERE polling_firm = "election results" AND psoe = "39.6% 175" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PSOE for the Local Elections polling firm? ### Context: CREATE TABLE table_name_78 (psoe VARCHAR, polling_firm VARCHAR) [/INST] ### Response: SELECT psoe FROM table_name_78 WHERE polling_firm = "local elections" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has a PSOE of 36.1%? ### Context: CREATE TABLE table_name_86 (date VARCHAR, psoe VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE psoe = "36.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: Name the height with 9 floors ### Context: CREATE TABLE table_name_80 (height_ft___m VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT height_ft___m FROM table_name_80 WHERE floors = 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: Name the years as tallest when floors are larger than 18 ### Context: CREATE TABLE table_name_4 (years_as_tallest VARCHAR, floors INTEGER) [/INST] ### Response: SELECT years_as_tallest FROM table_name_4 WHERE floors > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Tell me the name that has 17 floors ### Context: CREATE TABLE table_name_25 (name VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT name FROM table_name_25 WHERE floors = 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: Which was the position for overall less than 254, round less than 5 and pick number less than 13? ### Context: CREATE TABLE table_name_64 (position VARCHAR, pick__number VARCHAR, overall VARCHAR, round VARCHAR) [/INST] ### Response: SELECT position FROM table_name_64 WHERE overall < 254 AND round < 5 AND pick__number < 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the round having an overall of 6 ### Context: CREATE TABLE table_name_84 (round VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT round FROM table_name_84 WHERE overall = 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: Name the position of the player from college of virginia ### Context: CREATE TABLE table_name_96 (position VARCHAR, college VARCHAR) [/INST] ### Response: SELECT position FROM table_name_96 WHERE college = "virginia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the game that had a goal of 3? ### Context: CREATE TABLE table_name_48 (date VARCHAR, goal VARCHAR) [/INST] ### Response: SELECT date FROM table_name_48 WHERE goal = 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 date of the game that had a goal of 4? ### Context: CREATE TABLE table_name_58 (date VARCHAR, goal VARCHAR) [/INST] ### Response: SELECT date FROM table_name_58 WHERE goal = 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 highest rank of a swimmer in lane 5? ### Context: CREATE TABLE table_name_20 (rank INTEGER, lane VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_20 WHERE lane = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest rank of Jens Kruppa in a lane larger than 2? ### Context: CREATE TABLE table_name_28 (rank INTEGER, name VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MIN(rank) FROM table_name_28 WHERE name = "jens kruppa" AND lane > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which nationality has a lane of 6 and a rank smaller than 6? ### Context: CREATE TABLE table_name_33 (nationality VARCHAR, rank VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_33 WHERE rank < 6 AND lane = 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 Tony Jacklin's total? ### Context: CREATE TABLE table_name_33 (total VARCHAR, player VARCHAR) [/INST] ### Response: SELECT total FROM table_name_33 WHERE player = "tony jacklin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Todd Hamilton's to par? ### Context: CREATE TABLE table_name_9 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_9 WHERE player = "todd hamilton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was a game won with more than 11 to par? ### Context: CREATE TABLE table_name_6 (year_s__won VARCHAR, to_par INTEGER) [/INST] ### Response: SELECT year_s__won FROM table_name_6 WHERE to_par > 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where is the place that has a Callsign of DWRJ-FM? ### Context: CREATE TABLE table_name_77 (location VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT location FROM table_name_77 WHERE callsign = "dwrj-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 Power has Location in metro manila ### Context: CREATE TABLE table_name_75 (power__kw_ VARCHAR, location VARCHAR) [/INST] ### Response: SELECT power__kw_ FROM table_name_75 WHERE location = "metro manila" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tier of the tournament has Mont de Marson in it? ### Context: CREATE TABLE table_name_61 (tier VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT tier FROM table_name_61 WHERE tournament = "mont de marson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has opponents, Akgul Amanmuradova Nina Bratchikova, in the final? ### Context: CREATE TABLE table_name_65 (date VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_65 WHERE opponents_in_the_final = "akgul amanmuradova nina bratchikova" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final? ### Context: CREATE TABLE table_name_20 (date VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_20 WHERE opponents_in_the_final = "claire de gubernatis alexandra dulgheru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in the touranament of Antalya-Belek? ### Context: CREATE TABLE table_name_66 (score VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT score FROM table_name_66 WHERE tournament = "antalya-belek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which date has the tier of Itf $10k? ### Context: CREATE TABLE table_name_66 (date VARCHAR, tier VARCHAR) [/INST] ### Response: SELECT date FROM table_name_66 WHERE tier = "itf $10k" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vs. all when the score vs. Terran is 159? ### Context: CREATE TABLE table_name_72 (vs_all VARCHAR, vs_terran VARCHAR) [/INST] ### Response: SELECT vs_all FROM table_name_72 WHERE vs_terran = "159" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vs. Protoss when the score vs. Terran is 10 wins? ### Context: CREATE TABLE table_name_97 (vs_protoss VARCHAR, vs_terran VARCHAR) [/INST] ### Response: SELECT vs_protoss FROM table_name_97 WHERE vs_terran = "10 wins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vs. Terran when the score vs. Zerg is 69? ### Context: CREATE TABLE table_name_12 (vs_terran VARCHAR, vs_zerg VARCHAR) [/INST] ### Response: SELECT vs_terran FROM table_name_12 WHERE vs_zerg = "69" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 occurrs as of September 1, 2012 when the value for vs. all is 65.47%? ### Context: CREATE TABLE table_name_61 (as_of_september_1 VARCHAR, _2012 VARCHAR, vs_all VARCHAR) [/INST] ### Response: SELECT as_of_september_1, _2012 FROM table_name_61 WHERE vs_all = "65.47%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the opponent that has a bye? ### Context: CREATE TABLE table_name_35 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_name_35 WHERE opponent = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the average total medals received by Roland Hayes School when there were 0 gold medals? ### Context: CREATE TABLE table_name_99 (total_medals INTEGER, gold_medals VARCHAR, ensemble VARCHAR) [/INST] ### Response: SELECT AVG(total_medals) FROM table_name_99 WHERE gold_medals = 0 AND ensemble = "roland hayes 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 was the total number of medals received by James Logan High School when it received less than 1 silver medal? ### Context: CREATE TABLE table_name_42 (total_medals VARCHAR, ensemble VARCHAR, silver_medals VARCHAR) [/INST] ### Response: SELECT COUNT(total_medals) FROM table_name_42 WHERE ensemble = "james logan high school" AND silver_medals < 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 highest number of bronze medals received by an ensemble who received fewer than 0 gold medals? ### Context: CREATE TABLE table_name_77 (bronze_medals INTEGER, gold_medals INTEGER) [/INST] ### Response: SELECT MAX(bronze_medals) FROM table_name_77 WHERE gold_medals < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Score of the 2008 Africa Cup of Nations Competition? ### Context: CREATE TABLE table_name_3 (score VARCHAR, competition VARCHAR) [/INST] ### Response: SELECT score FROM table_name_3 WHERE competition = "2008 africa cup of nations" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most goals with losses less than 15 and position more than 8 with points of 42+4 ### Context: CREATE TABLE table_name_18 (goals_for INTEGER, points VARCHAR, losses VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MAX(goals_for) FROM table_name_18 WHERE losses < 15 AND position > 8 AND points = "42+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: Name the average goals against for draws of 8 and wins more than 22 with losses less than 12 ### Context: CREATE TABLE table_name_92 (goals_against INTEGER, wins VARCHAR, draws VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT AVG(goals_against) FROM table_name_92 WHERE draws = 8 AND losses < 12 AND wins > 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: Name the least wins for goal difference being less than -20 with position less than 20 and goals for of 35 ### Context: CREATE TABLE table_name_19 (wins INTEGER, goal_difference VARCHAR, position VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_19 WHERE position < 20 AND goals_for = 35 AND goal_difference < -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: Name the average losses for draws larger than 6 and played more than 38 ### Context: CREATE TABLE table_name_58 (losses INTEGER, draws VARCHAR, played VARCHAR) [/INST] ### Response: SELECT AVG(losses) FROM table_name_58 WHERE draws > 6 AND played > 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: Name the least goals against for played more than 38 ### Context: CREATE TABLE table_name_4 (goals_against INTEGER, played INTEGER) [/INST] ### Response: SELECT MIN(goals_against) FROM table_name_4 WHERE played > 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: After 1961, who as the Entrant when the engine was a Ferrari v8, and when the points were lower than 23? ### Context: CREATE TABLE table_name_64 (entrant VARCHAR, points VARCHAR, year VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT entrant FROM table_name_64 WHERE year > 1961 AND engine = "ferrari v8" AND points < 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: What is was the Chassis in 1967? ### Context: CREATE TABLE table_name_38 (chassis VARCHAR, year VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_38 WHERE year = 1967 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1962, what was the total number of points, when the Engine was Ferrari v6? ### Context: CREATE TABLE table_name_97 (points VARCHAR, engine VARCHAR, year VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_97 WHERE engine = "ferrari v6" AND year = 1962 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1961, what was the Chassis when the points were lower than 6? ### Context: CREATE TABLE table_name_51 (chassis VARCHAR, points VARCHAR, year VARCHAR) [/INST] ### Response: SELECT chassis FROM table_name_51 WHERE points < 6 AND year = 1961 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the sum of the years, when the entrant was Scuderia Ferrari, and when the Chassis was Ferrari 312/66? ### Context: CREATE TABLE table_name_68 (year INTEGER, entrant VARCHAR, chassis VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_68 WHERE entrant = "scuderia ferrari" AND chassis = "ferrari 312/66" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the sum of the years, when the entrant was Scuderia Centro Sud, and when there were 6 points? ### Context: CREATE TABLE table_name_69 (year INTEGER, entrant VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_69 WHERE entrant = "scuderia centro sud" AND points = 6 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In the tkkm o manawatu coed school in kelvin grove, what is the Authority listed/ ### Context: CREATE TABLE table_name_93 (authority VARCHAR, name VARCHAR, gender VARCHAR, area VARCHAR) [/INST] ### Response: SELECT authority FROM table_name_93 WHERE gender = "coed" AND area = "kelvin grove" AND name = "tkkm o manawatu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Authority has a coed school with a decile greater than 4, with a 150 roll? ### Context: CREATE TABLE table_name_49 (authority VARCHAR, roll VARCHAR, gender VARCHAR, decile VARCHAR) [/INST] ### Response: SELECT authority FROM table_name_49 WHERE gender = "coed" AND decile > 4 AND roll = "150" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language for trotta ### Context: CREATE TABLE table_name_68 (language VARCHAR, original_title VARCHAR) [/INST] ### Response: SELECT language FROM table_name_68 WHERE original_title = "trotta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title directed by luis buñuel ### Context: CREATE TABLE table_name_85 (original_title VARCHAR, director VARCHAR) [/INST] ### Response: SELECT original_title FROM table_name_85 WHERE director = "luis buñuel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original title directed by sudhendu roy ### Context: CREATE TABLE table_name_79 (original_title VARCHAR, director VARCHAR) [/INST] ### Response: SELECT original_title FROM table_name_79 WHERE director = "sudhendu roy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 film title that is spanish from peru ### Context: CREATE TABLE table_name_78 (film_title_used_in_nomination VARCHAR, language VARCHAR, country VARCHAR) [/INST] ### Response: SELECT film_title_used_in_nomination FROM table_name_78 WHERE language = "spanish" AND country = "peru" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 langauge for switzerland ### Context: CREATE TABLE table_name_96 (language VARCHAR, country VARCHAR) [/INST] ### Response: SELECT language FROM table_name_96 WHERE country = "switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Total with 0 Silver and Gold, 1 Bronze and Rank larger than 2? ### Context: CREATE TABLE table_name_54 (total INTEGER, gold VARCHAR, silver VARCHAR, rank VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT MIN(total) FROM table_name_54 WHERE rank > 2 AND bronze = 1 AND silver > 0 AND gold < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Bronze medals were received by the nation that Ranked less than 5 and received more than 2 Gold medals, less than 4 Silver medals with a Total of 9 medals? ### Context: CREATE TABLE table_name_70 (bronze INTEGER, silver VARCHAR, total VARCHAR, rank VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_70 WHERE rank < 5 AND gold > 2 AND total = 9 AND silver < 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 order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis? ### Context: CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR) [/INST] ### Response: SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year has WSC class? ### Context: CREATE TABLE table_name_42 (year VARCHAR, class VARCHAR) [/INST] ### Response: SELECT year FROM table_name_42 WHERE class = "wsc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race has D. Beadman for the jockey and a 4th place result? ### Context: CREATE TABLE table_name_27 (race VARCHAR, jockey VARCHAR, result VARCHAR) [/INST] ### Response: SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 1st member in the 1884 by-election? ### Context: CREATE TABLE table_name_7 (election VARCHAR) [/INST] ### Response: SELECT 1 AS st_member FROM table_name_7 WHERE election = "1884 by-election" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2nd party in the 1874 election? ### Context: CREATE TABLE table_name_16 (election VARCHAR) [/INST] ### Response: SELECT 2 AS nd_party FROM table_name_16 WHERE election = "1874" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school had a player who played the C position? ### Context: CREATE TABLE table_name_64 (school VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school FROM table_name_64 WHERE position = "c" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which game is on the date October 16? ### Context: CREATE TABLE table_name_11 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_11 WHERE date = "october 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 is the 2009 value with a q1 in 2006 in the French Open? ### Context: CREATE TABLE table_name_75 (tournament VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_75 WHERE 2006 = "q1" AND tournament = "french open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2010 value with a 2r in 2008 and A in 2013? ### Context: CREATE TABLE table_name_83 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_83 WHERE 2008 = "2r" AND 2013 = "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 is the 2007 value with 1r in 2009 in the US Open? ### Context: CREATE TABLE table_name_26 (tournament VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_26 WHERE 2009 = "1r" AND tournament = "us open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2009 value in the 2011 Grand Slam Tournaments? ### Context: CREATE TABLE table_name_55 (Id VARCHAR) [/INST] ### Response: SELECT 2009 FROM table_name_55 WHERE 2011 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2005 value with 1r in 2013 and q2 in 2011? ### Context: CREATE TABLE table_name_73 (Id VARCHAR) [/INST] ### Response: SELECT 2005 FROM table_name_73 WHERE 2013 = "1r" AND 2011 = "q2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2010 value in the Australian Open? ### Context: CREATE TABLE table_name_60 (tournament VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_60 WHERE tournament = "australian open" </s>