text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the earliest year that had more than 105,579 flying hours and a seat factor of 68%? ### Context: CREATE TABLE table_name_41 (year INTEGER, seat_factor VARCHAR, flying_hours VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_41 WHERE seat_factor = "68%" AND flying_hours > 105 OFFSET 579 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player played for the Balmain Tigers? ### Context: CREATE TABLE table_name_98 (player VARCHAR, club VARCHAR) [/INST] ### Response: SELECT player FROM table_name_98 WHERE club = "balmain 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: What was the nationality of five-eighth player Darren Lockyer? ### Context: CREATE TABLE table_name_96 (nationality VARCHAR, player VARCHAR, position VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_96 WHERE player = "darren lockyer" AND position = "five-eighth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did Greg Inglis hold? ### Context: CREATE TABLE table_name_21 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_21 WHERE player = "greg inglis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the match played in 1998? ### Context: CREATE TABLE table_name_40 (location VARCHAR, year VARCHAR) [/INST] ### Response: SELECT location FROM table_name_40 WHERE year = 1998 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Footscray's Home team score? ### Context: CREATE TABLE table_name_62 (home_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_62 WHERE home_team = "footscray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who faced Collingwood as an away team? ### Context: CREATE TABLE table_name_54 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team 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: How many total points belong to the team with a goal difference of 8? ### Context: CREATE TABLE table_name_94 (points INTEGER, goal_difference VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_94 WHERE goal_difference = 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: What K League classic had less than 10 teams? ### Context: CREATE TABLE table_name_3 (k_league_classic VARCHAR, teams INTEGER) [/INST] ### Response: SELECT k_league_classic FROM table_name_3 WHERE teams < 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many teams played before 2008, had a K League Classic of runners-up, and a Manager of kim ho? ### Context: CREATE TABLE table_name_48 (teams INTEGER, manager VARCHAR, season VARCHAR, k_league_classic VARCHAR) [/INST] ### Response: SELECT SUM(teams) FROM table_name_48 WHERE season < 2008 AND k_league_classic = "runners-up" AND manager = "kim ho" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 at Junction Oval venue? ### Context: CREATE TABLE table_name_8 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_8 WHERE venue = "junction 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: When Collingwood was the home team who was the opposing away team? ### Context: CREATE TABLE table_name_52 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_52 WHERE home_team = "collingwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the team score of the away team at Junction Oval? ### Context: CREATE TABLE table_name_35 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_35 WHERE venue = "junction 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 team is from Lake Oval? ### Context: CREATE TABLE table_name_93 (home_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_93 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: Who is the runner-up for Ilhwa Chunma? ### Context: CREATE TABLE table_name_81 (runner_up VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT runner_up FROM table_name_81 WHERE winner = "ilhwa chunma" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Collingwood was the away team? ### Context: CREATE TABLE table_name_45 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_45 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 the attendance of the Hawthorn as the away team? ### Context: CREATE TABLE table_name_92 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT SUM(crowd) FROM table_name_92 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: Where did Richmond play as the home team? ### Context: CREATE TABLE table_name_43 (venue VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_43 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 is the home team score for the game with the away team Carlton? ### Context: CREATE TABLE table_name_25 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team AS score FROM table_name_25 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 is the away team for the game at Windy Hill? ### Context: CREATE TABLE table_name_72 (away_team VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_72 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: For the race held on 10/08/86, what was the circuit? ### Context: CREATE TABLE table_name_11 (circuit VARCHAR, date VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_11 WHERE date = "10/08/86" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What circuit saw Cabin Racing as the winning team? ### Context: CREATE TABLE table_name_41 (circuit VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT circuit FROM table_name_41 WHERE winning_team = "cabin racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the winning driver driving the winning car March - Honda 86j, with the winning team Team Nova? ### Context: CREATE TABLE table_name_84 (winning_driver VARCHAR, winning_car VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_name_84 WHERE winning_car = "march - honda 86j" AND winning_team = "team nova" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Lane 5? ### Context: CREATE TABLE table_name_84 (name VARCHAR, lane VARCHAR) [/INST] ### Response: SELECT name FROM table_name_84 WHERE lane = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Arkady Vyatchanin's time? ### Context: CREATE TABLE table_name_86 (time VARCHAR, name VARCHAR) [/INST] ### Response: SELECT time FROM table_name_86 WHERE name = "arkady vyatchanin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team's score when north melbourne is the home team? ### Context: CREATE TABLE table_name_28 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team AS score FROM table_name_28 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 with fitzroy as the home team? ### Context: CREATE TABLE table_name_8 (crowd INTEGER, away_team VARCHAR) [/INST] ### Response: SELECT MIN(crowd) FROM table_name_8 WHERE away_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 school did the linebacker who was drafted after round 8 come from? ### Context: CREATE TABLE table_name_36 (school_club_team VARCHAR, round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_36 WHERE round > 8 AND position = "linebacker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pens does Siaosi Atiola have? ### Context: CREATE TABLE table_name_80 (pens VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pens FROM table_name_80 WHERE player = "siaosi atiola" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What pens have a draw of 0 when the player is sione mafi pahulu? ### Context: CREATE TABLE table_name_17 (pens VARCHAR, draw VARCHAR, player VARCHAR) [/INST] ### Response: SELECT pens FROM table_name_17 WHERE draw = "0" AND player = "sione mafi pahulu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lost for span 2006- when conv is 0? ### Context: CREATE TABLE table_name_63 (lost VARCHAR, conv VARCHAR, span VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_63 WHERE conv = "0" AND span = "2006-" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tries does Fakahau Valu have? ### Context: CREATE TABLE table_name_83 (tries VARCHAR, player VARCHAR) [/INST] ### Response: SELECT tries FROM table_name_83 WHERE player = "fakahau valu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What school did the punter picked after 101 attend? ### Context: CREATE TABLE table_name_62 (college VARCHAR, pick VARCHAR, position VARCHAR) [/INST] ### Response: SELECT college FROM table_name_62 WHERE pick > 101 AND position = "punter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player was picked 176? ### Context: CREATE TABLE table_name_51 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_51 WHERE pick = 176 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What player was drafted 252? ### Context: CREATE TABLE table_name_52 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_52 WHERE pick = 252 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the venue where Collingwood played as the away team? ### Context: CREATE TABLE table_name_26 (venue VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_26 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 is the date of the game where South Melbourne was the away team? ### Context: CREATE TABLE table_name_58 (date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_58 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 is the average number of laps when the country was NL and the race number was smaller than 8? ### Context: CREATE TABLE table_name_96 (laps INTEGER, race_number VARCHAR, country VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_96 WHERE race_number < 8 AND country = "nl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 E edges of the polyhedra with vertices V greater than 20? ### Context: CREATE TABLE table_name_32 (edges_e VARCHAR, vertices_v INTEGER) [/INST] ### Response: SELECT COUNT(edges_e) FROM table_name_32 WHERE vertices_v > 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: What are the points for the Seven Sisters RFC club? ### Context: CREATE TABLE table_name_71 (points VARCHAR, club VARCHAR) [/INST] ### Response: SELECT points FROM table_name_71 WHERE club = "seven sisters rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many tries were for the 7 lost? ### Context: CREATE TABLE table_name_87 (tries_for VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_87 WHERE lost = "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: How many tries had a losing bonus of 5, and were part of the Maesteg Celtic RFC club? ### Context: CREATE TABLE table_name_73 (tries_for VARCHAR, losing_bonus VARCHAR, club VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_73 WHERE losing_bonus = "5" AND club = "maesteg celtic rfc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was lost against 383 points? ### Context: CREATE TABLE table_name_59 (lost VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT lost FROM table_name_59 WHERE points_against = "383" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the rank for Daewoo Business Center when the notes are cancelled? ### Context: CREATE TABLE table_name_39 (rank VARCHAR, notes VARCHAR, name VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_39 WHERE notes = "cancelled" AND name = "daewoo business center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 floors have a Height m / feet of 900 / 2,952? ### Context: CREATE TABLE table_name_58 (floors VARCHAR, height_m___feet VARCHAR) [/INST] ### Response: SELECT floors FROM table_name_58 WHERE height_m___feet = "900 / 2,952" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 height for shanghai x-1 financial building? ### Context: CREATE TABLE table_name_97 (height_m___feet VARCHAR, name VARCHAR) [/INST] ### Response: SELECT height_m___feet FROM table_name_97 WHERE name = "shanghai x-1 financial building" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the rank for the 96 floors? ### Context: CREATE TABLE table_name_75 (rank VARCHAR, floors VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_75 WHERE floors = "96" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On what Date is the Circuit at Sandown Raceway? ### Context: CREATE TABLE table_name_37 (date VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT date FROM table_name_37 WHERE circuit = "sandown raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 City/State of the Oran Park race? ### Context: CREATE TABLE table_name_85 (city___state VARCHAR, race_title VARCHAR) [/INST] ### Response: SELECT city___state FROM table_name_85 WHERE race_title = "oran 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: In what City/State did John Bowe win at Phillip Island Grand Prix Circuit? ### Context: CREATE TABLE table_name_12 (city___state VARCHAR, winner VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT city___state FROM table_name_12 WHERE winner = "john bowe" AND circuit = "phillip island grand prix circuit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season has a percentage of 13.56%? ### Context: CREATE TABLE table_name_45 (seasons VARCHAR, percentage VARCHAR) [/INST] ### Response: SELECT seasons FROM table_name_45 WHERE percentage = "13.56%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many poles has a percentage of 22.08%? ### Context: CREATE TABLE table_name_57 (poles INTEGER, percentage VARCHAR) [/INST] ### Response: SELECT SUM(poles) FROM table_name_57 WHERE percentage = "22.08%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 poles does driver Nelson Piquet have? ### Context: CREATE TABLE table_name_83 (poles INTEGER, driver VARCHAR) [/INST] ### Response: SELECT SUM(poles) FROM table_name_83 WHERE driver = "nelson piquet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Loss has an Avg/G larger than 129.2? ### Context: CREATE TABLE table_name_87 (loss VARCHAR, avg_g INTEGER) [/INST] ### Response: SELECT COUNT(loss) FROM table_name_87 WHERE avg_g > 129.2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Loss is the lowest one that has an Avg/G of 3.5, and a Gain smaller than 42? ### Context: CREATE TABLE table_name_83 (loss INTEGER, avg_g VARCHAR, gain VARCHAR) [/INST] ### Response: SELECT MIN(loss) FROM table_name_83 WHERE avg_g = 3.5 AND gain < 42 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Avg/G has a Loss larger than 117, and a Name of opponents, and a Gain smaller than 2444? ### Context: CREATE TABLE table_name_41 (avg_g VARCHAR, gain VARCHAR, loss VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(avg_g) FROM table_name_41 WHERE loss > 117 AND name = "opponents" AND gain < 2444 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Avg/G has a Long of 51, and a Loss of 333, and a Gain larger than 2013? ### Context: CREATE TABLE table_name_51 (avg_g VARCHAR, gain VARCHAR, long VARCHAR, loss VARCHAR) [/INST] ### Response: SELECT COUNT(avg_g) FROM table_name_51 WHERE long = 51 AND loss = 333 AND gain > 2013 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much Avg/G has a Name of robert marve, and a Gain smaller than 236? ### Context: CREATE TABLE table_name_32 (avg_g INTEGER, name VARCHAR, gain VARCHAR) [/INST] ### Response: SELECT SUM(avg_g) FROM table_name_32 WHERE name = "robert marve" AND gain < 236 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 where Saint-Amant lost the match? ### Context: CREATE TABLE table_name_42 (score VARCHAR, opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_42 WHERE opponent = "saint-amant" AND result = "lost" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the match located when the odds were p + 1 and the score was 1/3? ### Context: CREATE TABLE table_name_98 (location VARCHAR, odds VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location FROM table_name_98 WHERE odds = "p + 1" AND score = "1/3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for an n/a location with the odds of p + 1? ### Context: CREATE TABLE table_name_61 (result VARCHAR, location VARCHAR, odds VARCHAR) [/INST] ### Response: SELECT result FROM table_name_61 WHERE location = "n/a" AND odds = "p + 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 for a game with the odds of p + 2 after 1847? ### Context: CREATE TABLE table_name_36 (score VARCHAR, odds VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_36 WHERE odds = "p + 2" AND date > 1847 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a game that had the odds of q rook? ### Context: CREATE TABLE table_name_33 (date INTEGER, odds VARCHAR) [/INST] ### Response: SELECT AVG(date) FROM table_name_33 WHERE odds = "q rook" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 nationality of the player in round 7? ### Context: CREATE TABLE table_name_33 (nationality VARCHAR, round VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_33 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: Which player is from the United States, and played for the Bowling Green Falcons (CCHA) as their College/Junior/Club Team (League)? ### Context: CREATE TABLE table_name_38 (player VARCHAR, nationality VARCHAR, college_junior_club_team__league_ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_38 WHERE nationality = "united states" AND college_junior_club_team__league_ = "bowling green falcons (ccha)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 College/Junior/Club Team (League) did the player in round 6 play for? ### Context: CREATE TABLE table_name_98 (college_junior_club_team__league_ VARCHAR, round VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_98 WHERE round = "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 round did Jamie Cooke play in? ### Context: CREATE TABLE table_name_34 (round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT round FROM table_name_34 WHERE player = "jamie cooke" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average points White made with 0 extra points? ### Context: CREATE TABLE table_name_14 (points INTEGER, extra_points VARCHAR, player VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_14 WHERE extra_points = 0 AND player = "white" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 does Sweeley have, with less than 0 Field goals? ### Context: CREATE TABLE table_name_45 (points INTEGER, player VARCHAR, field_goals VARCHAR) [/INST] ### Response: SELECT SUM(points) FROM table_name_45 WHERE player = "sweeley" AND field_goals < 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 had the most touchdowns with more than 0 Field goals? ### Context: CREATE TABLE table_name_71 (touchdowns INTEGER, field_goals INTEGER) [/INST] ### Response: SELECT MAX(touchdowns) FROM table_name_71 WHERE field_goals > 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: When was the game at the home of the Los Angeles Kings? ### Context: CREATE TABLE table_name_72 (date VARCHAR, home VARCHAR) [/INST] ### Response: SELECT date FROM table_name_72 WHERE home = "los angeles kings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On April 22 when the Los Angeles Kings where visitors what was the record? ### Context: CREATE TABLE table_name_59 (record VARCHAR, visitor VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_59 WHERE visitor = "los angeles kings" AND date = "april 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: Tell me the name for round of 1 ### Context: CREATE TABLE table_name_33 (name VARCHAR, round VARCHAR) [/INST] ### Response: SELECT name FROM table_name_33 WHERE round = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the sum of pick # for round less than 1 ### Context: CREATE TABLE table_name_92 (pick__number INTEGER, round INTEGER) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_92 WHERE round < 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the total number of overall for brent hawkins and pick # more than 28 ### Context: CREATE TABLE table_name_5 (overall VARCHAR, name VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT COUNT(overall) FROM table_name_5 WHERE name = "brent hawkins" AND pick__number > 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2012 if it is 2R in 2013, 1R in 2005, and 1R in 2008? ### Context: CREATE TABLE table_name_84 (Id VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_84 WHERE 2013 = "2r" AND 2005 = "1r" AND 2008 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2006 when it is Grand Slam Tournaments in 2012? ### Context: CREATE TABLE table_name_37 (Id VARCHAR) [/INST] ### Response: SELECT 2006 FROM table_name_37 WHERE 2012 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which tournament has a value of 2R in 2008? ### Context: CREATE TABLE table_name_54 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_54 WHERE 2008 = "2r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2008 when 1R is 2009 and 3R? ### Context: CREATE TABLE table_name_77 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_77 WHERE 2009 = "1r" AND 2006 = "3r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a 1R value in 2007 and 2009? ### Context: CREATE TABLE table_name_91 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_91 WHERE 2007 = "1r" AND 2009 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 value in 2013 when it is 1R in 2007 and 2009? ### Context: CREATE TABLE table_name_38 (Id VARCHAR) [/INST] ### Response: SELECT 2013 FROM table_name_38 WHERE 2007 = "1r" AND 2009 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did michelle do in archery? ### Context: CREATE TABLE table_name_39 (michelle INTEGER, discipline VARCHAR) [/INST] ### Response: SELECT AVG(michelle) FROM table_name_39 WHERE discipline = "archery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What City is the Jal hotel in? ### Context: CREATE TABLE table_name_77 (city VARCHAR, name VARCHAR) [/INST] ### Response: SELECT city FROM table_name_77 WHERE name = "jal hotel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did he win with a time of 0:38? ### Context: CREATE TABLE table_name_41 (method VARCHAR, time VARCHAR) [/INST] ### Response: SELECT method FROM table_name_41 WHERE time = "0:38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who did he fight in Rumble of the Kings 6? ### Context: CREATE TABLE table_name_87 (opponent VARCHAR, event VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_87 WHERE event = "rumble of the kings 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: How long was the match with Jaime Fletcher? ### Context: CREATE TABLE table_name_83 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_83 WHERE opponent = "jaime fletcher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team Glenn Seton Racing has a circuit at the lakeside international raceway, what is the location and state? ### Context: CREATE TABLE table_name_84 (location___state VARCHAR, team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT location___state FROM table_name_84 WHERE team = "glenn seton racing" AND circuit = "lakeside international raceway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location and state has a circuit of Phillip Island Grand Prix Circuit? ### Context: CREATE TABLE table_name_59 (location___state VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT location___state FROM table_name_59 WHERE circuit = "phillip island grand prix circuit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: with race of ranvet stakes what is the group? ### Context: CREATE TABLE table_name_12 (group VARCHAR, race VARCHAR) [/INST] ### Response: SELECT group FROM table_name_12 WHERE race = "ranvet stakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Slalom has a Downhill of 4? ### Context: CREATE TABLE table_name_36 (slalom VARCHAR, downhill VARCHAR) [/INST] ### Response: SELECT slalom FROM table_name_36 WHERE downhill = "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 Version has a Remixed by Perky Park with a Length of 6:38? ### Context: CREATE TABLE table_name_29 (version VARCHAR, remixed_by VARCHAR, length VARCHAR) [/INST] ### Response: SELECT version FROM table_name_29 WHERE remixed_by = "perky park" AND length = "6:38" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Year that has an Album of Remixes? ### Context: CREATE TABLE table_name_52 (year INTEGER, album VARCHAR) [/INST] ### Response: SELECT SUM(year) FROM table_name_52 WHERE album = "remixes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed for the Lengtht that has a Version of Single Version? ### Context: CREATE TABLE table_name_32 (length VARCHAR, version VARCHAR) [/INST] ### Response: SELECT length FROM table_name_32 WHERE version = "single version" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance of week 11 ### Context: CREATE TABLE table_name_62 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_62 WHERE week = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent had a result of 0:1? ### Context: CREATE TABLE table_name_27 (opponent VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_27 WHERE results¹ = "0: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: When was the game played in Zagreb? ### Context: CREATE TABLE table_name_79 (date VARCHAR, city VARCHAR) [/INST] ### Response: SELECT date FROM table_name_79 WHERE city = "zagreb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent played a 1990 wcq type of game, where the results were 0:0? ### Context: CREATE TABLE table_name_99 (opponent VARCHAR, type_of_game VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_99 WHERE type_of_game = "1990 wcq" AND results¹ = "0: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: When was the game played against Norway with a result of 1:0? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE opponent = "norway" AND results¹ = "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: the sum of Events that has a Rank larger than 5 is 3 ### Context: CREATE TABLE table_name_97 (events INTEGER, rank INTEGER) [/INST] ### Response: SELECT SUM(events) FROM table_name_97 WHERE rank > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was Alicja Rosolska Partnered with when the Score in Final was 4–6, 3–6? ### Context: CREATE TABLE table_name_97 (partnered_with VARCHAR, score_in_final VARCHAR) [/INST] ### Response: SELECT partnered_with FROM table_name_97 WHERE score_in_final = "4–6, 3–6" </s>