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 date was the release when the format was lp? ### Context: CREATE TABLE table_name_21 (date VARCHAR, format VARCHAR) [/INST] ### Response: SELECT date FROM table_name_21 WHERE format = "lp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is the release when the label was Parlophone and the catalog was 582 2912? ### Context: CREATE TABLE table_name_35 (date VARCHAR, label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT date FROM table_name_35 WHERE label = "parlophone" AND catalog = "582 2912" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What catalog has the United Kingdom as the country? ### Context: CREATE TABLE table_name_9 (catalog VARCHAR, country VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_9 WHERE country = "united kingdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 guard for the chool/Club Team in Virginia? ### Context: CREATE TABLE table_name_34 (nationality VARCHAR, position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_34 WHERE position = "guard" AND school_club_team = "virginia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 School/Club Team with a nationality of United States for Arron Afflalo? ### Context: CREATE TABLE table_name_91 (school_club_team VARCHAR, nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_91 WHERE nationality = "united states" AND player = "arron afflalo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Years in Orlando for carlos arroyo? ### Context: CREATE TABLE table_name_6 (years_in_orlando VARCHAR, player VARCHAR) [/INST] ### Response: SELECT years_in_orlando FROM table_name_6 WHERE player = "carlos arroyo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player for Orlando in 1989–1991? ### Context: CREATE TABLE table_name_77 (player VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT player FROM table_name_77 WHERE years_in_orlando = "1989–1991" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Position for Orlando for 1989–1999? ### Context: CREATE TABLE table_name_52 (position VARCHAR, years_in_orlando VARCHAR) [/INST] ### Response: SELECT position FROM table_name_52 WHERE years_in_orlando = "1989–1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which player was from Western Washington University, played midfield, and was from years after 2009? ### Context: CREATE TABLE table_name_90 (player VARCHAR, year VARCHAR, school VARCHAR, position VARCHAR) [/INST] ### Response: SELECT player FROM table_name_90 WHERE school = "western washington university" AND position = "midfield" AND 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: Which team was Bubba Vanegdom from? ### Context: CREATE TABLE table_name_11 (team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT team FROM table_name_11 WHERE player = "bubba vanegdom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the player from Pacific Lutheran University named Greg Fredlund in years after 2010? ### Context: CREATE TABLE table_name_54 (position VARCHAR, year VARCHAR, school VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_54 WHERE school = "pacific lutheran university" AND player = "greg fredlund" 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 was the position of Greg Fredlund in years after 2008? ### Context: CREATE TABLE table_name_30 (position VARCHAR, year VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_30 WHERE year > 2008 AND player = "greg fredlund" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What home team has 8 ties? ### Context: CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_40 WHERE tie_no = "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 year had Kim Gevaert as the female winner and Xavier de Baerdemaeker as the male talent? ### Context: CREATE TABLE table_name_31 (year VARCHAR, winner__female_ VARCHAR, talent__male_ VARCHAR) [/INST] ### Response: SELECT year FROM table_name_31 WHERE winner__female_ = "kim gevaert" AND talent__male_ = "xavier de baerdemaeker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 female talent in 1999? ### Context: CREATE TABLE table_name_41 (talent__female_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT talent__female_ FROM table_name_41 WHERE year = 1999 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 male talent in 1991? ### Context: CREATE TABLE table_name_39 (talent__male_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT talent__male_ FROM table_name_39 WHERE year = 1991 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 male winner the year after 1998 with Marleen Renders as the female winner? ### Context: CREATE TABLE table_name_40 (winner__male_ VARCHAR, winner__female_ VARCHAR, year VARCHAR) [/INST] ### Response: SELECT winner__male_ FROM table_name_40 WHERE winner__female_ = "marleen renders" AND year > 1998 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name? ### Context: CREATE TABLE table_name_86 (avg_g INTEGER, effic VARCHAR, name VARCHAR) [/INST] ### Response: SELECT MIN(avg_g) FROM table_name_86 WHERE effic > 34.36 AND name = "wesley carroll" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 avg/g that has 2-9-0 for the att-cmp-int? ### Context: CREATE TABLE table_name_16 (avg_g INTEGER, att_cmp_int VARCHAR) [/INST] ### Response: SELECT MIN(avg_g) FROM table_name_16 WHERE att_cmp_int = "2-9-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 att-cmp-int that has 12 for the gp-gs and 174.3 as the avg/g? ### Context: CREATE TABLE table_name_16 (att_cmp_int VARCHAR, gp_gs VARCHAR, avg_g VARCHAR) [/INST] ### Response: SELECT att_cmp_int FROM table_name_16 WHERE gp_gs = "12" AND avg_g = 174.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 Song with an Issue Date(s) that is 19 june? ### Context: CREATE TABLE table_name_70 (song VARCHAR, issue_date_s_ VARCHAR) [/INST] ### Response: SELECT song FROM table_name_70 WHERE issue_date_s_ = "19 june" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minimum Height of the Little Switzerland Tunnel? ### Context: CREATE TABLE table_name_49 (minimum_height VARCHAR, name_of_the_tunnel VARCHAR) [/INST] ### Response: SELECT minimum_height FROM table_name_49 WHERE name_of_the_tunnel = "little switzerland tunnel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Milepost of the Twin Tunnel #1 North? ### Context: CREATE TABLE table_name_74 (milepost VARCHAR, name_of_the_tunnel VARCHAR) [/INST] ### Response: SELECT COUNT(milepost) FROM table_name_74 WHERE name_of_the_tunnel = "twin tunnel #1 north" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Population has a Density of 50.09 and a Rank larger than 30? ### Context: CREATE TABLE table_name_70 (population INTEGER, density VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT SUM(population) FROM table_name_70 WHERE density = 50.09 AND rank > 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 Icelandic word for the English word bride? ### Context: CREATE TABLE table_name_41 (icelandic VARCHAR, english VARCHAR) [/INST] ### Response: SELECT icelandic FROM table_name_41 WHERE english = "bride" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 word for the Icelandic word hlaupa? ### Context: CREATE TABLE table_name_46 (english VARCHAR, icelandic VARCHAR) [/INST] ### Response: SELECT english FROM table_name_46 WHERE icelandic = "hlaupa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Russian word for the Greek word greek? ### Context: CREATE TABLE table_name_70 (russian VARCHAR) [/INST] ### Response: SELECT russian FROM table_name_70 WHERE "greek" = "greek" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 word for the Latin word uxor? ### Context: CREATE TABLE table_name_92 (english VARCHAR, latin VARCHAR) [/INST] ### Response: SELECT english FROM table_name_92 WHERE latin = "uxor" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Latin word for the English word bone? ### Context: CREATE TABLE table_name_33 (latin VARCHAR, english VARCHAR) [/INST] ### Response: SELECT latin FROM table_name_33 WHERE english = "bone" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against that has bacchus marsh as a ballarat fl, with wins less than 1? ### Context: CREATE TABLE table_name_75 (against INTEGER, ballarat_fl VARCHAR, wins VARCHAR) [/INST] ### Response: SELECT MIN(against) FROM table_name_75 WHERE ballarat_fl = "bacchus marsh" 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: What is the lowest draws that have losses greater than 0, an against less than 1728, melton as the ballarat fl, and byes less than 2? ### Context: CREATE TABLE table_name_66 (draws INTEGER, byes VARCHAR, ballarat_fl VARCHAR, losses VARCHAR, against VARCHAR) [/INST] ### Response: SELECT MIN(draws) FROM table_name_66 WHERE losses > 0 AND against < 1728 AND ballarat_fl = "melton" AND byes < 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: How many losses have byes greater than 2? ### Context: CREATE TABLE table_name_38 (losses VARCHAR, byes INTEGER) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_38 WHERE byes > 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 position does the winner from Ohio State with 412 points play? ### Context: CREATE TABLE table_name_38 (position VARCHAR, school VARCHAR, points VARCHAR) [/INST] ### Response: SELECT position FROM table_name_38 WHERE school = "ohio state" AND points = "412" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 position of the winner with 792 points? ### Context: CREATE TABLE table_name_39 (position VARCHAR, points VARCHAR) [/INST] ### Response: SELECT position FROM table_name_39 WHERE points = "792" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Top-10, when Top-25 is 4, and when Top-5 is greater than 1? ### Context: CREATE TABLE table_name_62 (top_10 INTEGER, top_25 VARCHAR, top_5 VARCHAR) [/INST] ### Response: SELECT MAX(top_10) FROM table_name_62 WHERE top_25 = 4 AND top_5 > 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 Wins, when Top-25 is less than 4, and when Top-5 is greater than 0? ### Context: CREATE TABLE table_name_97 (wins VARCHAR, top_25 VARCHAR, top_5 VARCHAR) [/INST] ### Response: SELECT wins FROM table_name_97 WHERE top_25 < 4 AND top_5 > 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, when Top-25 is less than 4, and when Top-10 is less than 1? ### Context: CREATE TABLE table_name_81 (wins VARCHAR, top_25 VARCHAR, top_10 VARCHAR) [/INST] ### Response: SELECT COUNT(wins) FROM table_name_81 WHERE top_25 < 4 AND top_10 < 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 home team played in the matchup with an away team of Liverpool? ### Context: CREATE TABLE table_name_27 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_27 WHERE away_team = "liverpool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie number 5? ### Context: CREATE TABLE table_name_2 (date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT date FROM table_name_2 WHERE tie_no = "5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the away team for tie number 9? ### Context: CREATE TABLE table_name_6 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_6 WHERE tie_no = "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 was the score of the replay at Millwall? ### Context: CREATE TABLE table_name_23 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_23 WHERE tie_no = "replay" AND home_team = "millwall" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team for tie number 16? ### Context: CREATE TABLE table_name_40 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_40 WHERE tie_no = "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 sum of the golds of the nation with 5 total and less than 0 bronze medals? ### Context: CREATE TABLE table_name_18 (gold INTEGER, total VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_18 WHERE total = 5 AND bronze < 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 sum of the gold medals of the total nation, which has more than 19 silver medals? ### Context: CREATE TABLE table_name_74 (gold INTEGER, nation VARCHAR, silver VARCHAR) [/INST] ### Response: SELECT SUM(gold) FROM table_name_74 WHERE nation = "total" AND silver > 19 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 silver medals of the nation with 3 bronzes and more than 4 total medals? ### Context: CREATE TABLE table_name_79 (silver INTEGER, bronze VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(silver) FROM table_name_79 WHERE bronze = 3 AND total > 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: Which label's year was 1990? ### Context: CREATE TABLE table_name_74 (label VARCHAR, year VARCHAR) [/INST] ### Response: SELECT label FROM table_name_74 WHERE year = "1990" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result's genre was jazz when its label was columbia and its title was requiem? ### Context: CREATE TABLE table_name_35 (result VARCHAR, title VARCHAR, genre VARCHAR, label VARCHAR) [/INST] ### Response: SELECT result FROM table_name_35 WHERE genre = "jazz" AND label = "columbia" AND title = "requiem" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year's label was label? ### Context: CREATE TABLE table_name_57 (year VARCHAR) [/INST] ### Response: SELECT year FROM table_name_57 WHERE "label" = "label" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title's genre was jazz when it was nominated in 1996? ### Context: CREATE TABLE table_name_15 (title VARCHAR, year VARCHAR, genre VARCHAR, result VARCHAR) [/INST] ### Response: SELECT title FROM table_name_15 WHERE genre = "jazz" AND result = "nominated" AND year = "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 year's genre was jazz under the columbia label when it was nominated for the title Trio jeepy? ### Context: CREATE TABLE table_name_37 (year VARCHAR, title VARCHAR, result VARCHAR, genre VARCHAR, label VARCHAR) [/INST] ### Response: SELECT year FROM table_name_37 WHERE genre = "jazz" AND label = "columbia" AND result = "nominated" AND title = "trio jeepy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 label's year is 1993? ### Context: CREATE TABLE table_name_45 (label VARCHAR, year VARCHAR) [/INST] ### Response: SELECT label FROM table_name_45 WHERE year = "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: What company focuses on Engine Overhaul for their principal activity? ### Context: CREATE TABLE table_name_7 (company VARCHAR, principal_activities VARCHAR) [/INST] ### Response: SELECT company FROM table_name_7 WHERE principal_activities = "engine overhaul" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Date has a Game larger than 4 and a Team of san antonio, and a Record of 4-3? ### Context: CREATE TABLE table_name_86 (date VARCHAR, record VARCHAR, game VARCHAR, team VARCHAR) [/INST] ### Response: SELECT date FROM table_name_86 WHERE game > 4 AND team = "san antonio" AND record = "4-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: Which Team has a Score of 108-105 (ot)? ### Context: CREATE TABLE table_name_9 (team VARCHAR, score VARCHAR) [/INST] ### Response: SELECT team FROM table_name_9 WHERE score = "108-105 (ot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a Team of at san antonio, and a Record of 3-3? ### Context: CREATE TABLE table_name_86 (game VARCHAR, team VARCHAR, record VARCHAR) [/INST] ### Response: SELECT game FROM table_name_86 WHERE team = "at san antonio" 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: Which Record has a Score of 105-115? ### Context: CREATE TABLE table_name_91 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_name_91 WHERE score = "105-115" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the average amount of ties had when a team wins 6 and it's past the 2004 season? ### Context: CREATE TABLE table_name_55 (ties INTEGER, wins VARCHAR, season VARCHAR) [/INST] ### Response: SELECT AVG(ties) FROM table_name_55 WHERE wins = 6 AND season > 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the race that had a group of G1 at Moonee Valley? ### Context: CREATE TABLE table_name_20 (result VARCHAR, group VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT result FROM table_name_20 WHERE group = "g1" AND venue = "moonee valley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result of the race that was a 2000m distance? ### Context: CREATE TABLE table_name_57 (result VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT result FROM table_name_57 WHERE distance = "2000m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 november 21, 1999? ### Context: CREATE TABLE table_name_9 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_9 WHERE date = "november 21, 1999" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Attendance has a Week smaller than 8, and an Opponent of philadelphia eagles? ### Context: CREATE TABLE table_name_19 (attendance VARCHAR, week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_19 WHERE week < 8 AND opponent = "philadelphia eagles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Attendance has a Result of l 26–16? ### Context: CREATE TABLE table_name_47 (attendance VARCHAR, result VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_47 WHERE result = "l 26–16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the highest attendance on week 13? ### Context: CREATE TABLE table_name_37 (attendance INTEGER, week VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_name_37 WHERE week = 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: Which Result has a Round of 6? ### Context: CREATE TABLE table_name_88 (result VARCHAR, round VARCHAR) [/INST] ### Response: SELECT result FROM table_name_88 WHERE round = "6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When is a Type of tko, and an Opponent of jesse brinkley ### Context: CREATE TABLE table_name_53 (date VARCHAR, type VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_name_53 WHERE type = "tko" AND opponent = "jesse brinkley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Result has an Opponent of steve walker? ### Context: CREATE TABLE table_name_4 (result VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT result FROM table_name_4 WHERE opponent = "steve walker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Type of ud and a Round of 10 on 2008-06-11? ### Context: CREATE TABLE table_name_65 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_65 WHERE type = "ud" AND round = "10" AND date = "2008-06-11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Opponent has a Type of tko, and a Round of 2 (6) on 2006-09-20? ### Context: CREATE TABLE table_name_67 (opponent VARCHAR, date VARCHAR, type VARCHAR, round VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_67 WHERE type = "tko" AND round = "2 (6)" AND date = "2006-09-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: When has a Type of tko, and a Round of 1 (6) ### Context: CREATE TABLE table_name_97 (date VARCHAR, type VARCHAR, round VARCHAR) [/INST] ### Response: SELECT date FROM table_name_97 WHERE type = "tko" AND round = "1 (6)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many positions have a played greater than 12? ### Context: CREATE TABLE table_name_26 (position VARCHAR, played INTEGER) [/INST] ### Response: SELECT COUNT(position) FROM table_name_26 WHERE played > 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest played that has points greater than 11, 1 as the position, and a loss less than 1? ### Context: CREATE TABLE table_name_38 (played INTEGER, lost VARCHAR, points VARCHAR, position VARCHAR) [/INST] ### Response: SELECT MIN(played) FROM table_name_38 WHERE points > 11 AND position = 1 AND lost < 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 Date that has a Outcome of winner, and çağla büyükakçay was the opponent in the final? ### Context: CREATE TABLE table_name_55 (date VARCHAR, outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT date FROM table_name_55 WHERE outcome = "winner" AND opponent_in_the_final = "çağla büyükakçay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Outcome when çağla büyükakçay was the opponent in the final? ### Context: CREATE TABLE table_name_73 (outcome VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_73 WHERE opponent_in_the_final = "çağla büyükakçay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 opponent in the final is alicia pillay on a hard surface? ### Context: CREATE TABLE table_name_73 (score VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT score FROM table_name_73 WHERE surface = "hard" AND opponent_in_the_final = "alicia pillay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent in the final when the outcome was runner-up? ### Context: CREATE TABLE table_name_66 (opponent_in_the_final VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_66 WHERE outcome = "runner-up" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponent in the final with an outcome of winner on 14-may-2007? ### Context: CREATE TABLE table_name_92 (opponent_in_the_final VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent_in_the_final FROM table_name_92 WHERE outcome = "winner" AND date = "14-may-2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Score for 09-oct-2006? ### Context: CREATE TABLE table_name_76 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_76 WHERE date = "09-oct-2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the time of the bout against Dave Menne? ### Context: CREATE TABLE table_name_33 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_33 WHERE opponent = "dave menne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 time of the bout that ended in a TKO (strikes)? ### Context: CREATE TABLE table_name_83 (time VARCHAR, method VARCHAR) [/INST] ### Response: SELECT time FROM table_name_83 WHERE method = "tko (strikes)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 matches for the player in rank 8? ### Context: CREATE TABLE table_name_44 (matches INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MAX(matches) FROM table_name_44 WHERE rank = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25? ### Context: CREATE TABLE table_name_9 (set_3 VARCHAR, set_1 VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT set_3 FROM table_name_9 WHERE set_1 = "19-25" AND set_2 = "19-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 set 5 if the Date is jun 7, and a Set 4 is 21-25? ### Context: CREATE TABLE table_name_65 (set_5 VARCHAR, date VARCHAR, set_4 VARCHAR) [/INST] ### Response: SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-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 Set 5 if Set 2 is 25-20? ### Context: CREATE TABLE table_name_44 (set_5 VARCHAR, set_2 VARCHAR) [/INST] ### Response: SELECT set_5 FROM table_name_44 WHERE set_2 = "25-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: Which driver's grid was 24? ### Context: CREATE TABLE table_name_10 (driver VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT driver FROM table_name_10 WHERE grid = 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 mean number of laps when the grid is less than 19 and time/retired is +21.3 secs? ### Context: CREATE TABLE table_name_56 (laps INTEGER, grid VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT AVG(laps) FROM table_name_56 WHERE grid < 19 AND time_retired = "+21.3 secs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of laps for Team Green when the grid is 1? ### Context: CREATE TABLE table_name_67 (laps INTEGER, team VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT MIN(laps) FROM table_name_67 WHERE team = "team green" AND grid = 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 1876(s), when 1872 is less than 1921, and when 1891 is less than 354? ### Context: CREATE TABLE table_name_64 (Id VARCHAR) [/INST] ### Response: SELECT COUNT(1876) FROM table_name_64 WHERE 1872 < 1921 AND 1891 < 354 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1886(s), when 1886 is greater than 1070, and when 1891 is less than 1946? ### Context: CREATE TABLE table_name_19 (Id VARCHAR) [/INST] ### Response: SELECT SUM(1886) FROM table_name_19 WHERE 1866 > 1070 AND 1891 < 1946 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1891(s), when 1872 is less than 685, and when 1881 is less than 348? ### Context: CREATE TABLE table_name_63 (Id VARCHAR) [/INST] ### Response: SELECT SUM(1891) FROM table_name_63 WHERE 1872 < 685 AND 1881 < 348 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 1872(s), when 1866 is greater than 856, when 1861 is greater than 1906, and when 1876 is greater than 1990? ### Context: CREATE TABLE table_name_29 (Id VARCHAR) [/INST] ### Response: SELECT SUM(1872) FROM table_name_29 WHERE 1866 > 856 AND 1861 > 1906 AND 1876 > 1990 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Record with a Date that is december 20? ### Context: CREATE TABLE table_name_91 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_name_91 WHERE date = "december 20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what round was the first outside linebacker picked? ### Context: CREATE TABLE table_name_72 (round INTEGER, position VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_72 WHERE position = "outside linebacker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue resulted in AUS by 229 runs? ### Context: CREATE TABLE table_name_80 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_80 WHERE result = "aus by 229 runs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Away Captain when the Home Captain was Joe Darling at Melbourne Cricket Ground? ### Context: CREATE TABLE table_name_21 (away_captain VARCHAR, venue VARCHAR, home_captain VARCHAR) [/INST] ### Response: SELECT away_captain FROM table_name_21 WHERE venue = "melbourne cricket ground" AND home_captain = "joe darling" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the Home Captain and the Result for AUS by 4 wkts? ### Context: CREATE TABLE table_name_25 (home_captain VARCHAR, result VARCHAR) [/INST] ### Response: SELECT home_captain FROM table_name_25 WHERE result = "aus by 4 wkts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 match when the away opponent was Dalian Shide Siwu? ### Context: CREATE TABLE table_name_53 (match INTEGER, opponent_team VARCHAR, home_away VARCHAR) [/INST] ### Response: SELECT MAX(match) FROM table_name_53 WHERE opponent_team = "dalian shide siwu" AND home_away = "away" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Home/Away was on April 27, 2008? ### Context: CREATE TABLE table_name_70 (home_away VARCHAR, date VARCHAR) [/INST] ### Response: SELECT home_away FROM table_name_70 WHERE date = "april 27, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on March 3, 2008? ### Context: CREATE TABLE table_name_57 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_name_57 WHERE date = "march 3, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Hanja for McCune-Reischauer of chŏn? ### Context: CREATE TABLE table_name_56 (hanja VARCHAR, mccune_reischauer VARCHAR) [/INST] ### Response: SELECT hanja FROM table_name_56 WHERE mccune_reischauer = "chŏn" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Hangul when the Hanja is 西, 徐? ### Context: CREATE TABLE table_name_66 (hangul VARCHAR, hanja VARCHAR) [/INST] ### Response: SELECT hangul FROM table_name_66 WHERE hanja = "西, 徐" </s>