text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player who weighs 210 plays for the Reno Bighorns? ### Context: CREATE TABLE table_name_68 (player VARCHAR, weight VARCHAR, team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_68 WHERE weight = 210 AND team = "reno bighorns" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position does Brian Butch play? ### Context: CREATE TABLE table_name_40 (pos VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pos FROM table_name_40 WHERE player = "brian butch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Player of tyronn lue, and a Years in Orlando of 2003–2004? ### Context: CREATE TABLE table_name_97 (position VARCHAR, player VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT position FROM table_name_97 WHERE player = "tyronn lue" AND years_in_orlando = "2003–2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/Club Team has a Player of deandre liggins? ### Context: CREATE TABLE table_name_34 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Years in Orlando of 1997–1998? ### Context: CREATE TABLE table_name_68 (position VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT position FROM table_name_68 WHERE years_in_orlando = "1997–1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a School/Club Team of stanford? ### Context: CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_15 WHERE school_club_team = "stanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/Club Team has a Years in Orlando of 1997–1998? ### Context: CREATE TABLE table_name_92 (school_club_team VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_92 WHERE years_in_orlando = "1997–1998" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position has a Years in Orlando of 2003–2004? ### Context: CREATE TABLE table_name_55 (position VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT position FROM table_name_55 WHERE years_in_orlando = "2003–2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the High assists with a Date that is february 27? ### Context: CREATE TABLE table_name_42 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_name_42 WHERE date = "february 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: What is the High points with a Game that is 56? ### Context: CREATE TABLE table_name_31 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_points FROM table_name_31 WHERE game = 56 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Distance has a Venue of sale? ### Context: CREATE TABLE table_name_36 (distance VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT distance FROM table_name_36 WHERE venue = "sale" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Winner/2nd that has c. symons? ### Context: CREATE TABLE table_name_84 (winner_2nd VARCHAR, jockey VARCHAR) [/INST] ### Response: SELECT winner_2nd FROM table_name_84 WHERE jockey = "c. symons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that Jockey of d. nikolic is in? ### Context: CREATE TABLE table_name_78 (race VARCHAR, jockey VARCHAR) [/INST] ### Response: SELECT race FROM table_name_78 WHERE jockey = "d. nikolic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that has a Distance of 1200m, and a Weight (kg) of 55.5? ### Context: CREATE TABLE table_name_5 (result VARCHAR, distance VARCHAR, weight__kg_ VARCHAR) [/INST] ### Response: SELECT result FROM table_name_5 WHERE distance = "1200m" AND weight__kg_ = 55.5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the previous team of the United States player who had 2 NBA years and played the F position? ### Context: CREATE TABLE table_name_41 (previous_team VARCHAR, pos VARCHAR, nationality VARCHAR, nba_years_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT previous_team FROM table_name_41 WHERE nationality = "united states" AND nba_years_[a_] = 2 AND pos = "f" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Team has a Score of 108-107? ### Context: CREATE TABLE table_name_82 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_82 WHERE score = "108-107" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Record has a Date of may 31? ### Context: CREATE TABLE table_name_55 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_55 WHERE date = "may 31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Team of at phoenix, and a Score of 107-119? ### Context: CREATE TABLE table_name_54 (game VARCHAR, team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_name_54 WHERE team = "at phoenix" AND score = "107-119" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Location Attendance has a Game larger than 5? ### Context: CREATE TABLE table_name_32 (location_attendance VARCHAR, game INTEGER) [/INST] ### Response: SELECT location_attendance FROM table_name_32 WHERE game > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Team has a Score of 89-123? ### Context: CREATE TABLE table_name_40 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_40 WHERE score = "89-123" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Game with a Date that is june 14? ### Context: CREATE TABLE table_name_24 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_24 WHERE date = "june 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 Record with a Team that is detroit and a Date that is june 10? ### Context: CREATE TABLE table_name_56 (record VARCHAR, team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_56 WHERE team = "detroit" AND date = "june 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Location Attendance with a Record that is 1-4? ### Context: CREATE TABLE table_name_31 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_name_31 WHERE record = "1-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: How much is the GDP for a population density of 254.7? ### Context: CREATE TABLE table_name_7 (gdp__ppp__$m_usd VARCHAR, population_density__per_km²_ VARCHAR) [/INST] ### Response: SELECT gdp__ppp__$m_usd FROM table_name_7 WHERE population_density__per_km²_ = "254.7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has a population density of 50.3? ### Context: CREATE TABLE table_name_46 (country VARCHAR, population_density__per_km²_ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_46 WHERE population_density__per_km²_ = "50.3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much is the GDP for an area of 61,395? ### Context: CREATE TABLE table_name_86 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT gdp__ppp__$m_usd FROM table_name_86 WHERE area__km²_ = "61,395" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much is the population density with a GDP at $188,112? ### Context: CREATE TABLE table_name_31 (population_density__per_km²_ VARCHAR, gdp__ppp__$m_usd VARCHAR) [/INST] ### Response: SELECT population_density__per_km²_ FROM table_name_31 WHERE gdp__ppp__$m_usd = "$188,112" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much is the GDP for an area of 116? ### Context: CREATE TABLE table_name_26 (gdp__ppp__$m_usd VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT gdp__ppp__$m_usd FROM table_name_26 WHERE area__km²_ = "116" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which country has a population of 3,221,216? ### Context: CREATE TABLE table_name_79 (country VARCHAR, population__2011_est_ VARCHAR) [/INST] ### Response: SELECT country FROM table_name_79 WHERE population__2011_est_ = "3,221,216" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Miller Barber wins with Top-5 less than 2 and 19 Events? ### Context: CREATE TABLE table_name_77 (wins VARCHAR, top_5 VARCHAR, events VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_name_77 WHERE top_5 < 2 AND events = 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of Wins in a PGA Championship with a Top-5 less than 2? ### Context: CREATE TABLE table_name_87 (wins INTEGER, tournament VARCHAR, top_5 VARCHAR) [/INST] ### Response: SELECT AVG(wins) FROM table_name_87 WHERE tournament = "pga championship" AND top_5 < 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 highest Top-5 ranking with Events less than 4? ### Context: CREATE TABLE table_name_63 (top_5 INTEGER, events INTEGER) [/INST] ### Response: SELECT MAX(top_5) FROM table_name_63 WHERE events < 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 week's game was attended by 65,272 people? ### Context: CREATE TABLE table_name_18 (week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT week FROM table_name_18 WHERE attendance = "65,272" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in week 13? ### Context: CREATE TABLE table_name_60 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_60 WHERE week = 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: During which week was the earliest game with an attendance of 65,904 people? ### Context: CREATE TABLE table_name_58 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_58 WHERE attendance = "65,904" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height is the tallest for an outside hitter? ### Context: CREATE TABLE table_name_94 (height INTEGER, position VARCHAR) [/INST] ### Response: SELECT MAX(height) FROM table_name_94 WHERE position = "outside hitter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 silver rank with a total of 27? ### Context: CREATE TABLE table_name_65 (silver INTEGER, total VARCHAR) [/INST] ### Response: SELECT MAX(silver) FROM table_name_65 WHERE total = 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: What is the total number of Silver when Bronze was smaller than 1 with a total smaller than 2 in Bulgaria? ### Context: CREATE TABLE table_name_6 (silver VARCHAR, nation VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT COUNT(silver) FROM table_name_6 WHERE bronze < 1 AND total < 2 AND nation = "bulgaria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 temperature classification of a purple colored glass bulb? ### Context: CREATE TABLE table_name_22 (temperature_classification VARCHAR, glass_bulb_color VARCHAR) [/INST] ### Response: SELECT temperature_classification FROM table_name_22 WHERE glass_bulb_color = "purple" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 color code with a temperature classification of ordinary? ### Context: CREATE TABLE table_name_67 (color_code__with_fusible_link_ VARCHAR, temperature_classification VARCHAR) [/INST] ### Response: SELECT color_code__with_fusible_link_ FROM table_name_67 WHERE temperature_classification = "ordinary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 temperature rating of the intermediate temperature classification? ### Context: CREATE TABLE table_name_1 (temperature_rating VARCHAR, temperature_classification VARCHAR) [/INST] ### Response: SELECT temperature_rating FROM table_name_1 WHERE temperature_classification = "intermediate" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Goals for team Kairat, in the 2002 season with more than 29 apps? ### Context: CREATE TABLE table_name_81 (goals INTEGER, apps VARCHAR, team VARCHAR, season VARCHAR) [/INST] ### Response: SELECT AVG(goals) FROM table_name_81 WHERE team = "kairat" AND season = "2002" AND apps > 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the 2006-07 season? ### Context: CREATE TABLE table_name_11 (country VARCHAR, season VARCHAR) [/INST] ### Response: SELECT country FROM table_name_11 WHERE season = "2006-07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Apps for the team Kairat with level larger than 1? ### Context: CREATE TABLE table_name_51 (apps INTEGER, team VARCHAR, level VARCHAR) [/INST] ### Response: SELECT AVG(apps) FROM table_name_51 WHERE team = "kairat" AND level > 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: How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633? ### Context: CREATE TABLE table_name_17 (laps VARCHAR, time VARCHAR, grid VARCHAR, bike VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teh rider with 18 laps and a grid of 25? ### Context: CREATE TABLE table_name_43 (rider VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_43 WHERE laps = 18 AND grid = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the rider who had an accident time and a kawasaki zx-10r bike? ### Context: CREATE TABLE table_name_49 (rider VARCHAR, time VARCHAR, bike VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_49 WHERE time = "accident" AND bike = "kawasaki zx-10r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8? ### Context: CREATE TABLE table_name_7 (time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps did the rider with a grid larger than 14 and a time of +33.150 have? ### Context: CREATE TABLE table_name_82 (laps VARCHAR, grid VARCHAR, time VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_82 WHERE grid > 14 AND time = "+33.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: What is Away, when Home is Guelph Gargoyles? ### Context: CREATE TABLE table_name_24 (away VARCHAR, home VARCHAR) [/INST] ### Response: SELECT away FROM table_name_24 WHERE home = "guelph gargoyles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home, when Ground is Humber College North, and when Time is 15:00? ### Context: CREATE TABLE table_name_58 (home VARCHAR, ground VARCHAR, time VARCHAR) [/INST] ### Response: SELECT home FROM table_name_58 WHERE ground = "humber college north" AND time = "15:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date, when Away is High Park Demons? ### Context: CREATE TABLE table_name_6 (date VARCHAR, away VARCHAR) [/INST] ### Response: SELECT date FROM table_name_6 WHERE away = "high park demons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date, when Away is High Park Demons? ### Context: CREATE TABLE table_name_43 (date VARCHAR, away VARCHAR) [/INST] ### Response: SELECT date FROM table_name_43 WHERE away = "high park demons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Time, when Away is Central Blues? ### Context: CREATE TABLE table_name_95 (time VARCHAR, away VARCHAR) [/INST] ### Response: SELECT time FROM table_name_95 WHERE away = "central blues" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 cover has a published date of May 27, 2009 (hc) May 20, 2009 (tpb)? ### Context: CREATE TABLE table_name_12 (cover VARCHAR, published VARCHAR) [/INST] ### Response: SELECT cover FROM table_name_12 WHERE published = "may 27, 2009 (hc) may 20, 2009 (tpb)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the volume that has an ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? ### Context: CREATE TABLE table_name_49 (volume VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT volume FROM table_name_49 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series with an ISBN of 978-1-59582-523-0 (tpb)? ### Context: CREATE TABLE table_name_22 (series VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT series FROM table_name_22 WHERE isbn = "978-1-59582-523-0 (tpb)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 volume number has the ISBN of 978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)? ### Context: CREATE TABLE table_name_38 (volume VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT volume FROM table_name_38 WHERE isbn = "978-1-59582-712-8 (hc) 978-1-59582-713-5 (tpb)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ISBN of the Conan the Barbarian series that has the title of Queen of the Black Coast? ### Context: CREATE TABLE table_name_75 (isbn VARCHAR, series VARCHAR, title VARCHAR) [/INST] ### Response: SELECT isbn FROM table_name_75 WHERE series = "conan the barbarian" AND title = "queen of the black coast" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What cover has Throne of Aquilonia as the title? ### Context: CREATE TABLE table_name_46 (cover VARCHAR, title VARCHAR) [/INST] ### Response: SELECT cover FROM table_name_46 WHERE title = "throne of aquilonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With a Rank of less than 4, what is Pablo Prigioni's total number of Games? ### Context: CREATE TABLE table_name_44 (games VARCHAR, name VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(games) FROM table_name_44 WHERE name = "pablo prigioni" AND rank < 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: How many Assists for the Player with more than 25 Games? ### Context: CREATE TABLE table_name_45 (assists INTEGER, games INTEGER) [/INST] ### Response: SELECT SUM(assists) FROM table_name_45 WHERE games > 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Rank of the Maccabi Tel Aviv Player with 25 Games? ### Context: CREATE TABLE table_name_82 (rank VARCHAR, games VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_name_82 WHERE games = 25 AND team = "maccabi tel aviv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Assists for the Player with a Rank greater than 3 in less than 25 Games? ### Context: CREATE TABLE table_name_66 (assists INTEGER, rank VARCHAR, games VARCHAR) [/INST] ### Response: SELECT AVG(assists) FROM table_name_66 WHERE rank > 3 AND games < 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Games for Rank 2 Terrell McIntyre? ### Context: CREATE TABLE table_name_8 (games INTEGER, name VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MIN(games) FROM table_name_8 WHERE name = "terrell mcintyre" AND rank > 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 Venue of the Heptathlon after 2006 where Tatyana Chernova comes in Position 7th? ### Context: CREATE TABLE table_name_70 (venue VARCHAR, notes VARCHAR, year VARCHAR, position VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_70 WHERE year > 2006 AND position = "7th" AND notes = "heptathlon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what Year did Chernova come in 1st in Götzis, Austria? ### Context: CREATE TABLE table_name_37 (year INTEGER, venue VARCHAR, position VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_37 WHERE venue = "götzis, austria" AND position = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Cover Model was featured on 8-03? ### Context: CREATE TABLE table_name_8 (cover_model VARCHAR, date VARCHAR) [/INST] ### Response: SELECT cover_model FROM table_name_8 WHERE date = "8-03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Centerfold model when O.J. Simpson was the Interview Subject? ### Context: CREATE TABLE table_name_72 (centerfold_model VARCHAR, interview_subject VARCHAR) [/INST] ### Response: SELECT centerfold_model FROM table_name_72 WHERE interview_subject = "o.j. simpson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Cover model when the Centerfold Model was Marketa Janska? ### Context: CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR) [/INST] ### Response: SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Cover model on 11-03? ### Context: CREATE TABLE table_name_96 (cover_model VARCHAR, date VARCHAR) [/INST] ### Response: SELECT cover_model FROM table_name_96 WHERE date = "11-03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Centerfold Model on 9-03? ### Context: CREATE TABLE table_name_79 (centerfold_model VARCHAR, date VARCHAR) [/INST] ### Response: SELECT centerfold_model FROM table_name_79 WHERE date = "9-03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many rounds had a selection of 165? ### Context: CREATE TABLE table_name_74 (round INTEGER, selection VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_74 WHERE selection = 165 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Height for the Position of d, with a Birthplace of new hope, minnesota? ### Context: CREATE TABLE table_name_79 (height__cm_ INTEGER, position VARCHAR, birthplace VARCHAR) [/INST] ### Response: SELECT AVG(height__cm_) FROM table_name_79 WHERE position = "d" AND birthplace = "new hope, minnesota" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 1990–1991 Team when the Birthplace shows as new york? ### Context: CREATE TABLE table_name_23 (birthplace VARCHAR) [/INST] ### Response: SELECT 1990 AS _1991_team FROM table_name_23 WHERE birthplace = "new york" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Position when the person's birthplace was toledo, ohio? ### Context: CREATE TABLE table_name_32 (position VARCHAR, birthplace VARCHAR) [/INST] ### Response: SELECT position FROM table_name_32 WHERE birthplace = "toledo, ohio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 1990–1991 Team that had Joel Otto? ### Context: CREATE TABLE table_name_41 (name VARCHAR) [/INST] ### Response: SELECT 1990 AS _1991_team FROM table_name_41 WHERE name = "joel otto" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 T.C. has a Year larger than 2007, and a D.C. of 21st? ### Context: CREATE TABLE table_name_26 (tc VARCHAR, year VARCHAR, dc VARCHAR) [/INST] ### Response: SELECT tc FROM table_name_26 WHERE year > 2007 AND dc = "21st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kind of D.C. has Races smaller than 20, and Points larger than 0, and Drivers of christian vietoris, and Wins of 1? ### Context: CREATE TABLE table_name_65 (dc VARCHAR, wins VARCHAR, drivers VARCHAR, races VARCHAR, points VARCHAR) [/INST] ### Response: SELECT dc FROM table_name_65 WHERE races < 20 AND points > 0 AND drivers = "christian vietoris" 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: Which Races has a T.C. of 3rd, and a D.C. of 7th? ### Context: CREATE TABLE table_name_14 (races INTEGER, tc VARCHAR, dc VARCHAR) [/INST] ### Response: SELECT MIN(races) FROM table_name_14 WHERE tc = "3rd" AND dc = "7th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 2007 of the Grand Slam Tournaments in 2008? ### Context: CREATE TABLE table_name_16 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_16 WHERE 2008 = "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 Tournament with a 3r 2011 and A 2010? ### Context: CREATE TABLE table_name_63 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_63 WHERE 2011 = "3r" AND 2010 = "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 2008 of the 2r 2011 and A 2010? ### Context: CREATE TABLE table_name_38 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_38 WHERE 2011 = "2r" AND 2010 = "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 2010 of the Grand Slam Tournaments in 2011? ### Context: CREATE TABLE table_name_66 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_66 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 total number of runners-up for a club with winning years of 2010? ### Context: CREATE TABLE table_name_92 (runners_up VARCHAR, winning_years VARCHAR) [/INST] ### Response: SELECT COUNT(runners_up) FROM table_name_92 WHERE winning_years = "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: Who were the runners-up for the FC Viktoria Plzeň club? ### Context: CREATE TABLE table_name_7 (runners_up VARCHAR, club VARCHAR) [/INST] ### Response: SELECT runners_up FROM table_name_7 WHERE club = "fc viktoria plzeň" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 congress was held in 2010? ### Context: CREATE TABLE table_name_50 (con__gress VARCHAR, date VARCHAR) [/INST] ### Response: SELECT con__gress FROM table_name_50 WHERE date = "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 casting temperature for a hardness of 22? ### Context: CREATE TABLE table_name_88 (casting_at__°c_ VARCHAR, hardness VARCHAR) [/INST] ### Response: SELECT casting_at__°c_ FROM table_name_88 WHERE hardness = "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 is the hardness for the alloy that is liquid at 243 degrees C? ### Context: CREATE TABLE table_name_45 (hardness VARCHAR, liquid_at__°c_ VARCHAR) [/INST] ### Response: SELECT hardness FROM table_name_45 WHERE liquid_at__°c_ = "243" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sn/Sb percentage that is liquid at 258 degrees C? ### Context: CREATE TABLE table_name_4 (sn_sb___percentage_ VARCHAR, liquid_at__°c_ VARCHAR) [/INST] ### Response: SELECT sn_sb___percentage_ FROM table_name_4 WHERE liquid_at__°c_ = "258" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15? ### Context: CREATE TABLE table_name_51 (remelting_at__°c_ VARCHAR, sn_sb___percentage_ VARCHAR) [/INST] ### Response: SELECT remelting_at__°c_ FROM table_name_51 WHERE sn_sb___percentage_ = "9.5/15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 casting temperature for the alloy with hardness 21? ### Context: CREATE TABLE table_name_98 (casting_at__°c_ VARCHAR, hardness VARCHAR) [/INST] ### Response: SELECT casting_at__°c_ FROM table_name_98 WHERE hardness = "21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most laps when grid is 16? ### Context: CREATE TABLE table_name_93 (laps INTEGER, grid VARCHAR) [/INST] ### Response: SELECT MAX(laps) FROM table_name_93 WHERE grid = 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: How many laps were there for a grid of 13? ### Context: CREATE TABLE table_name_35 (laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT COUNT(laps) FROM table_name_35 WHERE grid = 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: How many weeks had an attendance at 69,149? ### Context: CREATE TABLE table_name_12 (week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_12 WHERE attendance = "69,149" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date did week 6 occur? ### Context: CREATE TABLE table_name_40 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_40 WHERE week = 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: Who was the opponent on December 18, 2005? ### Context: CREATE TABLE table_name_80 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_80 WHERE date = "december 18, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result/score for the match report recap on week 14? ### Context: CREATE TABLE table_name_25 (result_score VARCHAR, match_report VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result_score FROM table_name_25 WHERE match_report = "recap" AND week = 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: How many weeks have w 51-29 as the result/score? ### Context: CREATE TABLE table_name_34 (week INTEGER, result_score VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_34 WHERE result_score = "w 51-29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result/score that has 6-5 as the record? ### Context: CREATE TABLE table_name_45 (result_score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT result_score FROM table_name_45 WHERE record = "6-5" </s>