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: How many drafts featured fred hoaglin? ### Context: CREATE TABLE table_name_42 (overall VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_42 WHERE player = "fred hoaglin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the player from delta st. get picked? ### Context: CREATE TABLE table_name_84 (round VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT round FROM table_name_84 WHERE school_club_team = "delta st." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall number for someone from round 16? ### Context: CREATE TABLE table_name_51 (overall INTEGER, round VARCHAR) [/INST] ### Response: SELECT MAX(overall) FROM table_name_51 WHERE round = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the average crowd size when Melbourne was the home team? ### Context: CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_9 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 North Melbourne's score when they were the home team? ### Context: CREATE TABLE table_name_52 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_52 WHERE away_team = "north melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Hawthorn's score as the away team? ### Context: CREATE TABLE table_name_96 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_96 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: Who was the away team at the game at Lake Oval? ### Context: CREATE TABLE table_name_57 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_57 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: Which stadium held the game that 65,677 people attended? ### Context: CREATE TABLE table_name_21 (stadium VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_21 WHERE attendance = "65,677" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the game on October 17, 2004? ### Context: CREATE TABLE table_name_41 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_41 WHERE date = "october 17, 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which week was the October 17, 2004 game played? ### Context: CREATE TABLE table_name_76 (week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT week FROM table_name_76 WHERE date = "october 17, 2004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Browns record after they played the game at the Paul Brown stadium? ### Context: CREATE TABLE table_name_41 (record VARCHAR, stadium VARCHAR) [/INST] ### Response: SELECT record FROM table_name_41 WHERE stadium = "paul brown 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 player went to Gonzaga? ### Context: CREATE TABLE table_name_80 (player VARCHAR, school_country VARCHAR) [/INST] ### Response: SELECT player FROM table_name_80 WHERE school_country = "gonzaga" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rams opponent had a record of 2-3? ### Context: CREATE TABLE table_name_87 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_87 WHERE record = "2-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 number of podiums for the races of 13/15? ### Context: CREATE TABLE table_name_97 (podiums VARCHAR, races_† VARCHAR) [/INST] ### Response: SELECT podiums FROM table_name_97 WHERE races_† = "13/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: How many wins are there for the Races of 12/12? ### Context: CREATE TABLE table_name_36 (wins VARCHAR, races_† VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_36 WHERE races_† = "12/12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the fastest lap for a season smaller than 1979? ### Context: CREATE TABLE table_name_99 (fastest_laps VARCHAR, season INTEGER) [/INST] ### Response: SELECT fastest_laps FROM table_name_99 WHERE season < 1979 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 12/12 races, what is the fastest lap? ### Context: CREATE TABLE table_name_95 (fastest_laps VARCHAR, races_† VARCHAR) [/INST] ### Response: SELECT fastest_laps FROM table_name_95 WHERE races_† = "12/12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the largest crowd where Carlton was the away team? ### Context: CREATE TABLE table_name_64 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_64 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: Which team's home is the Arden Street Oval? ### Context: CREATE TABLE table_name_56 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_56 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 was the lowest attendance at a Fitzroy match? ### Context: CREATE TABLE table_name_68 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_68 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 current club with more than 368 apps and a debut year earlier than 1994? ### Context: CREATE TABLE table_name_51 (current_club VARCHAR, apps VARCHAR, debut_year VARCHAR) [/INST] ### Response: SELECT current_club FROM table_name_51 WHERE apps > 368 AND debut_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 is the all-time rank associated with a rank less than 9 and a debut in 1994? ### Context: CREATE TABLE table_name_55 (time VARCHAR, rank VARCHAR, debut_year VARCHAR) [/INST] ### Response: SELECT -time AS rank FROM table_name_55 WHERE rank < 9 AND debut_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: Which tournament was played on clay and there was a score of 4–6, 6–1, 6–4? ### Context: CREATE TABLE table_name_52 (tournament VARCHAR, surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_52 WHERE surface = "clay" AND score = "4–6, 6–1, 6–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the match where albert montañés was the partner? ### Context: CREATE TABLE table_name_60 (score VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT score FROM table_name_60 WHERE partner = "albert montañés" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score for the match where the opponent in the final was james cerretani todd perry? ### Context: CREATE TABLE table_name_5 (score VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_5 WHERE opponents_in_the_final = "james cerretani todd perry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the opponent in the final is gastón etlis martín rodríguez? ### Context: CREATE TABLE table_name_22 (date VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 WHERE opponents_in_the_final = "gastón etlis martín rodríguez" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 were the opponent in the final was james cerretani todd perry? ### Context: CREATE TABLE table_name_95 (score VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_95 WHERE opponents_in_the_final = "james cerretani todd perry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Birmingham City's outgoing manager? ### Context: CREATE TABLE table_name_12 (outgoing_manager VARCHAR, team VARCHAR) [/INST] ### Response: SELECT outgoing_manager FROM table_name_12 WHERE team = "birmingham city" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 replacement manager for the Bolton Wanderers? ### Context: CREATE TABLE table_name_2 (replaced_by VARCHAR, team VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_name_2 WHERE team = "bolton wanderers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How was Sammy Lee's team doing on the table before being replaced? ### Context: CREATE TABLE table_name_49 (position_in_table VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT position_in_table FROM table_name_49 WHERE outgoing_manager = "sammy lee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hired Gary Megson as the replacement manager? ### Context: CREATE TABLE table_name_63 (team VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT team FROM table_name_63 WHERE replaced_by = "gary megson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match played at MCG? ### Context: CREATE TABLE table_name_86 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 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 was Carlton's score as the home team? ### Context: CREATE TABLE table_name_65 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_65 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 home team plays at Princes Park? ### Context: CREATE TABLE table_name_62 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_62 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 COLLINGWOOD'S LOWEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? ### Context: CREATE TABLE table_name_21 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_21 WHERE away_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 ESSENDON'S HIGHEST CROWD NUMBER WHEN PLAYING AS THE AWAY TEAM? ### Context: CREATE TABLE table_name_85 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_85 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 DID HAWTHORN SCORE AT ITS AWAY GAME? ### Context: CREATE TABLE table_name_50 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_50 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: Who was the opponent on November 26, 1989? ### Context: CREATE TABLE table_name_86 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_86 WHERE date = "november 26, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on October 29, 1989? ### Context: CREATE TABLE table_name_41 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_41 WHERE date = "october 29, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on October 1, 1989? ### Context: CREATE TABLE table_name_15 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_15 WHERE date = "october 1, 1989" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of losses that a team who had an away record of 1-6 and more than 4 wins had? ### Context: CREATE TABLE table_name_6 (losses INTEGER, away VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_6 WHERE away = "1-6" AND wins > 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the home team's score at corio 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 = "corio oval" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What network is in the language of Bengali? ### Context: CREATE TABLE table_name_88 (service VARCHAR, language VARCHAR) [/INST] ### Response: SELECT service FROM table_name_88 WHERE language = "bengali" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What network has an origin in India, a genre of general, and broadcasts in Bengali? ### Context: CREATE TABLE table_name_20 (network VARCHAR, language VARCHAR, origin_of_programming VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT network FROM table_name_20 WHERE origin_of_programming = "india" AND genre = "general" AND language = "bengali" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What language does the Ary Digital network broadcast in? ### Context: CREATE TABLE table_name_98 (language VARCHAR, network VARCHAR) [/INST] ### Response: SELECT language FROM table_name_98 WHERE network = "ary digital" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for Carlton? ### Context: CREATE TABLE table_name_59 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT AVG(crowd) FROM table_name_59 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: How many points did Carlton score? ### Context: CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_41 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: What was the largest crowd for North Melbourne ### Context: CREATE TABLE table_name_98 (crowd INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_98 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 score for Footscray? ### Context: CREATE TABLE table_name_6 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_6 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 is the result of week 5? ### Context: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR) [/INST] ### Response: SELECT result FROM table_name_33 WHERE week = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the gun with a shoulder that measures 10.688 (.420)? ### Context: CREATE TABLE table_name_45 (name VARCHAR, shoulder VARCHAR) [/INST] ### Response: SELECT name FROM table_name_45 WHERE shoulder = "10.688 (.420)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 shoulder measurement of the gun with a length of 57.85 (2.278)? ### Context: CREATE TABLE table_name_36 (shoulder VARCHAR, length VARCHAR) [/INST] ### Response: SELECT shoulder FROM table_name_36 WHERE length = "57.85 (2.278)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 neck measurement of the gun with a shoulder measurement of 10.688 (.420)? ### Context: CREATE TABLE table_name_16 (neck VARCHAR, shoulder VARCHAR) [/INST] ### Response: SELECT neck FROM table_name_16 WHERE shoulder = "10.688 (.420)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 length of the gun that has a shoulder measurement of 12.18 (.480)? ### Context: CREATE TABLE table_name_35 (length VARCHAR, shoulder VARCHAR) [/INST] ### Response: SELECT length FROM table_name_35 WHERE shoulder = "12.18 (.480)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What bullet does the gun with a shoulder measurement of 12.5 (.491)? ### Context: CREATE TABLE table_name_51 (bullet VARCHAR, shoulder VARCHAR) [/INST] ### Response: SELECT bullet FROM table_name_51 WHERE shoulder = "12.5 (.491)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for the game held on September 18, 1994, with a week less than 5? ### Context: CREATE TABLE table_name_25 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_25 WHERE week < 5 AND date = "september 18, 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 was the average attendance when the opponent was at Philadelphia Eagles and the week was later than week 6? ### Context: CREATE TABLE table_name_34 (attendance INTEGER, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_34 WHERE week > 6 AND opponent = "at philadelphia eagles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for the game on October 30, 1994 for a week after week 2? ### Context: CREATE TABLE table_name_54 (attendance VARCHAR, week VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_54 WHERE week > 2 AND date = "october 30, 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 is the title of the episode that aired on September 25, 2005? ### Context: CREATE TABLE table_name_23 (title VARCHAR, podcast_date VARCHAR) [/INST] ### Response: SELECT title FROM table_name_23 WHERE podcast_date = "september 25, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the run time of the episode that aired on September 4, 2005? ### Context: CREATE TABLE table_name_66 (run_time VARCHAR, podcast_date VARCHAR) [/INST] ### Response: SELECT run_time FROM table_name_66 WHERE podcast_date = "september 4, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the historical reference of the episode that aired on October 23, 2005? ### Context: CREATE TABLE table_name_38 (historical_references VARCHAR, podcast_date VARCHAR) [/INST] ### Response: SELECT historical_references FROM table_name_38 WHERE podcast_date = "october 23, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the episode that is before 307, run time equals 5:48 and has P.T. Barnum as the topic? ### Context: CREATE TABLE table_name_92 (podcast_date VARCHAR, run_time VARCHAR, episode_number VARCHAR, historical_references VARCHAR) [/INST] ### Response: SELECT podcast_date FROM table_name_92 WHERE episode_number < 307 AND historical_references = "p.t. barnum" AND run_time = "5:48" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 topic of the episode that runs 6:07? ### Context: CREATE TABLE table_name_7 (historical_references VARCHAR, run_time VARCHAR) [/INST] ### Response: SELECT historical_references FROM table_name_7 WHERE run_time = "6:07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the episode number of the episode that aired on August 8, 2005? ### Context: CREATE TABLE table_name_17 (episode_number VARCHAR, podcast_date VARCHAR) [/INST] ### Response: SELECT episode_number FROM table_name_17 WHERE podcast_date = "august 8, 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day is south melbourne the away side? ### Context: CREATE TABLE table_name_21 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 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: Did the fighter beat Ryo Takigawa? ### Context: CREATE TABLE table_name_62 (res VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT res FROM table_name_62 WHERE opponent = "ryo takigawa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 incident number of the incident that occurred in Dantewada, Chattisgarh? ### Context: CREATE TABLE table_name_8 (incident_no VARCHAR, place VARCHAR) [/INST] ### Response: SELECT incident_no FROM table_name_8 WHERE place = "dantewada, chattisgarh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province has an IATA of UYN? ### Context: CREATE TABLE table_name_12 (province VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT province FROM table_name_12 WHERE iata = "uyn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city has an ICAO of ZSXZ? ### Context: CREATE TABLE table_name_61 (city VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT city FROM table_name_61 WHERE icao = "zsxz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province is Luogang International Airport located in? ### Context: CREATE TABLE table_name_63 (province VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT province FROM table_name_63 WHERE airport = "luogang international airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province has an IATA of WNZ? ### Context: CREATE TABLE table_name_7 (province VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT province FROM table_name_7 WHERE iata = "wnz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 IATA for Korla Airport. ### Context: CREATE TABLE table_name_33 (iata VARCHAR, airport VARCHAR) [/INST] ### Response: SELECT iata FROM table_name_33 WHERE airport = "korla airport" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division did they place 4th? ### Context: CREATE TABLE table_name_27 (division VARCHAR, position VARCHAR) [/INST] ### Response: SELECT division FROM table_name_27 WHERE position = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the top scorer in the 1890-91 season? ### Context: CREATE TABLE table_name_31 (top_scorer VARCHAR, season VARCHAR) [/INST] ### Response: SELECT top_scorer FROM table_name_31 WHERE season = "1890-91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which position has a player at Arizona state? ### Context: CREATE TABLE table_name_95 (position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_95 WHERE school_club_team = "arizona 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: Which school/club has a pick smaller than 196, a round higher than 5 and has Blake Miller? ### Context: CREATE TABLE table_name_25 (school_club_team VARCHAR, player VARCHAR, pick VARCHAR, round VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_25 WHERE pick < 196 AND round > 5 AND player = "blake miller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round at which is the position of Tight End and Randy Bethel? ### Context: CREATE TABLE table_name_56 (round INTEGER, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_56 WHERE position = "tight end" AND player = "randy bethel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day did they play the New Orleans Saints? ### Context: CREATE TABLE table_name_35 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_35 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 was coach Dick Bennett's overall win percentage? ### Context: CREATE TABLE table_name_5 (overall_win_percentage VARCHAR, coach VARCHAR) [/INST] ### Response: SELECT overall_win_percentage FROM table_name_5 WHERE coach = "dick bennett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 notes for the shirt that said Pavv before 2005? ### Context: CREATE TABLE table_name_57 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_57 WHERE shirt_printing = "pavv" AND year < 2005 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the notes for the shirt that said Pavv after 2007? ### Context: CREATE TABLE table_name_31 (notes VARCHAR, shirt_printing VARCHAR, year VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_31 WHERE shirt_printing = "pavv" AND year > 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 is the average of all the years when the notes are “electronics brand?” ### Context: CREATE TABLE table_name_36 (year INTEGER, notes VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_36 WHERE notes = "electronics brand" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 notes for the shirt that says 名品+1 in the kit supplied by Rapido? ### Context: CREATE TABLE table_name_85 (notes VARCHAR, kit_supplier VARCHAR, shirt_printing VARCHAR) [/INST] ### Response: SELECT notes FROM table_name_85 WHERE kit_supplier = "rapido" AND shirt_printing = "名品+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 largest crowd at Lake Oval? ### Context: CREATE TABLE table_name_52 (crowd INTEGER, venue VARCHAR) [/INST] ### Response: SELECT MAX(crowd) FROM table_name_52 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 was the home team for the game with more than 25,000 crowd? ### Context: CREATE TABLE table_name_70 (home_team VARCHAR, crowd INTEGER) [/INST] ### Response: SELECT home_team FROM table_name_70 WHERE crowd > 25 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 was the score for Footscray when they were the away team? ### Context: CREATE TABLE table_name_66 (away_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_66 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 is the result from March 14, 2007? ### Context: CREATE TABLE table_name_26 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_26 WHERE date = "march 14, 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: How many goals have a result of 0-1 on march 28, 2007? ### Context: CREATE TABLE table_name_48 (goals VARCHAR, result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(goals) FROM table_name_48 WHERE result = "0-1" AND date = "march 28, 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 venue has a Result of 3-0? ### Context: CREATE TABLE table_name_73 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_73 WHERE result = "3-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Collingwood's score as the home team? ### Context: CREATE TABLE table_name_54 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_54 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 venue features carlton as the home side? ### Context: CREATE TABLE table_name_40 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_40 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 day is collingwood the home side? ### Context: CREATE TABLE table_name_79 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_79 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: The event that has a record of 1-0 is none of the above. ### Context: CREATE TABLE table_name_71 (event VARCHAR, record VARCHAR) [/INST] ### Response: SELECT event FROM table_name_71 WHERE record = "1-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was Leon Blevins picked? ### Context: CREATE TABLE table_name_81 (year INTEGER, name VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_81 WHERE name = "leon blevins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What year was Jordan Hill picked overall number 8? ### Context: CREATE TABLE table_name_70 (year INTEGER, overall_pick VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_70 WHERE overall_pick = "8" AND name = "jordan 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: In 1981 which team picked overall 148? ### Context: CREATE TABLE table_name_8 (team VARCHAR, year VARCHAR, overall_pick VARCHAR) [/INST] ### Response: SELECT team FROM table_name_8 WHERE year = 1981 AND overall_pick = "148" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many people attended the game on December 2, 1951? ### Context: CREATE TABLE table_name_69 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_69 WHERE date = "december 2, 1951" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue does st kilda play at as the away team? ### Context: CREATE TABLE table_name_30 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_30 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 is melbourne's home team score? ### Context: CREATE TABLE table_name_97 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_97 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: How many games is collingwood the home side? ### Context: CREATE TABLE table_name_4 (crowd VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT COUNT(crowd) FROM table_name_4 WHERE home_team = "collingwood" </s>