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 is the Place of the Player with a Score of 69-72-72=213? ### Context: CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 September 20? ### Context: CREATE TABLE table_name_99 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_99 WHERE date = "september 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: The golfer who won in 1993 had what total has his total? ### Context: CREATE TABLE table_name_97 (total INTEGER, year_s__won VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_97 WHERE year_s__won = "1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When the finish is t27 what is the year (s) won? ### Context: CREATE TABLE table_name_57 (year_s__won VARCHAR, finish VARCHAR) [/INST] ### Response: SELECT year_s__won FROM table_name_57 WHERE finish = "t27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What total average has 1988 has the year (s) won? ### Context: CREATE TABLE table_name_34 (total INTEGER, year_s__won VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_34 WHERE year_s__won = "1988" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 place did Bob Tway finish? ### Context: CREATE TABLE table_name_71 (finish VARCHAR, player VARCHAR) [/INST] ### Response: SELECT finish FROM table_name_71 WHERE player = "bob tway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 draws for Byes less than 4? ### Context: CREATE TABLE table_name_80 (draws INTEGER, byes INTEGER) [/INST] ### Response: SELECT MIN(draws) FROM table_name_80 WHERE byes < 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: When losses is 6 and draws is more than 0, what is the greatest byes? ### Context: CREATE TABLE table_name_24 (byes INTEGER, losses VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT MAX(byes) FROM table_name_24 WHERE losses = 6 AND draws > 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 Benall DFL is Goorambat with less than 13 wins, what is the least amount of losses? ### Context: CREATE TABLE table_name_15 (losses INTEGER, benalla_dfl VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MIN(losses) FROM table_name_15 WHERE benalla_dfl = "goorambat" AND wins < 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When Benalla DFL is swanpool with less than 16 losses, what is the sum of Byes? ### Context: CREATE TABLE table_name_39 (byes VARCHAR, benalla_dfl VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT COUNT(byes) FROM table_name_39 WHERE benalla_dfl = "swanpool" AND losses < 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 is the most wins for draws greater than 0? ### Context: CREATE TABLE table_name_31 (wins INTEGER, draws INTEGER) [/INST] ### Response: SELECT MAX(wins) FROM table_name_31 WHERE draws > 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 day did the Raiders score 17? ### Context: CREATE TABLE table_name_11 (date VARCHAR, raiders_points VARCHAR) [/INST] ### Response: SELECT date FROM table_name_11 WHERE raiders_points = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 streak for the game after 8 on Nov 22? ### Context: CREATE TABLE table_name_74 (streak VARCHAR, game VARCHAR, date VARCHAR) [/INST] ### Response: SELECT streak FROM table_name_74 WHERE game > 8 AND date = "nov 22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total Goals with a Rank smaller than 10, a Name of nicolas anelka, and Appearances larger than 9? ### Context: CREATE TABLE table_name_7 (goals INTEGER, appearances VARCHAR, rank VARCHAR, name VARCHAR) [/INST] ### Response: SELECT SUM(goals) FROM table_name_7 WHERE rank < 10 AND name = "nicolas anelka" AND appearances > 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Goals with Rank larger than 10? ### Context: CREATE TABLE table_name_71 (goals INTEGER, rank INTEGER) [/INST] ### Response: SELECT SUM(goals) FROM table_name_71 WHERE rank > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the greatest Goals with a Name of samuel eto'o? ### Context: CREATE TABLE table_name_34 (goals INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(goals) FROM table_name_34 WHERE name = "samuel eto'o" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Rank has a Team of roma? ### Context: CREATE TABLE table_name_14 (rank VARCHAR, team VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_14 WHERE team = "roma" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Country of the Player with a To par of +1 and a Score of 72-71=143? ### Context: CREATE TABLE table_name_99 (country VARCHAR, to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_99 WHERE to_par = "+1" AND score = 72 - 71 = 143 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bob Tway's To par? ### Context: CREATE TABLE table_name_27 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_27 WHERE player = "bob tway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par when the score is 73-69-67-74=283? ### Context: CREATE TABLE table_name_40 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_40 WHERE score = 73 - 69 - 67 - 74 = 283 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 lowest weight snatched for a lifter who had a clean and jerk less than 185? ### Context: CREATE TABLE table_name_21 (snatch INTEGER, clean_ VARCHAR, _jerk VARCHAR) [/INST] ### Response: SELECT MIN(snatch) FROM table_name_21 WHERE clean_ & _jerk < 185 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Record has a Result of l 13–30? ### Context: CREATE TABLE table_name_29 (record VARCHAR, result VARCHAR) [/INST] ### Response: SELECT record FROM table_name_29 WHERE result = "l 13–30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Week larger than 3, and a Game site of mile high stadium, and a Record of 3–3? ### Context: CREATE TABLE table_name_46 (opponent VARCHAR, record VARCHAR, week VARCHAR, game_site VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_46 WHERE week > 3 AND game_site = "mile high stadium" AND record = "3–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 most recent year for a first elected republican? ### Context: CREATE TABLE table_name_36 (first_elected INTEGER, party VARCHAR) [/INST] ### Response: SELECT MAX(first_elected) FROM table_name_36 WHERE party = "republican" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the first elected for Jo Bonner? ### Context: CREATE TABLE table_name_12 (first_elected INTEGER, incumbent VARCHAR) [/INST] ### Response: SELECT MIN(first_elected) FROM table_name_12 WHERE incumbent = "jo bonner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 party of the california 35 district? ### Context: CREATE TABLE table_name_4 (party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT party FROM table_name_4 WHERE district = "california 35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 earliest first elected date of incumbent howard mckeon? ### Context: CREATE TABLE table_name_26 (first_elected INTEGER, incumbent VARCHAR) [/INST] ### Response: SELECT MIN(first_elected) FROM table_name_26 WHERE incumbent = "howard mckeon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What district has a democratic party? ### Context: CREATE TABLE table_name_45 (district VARCHAR, party VARCHAR) [/INST] ### Response: SELECT district FROM table_name_45 WHERE party = "democratic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Streak has a Location/Attendance of staples center, and a Score of 67–89? ### Context: CREATE TABLE table_name_1 (streak VARCHAR, location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT streak FROM table_name_1 WHERE location_attendance = "staples center" AND score = "67–89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which game is on mar 12? ### Context: CREATE TABLE table_name_81 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(game) FROM table_name_81 WHERE date = "mar 12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent is on mar 10? ### Context: CREATE TABLE table_name_63 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_63 WHERE date = "mar 10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Streak is in new orleans arena and a Record of 31–33? ### Context: CREATE TABLE table_name_75 (streak VARCHAR, location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT streak FROM table_name_75 WHERE location_attendance = "new orleans arena" AND record = "31–33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Game has an Opponent of phoenix suns? ### Context: CREATE TABLE table_name_22 (game VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game FROM table_name_22 WHERE opponent = "phoenix suns" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Score of 92–93? ### Context: CREATE TABLE table_name_52 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_52 WHERE score = "92–93" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the country of the player whose score is 71-69-70-69=279? ### Context: CREATE TABLE table_name_21 (country VARCHAR, score VARCHAR) [/INST] ### Response: SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 69 = 279 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 DIRECTOR WITH FILM hope and pain? ### Context: CREATE TABLE table_name_28 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT director FROM table_name_28 WHERE film_title_used_in_nomination = "hope and pain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 WITH FILM LAKE OF TEARS? ### Context: CREATE TABLE table_name_28 (result VARCHAR, film_title_used_in_nomination VARCHAR) [/INST] ### Response: SELECT result FROM table_name_28 WHERE film_title_used_in_nomination = "lake of tears" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Date of september 20, 1992? ### Context: CREATE TABLE table_name_92 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_92 WHERE date = "september 20, 1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Week has Attendance of 71,740? ### Context: CREATE TABLE table_name_97 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT SUM(week) FROM table_name_97 WHERE attendance = "71,740" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Date of october 4, 1992? ### Context: CREATE TABLE table_name_52 (week INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_52 WHERE date = "october 4, 1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has Attendance of 71,740? ### Context: CREATE TABLE table_name_53 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_53 WHERE attendance = "71,740" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1976 has a 1978 of grand slam tournaments? ### Context: CREATE TABLE table_name_57 (Id VARCHAR) [/INST] ### Response: SELECT 1976 FROM table_name_57 WHERE 1978 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1978 has a 1976 of 62%? ### Context: CREATE TABLE table_name_99 (Id VARCHAR) [/INST] ### Response: SELECT 1978 FROM table_name_99 WHERE 1976 = "62%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1984 has a 1978 of 46–15? ### Context: CREATE TABLE table_name_87 (Id VARCHAR) [/INST] ### Response: SELECT 1984 FROM table_name_87 WHERE 1978 = "46–15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1973 has a 1978 of 75%? ### Context: CREATE TABLE table_name_31 (Id VARCHAR) [/INST] ### Response: SELECT 1973 FROM table_name_31 WHERE 1978 = "75%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1983 has a 1975 of career statistics? ### Context: CREATE TABLE table_name_44 (Id VARCHAR) [/INST] ### Response: SELECT 1983 FROM table_name_44 WHERE 1975 = "career statistics" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1976 has a Tournament of overall win – loss? ### Context: CREATE TABLE table_name_67 (tournament VARCHAR) [/INST] ### Response: SELECT 1976 FROM table_name_67 WHERE tournament = "overall win – loss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins, when Goals For is greater than 39, and when Points is less than 25? ### Context: CREATE TABLE table_name_55 (wins INTEGER, goals_for VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_55 WHERE goals_for > 39 AND points < 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of Goals For, when Losses is greater than 16? ### Context: CREATE TABLE table_name_99 (goals_for VARCHAR, losses INTEGER) [/INST] ### Response: SELECT COUNT(goals_for) FROM table_name_99 WHERE losses > 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 is the average Position, when Goal Difference is "17", and when Wins is greater than 13? ### Context: CREATE TABLE table_name_80 (position INTEGER, goal_difference VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(position) FROM table_name_80 WHERE goal_difference = 17 AND wins > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Goals For, when Draws is less than 4, and when Points is less than 27? ### Context: CREATE TABLE table_name_32 (goals_for INTEGER, draws VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MIN(goals_for) FROM table_name_32 WHERE draws < 4 AND points < 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest capacity for Bursa? ### Context: CREATE TABLE table_name_10 (capacity INTEGER, city VARCHAR) [/INST] ### Response: SELECT MIN(capacity) FROM table_name_10 WHERE city = "bursa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kara Ali Acar Sport Hall located in? ### Context: CREATE TABLE table_name_4 (city VARCHAR, arena VARCHAR) [/INST] ### Response: SELECT city FROM table_name_4 WHERE arena = "kara ali acar sport hall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 capacity of Bandırma Banvit? ### Context: CREATE TABLE table_name_28 (capacity INTEGER, club VARCHAR) [/INST] ### Response: SELECT AVG(capacity) FROM table_name_28 WHERE club = "bandırma banvit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue that had 5000 m after 2009? ### Context: CREATE TABLE table_name_98 (venue VARCHAR, year VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_98 WHERE year > 2009 AND notes = "5000 m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 latest year with a position of 1st at Maputo, Mozambique? ### Context: CREATE TABLE table_name_60 (year INTEGER, position VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_60 WHERE position = "1st" AND venue = "maputo, mozambique" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was in 2009? ### Context: CREATE TABLE table_name_82 (position VARCHAR, year VARCHAR) [/INST] ### Response: SELECT position FROM table_name_82 WHERE year = 2009 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What F Player was previously with the New York Knicks? ### Context: CREATE TABLE table_name_73 (player VARCHAR, pos VARCHAR, previous_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_73 WHERE pos = "f" AND previous_team = "new york knicks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 G Player with 4 years NBA Experience? ### Context: CREATE TABLE table_name_29 (nationality VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_29 WHERE years_of_nba_experience_[a_] = "4" AND pos = "g" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player has 10 Years of NBA experience? ### Context: CREATE TABLE table_name_21 (player VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_21 WHERE years_of_nba_experience_[a_] = "10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What G/F Player has 3 Years in the NBA? ### Context: CREATE TABLE table_name_27 (player VARCHAR, pos VARCHAR, years_of_nba_experience_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT player FROM table_name_27 WHERE pos = "g/f" AND years_of_nba_experience_[a_] = "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 source has delph as the name? ### Context: CREATE TABLE table_name_53 (source VARCHAR, name VARCHAR) [/INST] ### Response: SELECT source FROM table_name_53 WHERE name = "delph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 attendance when Stourbridge is the home team? ### Context: CREATE TABLE table_name_25 (attendance VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_25 WHERE home_team = "stourbridge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the attendance is greater than 134 and Workington is the home team? ### Context: CREATE TABLE table_name_30 (score VARCHAR, attendance VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_30 WHERE attendance > 134 AND home_team = "workington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coach has 0 conference titles, more than 2 seasons, higher than 87 losses and 0 NCAA? ### Context: CREATE TABLE table_name_18 (coach VARCHAR, ncaa VARCHAR, losses VARCHAR, conference_titles VARCHAR, seasons VARCHAR) [/INST] ### Response: SELECT coach FROM table_name_18 WHERE conference_titles = "0" AND seasons > 2 AND losses > 87 AND ncaa = "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 are coach Bill Henderson's highest wins with more than 233 losses? ### Context: CREATE TABLE table_name_35 (wins INTEGER, coach VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_35 WHERE coach = "bill henderson" AND losses > 233 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 the draws with less than 2284 against, 8 losses, and more than 10 wins? ### Context: CREATE TABLE table_name_61 (draws INTEGER, wins VARCHAR, against VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT SUM(draws) FROM table_name_61 WHERE against < 2284 AND losses = 8 AND wins > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of against with 11 wins and less than 0 draws? ### Context: CREATE TABLE table_name_31 (against INTEGER, wins VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT AVG(against) FROM table_name_31 WHERE wins = 11 AND draws < 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 is the total number of losses of the central murray of tooleybuc manangatang, which has less than 0 draws? ### Context: CREATE TABLE table_name_65 (losses VARCHAR, central_murray VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_65 WHERE central_murray = "tooleybuc manangatang" AND draws < 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 is the highest number of losses of the central murray of lake boga, which has less than 10 wins? ### Context: CREATE TABLE table_name_91 (losses INTEGER, central_murray VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_91 WHERE central_murray = "lake boga" AND wins < 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of draws of the central murray of leitchville gunbower, which has less than 0 byes? ### Context: CREATE TABLE table_name_30 (draws INTEGER, central_murray VARCHAR, byes VARCHAR) [/INST] ### Response: SELECT AVG(draws) FROM table_name_30 WHERE central_murray = "leitchville gunbower" AND byes < 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 is the total number of wins of the central murray of koondrook-barham, which has more than 0 draws? ### Context: CREATE TABLE table_name_70 (wins VARCHAR, central_murray VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_name_70 WHERE central_murray = "koondrook-barham" AND draws > 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 is the date when France is the opposing team? ### Context: CREATE TABLE table_name_50 (date VARCHAR, opposing_teams VARCHAR) [/INST] ### Response: SELECT date FROM table_name_50 WHERE opposing_teams = "france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with more than 3 against, and South Africa is the opposing team? ### Context: CREATE TABLE table_name_55 (venue VARCHAR, against VARCHAR, opposing_teams VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_55 WHERE against > 3 AND opposing_teams = "south africa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the Status of Five Nations and 0 againts? ### Context: CREATE TABLE table_name_38 (venue VARCHAR, status VARCHAR, against VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_38 WHERE status = "five nations" AND against = 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 Upper stage has Launches to date of 0, and Version of 532? ### Context: CREATE TABLE table_name_86 (upper_stage VARCHAR, launches_to_date VARCHAR, version VARCHAR) [/INST] ### Response: SELECT upper_stage FROM table_name_86 WHERE launches_to_date = 0 AND version = "532" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 greatest CCBs with Launches to date of 4, and a Payload to GTO of 8,900kg? ### Context: CREATE TABLE table_name_52 (ccbs INTEGER, launches_to_date VARCHAR, payload_to_gto VARCHAR) [/INST] ### Response: SELECT MAX(ccbs) FROM table_name_52 WHERE launches_to_date = 4 AND payload_to_gto = "8,900kg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Payload to GTO has CCBs larger than 1, and a Payload to LEO of 29,400kg? ### Context: CREATE TABLE table_name_95 (payload_to_gto VARCHAR, ccbs VARCHAR, payload_to_leo VARCHAR) [/INST] ### Response: SELECT payload_to_gto FROM table_name_95 WHERE ccbs > 1 AND payload_to_leo = "29,400kg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 greatest CCBs with a Payload to GTO of –, and an Upper stage of sec? ### Context: CREATE TABLE table_name_13 (ccbs INTEGER, payload_to_gto VARCHAR, upper_stage VARCHAR) [/INST] ### Response: SELECT MAX(ccbs) FROM table_name_13 WHERE payload_to_gto = "–" AND upper_stage = "sec" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Launches to date with a Version of 541, and CCBs smaller than 1? ### Context: CREATE TABLE table_name_8 (launches_to_date VARCHAR, version VARCHAR, ccbs VARCHAR) [/INST] ### Response: SELECT COUNT(launches_to_date) FROM table_name_8 WHERE version = "541" AND ccbs < 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 highest standard order for the Transcription based on Pinyin, She Jiang? ### Context: CREATE TABLE table_name_93 (standard_order INTEGER, transcription__based_on_pinyin_ VARCHAR) [/INST] ### Response: SELECT MAX(standard_order) FROM table_name_93 WHERE transcription__based_on_pinyin_ = "she jiang" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 english translation of the traditional Chinese word, 哀郢? ### Context: CREATE TABLE table_name_73 (english_translation VARCHAR, traditional_chinese VARCHAR) [/INST] ### Response: SELECT english_translation FROM table_name_73 WHERE traditional_chinese = "哀郢" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 simplified Chinese with a standard order over 4, and the transcription of Bei Hui Feng? ### Context: CREATE TABLE table_name_43 (simplified_chinese VARCHAR, standard_order VARCHAR, transcription__based_on_pinyin_ VARCHAR) [/INST] ### Response: SELECT simplified_chinese FROM table_name_43 WHERE standard_order > 4 AND transcription__based_on_pinyin_ = "bei hui feng" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match against Guillermo Olaso? ### Context: CREATE TABLE table_name_7 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_7 WHERE opponent = "guillermo olaso" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Category of the Rodez, France Tournament? ### Context: CREATE TABLE table_name_69 (category VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT category FROM table_name_69 WHERE tournament = "rodez, france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Rodez, France Tournament? ### Context: CREATE TABLE table_name_63 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_63 WHERE tournament = "rodez, france" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score of the tournament played on Clay Surface against Pablo Martin-Adalia? ### Context: CREATE TABLE table_name_97 (score VARCHAR, surface VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_97 WHERE surface = "clay" AND opponent = "pablo martin-adalia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 venue in 1951 on November 4? ### Context: CREATE TABLE table_name_83 (venue VARCHAR, year VARCHAR, date VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_83 WHERE year = 1951 AND date = "november 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 latest year with a 34-0 result? ### Context: CREATE TABLE table_name_60 (year INTEGER, result VARCHAR) [/INST] ### Response: SELECT MAX(year) FROM table_name_60 WHERE result = "34-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 date was the visiting team of Los Angeles Rams, earlier than 1958? ### Context: CREATE TABLE table_name_58 (date VARCHAR, visiting_team VARCHAR, year VARCHAR) [/INST] ### Response: SELECT date FROM table_name_58 WHERE visiting_team = "los angeles rams" AND year < 1958 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in attendance at Los Angeles Memorial Coliseum? ### Context: CREATE TABLE table_name_68 (attendance VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_68 WHERE venue = "los angeles memorial coliseum" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 state has a 2010-05-01 (saa) association agreement? ### Context: CREATE TABLE table_name_36 (state VARCHAR, association_agreement VARCHAR) [/INST] ### Response: SELECT state FROM table_name_36 WHERE association_agreement = "2010-05-01 (saa)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 acquis chapter open/closed dates with a membership application in 2009-04-28? ### Context: CREATE TABLE table_name_44 (acquis_chapters_open_closed VARCHAR, membership_application VARCHAR) [/INST] ### Response: SELECT acquis_chapters_open_closed FROM table_name_44 WHERE membership_application = "2009-04-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 status of the membership application on 2008-12-15? ### Context: CREATE TABLE table_name_26 (status VARCHAR, membership_application VARCHAR) [/INST] ### Response: SELECT status FROM table_name_26 WHERE membership_application = "2008-12-15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the association agreement for bosnia and herzegovina? ### Context: CREATE TABLE table_name_69 (association_agreement VARCHAR, state VARCHAR) [/INST] ### Response: SELECT association_agreement FROM table_name_69 WHERE state = "bosnia and herzegovina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 candidate status of macedonia? ### Context: CREATE TABLE table_name_46 (candidate_status VARCHAR, state VARCHAR) [/INST] ### Response: SELECT candidate_status FROM table_name_46 WHERE state = "macedonia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 population with 41,511 households? ### Context: CREATE TABLE table_name_92 (population VARCHAR, number_of_households VARCHAR) [/INST] ### Response: SELECT COUNT(population) FROM table_name_92 WHERE number_of_households = 41 OFFSET 511 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for a game played @ Nashville Predators? ### Context: CREATE TABLE table_name_85 (attendance INTEGER, opponent VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_85 WHERE opponent = "@ nashville predators" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest attendance on December 23? ### Context: CREATE TABLE table_name_91 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_91 WHERE date = "december 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 torque of a 2B engine? ### Context: CREATE TABLE table_name_29 (torque VARCHAR, engine VARCHAR) [/INST] ### Response: SELECT torque FROM table_name_29 WHERE engine = "2b" </s>