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: Who is the away team when there are 15 ties? ### Context: CREATE TABLE table_name_57 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_57 WHERE tie_no = "15" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score when Darlington is the home team? ### Context: CREATE TABLE table_name_9 (score VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_9 WHERE home_team = "darlington" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 ties when Altrincham is the home team? ### Context: CREATE TABLE table_name_88 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_88 WHERE home_team = "altrincham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest pick by the Baltimore Colts in a round later than 10? ### Context: CREATE TABLE table_name_27 (pick INTEGER, nfl_club VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_27 WHERE nfl_club = "baltimore colts" AND round > 10 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Country has a Label of Toshiba-emi and a Catalog of vjcp-68403? ### Context: CREATE TABLE table_name_95 (country VARCHAR, label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT country FROM table_name_95 WHERE label = "toshiba-emi" AND catalog = "vjcp-68403" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Catalog of 7243 8 49494 2 6? ### Context: CREATE TABLE table_name_98 (label VARCHAR, catalog VARCHAR) [/INST] ### Response: SELECT label FROM table_name_98 WHERE catalog = "7243 8 49494 2 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: Which Catalog has a Country of Japan? ### Context: CREATE TABLE table_name_71 (catalog VARCHAR, country VARCHAR) [/INST] ### Response: SELECT catalog FROM table_name_71 WHERE country = "japan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has a Format of cd, a Country of Japan and a Catalog of vjcp-68403? ### Context: CREATE TABLE table_name_89 (label VARCHAR, catalog VARCHAR, format VARCHAR, country VARCHAR) [/INST] ### Response: SELECT label FROM table_name_89 WHERE format = "cd" AND country = "japan" AND catalog = "vjcp-68403" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds were played in the matching resulting in a Points For score of 343? ### Context: CREATE TABLE table_name_38 (played VARCHAR, points_for VARCHAR) [/INST] ### Response: SELECT played FROM table_name_38 WHERE points_for = "343" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the height in Rouen? ### Context: CREATE TABLE table_name_23 (height_metres___ft VARCHAR, town VARCHAR) [/INST] ### Response: SELECT height_metres___ft FROM table_name_23 WHERE town = "rouen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 church made from in Hamburg? ### Context: CREATE TABLE table_name_88 (held_record VARCHAR, structural_type VARCHAR, town VARCHAR) [/INST] ### Response: SELECT held_record FROM table_name_88 WHERE structural_type = "church" AND town = "hamburg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Player's Score is 72-70-66=208? ### Context: CREATE TABLE table_name_86 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_86 WHERE score = 72 - 70 - 66 = 208 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the To par of the T8 Place Player with a Score of 72-70-66=208? ### Context: CREATE TABLE table_name_79 (to_par VARCHAR, place VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_79 WHERE place = "t8" AND score = 72 - 70 - 66 = 208 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kirk Triplett's Place? ### Context: CREATE TABLE table_name_66 (place VARCHAR, player VARCHAR) [/INST] ### Response: SELECT place FROM table_name_66 WHERE player = "kirk triplett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick for the Maryland-Eastern Shore team with a round lower than 2? ### Context: CREATE TABLE table_name_70 (pick INTEGER, school_club_team VARCHAR, round VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_70 WHERE school_club_team = "maryland-eastern shore" AND round < 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 position at UCLA has a lower than 92 pick number? ### Context: CREATE TABLE table_name_27 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT position FROM table_name_27 WHERE pick < 92 AND school_club_team = "ucla" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds have a position of C? ### Context: CREATE TABLE table_name_95 (round VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_name_95 WHERE position = "c" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 fewer than 4 rounds for Jan Van Breda Kolff? ### Context: CREATE TABLE table_name_47 (school_club_team VARCHAR, round VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_47 WHERE round < 4 AND player = "jan van breda kolff" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has fewer than 2 rounds? ### Context: CREATE TABLE table_name_54 (player VARCHAR, round INTEGER) [/INST] ### Response: SELECT player FROM table_name_54 WHERE round < 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 pick for Mickey Johnson with fewer than 4 rounds? ### Context: CREATE TABLE table_name_19 (pick INTEGER, player VARCHAR, round VARCHAR) [/INST] ### Response: SELECT SUM(pick) FROM table_name_19 WHERE player = "mickey johnson" AND round < 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 All Games have a Nonconference Games of 1–10? ### Context: CREATE TABLE table_name_93 (all_games VARCHAR, nonconference_games VARCHAR) [/INST] ### Response: SELECT all_games FROM table_name_93 WHERE nonconference_games = "1–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: Who had a score of 68-67=135? ### Context: CREATE TABLE table_name_98 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_98 WHERE score = 68 - 67 = 135 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the to par for the player who scored 73-68=141? ### Context: CREATE TABLE table_name_91 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_91 WHERE score = 73 - 68 = 141 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scored 69-71=140? ### Context: CREATE TABLE table_name_75 (player VARCHAR, score VARCHAR) [/INST] ### Response: SELECT player FROM table_name_75 WHERE score = 69 - 71 = 140 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par of the player of who scored 70-70=140? ### Context: CREATE TABLE table_name_21 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_21 WHERE score = 70 - 70 = 140 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name was proposed on 12/30/1982 in rockingham county with a CERCLIS ID of nhd062004569? ### Context: CREATE TABLE table_name_87 (name VARCHAR, cerclis_id VARCHAR, proposed VARCHAR, county VARCHAR) [/INST] ### Response: SELECT name FROM table_name_87 WHERE proposed = "12/30/1982" AND county = "rockingham" AND cerclis_id = "nhd062004569" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name completed construction on 09/19/2008? ### Context: CREATE TABLE table_name_71 (name VARCHAR, construction_completed VARCHAR) [/INST] ### Response: SELECT name FROM table_name_71 WHERE construction_completed = "09/19/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: When was the site listed 03/31/1989 in rockingham county proposed? ### Context: CREATE TABLE table_name_6 (proposed VARCHAR, listed VARCHAR, county VARCHAR) [/INST] ### Response: SELECT proposed FROM table_name_6 WHERE listed = "03/31/1989" AND county = "rockingham" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What CERCLIS ID was listed 10/14/1992? ### Context: CREATE TABLE table_name_49 (cerclis_id VARCHAR, listed VARCHAR) [/INST] ### Response: SELECT cerclis_id FROM table_name_49 WHERE listed = "10/14/1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What name was proposed on 09/08/1983 in hillsborough county? ### Context: CREATE TABLE table_name_73 (name VARCHAR, county VARCHAR, proposed VARCHAR) [/INST] ### Response: SELECT name FROM table_name_73 WHERE county = "hillsborough" AND proposed = "09/08/1983" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What county is CERCLIS ID nhd062004569 in? ### Context: CREATE TABLE table_name_61 (county VARCHAR, cerclis_id VARCHAR) [/INST] ### Response: SELECT county FROM table_name_61 WHERE cerclis_id = "nhd062004569" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the week with a record of 0-11? ### Context: CREATE TABLE table_name_87 (week VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(week) FROM table_name_87 WHERE record = "0-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: What is the attendance for the date of 11/11/01? ### Context: CREATE TABLE table_name_19 (attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT attendance FROM table_name_19 WHERE date = "11/11/01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 enrollment when the team nickname is wolverines and founded is after 1817? ### Context: CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR) [/INST] ### Response: SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 institution when the location is big rapids, michigan? ### Context: CREATE TABLE table_name_48 (institution VARCHAR, location VARCHAR) [/INST] ### Response: SELECT institution FROM table_name_48 WHERE location = "big rapids, michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 least enrollment when founded after 1809 and the institution is university of michigan? ### Context: CREATE TABLE table_name_60 (enrollment INTEGER, founded VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_name_60 WHERE founded > 1809 AND institution = "university of michigan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 institution when the team nickname is lakers? ### Context: CREATE TABLE table_name_22 (institution VARCHAR, team_nickname VARCHAR) [/INST] ### Response: SELECT institution FROM table_name_22 WHERE team_nickname = "lakers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Political Party has a Name of mehdi bej frashëri (2nd time)? ### Context: CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR) [/INST] ### Response: SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Political Party has a Name of ibrahim bej biçakçiu? ### Context: CREATE TABLE table_name_72 (political_party VARCHAR, name VARCHAR) [/INST] ### Response: SELECT political_party FROM table_name_72 WHERE name = "ibrahim bej biçakçiu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Name has a Term end of 18 july 1944? ### Context: CREATE TABLE table_name_88 (name VARCHAR, term_end VARCHAR) [/INST] ### Response: SELECT name FROM table_name_88 WHERE term_end = "18 july 1944" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Born-Died has a Term start of 4 november 1943? ### Context: CREATE TABLE table_name_52 (born_died VARCHAR, term_start VARCHAR) [/INST] ### Response: SELECT born_died FROM table_name_52 WHERE term_start = "4 november 1943" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Political Party has a Name of rexhep bej mitrovica? ### Context: CREATE TABLE table_name_22 (political_party VARCHAR, name VARCHAR) [/INST] ### Response: SELECT political_party FROM table_name_22 WHERE name = "rexhep bej mitrovica" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Term end has a Political Party of balli kombëtar, and a Born-Died of 1905–1972? ### Context: CREATE TABLE table_name_23 (term_end VARCHAR, political_party VARCHAR, born_died VARCHAR) [/INST] ### Response: SELECT term_end FROM table_name_23 WHERE political_party = "balli kombëtar" AND born_died = "1905–1972" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie No, when Date is 18 February 1956, and when Away Team is Tottenham Hotspur? ### Context: CREATE TABLE table_name_44 (tie_no VARCHAR, date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_44 WHERE date = "18 february 1956" AND away_team = "tottenham hotspur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic? ### Context: CREATE TABLE table_name_10 (tie_no VARCHAR, date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Score, when Tie No is Replay, and when Home Team is Sunderland? ### Context: CREATE TABLE table_name_75 (score VARCHAR, tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT score FROM table_name_75 WHERE tie_no = "replay" AND home_team = "sunderland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home Team, when Date is 18 February 1956, and when Away Team is Blackburn Rovers? ### Context: CREATE TABLE table_name_59 (home_team VARCHAR, date VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_59 WHERE date = "18 february 1956" AND away_team = "blackburn rovers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Home Team, when Date is 18 February 1956, and when Tie No is 3? ### Context: CREATE TABLE table_name_69 (home_team VARCHAR, date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_69 WHERE date = "18 february 1956" AND tie_no = "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 Home Team, when Tie No is 4? ### Context: CREATE TABLE table_name_49 (home_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_49 WHERE tie_no = "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 ws the method of resolution for the fight against joe kielur? ### Context: CREATE TABLE table_name_35 (method VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT method FROM table_name_35 WHERE opponent = "joe kielur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What event did Soa Palelei fight against son hai suk? ### Context: CREATE TABLE table_name_31 (event VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT event FROM table_name_31 WHERE opponent = "son hai suk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is in 1994? ### Context: CREATE TABLE table_name_60 (venue VARCHAR, year VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_60 WHERE year = 1994 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: WHICH Venue IS after 1992 with a Score of 1 – 0 and a Winners of us chaouia? ### Context: CREATE TABLE table_name_93 (venue VARCHAR, winners VARCHAR, year VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_93 WHERE year > 1992 AND score = "1 – 0" AND winners = "us chaouia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clay surface and partner henri leconte in 1983? ### Context: CREATE TABLE table_name_29 (tournament VARCHAR, date VARCHAR, surface VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_29 WHERE surface = "clay" AND partner = "henri leconte" AND date = 1983 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 of the tournament with partner ilie năstase? ### Context: CREATE TABLE table_name_65 (outcome VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_65 WHERE partner = "ilie năstase" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest goals against for teams with more than 27 losses? ### Context: CREATE TABLE table_name_97 (goals_against INTEGER, lost INTEGER) [/INST] ### Response: SELECT MIN(goals_against) FROM table_name_97 WHERE lost > 27 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of positions for teams with more than 7 draws and under 40 played? ### Context: CREATE TABLE table_name_66 (position VARCHAR, drawn VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_name_66 WHERE drawn > 7 AND played < 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest losses for teams with points of 53 and more than 73 goals for? ### Context: CREATE TABLE table_name_23 (lost INTEGER, points_1 VARCHAR, goals_for VARCHAR) [/INST] ### Response: SELECT MIN(lost) FROM table_name_23 WHERE points_1 = "53" AND goals_for > 73 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest draws for teams with a 0 goal difference and under 55 goals against? ### Context: CREATE TABLE table_name_45 (drawn INTEGER, goal_difference VARCHAR, goals_against VARCHAR) [/INST] ### Response: SELECT MIN(drawn) FROM table_name_45 WHERE goal_difference = "0" AND goals_against < 55 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 2010-11 when the rank is greater than 11? ### Context: CREATE TABLE table_name_97 (rank INTEGER) [/INST] ### Response: SELECT COUNT(2010 AS _11) FROM table_name_97 WHERE rank > 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 Away has a Date of 14 september 2008, and an Attendance larger than 1881? ### Context: CREATE TABLE table_name_89 (away VARCHAR, date VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT away FROM table_name_89 WHERE date = "14 september 2008" AND attendance > 1881 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 victoria's away date? ### Context: CREATE TABLE table_name_18 (date VARCHAR, away VARCHAR) [/INST] ### Response: SELECT date FROM table_name_18 WHERE away = "victoria" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Away has a Score of 1:2, and a Home of vida? ### Context: CREATE TABLE table_name_31 (away VARCHAR, score VARCHAR, home VARCHAR) [/INST] ### Response: SELECT away FROM table_name_31 WHERE score = "1:2" AND home = "vida" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 an Away of real juventud? ### Context: CREATE TABLE table_name_50 (attendance INTEGER, away VARCHAR) [/INST] ### Response: SELECT SUM(attendance) FROM table_name_50 WHERE away = "real juventud" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the lowest attendance in round r1 at H venue? ### Context: CREATE TABLE table_name_13 (attendance INTEGER, round VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT MIN(attendance) FROM table_name_13 WHERE round = "r1" AND venue = "h" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pumpers when cars is 5? ### Context: CREATE TABLE table_name_78 (pumpers INTEGER, cars VARCHAR) [/INST] ### Response: SELECT MAX(pumpers) FROM table_name_78 WHERE cars = 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 highest tankers when pumpers is more than 2? ### Context: CREATE TABLE table_name_84 (tankers INTEGER, pumpers INTEGER) [/INST] ### Response: SELECT MAX(tankers) FROM table_name_84 WHERE pumpers > 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 skip with a second of Philippe Caux? ### Context: CREATE TABLE table_name_30 (skip VARCHAR, second VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_30 WHERE second = "philippe caux" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Lead in the 2004-05 Season? ### Context: CREATE TABLE table_name_19 (lead VARCHAR, season VARCHAR) [/INST] ### Response: SELECT lead FROM table_name_19 WHERE season = "2004-05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Third in the 1993-94 season where Philippe Caux was a lead? ### Context: CREATE TABLE table_name_39 (third VARCHAR, lead VARCHAR, season VARCHAR) [/INST] ### Response: SELECT third FROM table_name_39 WHERE lead = "philippe caux" AND season = "1993-94" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 skip when Tony Angiboust was a lead? ### Context: CREATE TABLE table_name_40 (skip VARCHAR, lead VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_40 WHERE lead = "tony angiboust" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 against scores when there are 3 losses and less than 6 games played? ### Context: CREATE TABLE table_name_1 (against VARCHAR, lost VARCHAR, played VARCHAR) [/INST] ### Response: SELECT COUNT(against) FROM table_name_1 WHERE lost = 3 AND played < 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 is the highest amount of games played in the 2003-04 season? ### Context: CREATE TABLE table_name_25 (played INTEGER, season VARCHAR) [/INST] ### Response: SELECT MAX(played) FROM table_name_25 WHERE season = "2003-04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 sample size for the poll from Nov 9-11, 2007 with a margin of error less than 4.3? ### Context: CREATE TABLE table_name_72 (sample_size INTEGER, date VARCHAR, margin_of_error VARCHAR) [/INST] ### Response: SELECT MAX(sample_size) FROM table_name_72 WHERE date = "nov 9-11, 2007" AND margin_of_error < 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: What was the sample size for the poll featuring Republican Ron Paul? ### Context: CREATE TABLE table_name_80 (sample_size VARCHAR, republican VARCHAR) [/INST] ### Response: SELECT sample_size FROM table_name_80 WHERE republican = "ron paul" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tom Purtzer of the United States played what is the maximum score? ### Context: CREATE TABLE table_name_94 (score INTEGER, country VARCHAR, player VARCHAR) [/INST] ### Response: SELECT MAX(score) FROM table_name_94 WHERE country = "united states" AND player = "tom purtzer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Ben Crenshaw has what To par? ### Context: CREATE TABLE table_name_18 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_18 WHERE player = "ben crenshaw" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 to par after two rounds for Nick Price? ### Context: CREATE TABLE table_name_54 (to_par VARCHAR, player VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_54 WHERE player = "nick price" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place was the player from Italy in ? ### Context: CREATE TABLE table_name_32 (place VARCHAR, country VARCHAR) [/INST] ### Response: SELECT place FROM table_name_32 WHERE 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: What is the common name for the creature with darker colors? ### Context: CREATE TABLE table_name_18 (common_name VARCHAR, color VARCHAR) [/INST] ### Response: SELECT common_name FROM table_name_18 WHERE color = "darker colors" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the length of the Panther Chameleon? ### Context: CREATE TABLE table_name_15 (length__female_ VARCHAR, common_name VARCHAR) [/INST] ### Response: SELECT length__female_ FROM table_name_15 WHERE common_name = "panther chameleon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 color of the Chamaeleo Calyptratus? ### Context: CREATE TABLE table_name_54 (color VARCHAR, scientific_name VARCHAR) [/INST] ### Response: SELECT color FROM table_name_54 WHERE scientific_name = "chamaeleo calyptratus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 TO par for the player who scored 70-68-74-70=282? ### Context: CREATE TABLE table_name_26 (to_par VARCHAR, score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_26 WHERE score = 70 - 68 - 74 - 70 = 282 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Opponents In The Final, when Partner is "Jiří Novák"? ### Context: CREATE TABLE table_name_67 (opponents_in_the_final VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_67 WHERE partner = "jiří novák" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Outcome, when Tournament is "Milan , Italy"? ### Context: CREATE TABLE table_name_3 (outcome VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT outcome FROM table_name_3 WHERE tournament = "milan , 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: What is Opponents In The Final, when Surface is "Carpet", and when Tournament is "Milan , Italy"? ### Context: CREATE TABLE table_name_61 (opponents_in_the_final VARCHAR, surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT opponents_in_the_final FROM table_name_61 WHERE surface = "carpet" AND tournament = "milan , 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: What is the total number of Date, when Partner is "Carl-Uwe Steeb"? ### Context: CREATE TABLE table_name_67 (date VARCHAR, partner VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_name_67 WHERE partner = "carl-uwe steeb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 picked a player(s) from South Carolina? ### Context: CREATE TABLE table_name_73 (cfl_team VARCHAR, college VARCHAR) [/INST] ### Response: SELECT cfl_team FROM table_name_73 WHERE college = "south carolina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What college did Keith Shologan play for? ### Context: CREATE TABLE table_name_40 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_name_40 WHERE player = "keith shologan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 a Keith Shologan, who was picked higher than 6, play? ### Context: CREATE TABLE table_name_91 (position VARCHAR, pick__number VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_91 WHERE pick__number < 6 AND player = "keith shologan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 before 1980 has is the highest Inflation Index (2000=100)? ### Context: CREATE TABLE table_name_34 (year INTEGER, inflation_index__2000 INTEGER) [/INST] ### Response: SELECT MAX(inflation_index__2000) = 100 AS _ FROM table_name_34 WHERE year < 1980 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency has voltage of 1.6v and part number kp80524kx300256kc80524kx300256pmg30002002aa? ### Context: CREATE TABLE table_name_64 (frequency VARCHAR, voltage VARCHAR, part_number_s_ VARCHAR) [/INST] ### Response: SELECT frequency FROM table_name_64 WHERE voltage = "1.6v" AND part_number_s_ = "kp80524kx300256kc80524kx300256pmg30002002aa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number has socket μpga2 bga2 mmc-2? ### Context: CREATE TABLE table_name_46 (model_number VARCHAR, socket VARCHAR) [/INST] ### Response: SELECT model_number FROM table_name_46 WHERE socket = "μpga2 bga2 mmc-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 L2 cache for the Mobile Pentium 333? ### Context: CREATE TABLE table_name_48 (l2_cache VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT l2_cache FROM table_name_48 WHERE model_number = "mobile pentium 333" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have golds of 3, silvers of 3, and bronzes under 3? ### Context: CREATE TABLE table_name_37 (total INTEGER, silver VARCHAR, gold VARCHAR, bronze VARCHAR) [/INST] ### Response: SELECT SUM(total) FROM table_name_37 WHERE gold = "3" AND bronze < "3" AND silver = "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 nation has a rank of 7? ### Context: CREATE TABLE table_name_52 (nation VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT nation FROM table_name_52 WHERE rank = "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 is the average bronze with silvers of 1 and totals over 2? ### Context: CREATE TABLE table_name_76 (bronze INTEGER, silver VARCHAR, total VARCHAR) [/INST] ### Response: SELECT AVG(bronze) FROM table_name_76 WHERE silver = "1" 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: How many golds does Germany have? ### Context: CREATE TABLE table_name_45 (gold VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT gold FROM table_name_45 WHERE nation = "germany" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 bronzes with totals under 4 and ranks of 10? ### Context: CREATE TABLE table_name_43 (bronze VARCHAR, total VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT COUNT(bronze) FROM table_name_43 WHERE total < 4 AND rank = "10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest Points, when Class is 50cc, when Year is 1965, and when Wins is less than 0? ### Context: CREATE TABLE table_name_2 (points INTEGER, wins VARCHAR, class VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_name_2 WHERE class = "50cc" AND year = 1965 AND wins < 0 </s>