text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Pilot number for the YouTube Hero greg pattillo? ### Context: CREATE TABLE table_name_76 (pilot VARCHAR, youtube_hero VARCHAR) [/INST] ### Response: SELECT pilot FROM table_name_76 WHERE youtube_hero = "greg pattillo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the MySpace Band with an Original Airdate of 25 march 2008? ### Context: CREATE TABLE table_name_77 (myspace_band VARCHAR, original_airdate VARCHAR) [/INST] ### Response: SELECT myspace_band FROM table_name_77 WHERE original_airdate = "25 march 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 total number of top-25s for tournaments that had 0 wins, 1 cut made, and more than 5 events? ### Context: CREATE TABLE table_name_23 (top_25 VARCHAR, events VARCHAR, wins VARCHAR, cuts_made VARCHAR) [/INST] ### Response: SELECT COUNT(top_25) FROM table_name_23 WHERE wins = 0 AND cuts_made = 1 AND events > 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 fewest number of top-5s for events with more than 1 win? ### Context: CREATE TABLE table_name_90 (top_5 INTEGER, wins INTEGER) [/INST] ### Response: SELECT MIN(top_5) FROM table_name_90 WHERE 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 highest number of top-25s for events with 0 wins? ### Context: CREATE TABLE table_name_15 (top_25 INTEGER, wins INTEGER) [/INST] ### Response: SELECT MAX(top_25) FROM table_name_15 WHERE wins < 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 home leg who are opponents of rotor volgograd ### Context: CREATE TABLE table_name_88 (home_leg VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT home_leg FROM table_name_88 WHERE opponents = "rotor volgograd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the round with ajax opponents ### Context: CREATE TABLE table_name_33 (round VARCHAR, opponents VARCHAR) [/INST] ### Response: SELECT round FROM table_name_33 WHERE opponents = "ajax" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 acquisition via has a position of forward and is on the state school or club? ### Context: CREATE TABLE table_name_79 (acquisition_via VARCHAR, position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT acquisition_via FROM table_name_79 WHERE position = "forward" AND school_club_team = "state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the acquisition via that has a school or club team of state? ### Context: CREATE TABLE table_name_82 (acquisition_via VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT acquisition_via FROM table_name_82 WHERE school_club_team = "state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Allen Gamboa? ### Context: CREATE TABLE table_name_50 (position VARCHAR, name VARCHAR) [/INST] ### Response: SELECT position FROM table_name_50 WHERE name = "allen gamboa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is number 16? ### Context: CREATE TABLE table_name_7 (position VARCHAR, number VARCHAR) [/INST] ### Response: SELECT position FROM table_name_7 WHERE number = 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 year had a date of TBA where the Oakland raiders were the home team? ### Context: CREATE TABLE table_name_80 (year INTEGER, date VARCHAR, designated_home VARCHAR) [/INST] ### Response: SELECT AVG(year) FROM table_name_80 WHERE date = "tba" AND designated_home = "oakland raiders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on October 28 when the new england patriots were the visitors? ### Context: CREATE TABLE table_name_34 (designated_home VARCHAR, date VARCHAR, designated_visitors VARCHAR) [/INST] ### Response: SELECT designated_home FROM table_name_34 WHERE date = "october 28" AND designated_visitors = "new england patriots" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the visitors when the Atlanta Falcons were the home team? ### Context: CREATE TABLE table_name_42 (designated_visitors VARCHAR, designated_home VARCHAR) [/INST] ### Response: SELECT designated_visitors FROM table_name_42 WHERE designated_home = "atlanta falcons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the home team during the game that aired on Fox after 2007 on October 23? ### Context: CREATE TABLE table_name_53 (designated_home VARCHAR, date VARCHAR, television VARCHAR, year VARCHAR) [/INST] ### Response: SELECT designated_home FROM table_name_53 WHERE television = "fox" AND year > 2007 AND date = "october 23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the birthplace of the player who weighs 98 KG and was born on May 1, 1984? ### Context: CREATE TABLE table_name_86 (birthplace VARCHAR, weight__kg_ VARCHAR, birthdate VARCHAR) [/INST] ### Response: SELECT birthplace FROM table_name_86 WHERE weight__kg_ = 98 AND birthdate = "may 1, 1984" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Name v t e, of the player whose Weight (kg) was 84, whose Position was D, and whose Jersey number was 2? ### Context: CREATE TABLE table_name_32 (name_v_t_e VARCHAR, jersey_number VARCHAR, weight__kg_ VARCHAR, position VARCHAR) [/INST] ### Response: SELECT name_v_t_e FROM table_name_32 WHERE weight__kg_ = 84 AND position = "d" AND jersey_number = 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 lowest win percentage for when Perth Scorchers is the opposition? ### Context: CREATE TABLE table_name_20 (win__percentage INTEGER, opposition VARCHAR) [/INST] ### Response: SELECT MIN(win__percentage) FROM table_name_20 WHERE opposition = "perth scorchers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On which date was the game played on Week 13? ### Context: CREATE TABLE table_name_22 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_22 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: What is the total number of Std SAPs with 0-11 Opt SAPS? ### Context: CREATE TABLE table_name_55 (std_saps VARCHAR, opt_saps VARCHAR) [/INST] ### Response: SELECT COUNT(std_saps) FROM table_name_55 WHERE opt_saps = "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: For Model e64 what is the zAAPs/zIIPs? ### Context: CREATE TABLE table_name_36 (zaaps___ziips VARCHAR, model VARCHAR) [/INST] ### Response: SELECT zaaps___ziips FROM table_name_36 WHERE model = "e64" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For Model e12 what is the IFLs/uIFLs? ### Context: CREATE TABLE table_name_77 (ifls___uifls VARCHAR, model VARCHAR) [/INST] ### Response: SELECT ifls___uifls FROM table_name_77 WHERE model = "e12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a School/Club Team of Illinois? ### Context: CREATE TABLE table_name_5 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_5 WHERE school_club_team = "illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 plays Guard-Forward Position for School/Club Team Pepperdine? ### Context: CREATE TABLE table_name_12 (player VARCHAR, position VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_12 WHERE position = "guard-forward" AND school_club_team = "pepperdine" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Player Vince Carter hold? ### Context: CREATE TABLE table_name_84 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_name_84 WHERE player = "vince carter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 School/Club Team does Vince Carter Play for? ### Context: CREATE TABLE table_name_95 (school_club_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT school_club_team FROM table_name_95 WHERE player = "vince carter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the Player for School/Club Team Illinois? ### Context: CREATE TABLE table_name_22 (player VARCHAR, school_club_team VARCHAR) [/INST] ### Response: SELECT player FROM table_name_22 WHERE school_club_team = "illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What score has 7-0 as the result? ### Context: CREATE TABLE table_name_56 (score VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_56 WHERE result = "7-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 competition has 17-1 as the result? ### Context: CREATE TABLE table_name_71 (competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_71 WHERE result = "17-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 competition has 17-1 as the result? ### Context: CREATE TABLE table_name_38 (competition VARCHAR, result VARCHAR) [/INST] ### Response: SELECT competition FROM table_name_38 WHERE result = "17-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 set 2 with a 25-23 set 1 and a 17-19 set 5? ### Context: CREATE TABLE table_name_48 (set_2 VARCHAR, set_1 VARCHAR, set_5 VARCHAR) [/INST] ### Response: SELECT set_2 FROM table_name_48 WHERE set_1 = "25-23" AND set_5 = "17-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 set 5 with a 25-23 set 3? ### Context: CREATE TABLE table_name_55 (set_5 VARCHAR, set_3 VARCHAR) [/INST] ### Response: SELECT set_5 FROM table_name_55 WHERE set_3 = "25-23" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the high pick of the round of 10 for Fairmont State college? ### Context: CREATE TABLE table_name_13 (pick INTEGER, college VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick) FROM table_name_13 WHERE college = "fairmont state" 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: What was the name of the player for pick 402? ### Context: CREATE TABLE table_name_57 (player VARCHAR, pick VARCHAR) [/INST] ### Response: SELECT player FROM table_name_57 WHERE pick = 402 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date of the week 4 game? ### Context: CREATE TABLE table_name_76 (date VARCHAR, week VARCHAR) [/INST] ### Response: SELECT date FROM table_name_76 WHERE week = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result of the game on October 17, 1965? ### Context: CREATE TABLE table_name_73 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_73 WHERE date = "october 17, 1965" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Rank for Viktors Dobrecovs with less than 325 Matches? ### Context: CREATE TABLE table_name_34 (rank INTEGER, name VARCHAR, matches VARCHAR) [/INST] ### Response: SELECT AVG(rank) FROM table_name_34 WHERE name = "viktors dobrecovs" AND matches < 325 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Vits Rimkus with a Rank of less than 3? ### Context: CREATE TABLE table_name_2 (matches INTEGER, name VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT AVG(matches) FROM table_name_2 WHERE name = "vits rimkus" AND rank < 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 Date for the game at michie stadium • west point, ny? ### Context: CREATE TABLE table_name_80 (date VARCHAR, location VARCHAR) [/INST] ### Response: SELECT date FROM table_name_80 WHERE location = "michie stadium • west point, ny" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the location was groves stadium • winston-salem, nc, with a result of t 17-17? ### Context: CREATE TABLE table_name_20 (opponent VARCHAR, location VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_20 WHERE location = "groves stadium • winston-salem, nc" AND result = "t 17-17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In 1879-81 with number built 4, what is the LMS nos? ### Context: CREATE TABLE table_name_63 (lms_nos VARCHAR, date VARCHAR, no_built VARCHAR) [/INST] ### Response: SELECT lms_nos FROM table_name_63 WHERE date = "1879-81" AND no_built = 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: On which date was the class 157? ### Context: CREATE TABLE table_name_40 (date VARCHAR, class VARCHAR) [/INST] ### Response: SELECT date FROM table_name_40 WHERE class = 157 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Can you tell me the lowest Ends Lost that has the Locale of norway, and the Blank Ends larger than 17? ### Context: CREATE TABLE table_name_95 (ends_lost INTEGER, locale VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT MIN(ends_lost) FROM table_name_95 WHERE locale = "norway" AND blank_ends > 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Margin of Victory of winning score 68-67-69-65=269? ### Context: CREATE TABLE table_name_65 (margin_of_victory VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT margin_of_victory FROM table_name_65 WHERE winning_score = 68 - 67 - 69 - 65 = 269 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 winning score 71-66-70-67=274? ### Context: CREATE TABLE table_name_52 (to_par VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_52 WHERE winning_score = 71 - 66 - 70 - 67 = 274 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a winning score of 67-61-68-67=263? ### Context: CREATE TABLE table_name_96 (tournament VARCHAR, winning_score VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_96 WHERE winning_score = 67 - 61 - 68 - 67 = 263 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many tries for are associated with 5 points and 2 tries against? ### Context: CREATE TABLE table_name_3 (tries_for VARCHAR, points VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT tries_for FROM table_name_3 WHERE points = "5" AND tries_against = "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 losing bonus associated with 0 tries for? ### Context: CREATE TABLE table_name_82 (losing_bonus VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT losing_bonus FROM table_name_82 WHERE tries_for = "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's the highest against score that drew more than 5, and had more than 18 points? ### Context: CREATE TABLE table_name_35 (against INTEGER, drawn VARCHAR, points VARCHAR) [/INST] ### Response: SELECT MAX(against) FROM table_name_35 WHERE drawn > 5 AND points > 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of losses where played was less than 17? ### Context: CREATE TABLE table_name_33 (lost VARCHAR, played INTEGER) [/INST] ### Response: SELECT COUNT(lost) FROM table_name_33 WHERE played < 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is team ypiranga-sp's average position when they lost by less than 7? ### Context: CREATE TABLE table_name_53 (position INTEGER, team VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the attendance for the game at groves stadium • winston-salem, nc with a result of L 0-14? ### Context: CREATE TABLE table_name_86 (attendance VARCHAR, location VARCHAR, result VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_name_86 WHERE location = "groves stadium • winston-salem, nc" AND result = "l 0-14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent when the result was L 0-14? ### Context: CREATE TABLE table_name_64 (opponent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_64 WHERE result = "l 0-14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 name of the position of the person whose hometown is Queens, NY? ### Context: CREATE TABLE table_name_45 (position VARCHAR, hometown VARCHAR) [/INST] ### Response: SELECT position FROM table_name_45 WHERE hometown = "queens, ny" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Tim Andree's greatest number? ### Context: CREATE TABLE table_name_50 (number INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(number) FROM table_name_50 WHERE name = "tim andree" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of the player with a hometown of Bellwood, IL? ### Context: CREATE TABLE table_name_90 (number INTEGER, hometown VARCHAR) [/INST] ### Response: SELECT MIN(number) FROM table_name_90 WHERE hometown = "bellwood, il" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Attendance is 2,444? ### Context: CREATE TABLE table_name_33 (score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_33 WHERE attendance = "2,444" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Replay, and when Attendance is 2,048? ### Context: CREATE TABLE table_name_44 (home_team VARCHAR, tie_no VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT home_team FROM table_name_44 WHERE tie_no = "replay" AND attendance = "2,048" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 17? ### Context: CREATE TABLE table_name_81 (score VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT score FROM table_name_81 WHERE tie_no = "17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is Away Team, when Tie No is 4? ### Context: CREATE TABLE table_name_16 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_name_16 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 is Score, when Attendance is 3,416? ### Context: CREATE TABLE table_name_29 (score VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT score FROM table_name_29 WHERE attendance = "3,416" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Away Losses with a No Result of more than 0, losses of more than 6, and matches of more than 91? ### Context: CREATE TABLE table_name_64 (Away INTEGER, matches VARCHAR, no_result VARCHAR, losses VARCHAR) [/INST] ### Response: SELECT SUM(Away) AS losses FROM table_name_64 WHERE no_result > 0 AND losses > 6 AND matches > 91 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What stadium was the December 29, 2008 game played at? ### Context: CREATE TABLE table_name_95 (stadium VARCHAR, date VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_95 WHERE date = "december 29, 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: Which bowl game had a conference matchup of Ohio State vs. Texas? ### Context: CREATE TABLE table_name_77 (bowl_game VARCHAR, conference_matchups VARCHAR) [/INST] ### Response: SELECT bowl_game FROM table_name_77 WHERE conference_matchups = "ohio state vs. texas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What stadium was the Fiesta Bowl played at? ### Context: CREATE TABLE table_name_74 (stadium VARCHAR, bowl_game VARCHAR) [/INST] ### Response: SELECT stadium FROM table_name_74 WHERE bowl_game = "fiesta bowl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 payout in US dollars at the Insight Bowl? ### Context: CREATE TABLE table_name_59 (payout___us$__ VARCHAR, bowl_game VARCHAR) [/INST] ### Response: SELECT payout___us$__ FROM table_name_59 WHERE bowl_game = "insight bowl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 conference matchup in the bowl game with a $3 million payout? ### Context: CREATE TABLE table_name_81 (conference_matchups VARCHAR, payout___us$__ VARCHAR) [/INST] ### Response: SELECT conference_matchups FROM table_name_81 WHERE payout___us$__ = "$3 million" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 conference matchup for the bowl game played in Glendale, Arizona? ### Context: CREATE TABLE table_name_66 (conference_matchups VARCHAR, city VARCHAR) [/INST] ### Response: SELECT conference_matchups FROM table_name_66 WHERE city = "glendale, arizona" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tries for smaller than 10? ### Context: CREATE TABLE table_name_59 (team VARCHAR, tries_for INTEGER) [/INST] ### Response: SELECT team FROM table_name_59 WHERE tries_for < 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 Tries against have Points against larger than 109? ### Context: CREATE TABLE table_name_9 (tries_against INTEGER, points_against INTEGER) [/INST] ### Response: SELECT MAX(tries_against) FROM table_name_9 WHERE points_against > 109 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Tries against that have a Points against of 95 and Tries for larger than 20? ### Context: CREATE TABLE table_name_91 (tries_against INTEGER, points_against VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT SUM(tries_against) FROM table_name_91 WHERE points_against = 95 AND tries_for > 20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What Tries for has a Team of neath, and Points against larger than 109? ### Context: CREATE TABLE table_name_38 (tries_for INTEGER, team VARCHAR, points_against VARCHAR) [/INST] ### Response: SELECT SUM(tries_for) FROM table_name_38 WHERE team = "neath" AND points_against > 109 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many Points against that have a Team of harlequins and Tries against smaller than 8? ### Context: CREATE TABLE table_name_37 (points_against INTEGER, team VARCHAR, tries_against VARCHAR) [/INST] ### Response: SELECT SUM(points_against) FROM table_name_37 WHERE team = "harlequins" AND tries_against < 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the power that belongs to Class A with an Identifier of CBOC-FM? ### Context: CREATE TABLE table_name_90 (power VARCHAR, class VARCHAR, identifier VARCHAR) [/INST] ### Response: SELECT power FROM table_name_90 WHERE class = "a" AND identifier = "cboc-fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which class has a frequency of 91.9 fm? ### Context: CREATE TABLE table_name_31 (class VARCHAR, frequency VARCHAR) [/INST] ### Response: SELECT class FROM table_name_31 WHERE frequency = "91.9 fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What power belongs to the LP Class and has an Identifier of CBLI? ### Context: CREATE TABLE table_name_98 (power VARCHAR, class VARCHAR, identifier VARCHAR) [/INST] ### Response: SELECT power FROM table_name_98 WHERE class = "lp" AND identifier = "cbli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 city has a C1 class and Identifier of CBCD-FM? ### Context: CREATE TABLE table_name_77 (city_of_license VARCHAR, class VARCHAR, identifier VARCHAR) [/INST] ### Response: SELECT city_of_license FROM table_name_77 WHERE class = "c1" AND identifier = "cbcd-fm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Power has a CBLI Identifier? ### Context: CREATE TABLE table_name_40 (power VARCHAR, identifier VARCHAR) [/INST] ### Response: SELECT power FROM table_name_40 WHERE identifier = "cbli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 RECNet belonging to Class A with a Power of 3,000 watts? ### Context: CREATE TABLE table_name_75 (recnet VARCHAR, class VARCHAR, power VARCHAR) [/INST] ### Response: SELECT recnet FROM table_name_75 WHERE class = "a" AND power = "3,000 watts" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 report in the tournament that started at 12:30? ### Context: CREATE TABLE table_name_75 (report VARCHAR, time VARCHAR) [/INST] ### Response: SELECT report FROM table_name_75 WHERE time = "12:30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2007 has a 2003 of 1r? ### Context: CREATE TABLE table_name_81 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_81 WHERE 2003 = "1r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2006 has a 2012 of a, and a 2011 of 3r? ### Context: CREATE TABLE table_name_76 (Id VARCHAR) [/INST] ### Response: SELECT 2006 FROM table_name_76 WHERE 2012 = "a" AND 2011 = "3r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2008 has a 2002 of a, and a Tournament of australian open? ### Context: CREATE TABLE table_name_84 (tournament VARCHAR) [/INST] ### Response: SELECT 2008 FROM table_name_84 WHERE 2002 = "a" AND tournament = "australian open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2012 has a 2008 of grand slam tournaments? ### Context: CREATE TABLE table_name_47 (Id VARCHAR) [/INST] ### Response: SELECT 2012 FROM table_name_47 WHERE 2008 = "grand slam tournaments" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2002 has a 2009 of 2r? ### Context: CREATE TABLE table_name_96 (Id VARCHAR) [/INST] ### Response: SELECT 2002 FROM table_name_96 WHERE 2009 = "2r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which 2010 has a 2002 of 2r? ### Context: CREATE TABLE table_name_20 (Id VARCHAR) [/INST] ### Response: SELECT 2010 FROM table_name_20 WHERE 2002 = "2r" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is th US A.C. in 1985 with a US hot 100 of 57? ### Context: CREATE TABLE table_name_16 (us_ac VARCHAR, year VARCHAR, us_hot_100 VARCHAR) [/INST] ### Response: SELECT us_ac FROM table_name_16 WHERE year = 1985 AND us_hot_100 = "57" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Canada singles in 1979 with a US A.C. of 24? ### Context: CREATE TABLE table_name_75 (canada_singles VARCHAR, year VARCHAR, us_ac VARCHAR) [/INST] ### Response: SELECT canada_singles FROM table_name_75 WHERE year = 1979 AND us_ac = "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 US A.C. in 1974? ### Context: CREATE TABLE table_name_13 (us_ac VARCHAR, year VARCHAR) [/INST] ### Response: SELECT us_ac FROM table_name_13 WHERE year = 1974 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of player Sammy Morris? ### Context: CREATE TABLE table_name_13 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT AVG(round) FROM table_name_13 WHERE player = "sammy morris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick # of the player from round 4? ### Context: CREATE TABLE table_name_70 (pick__number INTEGER, round VARCHAR) [/INST] ### Response: SELECT SUM(pick__number) FROM table_name_70 WHERE 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: Who is the player from Arizona State? ### Context: CREATE TABLE table_name_40 (player VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_40 WHERE college = "arizona state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of the player who plays linebacker and has a pick # greater than 251? ### Context: CREATE TABLE table_name_38 (round INTEGER, position VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT SUM(round) FROM table_name_38 WHERE position = "linebacker" AND pick__number > 251 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the player from Arizona state with a round less than 7? ### Context: CREATE TABLE table_name_84 (player VARCHAR, round VARCHAR, college VARCHAR) [/INST] ### Response: SELECT player FROM table_name_84 WHERE round < 7 AND college = "arizona state" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 highest week for the day of October 21, 1956? ### Context: CREATE TABLE table_name_66 (week INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(week) FROM table_name_66 WHERE date = "october 21, 1956" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 recent week number when the attendance is 16,562? ### Context: CREATE TABLE table_name_1 (week INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MIN(week) FROM table_name_1 WHERE attendance = 16 OFFSET 562 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country , when Rider is Lindsay Porter? ### Context: CREATE TABLE table_name_63 (country VARCHAR, rider VARCHAR) [/INST] ### Response: SELECT country FROM table_name_63 WHERE rider = "lindsay porter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Time, when Speed is 87.49mph? ### Context: CREATE TABLE table_name_15 (time VARCHAR, speed VARCHAR) [/INST] ### Response: SELECT time FROM table_name_15 WHERE speed = "87.49mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Country, when Points are more than 12? ### Context: CREATE TABLE table_name_30 (country VARCHAR, points INTEGER) [/INST] ### Response: SELECT country FROM table_name_30 WHERE points > 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 Speed, when Time is 1:24.23.0? ### Context: CREATE TABLE table_name_98 (speed VARCHAR, time VARCHAR) [/INST] ### Response: SELECT speed FROM table_name_98 WHERE time = "1:24.23.0" </s>