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: Mike Miller played for what school/club team? ### Context: CREATE TABLE table_name_87 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_87 WHERE player = "mike miller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the player that played for the school/club team Maryland? ### Context: CREATE TABLE table_name_13 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_13 WHERE school_club_team = "maryland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Cuttino Mobley is what nationality? ### Context: CREATE TABLE table_name_5 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_5 WHERE player = "cuttino mobley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Corey Maggette from the United States plays what position? ### Context: CREATE TABLE table_name_70 (position VARCHAR, nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_70 WHERE nationality = "united states" AND player = "corey maggette" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Amal McCaskill who plays forward-center played for what school/club team? ### Context: CREATE TABLE table_name_55 (school_club_team VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_55 WHERE position = "forward-center" AND player = "amal mccaskill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Servedby has a Local authority [a ] of thurrock, and a Station of ockendon? ### Context: CREATE TABLE table_name_1 (servedby VARCHAR, station VARCHAR, local_authority_ VARCHAR, a_ VARCHAR) [/INST] ### Response: SELECT servedby FROM table_name_1 WHERE local_authority_[a_] = "thurrock" AND station = "ockendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents from the final with a Tournament that is puebla? ### Context: CREATE TABLE table_name_44 (opponents_in_the_final VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_44 WHERE tournament = "puebla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the date of the game held at the Al-Rashid Stadium, Dubai? ### Context: CREATE TABLE table_name_13 (date VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT date FROM table_name_13 WHERE venue = "al-rashid stadium, dubai" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Round of 16 value for the nation with a value of 5 for Ranking Round Rank? ### Context: CREATE TABLE table_name_83 (round_of_16 VARCHAR, ranking_round_rank VARCHAR) [/INST] ### Response: SELECT round_of_16 FROM table_name_83 WHERE ranking_round_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: What Team had the first round of 1:00? ### Context: CREATE TABLE table_name_53 (team VARCHAR, first_round VARCHAR) [/INST] ### Response: SELECT team FROM table_name_53 WHERE first_round = "1:00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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/State did the Atlanta Hawks (retired) team play for? ### Context: CREATE TABLE table_name_24 (city_state VARCHAR, team VARCHAR) [/INST] ### Response: SELECT city_state FROM table_name_24 WHERE team = "atlanta hawks (retired)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the final round value for member Chris Webber? ### Context: CREATE TABLE table_name_59 (final_round VARCHAR, members VARCHAR) [/INST] ### Response: SELECT final_round FROM table_name_59 WHERE members = "chris webber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 first round time for member Kenny Smith? ### Context: CREATE TABLE table_name_14 (first_round VARCHAR, members VARCHAR) [/INST] ### Response: SELECT first_round FROM table_name_14 WHERE members = "kenny smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team was the opponent on December 30? ### Context: CREATE TABLE table_name_17 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_name_17 WHERE date = "december 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: What content is provided by the television service ewtn? ### Context: CREATE TABLE table_name_1 (content VARCHAR, television_service VARCHAR) [/INST] ### Response: SELECT content FROM table_name_1 WHERE television_service = "ewtn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 content of the television service ewtn in the United Kingdom? ### Context: CREATE TABLE table_name_94 (content VARCHAR, country VARCHAR, television_service VARCHAR) [/INST] ### Response: SELECT content FROM table_name_94 WHERE country = "united kingdom" AND television_service = "ewtn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 package/option for Italy when the language is italian? ### Context: CREATE TABLE table_name_24 (package_option VARCHAR, country VARCHAR, language VARCHAR) [/INST] ### Response: SELECT package_option FROM table_name_24 WHERE country = "italy" AND language = "italian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 package/option in Italy when the content is religione? ### Context: CREATE TABLE table_name_68 (package_option VARCHAR, content VARCHAR, country VARCHAR) [/INST] ### Response: SELECT package_option FROM table_name_68 WHERE content = "religione" AND country = "italy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 television service has italian for its language? ### Context: CREATE TABLE table_name_46 (television_service VARCHAR, language VARCHAR) [/INST] ### Response: SELECT television_service FROM table_name_46 WHERE language = "italian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Does daystar television network provide HDTV? ### Context: CREATE TABLE table_name_50 (hdtv VARCHAR, television_service VARCHAR) [/INST] ### Response: SELECT hdtv FROM table_name_50 WHERE television_service = "daystar television network" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Oxford United was the Home team? ### Context: CREATE TABLE table_name_58 (attendance INTEGER, home_team VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_58 WHERE home_team = "oxford united" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Home team when Farnborough Town was the Away team? ### Context: CREATE TABLE table_name_90 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_90 WHERE away_team = "farnborough town" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Away Team of Blackpool's Home game? ### Context: CREATE TABLE table_name_9 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_9 WHERE home_team = "blackpool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Bronze has a Rank of 9? ### Context: CREATE TABLE table_name_76 (bronze VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_76 WHERE rank = "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: Which Bronze has a Gold smaller than 1, and a Rank of 17, and a Nation of china? ### Context: CREATE TABLE table_name_78 (bronze INTEGER, nation VARCHAR, gold VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_78 WHERE gold < 1 AND rank = "17" AND nation = "china" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Nation has a Bronze smaller than 1, and a Total larger than 1, and a Silver of 1? ### Context: CREATE TABLE table_name_82 (nation VARCHAR, silver VARCHAR, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_82 WHERE bronze < 1 AND total > 1 AND silver = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Total has a Rank of 17, and a Gold larger than 0? ### Context: CREATE TABLE table_name_59 (total INTEGER, rank VARCHAR, gold VARCHAR) [/INST] ### Response: SELECT AVG(total) FROM table_name_59 WHERE rank = "17" AND gold > 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: Which Gold has a Rank of 15, and a Total smaller than 2? ### Context: CREATE TABLE table_name_99 (gold INTEGER, rank VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(gold) FROM table_name_99 WHERE rank = "15" AND total < 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the number of games for the season with 10 ties? ### Context: CREATE TABLE table_name_86 (games VARCHAR, tied VARCHAR) [/INST] ### Response: SELECT games FROM table_name_86 WHERE tied = 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 was the surface where the opponent was Nathalie Dechy Meilen Tu? ### Context: CREATE TABLE table_name_63 (surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_name_63 WHERE opponent_in_the_final = "nathalie dechy meilen tu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Series leader with a Date that is may 31? ### Context: CREATE TABLE table_name_64 (series_leader VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series_leader FROM table_name_64 WHERE date = "may 31" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Series leader with a Date that is october 9? ### Context: CREATE TABLE table_name_93 (series_leader VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series_leader FROM table_name_93 WHERE date = "october 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: Which Tournament has a Date of january 10, 1994? ### Context: CREATE TABLE table_name_10 (tournament VARCHAR, date VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_10 WHERE date = "january 10, 1994" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponents in the final have a Date of june 10, 1996? ### Context: CREATE TABLE table_name_51 (opponents_in_the_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_51 WHERE date = "june 10, 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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's the Opponents in the final with a Date of june 10, 1996? ### Context: CREATE TABLE table_name_40 (opponents_in_the_final VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_40 WHERE date = "june 10, 1996" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Opponents in the final of maria lindström maria strandlund? ### Context: CREATE TABLE table_name_17 (tournament VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_17 WHERE opponents_in_the_final = "maria lindström maria strandlund" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What country came in third when there were 13 teams in 1996? ### Context: CREATE TABLE table_name_25 (third VARCHAR, teams VARCHAR, season VARCHAR) [/INST] ### Response: SELECT third FROM table_name_25 WHERE teams = 13 AND season = 1996 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 season when the venue was donington park, and Brazil came in second? ### Context: CREATE TABLE table_name_21 (season INTEGER, venue VARCHAR, second VARCHAR) [/INST] ### Response: SELECT SUM(season) FROM table_name_21 WHERE venue = "donington park" AND second = "brazil" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Season when the venue was circuit de nevers magny-cours, and Drivers was more than 30? ### Context: CREATE TABLE table_name_64 (season INTEGER, venue VARCHAR, drivers VARCHAR) [/INST] ### Response: SELECT AVG(season) FROM table_name_64 WHERE venue = "circuit de nevers magny-cours" AND drivers > 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: What is the total number of Losses when the percentage is 54.83, with more than 8 points? ### Context: CREATE TABLE table_name_91 (losses VARCHAR, percentage VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_91 WHERE percentage = 54.83 AND points > 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 is the average Points For when there are Points Against more than 780, and Points smaller than 0? ### Context: CREATE TABLE table_name_72 (points_for INTEGER, points_against VARCHAR, points VARCHAR) [/INST] ### Response: SELECT AVG(points_for) FROM table_name_72 WHERE points_against > 780 AND points < 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 average Points when the Points Against is 594, and Losses is more than 3? ### Context: CREATE TABLE table_name_85 (points INTEGER, points_against VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT AVG(points) FROM table_name_85 WHERE points_against = 594 AND losses > 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average Percentage when there are more than 0 wins, Points Against is more than 481, Losses of 8, and a Points For larger than 826? ### Context: CREATE TABLE table_name_80 (percentage INTEGER, points_for VARCHAR, losses VARCHAR, wins VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT AVG(percentage) FROM table_name_80 WHERE wins > 0 AND points_against > 481 AND losses = 8 AND points_for > 826 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wins when the Club is broadview hawks, and Points Against is more than 594? ### Context: CREATE TABLE table_name_46 (wins INTEGER, club VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT MIN(wins) FROM table_name_46 WHERE club = "broadview hawks" AND points_against > 594 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Goalkeeper has MINS less than 2160 ### Context: CREATE TABLE table_name_32 (goalkeeper VARCHAR, mins INTEGER) [/INST] ### Response: SELECT goalkeeper FROM table_name_32 WHERE mins < 2160 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 SHTS of Kasey Keller ### Context: CREATE TABLE table_name_56 (shts INTEGER, goalkeeper VARCHAR) [/INST] ### Response: SELECT MAX(shts) FROM table_name_56 WHERE goalkeeper = "kasey keller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of Bronze medals won among the countries that have won more than 1 medal, more than 1 gold medal, and have a rank bigger than 1? ### Context: CREATE TABLE table_name_49 (bronze INTEGER, gold VARCHAR, total VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT MAX(bronze) FROM table_name_49 WHERE total > 1 AND rank > 1 AND gold > 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 total number of Losses that Melton had when they had fewer Draws than 0? ### Context: CREATE TABLE table_name_35 (losses INTEGER, ballarat_fl VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT SUM(losses) FROM table_name_35 WHERE ballarat_fl = "melton" 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 lowest number of Against that Lake Wendouree had when they had more than 7 Losses? ### Context: CREATE TABLE table_name_74 (against INTEGER, ballarat_fl VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT MIN(against) FROM table_name_74 WHERE ballarat_fl = "lake wendouree" AND losses > 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the total number of Byes for the team that had 1136 Against and fewer than 0 Draws? ### Context: CREATE TABLE table_name_84 (byes VARCHAR, against VARCHAR, draws VARCHAR) [/INST] ### Response: SELECT COUNT(byes) FROM table_name_84 WHERE against = 1136 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 was the greatest number of Losses for the team that had 1427 Against and more than 5 Wins? ### Context: CREATE TABLE table_name_52 (losses INTEGER, against VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MAX(losses) FROM table_name_52 WHERE against > 1427 AND wins > 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average number of Byes for the team that had 15 Losses, and less than 1 Win? ### Context: CREATE TABLE table_name_13 (byes INTEGER, losses VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT AVG(byes) FROM table_name_13 WHERE losses = 15 AND wins < 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: Which nation's total is less than 19 when there's less than 1 bronze? ### Context: CREATE TABLE table_name_54 (nation VARCHAR, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_54 WHERE total < 19 AND bronze < 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: How many totals does Chile have when the number of silvers is more than 0? ### Context: CREATE TABLE table_name_73 (total VARCHAR, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT COUNT(total) FROM table_name_73 WHERE nation = "chile" AND silver > 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record when TKO (punches and elbows) was the method? ### Context: CREATE TABLE table_name_22 (record VARCHAR, method VARCHAR) [/INST] ### Response: SELECT record FROM table_name_22 WHERE method = "tko (punches and elbows)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What venue has don bradman (nsw) as the player? ### Context: CREATE TABLE table_name_7 (venue VARCHAR, player VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_7 WHERE player = "don bradman (nsw)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Bill Ponsford (vic) as the player? ### Context: CREATE TABLE table_name_82 (rank VARCHAR, player VARCHAR) [/INST] ### Response: SELECT rank FROM table_name_82 WHERE player = "bill ponsford (vic)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What match has Clem Hill (sa) as the player? ### Context: CREATE TABLE table_name_9 (match VARCHAR, player VARCHAR) [/INST] ### Response: SELECT match FROM table_name_9 WHERE player = "clem hill (sa)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played on December 25, 1925? ### Context: CREATE TABLE table_name_56 (competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_56 WHERE date = "december 25, 1925" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the South American Championship dated December 13, 1925? ### Context: CREATE TABLE table_name_40 (result VARCHAR, competition VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_40 WHERE competition = "south american championship" AND date = "december 13, 1925" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 House of Representatives seats had an abbreviation of d66? ### Context: CREATE TABLE table_name_52 (house_of_rep_seats INTEGER, abbr VARCHAR) [/INST] ### Response: SELECT AVG(house_of_rep_seats) FROM table_name_52 WHERE abbr = "d66" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament played on Oct 17, 1982, what was the winning score? ### Context: CREATE TABLE table_name_69 (winning_score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_score FROM table_name_69 WHERE date = "oct 17, 1982" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tournament played Nov 13, 1988, ending with a margin of victory of 5 strokes, who was the runner-up? ### Context: CREATE TABLE table_name_67 (runner_s__up VARCHAR, margin_of_victory VARCHAR, date VARCHAR) [/INST] ### Response: SELECT runner_s__up FROM table_name_67 WHERE margin_of_victory = "5 strokes" AND date = "nov 13, 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: What is 2008, when 2006 is "Grand Slam Tournaments"? ### Context: CREATE TABLE table_name_18 (Id VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_18 WHERE 2006 = "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 is 2007, when 2003 is 1R? ### Context: CREATE TABLE table_name_54 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_54 WHERE 2003 = "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 Tournament, when 2012 is 3R? ### Context: CREATE TABLE table_name_66 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_66 WHERE 2012 = "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: What is Tournament, when 2009 is "Grand Slam Tournaments"? ### Context: CREATE TABLE table_name_41 (tournament VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_41 WHERE 2009 = "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 Free polite has a Genitive 3 of *ni-da? ### Context: CREATE TABLE table_name_70 (free VARCHAR, genitive_3 VARCHAR) [/INST] ### Response: SELECT free AS polite FROM table_name_70 WHERE genitive_3 = "*ni-da" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Free polite has a Genitive 1 of *=ku? ### Context: CREATE TABLE table_name_13 (free VARCHAR, ku VARCHAR, genitive_1 VARCHAR) [/INST] ### Response: SELECT free AS polite FROM table_name_13 WHERE genitive_1 = * = ku </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Free polite has a Genitive 3 of *n(i)-ami? ### Context: CREATE TABLE table_name_40 (free VARCHAR, genitive_3 VARCHAR) [/INST] ### Response: SELECT free AS polite FROM table_name_40 WHERE genitive_3 = "*n(i)-ami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Genitive 1 has a Genitive 3 of *n(i)-ia? ### Context: CREATE TABLE table_name_57 (genitive_1 VARCHAR, genitive_3 VARCHAR) [/INST] ### Response: SELECT genitive_1 FROM table_name_57 WHERE genitive_3 = "*n(i)-ia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Oceanic verb for the verb to sew? ### Context: CREATE TABLE table_name_43 (proto_oceanic VARCHAR, verb VARCHAR) [/INST] ### Response: SELECT proto_oceanic FROM table_name_43 WHERE verb = "to sew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 verb for the Proto-Austronesian word *diri? ### Context: CREATE TABLE table_name_86 (verb VARCHAR, proto_austronesian VARCHAR) [/INST] ### Response: SELECT verb FROM table_name_86 WHERE proto_austronesian = "*diri" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Oceanic verb for to die, be dead? ### Context: CREATE TABLE table_name_44 (proto_oceanic VARCHAR, verb VARCHAR) [/INST] ### Response: SELECT proto_oceanic FROM table_name_44 WHERE verb = "to die, be dead" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 verb for the Proto-Polynesian word *mohe? ### Context: CREATE TABLE table_name_43 (verb VARCHAR, proto_polynesian VARCHAR) [/INST] ### Response: SELECT verb FROM table_name_43 WHERE proto_polynesian = "*mohe" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Austronesian word for the Proto-Polynesian word *tui? ### Context: CREATE TABLE table_name_53 (proto_austronesian VARCHAR, proto_polynesian VARCHAR) [/INST] ### Response: SELECT proto_austronesian FROM table_name_53 WHERE proto_polynesian = "*tui" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Proto-Malayo-Polynesian word for the Proto-Oceanic word of *saqit, *turi? ### Context: CREATE TABLE table_name_71 (proto_malayo_polynesian VARCHAR, proto_oceanic VARCHAR) [/INST] ### Response: SELECT proto_malayo_polynesian FROM table_name_71 WHERE proto_oceanic = "*saqit, *turi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What station has a genre of talk music and is in Malay English language? ### Context: CREATE TABLE table_name_81 (station VARCHAR, genre VARCHAR, language VARCHAR) [/INST] ### Response: SELECT station FROM table_name_81 WHERE genre = "talk music" AND language = "malay english" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 genre is the fly fm station? ### Context: CREATE TABLE table_name_93 (genre VARCHAR, station VARCHAR) [/INST] ### Response: SELECT genre FROM table_name_93 WHERE station = "fly fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What frequency is the xfm station, which is part of the talk music genre? ### Context: CREATE TABLE table_name_71 (frequency VARCHAR, genre VARCHAR, station VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_71 WHERE genre = "talk music" AND station = "xfm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 coverage area of muzik fm station, which has a music genre? ### Context: CREATE TABLE table_name_65 (coverage_area VARCHAR, genre VARCHAR, station VARCHAR) [/INST] ### Response: SELECT coverage_area FROM table_name_65 WHERE genre = "music" AND station = "muzik fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Co-Drivers, when Laps is greater than 196, and when Year is before 2010? ### Context: CREATE TABLE table_name_78 (co_drivers VARCHAR, laps VARCHAR, year VARCHAR) [/INST] ### Response: SELECT co_drivers FROM table_name_78 WHERE laps > 196 AND year < 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Date when the week is more than 3 and the attendance shows bye? ### Context: CREATE TABLE table_name_39 (date VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_name_39 WHERE week > 3 AND attendance = "bye" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Result when the week is later than 9, and there are 65,858 people in attendance? ### Context: CREATE TABLE table_name_33 (result VARCHAR, week VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_33 WHERE week > 9 AND attendance = "65,858" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1938 that has N/A for 1948? ### Context: CREATE TABLE table_name_49 (Id VARCHAR) [/INST] ### Response: SELECT 1938 FROM table_name_49 WHERE 1948 = "n/a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1953 has 2 for 1947, and dne as 1938? ### Context: CREATE TABLE table_name_52 (Id VARCHAR) [/INST] ### Response: SELECT 1953 FROM table_name_52 WHERE 1947 = "2" AND 1938 = "dne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What 1935 has 4 as a 1953? ### Context: CREATE TABLE table_name_6 (Id VARCHAR) [/INST] ### Response: SELECT 1935 FROM table_name_6 WHERE 1953 = "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 1953 has 2 as a 1949, and 3 as 1952? ### Context: CREATE TABLE table_name_48 (Id VARCHAR) [/INST] ### Response: SELECT 1953 FROM table_name_48 WHERE 1949 = "2" AND 1952 = "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 1941 has N/A as 1945, N/A for 1948, and 9 for 1953? ### Context: CREATE TABLE table_name_7 (Id VARCHAR) [/INST] ### Response: SELECT 1941 FROM table_name_7 WHERE 1945 = "n/a" AND 1948 = "n/a" AND 1953 = "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 1951 has dne for 1948? ### Context: CREATE TABLE table_name_26 (Id VARCHAR) [/INST] ### Response: SELECT 1951 FROM table_name_26 WHERE 1948 = "dne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Cup Apps (sub) had 2 goals? ### Context: CREATE TABLE table_name_59 (cup_apps__sub_ VARCHAR, cup_goals VARCHAR) [/INST] ### Response: SELECT cup_apps__sub_ FROM table_name_59 WHERE cup_goals = "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 Total Apps (sub) has 6 goals total? ### Context: CREATE TABLE table_name_39 (total_apps__sub_ VARCHAR, total_goals VARCHAR) [/INST] ### Response: SELECT total_apps__sub_ FROM table_name_39 WHERE total_goals = "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 airline has a IATA of BX? ### Context: CREATE TABLE table_name_87 (airline VARCHAR, iata VARCHAR) [/INST] ### Response: SELECT airline FROM table_name_87 WHERE iata = "bx" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ICAO for Asiana Airlines? ### Context: CREATE TABLE table_name_8 (icao VARCHAR, airline VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_8 WHERE airline = "asiana airlines" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 commenced operation where the ICAO is KAL? ### Context: CREATE TABLE table_name_61 (commenced_operations VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT commenced_operations FROM table_name_61 WHERE icao = "kal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ICAO for Air Busan? ### Context: CREATE TABLE table_name_63 (icao VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT icao FROM table_name_63 WHERE callsign = "air busan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 callsign where the ICAO is AAR? ### Context: CREATE TABLE table_name_80 (callsign VARCHAR, icao VARCHAR) [/INST] ### Response: SELECT callsign FROM table_name_80 WHERE icao = "aar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tries with less than 0 goals? ### Context: CREATE TABLE table_name_7 (tries INTEGER, goals INTEGER) [/INST] ### Response: SELECT AVG(tries) FROM table_name_7 WHERE 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: What is the total number of Points with less than 1 tries, and more than 0 goals? ### Context: CREATE TABLE table_name_60 (points VARCHAR, tries VARCHAR, goals VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_name_60 WHERE tries < 1 AND 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: Which club/province has more than 9 caps and Ben Franks as a player? ### Context: CREATE TABLE table_name_44 (club_province VARCHAR, caps VARCHAR, player VARCHAR) [/INST] ### Response: SELECT club_province FROM table_name_44 WHERE caps > 9 AND player = "ben franks" </s>