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: Which 2007 has a 2010 of A? ### Context: CREATE TABLE table_name_92 (Id VARCHAR) [/INST] ### Response: SELECT 2007 FROM table_name_92 WHERE 2010 = "a" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's Adam's score when Jade's score is greater than 5 and Peter's score is less than 0? ### Context: CREATE TABLE table_name_40 (adam INTEGER, jade VARCHAR, peter VARCHAR) [/INST] ### Response: SELECT AVG(adam) FROM table_name_40 WHERE jade > 5 AND peter < 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: Old Scotch had less than 9 losses and how much against? ### Context: CREATE TABLE table_name_70 (against INTEGER, losses VARCHAR, ntfa_div_2 VARCHAR) [/INST] ### Response: SELECT SUM(against) FROM table_name_70 WHERE losses < 9 AND ntfa_div_2 = "old scotch" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Of the teams that had more than 0 byes, what was the total number of losses? ### Context: CREATE TABLE table_name_54 (losses VARCHAR, byes INTEGER) [/INST] ### Response: SELECT COUNT(losses) FROM table_name_54 WHERE byes < 0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the incumbent in the 20th district? ### Context: CREATE TABLE table_name_16 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_16 WHERE district = "20th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party has the 6th district? ### Context: CREATE TABLE table_name_49 (party VARCHAR, district VARCHAR) [/INST] ### Response: SELECT party FROM table_name_49 WHERE district = "6th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party has Ken Cuccinelli as an incumbent? ### Context: CREATE TABLE table_name_34 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_name_34 WHERE incumbent = "ken cuccinelli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party was elected in 2003 with incumbent Mark Obenshain? ### Context: CREATE TABLE table_name_47 (party VARCHAR, elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_name_47 WHERE elected = 2003 AND incumbent = "mark obenshain" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent was in the 24th district? ### Context: CREATE TABLE table_name_60 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_name_60 WHERE district = "24th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the sum of laps for mi-jack conquest racing and points less than 11 ### Context: CREATE TABLE table_name_19 (laps INTEGER, team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT SUM(laps) FROM table_name_19 WHERE team = "mi-jack conquest racing" AND points < 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: Name the points with grid more than 8 and time/retired of +47.487 secs ### Context: CREATE TABLE table_name_74 (points VARCHAR, grid VARCHAR, time_retired VARCHAR) [/INST] ### Response: SELECT points FROM table_name_74 WHERE grid > 8 AND time_retired = "+47.487 secs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the team with laps of 97 and grid of 3 ### Context: CREATE TABLE table_name_79 (team VARCHAR, laps VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT team FROM table_name_79 WHERE laps = 97 AND grid = 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: Name the sum of grid with laps more than 97 ### Context: CREATE TABLE table_name_82 (grid INTEGER, laps INTEGER) [/INST] ### Response: SELECT SUM(grid) FROM table_name_82 WHERE laps > 97 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the most wins in 1971 in 250cc class? ### Context: CREATE TABLE table_name_11 (wins INTEGER, class VARCHAR, year VARCHAR) [/INST] ### Response: SELECT MAX(wins) FROM table_name_11 WHERE class = "250cc" AND year = 1971 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest year with less than 45 points for Yamaha team in 21st rank? ### Context: CREATE TABLE table_name_49 (year INTEGER, rank VARCHAR, points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_name_49 WHERE points < 45 AND team = "yamaha" AND rank = "21st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ends Won have Blank Ends smaller than 14, and a Locale of manitoba, and Stolen Ends larger than 13? ### Context: CREATE TABLE table_name_58 (ends_won INTEGER, stolen_ends VARCHAR, blank_ends VARCHAR, locale VARCHAR) [/INST] ### Response: SELECT SUM(ends_won) FROM table_name_58 WHERE blank_ends < 14 AND locale = "manitoba" AND stolen_ends > 13 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Skip has Ends Lost larger than 44, and Blank Ends of 10? ### Context: CREATE TABLE table_name_80 (skip VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT skip FROM table_name_80 WHERE ends_lost > 44 AND blank_ends = 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: How many Stolen Ends have Ends Lost smaller than 44, and Blank Ends smaller than 7? ### Context: CREATE TABLE table_name_83 (stolen_ends VARCHAR, ends_lost VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT COUNT(stolen_ends) FROM table_name_83 WHERE ends_lost < 44 AND blank_ends < 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 current status for GM Advanced Design with more than 41 seats? ### Context: CREATE TABLE table_name_64 (current_status VARCHAR, make VARCHAR, number_of_seats VARCHAR) [/INST] ### Response: SELECT current_status FROM table_name_64 WHERE make = "gm advanced design" AND number_of_seats > 41 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 quantity with more than 45 seats and MCI make? ### Context: CREATE TABLE table_name_80 (quantity VARCHAR, number_of_seats VARCHAR, make VARCHAR) [/INST] ### Response: SELECT quantity FROM table_name_80 WHERE number_of_seats > 45 AND make = "mci" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 number of seats with more than 32 of a MCI make? ### Context: CREATE TABLE table_name_24 (number_of_seats INTEGER, make VARCHAR, quantity VARCHAR) [/INST] ### Response: SELECT MAX(number_of_seats) FROM table_name_24 WHERE make = "mci" AND quantity > 32 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest number of seats in a vehicle currently retired and in quantities less than 8? ### Context: CREATE TABLE table_name_21 (number_of_seats INTEGER, current_status VARCHAR, quantity VARCHAR) [/INST] ### Response: SELECT MIN(number_of_seats) FROM table_name_21 WHERE current_status = "retired" AND quantity < 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 smallest number of seats in a retired vehicle that was started in service in 1981? ### Context: CREATE TABLE table_name_93 (number_of_seats INTEGER, current_status VARCHAR, year_placed_in_service VARCHAR) [/INST] ### Response: SELECT MIN(number_of_seats) FROM table_name_93 WHERE current_status = "retired" AND year_placed_in_service = "1981" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Trevard Lindley's height? ### Context: CREATE TABLE table_name_42 (height VARCHAR, name VARCHAR) [/INST] ### Response: SELECT height FROM table_name_42 WHERE name = "trevard lindley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Ashton Cobb's class in Game 2? ### Context: CREATE TABLE table_name_87 (class VARCHAR, games↑ VARCHAR, name VARCHAR) [/INST] ### Response: SELECT class FROM table_name_87 WHERE games↑ = 2 AND name = "ashton cobb" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest game with a position of Re and a smaller number than 95? ### Context: CREATE TABLE table_name_2 (games INTEGER, position VARCHAR, number VARCHAR) [/INST] ### Response: SELECT MIN(games) AS ↑ FROM table_name_2 WHERE position = "re" AND number < 95 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Seattle quarterback has more than 81 career wins and less than 70 team wins? ### Context: CREATE TABLE table_name_33 (quarterback VARCHAR, team_wins VARCHAR, career_wins VARCHAR, teams VARCHAR) [/INST] ### Response: SELECT quarterback FROM table_name_33 WHERE career_wins > 81 AND teams = "seattle" AND team_wins < 70 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Mike Harris' lowest overall? ### Context: CREATE TABLE table_name_61 (overall INTEGER, name VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_61 WHERE name = "mike harris" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 pick # that has a 228 overall and a round less than 7? ### Context: CREATE TABLE table_name_81 (pick__number INTEGER, overall VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_name_81 WHERE overall = 228 AND round < 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 value has negative infinity? ### Context: CREATE TABLE table_name_82 (value VARCHAR, type VARCHAR) [/INST] ### Response: SELECT value FROM table_name_82 WHERE type = "negative infinity" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 exponent field that has 255 exp and value of +∞? ### Context: CREATE TABLE table_name_93 (exponent_field VARCHAR, exp__biased_ VARCHAR, value VARCHAR) [/INST] ### Response: SELECT exponent_field FROM table_name_93 WHERE exp__biased_ = "255" AND value = "+∞" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 type of 0.0 value? ### Context: CREATE TABLE table_name_29 (type VARCHAR, value VARCHAR) [/INST] ### Response: SELECT type FROM table_name_29 WHERE value = "0.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 Significant of a value 1.0? ### Context: CREATE TABLE table_name_2 (significand__fraction_field_ VARCHAR, value VARCHAR) [/INST] ### Response: SELECT significand__fraction_field_ FROM table_name_2 WHERE value = "1.0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest round of the pick #8 player with an overall greater than 72 from the college of temple? ### Context: CREATE TABLE table_name_19 (round INTEGER, overall VARCHAR, pick__number VARCHAR, college VARCHAR) [/INST] ### Response: SELECT MIN(round) FROM table_name_19 WHERE pick__number = 8 AND college = "temple" AND overall > 72 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 overall of the wide receiver player from a round higher than 5 and a pick lower than 7? ### Context: CREATE TABLE table_name_19 (overall INTEGER, pick__number VARCHAR, position VARCHAR, round VARCHAR) [/INST] ### Response: SELECT MIN(overall) FROM table_name_19 WHERE position = "wide receiver" AND round < 5 AND pick__number > 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 overall of the running back player? ### Context: CREATE TABLE table_name_91 (overall VARCHAR, position VARCHAR) [/INST] ### Response: SELECT overall FROM table_name_91 WHERE position = "running back" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 general classification when the team classification is japan? ### Context: CREATE TABLE table_name_18 (general_classification VARCHAR, team_classification VARCHAR) [/INST] ### Response: SELECT general_classification FROM table_name_18 WHERE team_classification = "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 stage had tabriz petrochemical team in the team classification? ### Context: CREATE TABLE table_name_68 (stage VARCHAR, team_classification VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_68 WHERE team_classification = "tabriz petrochemical team" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stage had suhardi hassan in the Malaysian rider classification? ### Context: CREATE TABLE table_name_59 (stage VARCHAR, malaysian_rider_classification VARCHAR) [/INST] ### Response: SELECT stage FROM table_name_59 WHERE malaysian_rider_classification = "suhardi hassan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn have points of 6 and lost by fewer than 4? ### Context: CREATE TABLE table_name_53 (drawn VARCHAR, points VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(drawn) FROM table_name_53 WHERE points = 6 AND lost < 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 was the earliest game with a record of 23–6–4? ### Context: CREATE TABLE table_name_48 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_48 WHERE record = "23–6–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 was the earliest game with a record of 16–4–3? ### Context: CREATE TABLE table_name_96 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_name_96 WHERE record = "16–4–3" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which ERP W is the highest one that has a Call sign of w255bi? ### Context: CREATE TABLE table_name_3 (erp_w INTEGER, call_sign VARCHAR) [/INST] ### Response: SELECT MAX(erp_w) FROM table_name_3 WHERE call_sign = "w255bi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info has a Frequency MHz of 100.7? ### Context: CREATE TABLE table_name_96 (fcc_info VARCHAR, frequency_mhz VARCHAR) [/INST] ### Response: SELECT fcc_info FROM table_name_96 WHERE frequency_mhz = 100.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: How much Frequency MHz has a Call sign of w264bg? ### Context: CREATE TABLE table_name_95 (frequency_mhz VARCHAR, call_sign VARCHAR) [/INST] ### Response: SELECT COUNT(frequency_mhz) FROM table_name_95 WHERE call_sign = "w264bg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ERP W is the lowest one that has a Call sign of w233be? ### Context: CREATE TABLE table_name_47 (erp_w INTEGER, call_sign VARCHAR) [/INST] ### Response: SELECT MIN(erp_w) FROM table_name_47 WHERE call_sign = "w233be" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 FCC info has a Frequency MHz larger than 102.3? ### Context: CREATE TABLE table_name_84 (fcc_info VARCHAR, frequency_mhz INTEGER) [/INST] ### Response: SELECT fcc_info FROM table_name_84 WHERE frequency_mhz > 102.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 date was Rica head of household? ### Context: CREATE TABLE table_name_35 (date_given VARCHAR, head_of_household VARCHAR) [/INST] ### Response: SELECT date_given FROM table_name_35 WHERE head_of_household = "rica" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the latest task number for which Cathy is head of household? ### Context: CREATE TABLE table_name_16 (task_no INTEGER, head_of_household VARCHAR) [/INST] ### Response: SELECT MAX(task_no) FROM table_name_16 WHERE head_of_household = "cathy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head of household for task number 7? ### Context: CREATE TABLE table_name_39 (head_of_household VARCHAR, task_no VARCHAR) [/INST] ### Response: SELECT head_of_household FROM table_name_39 WHERE task_no = 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: Which task had Cathy as the hand grenade user? ### Context: CREATE TABLE table_name_98 (task_no VARCHAR, hand_grenade_user VARCHAR) [/INST] ### Response: SELECT task_no FROM table_name_98 WHERE hand_grenade_user = "cathy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 task number on January 22, 2010 (day 111)? ### Context: CREATE TABLE table_name_94 (task_no INTEGER, date_given VARCHAR) [/INST] ### Response: SELECT MAX(task_no) FROM table_name_94 WHERE date_given = "january 22, 2010 (day 111)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record in the win 7 streak? ### Context: CREATE TABLE table_name_86 (record VARCHAR, streak VARCHAR) [/INST] ### Response: SELECT record FROM table_name_86 WHERE streak = "win 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 score when the opponent was Detroit Pistons? ### Context: CREATE TABLE table_name_46 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_name_46 WHERE opponent = "detroit pistons" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the date when streak was won 8? ### Context: CREATE TABLE table_name_50 (date VARCHAR, streak VARCHAR) [/INST] ### Response: SELECT date FROM table_name_50 WHERE streak = "won 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 trips are operated by Atlantic coast charters? ### Context: CREATE TABLE table_name_47 (total_trips__am_pm_ VARCHAR, operated_by VARCHAR) [/INST] ### Response: SELECT total_trips__am_pm_ FROM table_name_47 WHERE operated_by = "atlantic coast charters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average week of a game with a result of l 10-7 attended by 37,500? ### Context: CREATE TABLE table_name_4 (week INTEGER, result VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT AVG(week) FROM table_name_4 WHERE result = "l 10-7" AND attendance < 37 OFFSET 500 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 average attendance on October 30, 1938? ### Context: CREATE TABLE table_name_33 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT AVG(attendance) FROM table_name_33 WHERE date = "october 30, 1938" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Yugoslavia play a friendly game in Belgrade? ### Context: CREATE TABLE table_name_88 (date VARCHAR, city VARCHAR, type_of_game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_88 WHERE city = "belgrade" AND type_of_game = "friendly" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 WC 1974 Qualifying game? ### Context: CREATE TABLE table_name_94 (date VARCHAR, type_of_game VARCHAR) [/INST] ### Response: SELECT date FROM table_name_94 WHERE type_of_game = "wc 1974 qualifying" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What city did Yugoslavia play Norway in? ### Context: CREATE TABLE table_name_2 (city VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT city FROM table_name_2 WHERE opponent = "norway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Yugoslavia play against that led to a result of 2:3? ### Context: CREATE TABLE table_name_90 (opponent VARCHAR, results¹ VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_90 WHERE results¹ = "2: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 final score of the runner-up on 9 February 1992? ### Context: CREATE TABLE table_name_75 (score_in_final VARCHAR, outcome VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score_in_final FROM table_name_75 WHERE outcome = "runner-up" AND date = "9 february 1992" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a time of 1:50? ### Context: CREATE TABLE table_name_79 (opponent VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_79 WHERE time = "1:50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which opponent has a time of 2:35? ### Context: CREATE TABLE table_name_85 (opponent VARCHAR, time VARCHAR) [/INST] ### Response: SELECT opponent FROM table_name_85 WHERE time = "2:35" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the time when the opponent is stephanie palmer? ### Context: CREATE TABLE table_name_27 (time VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT time FROM table_name_27 WHERE opponent = "stephanie palmer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tournament has Samantha Stosur as the opponent in the final? ### Context: CREATE TABLE table_name_99 (tournament VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT tournament FROM table_name_99 WHERE opponent_in_the_final = "samantha stosur" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date is the zürich, switzerland tournament? ### Context: CREATE TABLE table_name_36 (date VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_36 WHERE tournament = "zürich, switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Sydney, Australia tournament with a hard surface? ### Context: CREATE TABLE table_name_50 (date VARCHAR, surface VARCHAR, tournament VARCHAR) [/INST] ### Response: SELECT date FROM table_name_50 WHERE surface = "hard" AND tournament = "sydney, australia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Result has a Date of 4 april 1993? ### Context: CREATE TABLE table_name_78 (result VARCHAR, date VARCHAR) [/INST] ### Response: SELECT result FROM table_name_78 WHERE date = "4 april 1993" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has a Result of 5-1, and a Score of 3-0? ### Context: CREATE TABLE table_name_53 (venue VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_53 WHERE result = "5-1" AND score = "3-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Score has a Result of 5-1? ### Context: CREATE TABLE table_name_68 (score VARCHAR, result VARCHAR) [/INST] ### Response: SELECT score FROM table_name_68 WHERE result = "5-1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has a Result of 5-1, and a Score of 1-0? ### Context: CREATE TABLE table_name_72 (venue VARCHAR, result VARCHAR, score VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_72 WHERE result = "5-1" AND score = "1-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which Venue has a Result of 5-0? ### Context: CREATE TABLE table_name_18 (venue VARCHAR, result VARCHAR) [/INST] ### Response: SELECT venue FROM table_name_18 WHERE result = "5-0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What did winner Gary Player par? ### Context: CREATE TABLE table_name_89 (to_par VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT to_par FROM table_name_89 WHERE winner = "gary player" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PATAs does an nForce Professional 3400 MCP have? ### Context: CREATE TABLE table_name_38 (pata INTEGER, model VARCHAR) [/INST] ### Response: SELECT SUM(pata) FROM table_name_38 WHERE model = "nforce professional 3400 mcp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 PCI-Express has a DDR 266/333/400 Registered/ECC memory and Enhanced AC'97 2.3 sound? ### Context: CREATE TABLE table_name_11 (pci_express VARCHAR, memory VARCHAR, sound VARCHAR) [/INST] ### Response: SELECT pci_express FROM table_name_11 WHERE memory = "ddr 266/333/400 registered/ecc" AND sound = "enhanced ac'97 2.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 FSB/HT frequency (MHz) has a SATA larger than 6 and DDR 266/333/400 Registered/ECC memory? ### Context: CREATE TABLE table_name_79 (fsb_ht_frequency__mhz_ VARCHAR, sata VARCHAR, memory VARCHAR) [/INST] ### Response: SELECT fsb_ht_frequency__mhz_ FROM table_name_79 WHERE sata > 6 AND memory = "ddr 266/333/400 registered/ecc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network has model nForce Professional 3400 MCP? ### Context: CREATE TABLE table_name_29 (network VARCHAR, model VARCHAR) [/INST] ### Response: SELECT network FROM table_name_29 WHERE model = "nforce professional 3400 mcp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What model has an engine of 1,868 cc? ### Context: CREATE TABLE table_name_33 (model VARCHAR, displacement VARCHAR) [/INST] ### Response: SELECT model FROM table_name_33 WHERE displacement = "1,868 cc" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team has 8 rounds? ### Context: CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, round VARCHAR) [/INST] ### Response: SELECT college_junior_club_team__league_ FROM table_name_31 WHERE round = 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 nationality is Daryn Fersovich? ### Context: CREATE TABLE table_name_47 (nationality VARCHAR, player VARCHAR) [/INST] ### Response: SELECT nationality FROM table_name_47 WHERE player = "daryn fersovich" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What day was the ground subiaco? ### Context: CREATE TABLE table_name_8 (date VARCHAR, ground VARCHAR) [/INST] ### Response: SELECT date FROM table_name_8 WHERE ground = "subiaco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 crowd size for the Home team of melbourne? ### Context: CREATE TABLE table_name_54 (crowd VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT COUNT(crowd) FROM table_name_54 WHERE home_team = "melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Couple of cristián & cheryl, and a Style of cha-cha-cha? ### Context: CREATE TABLE table_name_7 (score VARCHAR, couple VARCHAR, style VARCHAR) [/INST] ### Response: SELECT score FROM table_name_7 WHERE couple = "cristián & cheryl" AND style = "cha-cha-cha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Couple comprised of jason & edyta, and a Style of freestyle? ### Context: CREATE TABLE table_name_2 (score VARCHAR, couple VARCHAR, style VARCHAR) [/INST] ### Response: SELECT score FROM table_name_2 WHERE couple = "jason & edyta" AND style = "freestyle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 music is jive? ### Context: CREATE TABLE table_name_20 (music VARCHAR, style VARCHAR) [/INST] ### Response: SELECT music FROM table_name_20 WHERE style = "jive" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Couple has a Result of third place, and a Style of cha-cha-cha? ### Context: CREATE TABLE table_name_82 (couple VARCHAR, result VARCHAR, style VARCHAR) [/INST] ### Response: SELECT couple FROM table_name_82 WHERE result = "third place" AND style = "cha-cha-cha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Score has a Result of third place, and a Style of cha-cha-cha? ### Context: CREATE TABLE table_name_18 (score VARCHAR, result VARCHAR, style VARCHAR) [/INST] ### Response: SELECT score FROM table_name_18 WHERE result = "third place" AND style = "cha-cha-cha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Music has a Score of 30 (10, 10, 10), and a Style of cha-cha-cha? ### Context: CREATE TABLE table_name_22 (music VARCHAR, score VARCHAR, style VARCHAR) [/INST] ### Response: SELECT music FROM table_name_22 WHERE score = "30 (10, 10, 10)" AND style = "cha-cha-cha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Australian National Kennel Council Toy Dogs Group with papillon as the Kennel Club breed? ### Context: CREATE TABLE table_name_98 (australian_national_kennel_council_toy_dogs_group VARCHAR, the_kennel_club__uk__toy_group VARCHAR) [/INST] ### Response: SELECT australian_national_kennel_council_toy_dogs_group FROM table_name_98 WHERE the_kennel_club__uk__toy_group = "papillon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 New Zealand Kennel Club Toy Group with papillon as the Australian National Kennel Council Toy Dogs Group breed? ### Context: CREATE TABLE table_name_26 (new_zealand_kennel_club_toy_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR) [/INST] ### Response: SELECT new_zealand_kennel_club_toy_group FROM table_name_26 WHERE australian_national_kennel_council_toy_dogs_group = "papillon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Canadian Kennel Club Toy Dogs Group with the australian silky terrier as the Australian National Kennel Council Toy Dogs Group breed? ### Context: CREATE TABLE table_name_49 (canadian_kennel_club_toy_dogs_group VARCHAR, australian_national_kennel_council_toy_dogs_group VARCHAR) [/INST] ### Response: SELECT canadian_kennel_club_toy_dogs_group FROM table_name_49 WHERE australian_national_kennel_council_toy_dogs_group = "australian silky terrier" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Kennel Club (UK) Toy Group with the shih-tzu as the American Kennel Club Toy Group breed? ### Context: CREATE TABLE table_name_65 (the_kennel_club__uk__toy_group VARCHAR, american_kennel_club_toy_group VARCHAR) [/INST] ### Response: SELECT the_kennel_club__uk__toy_group FROM table_name_65 WHERE american_kennel_club_toy_group = "shih-tzu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What prize amount was awarded at the event with 453 entrants? ### Context: CREATE TABLE table_name_31 (prize VARCHAR, entrants VARCHAR) [/INST] ### Response: SELECT prize FROM table_name_31 WHERE entrants = 453 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the overall event results when Michael Demichele was runner-up? ### Context: CREATE TABLE table_name_78 (results VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT results FROM table_name_78 WHERE runner_up = "michael demichele" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 fewest entrants in an event won by Grant Hinkle? ### Context: CREATE TABLE table_name_90 (entrants INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MIN(entrants) FROM table_name_90 WHERE winner = "grant hinkle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entrants did the events won by Frank Gary average? ### Context: CREATE TABLE table_name_21 (entrants INTEGER, winner VARCHAR) [/INST] ### Response: SELECT AVG(entrants) FROM table_name_21 WHERE winner = "frank gary" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What medal was won in the 1996 Atlanta games in wrestling? ### Context: CREATE TABLE table_name_60 (medal VARCHAR, games VARCHAR, sport VARCHAR) [/INST] ### Response: SELECT medal FROM table_name_60 WHERE games = "1996 atlanta" AND sport = "wrestling" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won a medal at the 2008 Beijing Olympics? ### Context: CREATE TABLE table_name_33 (name VARCHAR, games VARCHAR) [/INST] ### Response: SELECT name FROM table_name_33 WHERE games = "2008 beijing" </s>