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 dance style had a draw smaller than 15 and 18 points? ### Context: CREATE TABLE table_name_54 (dance_styles VARCHAR, draw VARCHAR, points VARCHAR) [/INST] ### Response: SELECT dance_styles FROM table_name_54 WHERE draw < 15 AND points = 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the away team's score for the match played at Victoria Park? ### Context: CREATE TABLE table_name_89 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_89 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: What is Collingwood's home venue? ### Context: CREATE TABLE table_name_45 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_45 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 was the away teams score when they played Carlton? ### Context: CREATE TABLE table_name_19 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_19 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 latest year featuring candace parker? ### Context: CREATE TABLE table_name_47 (year INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_47 WHERE player = "candace parker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 north melbourne is the home side? ### Context: CREATE TABLE table_name_94 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_94 WHERE home_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest crowd at victoria park? ### Context: CREATE TABLE table_name_22 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_22 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: What day was geelong the away side? ### Context: CREATE TABLE table_name_96 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_96 WHERE away_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the stadium in Brisbane? ### Context: CREATE TABLE table_name_17 (stadium VARCHAR, city VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_17 WHERE city = "brisbane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 match that had a score of 58-6? ### Context: CREATE TABLE table_name_92 (result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT result FROM table_name_92 WHERE score = "58-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the match that had the result of Hunter Mariners def. Castleford Tigers? ### Context: CREATE TABLE table_name_12 (score VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_12 WHERE result = "hunter mariners def. castleford tigers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For the match ending in a score of 66-20, what was the stadium? ### Context: CREATE TABLE table_name_92 (stadium VARCHAR, score VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_92 WHERE score = "66-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: In what city is the Don Valley Stadium located? ### Context: CREATE TABLE table_name_61 (city VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT city FROM table_name_61 WHERE stadium = "don valley 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: Which championship was the 100m backstroke performed? ### Context: CREATE TABLE table_name_22 (meet VARCHAR, event VARCHAR) [/INST] ### Response: SELECT meet FROM table_name_22 WHERE event = "100m backstroke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 event has a time of 7:45.67? ### Context: CREATE TABLE table_name_62 (event VARCHAR, time VARCHAR) [/INST] ### Response: SELECT event FROM table_name_62 WHERE time = "7:45.67" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nationality has a year larger than 2009 with a position of power forward? ### Context: CREATE TABLE table_name_32 (nationality VARCHAR, year VARCHAR, position VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_32 WHERE year > 2009 AND position = "power forward" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 plays for the chicago bulls? ### Context: CREATE TABLE table_name_92 (player VARCHAR, team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_92 WHERE team = "chicago bulls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the main places for the streymoy region with an area of larger than 6.1? ### Context: CREATE TABLE table_name_91 (main_places VARCHAR, regions VARCHAR, area VARCHAR) [/INST] ### Response: SELECT main_places FROM table_name_91 WHERE regions = "streymoy" AND area > 6.1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of people per km2 for the sandoy region with an area of 112.1? ### Context: CREATE TABLE table_name_41 (people_per_km² INTEGER, regions VARCHAR, area VARCHAR) [/INST] ### Response: SELECT SUM(people_per_km²) FROM table_name_41 WHERE regions = "sandoy" AND area = 112.1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the week there were 41,604 people in attendance? ### Context: CREATE TABLE table_name_62 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_62 WHERE attendance = 41 OFFSET 604 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 crowd size for games with hawthorn as the home side? ### Context: CREATE TABLE table_name_8 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_8 WHERE home_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 home team's score at glenferrie oval? ### Context: CREATE TABLE table_name_66 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_66 WHERE venue = "glenferrie 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: Who had the lowest Best time that also had a Qual 2 of 49.887? ### Context: CREATE TABLE table_name_13 (best INTEGER, qual_2 VARCHAR) [/INST] ### Response: SELECT MIN(best) FROM table_name_13 WHERE qual_2 = "49.887" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CTE Racing-hvm's Best with a Qual 2 of 50.312? ### Context: CREATE TABLE table_name_77 (best VARCHAR, team VARCHAR, qual_2 VARCHAR) [/INST] ### Response: SELECT best FROM table_name_77 WHERE team = "cte racing-hvm" AND qual_2 = "50.312" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score when essendon was the away team? ### Context: CREATE TABLE table_name_51 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_51 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: When richmond was the Away team what was the score of the home team? ### Context: CREATE TABLE table_name_37 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_37 WHERE away_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: Which service does the network of atn urdu offer? ### Context: CREATE TABLE table_name_74 (service VARCHAR, network VARCHAR) [/INST] ### Response: SELECT service FROM table_name_74 WHERE network = "atn urdu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Whose origin of Programming offers a general genre, a network of ntv bangla and a service of cogeco cable? ### Context: CREATE TABLE table_name_12 (origin_of_programming VARCHAR, service VARCHAR, genre VARCHAR, network VARCHAR) [/INST] ### Response: SELECT origin_of_programming FROM table_name_12 WHERE genre = "general" AND network = "ntv bangla" AND service = "cogeco cable" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 service has a hindi language, general genre and zee tv network? ### Context: CREATE TABLE table_name_95 (service VARCHAR, network VARCHAR, language VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT service FROM table_name_95 WHERE language = "hindi" AND genre = "general" AND network = "zee tv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network has an origina of Programming in India, a general genre, a service of bell fibe tv, and tamil as its language? ### Context: CREATE TABLE table_name_9 (network VARCHAR, language VARCHAR, service VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT network FROM table_name_9 WHERE origin_of_programming = "india" AND genre = "general" AND service = "bell fibe tv" AND language = "tamil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has Programming from India, general genre, a network of ptc punjabi and bell fibe tv service? ### Context: CREATE TABLE table_name_80 (language VARCHAR, service VARCHAR, network VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT language FROM table_name_80 WHERE origin_of_programming = "india" AND genre = "general" AND network = "ptc punjabi" AND service = "bell fibe tv" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bronzes when the rank is below 11 for trinidad and tobago with less than 1 total medal? ### Context: CREATE TABLE table_name_94 (bronze INTEGER, total VARCHAR, rank VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_94 WHERE rank < 11 AND nation = "trinidad and tobago" AND total < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the sum of gold medal totals for nations with 1 silver, less than 2 bronze, and ranked below 10? ### Context: CREATE TABLE table_name_86 (gold INTEGER, rank VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_86 WHERE silver = 1 AND bronze < 2 AND total = 1 AND rank < 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: Who did Winfield Scott have an allegiance with? ### Context: CREATE TABLE table_name_28 (allegiance VARCHAR, name VARCHAR) [/INST] ### Response: SELECT allegiance FROM table_name_28 WHERE name = "winfield scott" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 July 2013 population estimate of the location which had a population density larger than 14.1? ### Context: CREATE TABLE table_name_10 (population_density___km_2__ INTEGER) [/INST] ### Response: SELECT COUNT(2013 AS _population__july_est_) FROM table_name_10 WHERE population_density___km_2__ > 14.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 highest rank of an area with a population density larger than 5.7 and a 2006–2011 percentage growth of 5.7%? ### Context: CREATE TABLE table_name_45 (rank INTEGER, population_density___km_2__ VARCHAR, _percentage_growth__2006_11_ VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_45 WHERE population_density___km_2__ > 5.7 AND _percentage_growth__2006_11_ = "5.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: What was the lowest 2011 Census population of an area with a land area larger than 908,607.67 km²? ### Context: CREATE TABLE table_name_38 (population___2011_census__ INTEGER, land_area__km²_ INTEGER) [/INST] ### Response: SELECT MIN(population___2011_census__) FROM table_name_38 WHERE land_area__km²_ > 908 OFFSET 607.67 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rider from the 1971 Isle of Man Junior TT 250cc final standings had a speed equal to 86.15mph? ### Context: CREATE TABLE table_name_78 (rider VARCHAR, speed VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_78 WHERE speed = "86.15mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rider had a points score equal to 10? ### Context: CREATE TABLE table_name_60 (rider VARCHAR, points VARCHAR) [/INST] ### Response: SELECT rider FROM table_name_60 WHERE points = 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: Which Start has a 0 Conv, 0 Pens and 8 Tries? ### Context: CREATE TABLE table_name_54 (start VARCHAR, tries VARCHAR, conv VARCHAR, pens VARCHAR) [/INST] ### Response: SELECT start FROM table_name_54 WHERE conv = "0" AND pens = "0" AND tries = "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: Which Player has 0 Pens and 12 Starts? ### Context: CREATE TABLE table_name_42 (player VARCHAR, pens VARCHAR, start VARCHAR) [/INST] ### Response: SELECT player FROM table_name_42 WHERE pens = "0" AND start = "12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Start has 8 Tries and 0 Convs? ### Context: CREATE TABLE table_name_58 (start VARCHAR, tries VARCHAR, conv VARCHAR) [/INST] ### Response: SELECT start FROM table_name_58 WHERE tries = "8" AND conv = "0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the away team for the game at Victoria Park? ### Context: CREATE TABLE table_name_47 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_47 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: What was round 7's lowest overall? ### Context: CREATE TABLE table_name_72 (overall INTEGER, round VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_72 WHERE round = 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: Who had the smallest overall under 22? ### Context: CREATE TABLE table_name_51 (player VARCHAR, overall INTEGER) [/INST] ### Response: SELECT player FROM table_name_51 WHERE overall < 22 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Cal State-Los Angeles' position with an Overall above 22? ### Context: CREATE TABLE table_name_77 (position VARCHAR, overall VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_77 WHERE overall > 22 AND school_club_team = "cal state-los angeles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played for Memphis State? ### Context: CREATE TABLE table_name_47 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_47 WHERE school_club_team = "memphis state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest crowd for the St Kilda as the away team? ### Context: CREATE TABLE table_name_26 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_26 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 crowd size when Essendon was the home team? ### Context: CREATE TABLE table_name_98 (crowd VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT crowd FROM table_name_98 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 venue had a crowd larger than 20,000? ### Context: CREATE TABLE table_name_68 (venue VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT venue FROM table_name_68 WHERE crowd > 20 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which away team played at Lake Oval? ### Context: CREATE TABLE table_name_50 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_50 WHERE venue = "lake 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 total number of the crowd at Glenferrie Oval? ### Context: CREATE TABLE table_name_28 (crowd VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT COUNT(crowd) FROM table_name_28 WHERE venue = "glenferrie 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 Western Oval venue has what date? ### Context: CREATE TABLE table_name_37 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 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 is the kickoff time for the Miami Dolphins? ### Context: CREATE TABLE table_name_81 (kickoff VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT kickoff FROM table_name_81 WHERE opponent = "miami dolphins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final of the New England Patriots game? ### Context: CREATE TABLE table_name_66 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_66 WHERE opponent = "new england patriots" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance on august 10, 1963, and a week larger than 1? ### Context: CREATE TABLE table_name_75 (attendance INTEGER, date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_75 WHERE date = "august 10, 1963" AND week > 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 away team when the home team was south melbourne? ### Context: CREATE TABLE table_name_79 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_79 WHERE home_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 is the smallest crowd at princes park? ### Context: CREATE TABLE table_name_57 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_57 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 is the highest ranked nation with 15 silver medals and no more than 47 total? ### Context: CREATE TABLE table_name_53 (rank INTEGER, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT MAX(rank) FROM table_name_53 WHERE silver = 15 AND total < 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest rank by average of a couple who had an average of 25.3 and had more than 10 dances? ### Context: CREATE TABLE table_name_27 (rank_by_average INTEGER, average VARCHAR, number_of_dances VARCHAR) [/INST] ### Response: SELECT MAX(rank_by_average) FROM table_name_27 WHERE average = 25.3 AND number_of_dances > 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 example with the associative type? ### Context: CREATE TABLE table_name_56 (example VARCHAR, type VARCHAR) [/INST] ### Response: SELECT example FROM table_name_56 WHERE type = "associative" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Suffix of the intensive and valency change of 0? ### Context: CREATE TABLE table_name_21 (suffix VARCHAR, valency_change VARCHAR, type VARCHAR) [/INST] ### Response: SELECT suffix FROM table_name_21 WHERE valency_change = "0" AND type = "intensive" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Valency change of associative type? ### Context: CREATE TABLE table_name_1 (valency_change VARCHAR, type VARCHAR) [/INST] ### Response: SELECT valency_change FROM table_name_1 WHERE type = "associative" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when hawthorn is the away side? ### Context: CREATE TABLE table_name_66 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_66 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 away team that played at Windy Hill? ### Context: CREATE TABLE table_name_29 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_29 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 was the away team at the match where the crowd was larger than 30,000? ### Context: CREATE TABLE table_name_3 (away_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT away_team FROM table_name_3 WHERE crowd > 30 OFFSET 000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest crowd when richmond is away? ### Context: CREATE TABLE table_name_44 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_44 WHERE away_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: What is melbourne's home team score? ### Context: CREATE TABLE table_name_48 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_48 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: Who is the color commentator in 2008? ### Context: CREATE TABLE table_name_16 (color_commentator_s_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT color_commentator_s_ FROM table_name_16 WHERE year = 2008 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which member of the National Party is from the Hinkler electorate? ### Context: CREATE TABLE table_name_6 (member VARCHAR, party VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT member FROM table_name_6 WHERE party = "national" AND electorate = "hinkler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 member is from the state of SA and the grey electorate? ### Context: CREATE TABLE table_name_74 (member VARCHAR, state VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT member FROM table_name_74 WHERE state = "sa" AND electorate = "grey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state is the Petrie electorate? ### Context: CREATE TABLE table_name_39 (state VARCHAR, electorate VARCHAR) [/INST] ### Response: SELECT state FROM table_name_39 WHERE electorate = "petrie" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What round was the draft pick of tight end with an Overall larger than 21? ### Context: CREATE TABLE table_name_68 (round VARCHAR, position VARCHAR, overall VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_68 WHERE position = "tight end" AND overall > 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: Which player is a wide receiver picked in round 7? ### Context: CREATE TABLE table_name_77 (player VARCHAR, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT player FROM table_name_77 WHERE position = "wide receiver" AND round = 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: What is the name of the running back pick? ### Context: CREATE TABLE table_name_3 (player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_3 WHERE position = "running back" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the VFL pay at Victoria Park? ### Context: CREATE TABLE table_name_17 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_17 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: When did South Melbourne play as the away team? ### Context: CREATE TABLE table_name_45 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_45 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 was home team Essendon's opponents score? ### Context: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_9 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: When was The Love Eterne released? ### Context: CREATE TABLE table_name_2 (year VARCHAR, title VARCHAR) [/INST] ### Response: SELECT year FROM table_name_2 WHERE title = "the love eterne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 heats had 5 lanes and a rank less than 110 for the nationality of Honduras? ### Context: CREATE TABLE table_name_18 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(heat) FROM table_name_18 WHERE lane = 5 AND rank > 110 AND nationality = "honduras" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 heats had 2 lanes, a rank above 75, and nationality of Madagascar? ### Context: CREATE TABLE table_name_48 (heat VARCHAR, nationality VARCHAR, lane VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(heat) FROM table_name_48 WHERE lane = 2 AND rank > 75 AND nationality = "madagascar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every heat for the nationality of Macedonia with a rank less than 114? ### Context: CREATE TABLE table_name_13 (heat INTEGER, nationality VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT SUM(heat) FROM table_name_13 WHERE nationality = "macedonia" AND rank < 114 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 least number of heats with more than 8 lanes for the Nationality of Germany? ### Context: CREATE TABLE table_name_88 (heat INTEGER, nationality VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT MIN(heat) FROM table_name_88 WHERE nationality = "germany" AND lane > 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: When the VFL played Victoria Park what was the home team score? ### Context: CREATE TABLE table_name_11 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_11 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: What driver has over 19 points and a grid of over 2? ### Context: CREATE TABLE table_name_65 (driver VARCHAR, points VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_65 WHERE points > 19 AND grid > 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the away team when geelong was the home team? ### Context: CREATE TABLE table_name_4 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_4 WHERE home_team = "geelong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score of the home team when they played footscray? ### Context: CREATE TABLE table_name_8 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_8 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 score for the home team of essendon? ### Context: CREATE TABLE table_name_45 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_45 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 was the score for the Essendon home team? ### Context: CREATE TABLE table_name_31 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_31 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 was the smallest crowd for the Richmond home team? ### Context: CREATE TABLE table_name_56 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_56 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: What was the largest crowd at the Brunswick Street Oval? ### Context: CREATE TABLE table_name_75 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_75 WHERE venue = "brunswick 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: Who was the home team when VFL played at Windy Hill? ### Context: CREATE TABLE table_name_16 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_16 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 was the attendance when the VFL played Glenferrie Oval? ### Context: CREATE TABLE table_name_82 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_82 WHERE venue = "glenferrie oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance when North Melbourne was the away team? ### Context: CREATE TABLE table_name_77 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_77 WHERE away_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did Essendon play as the home team? ### Context: CREATE TABLE table_name_70 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_70 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: Can you give me the age of the Virtues of Wisdom? ### Context: CREATE TABLE table_name_47 (approximate_age VARCHAR, virtues VARCHAR) [/INST] ### Response: SELECT approximate_age FROM table_name_47 WHERE virtues = "wisdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Virtue looks at the intimacy vs. isolation crisis? ### Context: CREATE TABLE table_name_48 (virtues VARCHAR, psycho_social_crisis VARCHAR) [/INST] ### Response: SELECT virtues FROM table_name_48 WHERE psycho_social_crisis = "intimacy vs. isolation" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you give me the age of the Significant Relationship of Family? ### Context: CREATE TABLE table_name_41 (approximate_age VARCHAR, significant_relationship VARCHAR) [/INST] ### Response: SELECT approximate_age FROM table_name_41 WHERE significant_relationship = "family" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Significant Relationship of Parents belongs with what Virtue? ### Context: CREATE TABLE table_name_84 (virtues VARCHAR, significant_relationship VARCHAR) [/INST] ### Response: SELECT virtues FROM table_name_84 WHERE significant_relationship = "parents" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 at windy hill? ### Context: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_35 WHERE venue = "windy hill" </s>