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 home team's venue is Windy Hill? ### Context: CREATE TABLE table_name_86 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_86 WHERE venue = "windy hill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for Hawthorn as an away team? ### Context: CREATE TABLE table_name_7 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_7 WHERE away_team = "hawthorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score of the away team when the home team is Essendon? ### Context: CREATE TABLE table_name_12 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_12 WHERE home_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the Home team fitzroy? ### Context: CREATE TABLE table_name_18 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE home_team = "fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest crowd when st kilda was the away team? ### Context: CREATE TABLE table_name_60 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_60 WHERE away_team = "st kilda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 essendon when they were the away team? ### Context: CREATE TABLE table_name_15 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_15 WHERE away_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What home team played at the western oval? ### Context: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_93 WHERE venue = "western oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which mid-hill zone has a slightly warm temperature? ### Context: CREATE TABLE table_name_87 (high_hill_zone VARCHAR, mid_hill_zone VARCHAR) [/INST] ### Response: SELECT high_hill_zone FROM table_name_87 WHERE mid_hill_zone = "slightly warm temperature" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 one took place on December 3, 1995? ### Context: CREATE TABLE table_name_60 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_60 WHERE date = "december 3, 1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the opponent of the New Orleans Saints? ### Context: CREATE TABLE table_name_79 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_79 WHERE opponent = "new orleans saints" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid has 23 laps done by Josh Brookes? ### Context: CREATE TABLE table_name_1 (grid VARCHAR, laps VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_1 WHERE laps = 23 AND rider = "josh brookes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 noriyuki haga's time? ### Context: CREATE TABLE table_name_69 (time VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT time FROM table_name_69 WHERE rider = "noriyuki haga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 laps have a Time of +28.778? ### Context: CREATE TABLE table_name_37 (laps VARCHAR, time VARCHAR) [/INST] ### Response: SELECT laps FROM table_name_37 WHERE time = "+28.778" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the game held where Hawthorn was the away team? ### Context: CREATE TABLE table_name_46 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_46 WHERE away_team = "hawthorn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the game when Richmond was the home team? ### Context: CREATE TABLE table_name_42 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_42 WHERE home_team = "richmond" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team at the game played at Kardinia Park? ### Context: CREATE TABLE table_name_44 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_44 WHERE venue = "kardinia park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the game when the venue is MCG? ### Context: CREATE TABLE table_name_31 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_31 WHERE venue = "mcg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team score when the away team is Essendon? ### Context: CREATE TABLE table_name_77 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_77 WHERE away_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the away team whose venue is Kardinia Park? ### Context: CREATE TABLE table_name_73 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_73 WHERE venue = "kardinia park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result when they were on a bye week? ### Context: CREATE TABLE table_name_33 (result VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT result FROM table_name_33 WHERE stadium = "bye week" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result when the attendance was 25,418? ### Context: CREATE TABLE table_name_99 (result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_99 WHERE attendance = "25,418" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the Latest version was released on Release date 1987-12-09? ### Context: CREATE TABLE table_name_24 (latest_version VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT latest_version FROM table_name_24 WHERE release_date = "1987-12-09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Source model has a 16-bit* Architecture? ### Context: CREATE TABLE table_name_27 (source_model VARCHAR, architecture VARCHAR) [/INST] ### Response: SELECT source_model FROM table_name_27 WHERE architecture = "16-bit*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the Latest version had a 16-bit Architecture and was released on Release date 1985-11-20? ### Context: CREATE TABLE table_name_29 (latest_version VARCHAR, architecture VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT latest_version FROM table_name_29 WHERE architecture = "16-bit" AND release_date = "1985-11-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: Which Architecture was released on Release date 1988-05-27? ### Context: CREATE TABLE table_name_69 (architecture VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT architecture FROM table_name_69 WHERE release_date = "1988-05-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: Which Source model has a Release date of 1992-04-06? ### Context: CREATE TABLE table_name_97 (source_model VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT source_model FROM table_name_97 WHERE release_date = "1992-04-06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 away side when collingwood is at home? ### Context: CREATE TABLE table_name_34 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_34 WHERE home_team = "collingwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team at arden street oval? ### Context: CREATE TABLE table_name_63 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_63 WHERE venue = "arden street oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the WPW freq with a day power of 250? ### Context: CREATE TABLE table_name_55 (freq INTEGER, owner VARCHAR, day_power___w__ VARCHAR) [/INST] ### Response: SELECT SUM(freq) FROM table_name_55 WHERE owner = "wpw" AND day_power___w__ > 250 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Is WPEO in stereo? ### Context: CREATE TABLE table_name_37 (stereo VARCHAR, call VARCHAR) [/INST] ### Response: SELECT stereo FROM table_name_37 WHERE call = "wpeo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Park Tae-Hwan's final time? ### Context: CREATE TABLE table_name_3 (time VARCHAR, name VARCHAR) [/INST] ### Response: SELECT time FROM table_name_3 WHERE name = "park tae-hwan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest crowd for an away Carlton game? ### Context: CREATE TABLE table_name_54 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_54 WHERE away_team = "carlton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team for the game played at Corio Oval? ### Context: CREATE TABLE table_name_20 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_20 WHERE venue = "corio oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The safety position is represented in the draft by which colleges? ### Context: CREATE TABLE table_name_62 (college VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_name_62 WHERE position = "safety" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 how many rounds of the draft was there a college from Georgia involved? ### Context: CREATE TABLE table_name_94 (round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_94 WHERE college = "georgia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Driver Jan Heylen (r)? ### Context: CREATE TABLE table_name_44 (time_retired VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT time_retired FROM table_name_44 WHERE driver = "jan heylen (r)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Grid has Driver Cristiano da Matta? ### Context: CREATE TABLE table_name_10 (grid VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT grid FROM table_name_10 WHERE driver = "cristiano da matta" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Driver has less than 84 laps, more than 9 points and is on Rocketsports Racing Team? ### Context: CREATE TABLE table_name_68 (driver VARCHAR, team VARCHAR, laps VARCHAR, points VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_68 WHERE laps < 84 AND points > 9 AND team = "rocketsports racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 less than 73 laps and a gearbox time? ### Context: CREATE TABLE table_name_56 (team VARCHAR, laps VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT team FROM table_name_56 WHERE laps < 73 AND time_retired = "gearbox" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 car with the lowest extinct year that has a NBR class of 32? ### Context: CREATE TABLE table_name_21 (extinct INTEGER, nbr_class VARCHAR) [/INST] ### Response: SELECT MIN(extinct) FROM table_name_21 WHERE nbr_class = 32 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home team that played at Corio Oval? ### Context: CREATE TABLE table_name_54 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_54 WHERE venue = "corio oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which date was St Kilda the home team? ### Context: CREATE TABLE table_name_2 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE home_team = "st kilda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Austin record of Kansas State? ### Context: CREATE TABLE table_name_21 (at_austin VARCHAR, texas_vs VARCHAR) [/INST] ### Response: SELECT at_austin FROM table_name_21 WHERE texas_vs = "kansas state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the last 5 meetings for a team with an L 1 streak? ### Context: CREATE TABLE table_name_85 (last_5_meetings VARCHAR, current_streak VARCHAR) [/INST] ### Response: SELECT last_5_meetings FROM table_name_85 WHERE current_streak = "l 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: Who is the partner on a date later than 1971 who is the runner-up with a score of 3–6, 3–6? ### Context: CREATE TABLE table_name_33 (partner VARCHAR, score_in_the_final VARCHAR, date VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT partner FROM table_name_33 WHERE date > 1971 AND outcome = "runner-up" AND score_in_the_final = "3–6, 3–6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the first year that Mario Lemieux from Canada won playing center? ### Context: CREATE TABLE table_name_21 (year INTEGER, player VARCHAR, country VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_21 WHERE country = "canada" AND position = "center" AND player = "mario lemieux" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country did mario lemieux play for in 1994? ### Context: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR, year VARCHAR) [/INST] ### Response: SELECT country FROM table_name_17 WHERE player = "mario lemieux" AND year = 1994 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player played center in 2010? ### Context: CREATE TABLE table_name_9 (player VARCHAR, position VARCHAR, year VARCHAR) [/INST] ### Response: SELECT player FROM table_name_9 WHERE position = "center" AND year = 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 is the player associated with the Esher venue? ### Context: CREATE TABLE table_name_63 (player VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT player FROM table_name_63 WHERE venue = "esher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which venue did 0 pens and 1 try occur? ### Context: CREATE TABLE table_name_70 (venue VARCHAR, pens VARCHAR, tries VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_70 WHERE pens = "0" AND tries = "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 was the score of the game against the St. Louis Cardinals? ### Context: CREATE TABLE table_name_82 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_82 WHERE opponent = "st. louis cardinals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which model has a CPU speed of 133mhz? ### Context: CREATE TABLE table_name_52 (model VARCHAR, cpu_speed VARCHAR) [/INST] ### Response: SELECT model FROM table_name_52 WHERE cpu_speed = "133mhz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which model has a maximum memory of 512 mb? ### Context: CREATE TABLE table_name_92 (model INTEGER, maximum_memory VARCHAR) [/INST] ### Response: SELECT MAX(model) FROM table_name_92 WHERE maximum_memory = "512 mb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum memory of the model that has a standard memory of 16 mb? ### Context: CREATE TABLE table_name_10 (maximum_memory VARCHAR, standard_memory VARCHAR) [/INST] ### Response: SELECT maximum_memory FROM table_name_10 WHERE standard_memory = "16 mb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest crowd for a Melbourne away team? ### Context: CREATE TABLE table_name_35 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_35 WHERE away_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team score when the home team is Essendon? ### Context: CREATE TABLE table_name_80 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_80 WHERE home_team = "essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent was playing on December 20, 1998? ### Context: CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_63 WHERE date = "december 20, 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: When was the game that was held at the Princes Park? ### Context: CREATE TABLE table_name_85 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_85 WHERE venue = "princes park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the smallest crowd size at a home game for Footscray? ### Context: CREATE TABLE table_name_93 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_93 WHERE home_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Melbourne's score as the home team? ### Context: CREATE TABLE table_name_91 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_91 WHERE home_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the away team that played Fitzroy? ### Context: CREATE TABLE table_name_96 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_96 WHERE home_team = "fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 crowds at Western Oval? ### Context: CREATE TABLE table_name_65 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country had a winner in 1907? ### Context: CREATE TABLE table_name_55 (country VARCHAR, year VARCHAR) [/INST] ### Response: SELECT country FROM table_name_55 WHERE year = 1907 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 velodrome took place earlier than 1950 with a winner from France in tandem paced over a distance of 951.750 km? ### Context: CREATE TABLE table_name_6 (velodrome VARCHAR, distance VARCHAR, pacing VARCHAR, year VARCHAR, country VARCHAR) [/INST] ### Response: SELECT velodrome FROM table_name_6 WHERE year < 1950 AND country = "france" AND pacing = "tandem paced" AND distance = "951.750 km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the game played when they kickoff was 12:00 p.m., and a Record of 8-5? ### Context: CREATE TABLE table_name_48 (game_site VARCHAR, kickoff VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game_site FROM table_name_48 WHERE kickoff = "12:00 p.m." AND record = "8-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 date has a Game site of bye? ### Context: CREATE TABLE table_name_77 (date VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT date FROM table_name_77 WHERE game_site = "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 is the record which shows Kickoff as kickoff? ### Context: CREATE TABLE table_name_75 (record VARCHAR) [/INST] ### Response: SELECT record FROM table_name_75 WHERE "kickoff" = "kickoff" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the record when the game was played at raymond james stadium? ### Context: CREATE TABLE table_name_46 (record VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT record FROM table_name_46 WHERE game_site = "raymond james stadium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the kickoff for the game on october 22, 2000? ### Context: CREATE TABLE table_name_30 (kickoff VARCHAR, date VARCHAR) [/INST] ### Response: SELECT kickoff FROM table_name_30 WHERE date = "october 22, 2000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Hindi network is based in India and uses dish service and shows general programming? ### Context: CREATE TABLE table_name_93 (network VARCHAR, genre VARCHAR, origin_of_programming VARCHAR, service VARCHAR, language VARCHAR) [/INST] ### Response: SELECT network FROM table_name_93 WHERE service = "dish" AND language = "hindi" AND origin_of_programming = "india" AND genre = "general" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 language is used by the optimum TV service that shows cricket and is based in the United States? ### Context: CREATE TABLE table_name_43 (language VARCHAR, genre VARCHAR, service VARCHAR, origin_of_programming VARCHAR) [/INST] ### Response: SELECT language FROM table_name_43 WHERE service = "optimum tv" AND origin_of_programming = "united states" AND genre = "cricket" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 origin of the Malayalam Dish Service that shows general programming on the Asianet Plus network? ### Context: CREATE TABLE table_name_11 (origin_of_programming VARCHAR, network VARCHAR, genre VARCHAR, service VARCHAR, language VARCHAR) [/INST] ### Response: SELECT origin_of_programming FROM table_name_11 WHERE service = "dish" AND language = "malayalam" AND genre = "general" AND network = "asianet plus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 grid number with a ferrari and a time or retired time of 1:32:35.101? ### Context: CREATE TABLE table_name_10 (grid INTEGER, constructor VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT AVG(grid) FROM table_name_10 WHERE constructor = "ferrari" AND time_retired = "1:32:35.101" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week of the season was November 24, 1957? ### Context: CREATE TABLE table_name_74 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_74 WHERE date = "november 24, 1957" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the game against the San Diego Chargers? ### Context: CREATE TABLE table_name_41 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_41 WHERE opponent = "san diego chargers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the latest week with the date of november 5, 1995? ### Context: CREATE TABLE table_name_40 (week INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_40 WHERE date = "november 5, 1995" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the outcome of the Tournament in Buenos Aires? ### Context: CREATE TABLE table_name_30 (outcome VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_30 WHERE tournament = "buenos aires" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match played with partner Andres Molteni, with the outcome of winner, who was the opponent? ### Context: CREATE TABLE table_name_45 (opponent VARCHAR, outcome VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_45 WHERE outcome = "winner" AND partner = "andres molteni" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with a Span of 1998-2009? ### Context: CREATE TABLE table_name_8 (player VARCHAR, span VARCHAR) [/INST] ### Response: SELECT player FROM table_name_8 WHERE span = "1998-2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What draw has a Span of 1987-1999? ### Context: CREATE TABLE table_name_85 (draw VARCHAR, span VARCHAR) [/INST] ### Response: SELECT draw FROM table_name_85 WHERE span = "1987-1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player has a span of 1997-2009? ### Context: CREATE TABLE table_name_54 (player VARCHAR, span VARCHAR) [/INST] ### Response: SELECT player FROM table_name_54 WHERE span = "1997-2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round did Takayo Hashi face Yoko Hattori? ### Context: CREATE TABLE table_name_14 (round INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_14 WHERE opponent = "yoko hattori" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the away team that played at Princes Park? ### Context: CREATE TABLE table_name_51 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_51 WHERE venue = "princes park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date when Footscray was the away team? ### Context: CREATE TABLE table_name_5 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_5 WHERE away_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the home team's score in the match at Victoria Park? ### Context: CREATE TABLE table_name_6 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_6 WHERE venue = "victoria park" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what date was South Melbourne the away team? ### Context: CREATE TABLE table_name_61 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_61 WHERE away_team = "south melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What away team did Carlton play? ### Context: CREATE TABLE table_name_77 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_77 WHERE home_team = "carlton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of bronze when silver is greater than 3? ### Context: CREATE TABLE table_name_45 (bronze INTEGER, silver INTEGER) [/INST] ### Response: SELECT SUM(bronze) FROM table_name_45 WHERE silver > 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 is the average total when gold is 0, bronze is 0, and silver is smaller than 1? ### Context: CREATE TABLE table_name_54 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_54 WHERE gold = 0 AND bronze = 0 AND silver < 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 was the total attendance in week 8? ### Context: CREATE TABLE table_name_96 (attendance VARCHAR, week VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_96 WHERE week = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner in 2007? ### Context: CREATE TABLE table_name_49 (winner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_49 WHERE date = 2007 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sport was played before 2006 with a loser of france b? ### Context: CREATE TABLE table_name_93 (sport VARCHAR, date VARCHAR, loser VARCHAR) [/INST] ### Response: SELECT sport FROM table_name_93 WHERE date < 2006 AND loser = "france b" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winner with the loser being russia-2? ### Context: CREATE TABLE table_name_66 (winner VARCHAR, loser VARCHAR) [/INST] ### Response: SELECT winner FROM table_name_66 WHERE loser = "russia-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 was the loser playing football with england b as a winner after 1992? ### Context: CREATE TABLE table_name_55 (loser VARCHAR, date VARCHAR, sport VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT loser FROM table_name_55 WHERE sport = "football" AND winner = "england b" AND date > 1992 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of the race that occurred in Brooklyn, Michigan with a sanctioning of cart? ### Context: CREATE TABLE table_name_36 (race_name VARCHAR, sanctioning VARCHAR, city_location VARCHAR) [/INST] ### Response: SELECT race_name FROM table_name_36 WHERE sanctioning = "cart" AND city_location = "brooklyn, michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where did the Gould Rex Mays Classic 150 occur? ### Context: CREATE TABLE table_name_38 (city_location VARCHAR, race_name VARCHAR) [/INST] ### Response: SELECT city_location FROM table_name_38 WHERE race_name = "gould rex mays classic 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 the date for the race that has a circuit of Milwaukee Mile and the sanctioning of cart? ### Context: CREATE TABLE table_name_10 (date VARCHAR, circuit VARCHAR, sanctioning VARCHAR) [/INST] ### Response: SELECT date FROM table_name_10 WHERE circuit = "milwaukee mile" AND sanctioning = "cart" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: 15 albums were released in the UK during which year? ### Context: CREATE TABLE table_name_25 (year VARCHAR, uk_albums VARCHAR) [/INST] ### Response: SELECT year FROM table_name_25 WHERE uk_albums = "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 venue where Collingwood played as the home team? ### Context: CREATE TABLE table_name_60 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_60 WHERE home_team = "collingwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 size of the crowd for the game with Footscray as the home team? ### Context: CREATE TABLE table_name_59 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_59 WHERE home_team = "footscray" </s>