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: When 6.66 is the amount of viewers what is the lowest production code? ### Context: CREATE TABLE table_24781886_2 (production_code INTEGER, viewers VARCHAR) [/INST] ### Response: SELECT MIN(production_code) FROM table_24781886_2 WHERE viewers = "6.66" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 7.55 is the amount of viewers what is the lowest number? ### Context: CREATE TABLE table_24781886_2 (_number INTEGER, viewers VARCHAR) [/INST] ### Response: SELECT MIN(_number) FROM table_24781886_2 WHERE viewers = "7.55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many figures are given for the New Democratic for the polling range May 11–31, 2010? ### Context: CREATE TABLE table_24778847_2 (new_democratic VARCHAR, date_of_polling VARCHAR) [/INST] ### Response: SELECT COUNT(new_democratic) FROM table_24778847_2 WHERE date_of_polling = "May 11–31, 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What format is the link for the polling data for February 10–28, 2011? ### Context: CREATE TABLE table_24778847_2 (link VARCHAR, date_of_polling VARCHAR) [/INST] ### Response: SELECT link FROM table_24778847_2 WHERE date_of_polling = "February 10–28, 2011" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 9 is the number what is the title? ### Context: CREATE TABLE table_24781886_3 (title VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT title FROM table_24781886_3 WHERE _number = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 3 is the number what is the highest total? ### Context: CREATE TABLE table_24781886_3 (total INTEGER, _number VARCHAR) [/INST] ### Response: SELECT MAX(total) FROM table_24781886_3 WHERE _number = 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: When 7.08 is the amount of viewers what is the air date? ### Context: CREATE TABLE table_24781886_3 (air_date VARCHAR, viewers VARCHAR) [/INST] ### Response: SELECT air_date FROM table_24781886_3 WHERE viewers = "7.08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 7.08 is the amount of viewers how many directors are there? ### Context: CREATE TABLE table_24781886_3 (director VARCHAR, viewers VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_24781886_3 WHERE viewers = "7.08" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location did the episode that aired originally on August 26, 2009 take place at? ### Context: CREATE TABLE table_24798489_2 (location VARCHAR, original_airdate VARCHAR) [/INST] ### Response: SELECT location FROM table_24798489_2 WHERE original_airdate = "August 26, 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many dates originally aired episodes located in Philadelphia, pennsylvania? ### Context: CREATE TABLE table_24798489_2 (original_airdate VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE location = "Philadelphia, Pennsylvania" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 challenge for episode 28? ### Context: CREATE TABLE table_24798489_2 (challenge VARCHAR, episode_number VARCHAR) [/INST] ### Response: SELECT challenge FROM table_24798489_2 WHERE episode_number = 28 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air dates were there for episode 22? ### Context: CREATE TABLE table_24798489_2 (original_airdate VARCHAR, episode_number VARCHAR) [/INST] ### Response: SELECT COUNT(original_airdate) FROM table_24798489_2 WHERE episode_number = 22 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the lowest goals ever achieved? ### Context: CREATE TABLE table_24807406_3 (goals INTEGER) [/INST] ### Response: SELECT MIN(goals) FROM table_24807406_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: how many arabic scottish is afghan ### Context: CREATE TABLE table_24807774_1 (afghan VARCHAR, arabic VARCHAR) [/INST] ### Response: SELECT afghan FROM table_24807774_1 WHERE arabic = "Scottish" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bosnian in cook islands is macedonian ### Context: CREATE TABLE table_24807774_1 (cook_islands VARCHAR, bosnian VARCHAR) [/INST] ### Response: SELECT COUNT(cook_islands) FROM table_24807774_1 WHERE bosnian = "Macedonian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colombia in bangladesh is serbian ### Context: CREATE TABLE table_24807774_1 (colombian VARCHAR, bangladeshi VARCHAR) [/INST] ### Response: SELECT colombian FROM table_24807774_1 WHERE bangladeshi = "Serbian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arabic in colobians is finnish ### Context: CREATE TABLE table_24807774_1 (arabic VARCHAR, colombian VARCHAR) [/INST] ### Response: SELECT arabic FROM table_24807774_1 WHERE colombian = "Finnish" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bosnian in cook islands is sri lankan ### Context: CREATE TABLE table_24807774_1 (bosnian VARCHAR, cook_islands VARCHAR) [/INST] ### Response: SELECT bosnian FROM table_24807774_1 WHERE cook_islands = "Sri Lankan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 afghan in banglash is hungarian ### Context: CREATE TABLE table_24807774_1 (afghan VARCHAR, bangladeshi VARCHAR) [/INST] ### Response: SELECT afghan FROM table_24807774_1 WHERE bangladeshi = "Hungarian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 if the appearance is 2 and the position is FW? ### Context: CREATE TABLE table_24807406_1 (name VARCHAR, position VARCHAR, appearances VARCHAR) [/INST] ### Response: SELECT name FROM table_24807406_1 WHERE position = "FW" AND appearances = 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 assists total number if the minutes is 1? ### Context: CREATE TABLE table_24807406_1 (assists VARCHAR, minutes VARCHAR) [/INST] ### Response: SELECT COUNT(assists) FROM table_24807406_1 WHERE minutes = 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 appearance maximum if the starts is 18? ### Context: CREATE TABLE table_24807406_1 (appearances INTEGER, starts VARCHAR) [/INST] ### Response: SELECT MAX(appearances) FROM table_24807406_1 WHERE starts = 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 are the names of all the players with an average of 15.89? ### Context: CREATE TABLE table_2482547_5 (name VARCHAR, average VARCHAR) [/INST] ### Response: SELECT name FROM table_2482547_5 WHERE average = "15.89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum wickets taken by players named Bill Lockwood? ### Context: CREATE TABLE table_2482547_5 (wickets_taken INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(wickets_taken) FROM table_2482547_5 WHERE name = "Bill Lockwood" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 all the teams with an average of 15.89? ### Context: CREATE TABLE table_2482547_5 (team_s_ VARCHAR, average VARCHAR) [/INST] ### Response: SELECT team_s_ FROM table_2482547_5 WHERE average = "15.89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are all the players who've bowled more than 4969 balls? ### Context: CREATE TABLE table_2482547_5 (name VARCHAR, balls_bowled VARCHAR) [/INST] ### Response: SELECT name FROM table_2482547_5 WHERE balls_bowled = 4969 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 averages for games with 212 wickets taken? ### Context: CREATE TABLE table_2482547_5 (average VARCHAR, wickets_taken VARCHAR) [/INST] ### Response: SELECT average FROM table_2482547_5 WHERE wickets_taken = 212 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 turbine manufacturer for the Wheatland county? ### Context: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, county VARCHAR) [/INST] ### Response: SELECT turbine_manufacturer FROM table_24837750_1 WHERE county = "Wheatland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 turbine manufacturers installed a capacity of 189 MW? ### Context: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, installed_capacity__mw_ VARCHAR) [/INST] ### Response: SELECT COUNT(turbine_manufacturer) FROM table_24837750_1 WHERE installed_capacity__mw_ = "189" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 capacity was installed in Wheatland? ### Context: CREATE TABLE table_24837750_1 (installed_capacity__mw_ VARCHAR, county VARCHAR) [/INST] ### Response: SELECT installed_capacity__mw_ FROM table_24837750_1 WHERE county = "Wheatland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 turbine manufacturer of the wind farm that started service on 2005? ### Context: CREATE TABLE table_24837750_1 (turbine_manufacturer VARCHAR, date_in_service VARCHAR) [/INST] ### Response: SELECT turbine_manufacturer FROM table_24837750_1 WHERE date_in_service = "2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 this wind farm started service with a capacity of 135 MW? ### Context: CREATE TABLE table_24837750_1 (date_in_service VARCHAR, installed_capacity__mw_ VARCHAR) [/INST] ### Response: SELECT date_in_service FROM table_24837750_1 WHERE installed_capacity__mw_ = "135" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the wind farm in Musselshell started service? ### Context: CREATE TABLE table_24837750_1 (date_in_service VARCHAR, county VARCHAR) [/INST] ### Response: SELECT date_in_service FROM table_24837750_1 WHERE county = "Musselshell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 largest attendance at the Rheinstadion? ### Context: CREATE TABLE table_24814477_2 (attendance INTEGER, game_site VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_24814477_2 WHERE game_site = "Rheinstadion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What week did the Galaxy play the Amsterdam Admirals? ### Context: CREATE TABLE table_24814477_2 (week VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT week FROM table_24814477_2 WHERE opponent = "Amsterdam Admirals" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in Week 8? ### Context: CREATE TABLE table_24814477_2 (opponent VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_24814477_2 WHERE week = 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: Who was the Class A winner when the Class C winner was David Haynes? ### Context: CREATE TABLE table_24852622_1 (class_a_winner VARCHAR, class_c_winner VARCHAR) [/INST] ### Response: SELECT class_a_winner FROM table_24852622_1 WHERE class_c_winner = "David Haynes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Class C winner in round 8? ### Context: CREATE TABLE table_24852622_1 (class_c_winner VARCHAR, round VARCHAR) [/INST] ### Response: SELECT class_c_winner FROM table_24852622_1 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: Who was the Class D winner in round 6? ### Context: CREATE TABLE table_24852622_1 (class_d_winner VARCHAR, round VARCHAR) [/INST] ### Response: SELECT class_d_winner FROM table_24852622_1 WHERE round = "6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the circuit in round 2? ### Context: CREATE TABLE table_24852622_1 (circuit VARCHAR, round VARCHAR) [/INST] ### Response: SELECT circuit FROM table_24852622_1 WHERE round = "2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which round did Roy Salvadori won Class D and Alan Hutcheson won Class B? ### Context: CREATE TABLE table_24853015_1 (round VARCHAR, class_d_winner VARCHAR, class_b_winner VARCHAR) [/INST] ### Response: SELECT round FROM table_24853015_1 WHERE class_d_winner = "Roy Salvadori" AND class_b_winner = "Alan Hutcheson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Alan Hutcheson won Class B on round 1? ### Context: CREATE TABLE table_24853015_1 (date VARCHAR, class_b_winner VARCHAR, round VARCHAR) [/INST] ### Response: SELECT date FROM table_24853015_1 WHERE class_b_winner = "Alan Hutcheson" AND round = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many field goals did Stacey Thomas have? ### Context: CREATE TABLE table_24850487_5 (field_goals VARCHAR, player VARCHAR) [/INST] ### Response: SELECT field_goals FROM table_24850487_5 WHERE player = "Stacey Thomas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 assists did the player who had 121 rebounds have? ### Context: CREATE TABLE table_24850487_5 (assists INTEGER, rebounds VARCHAR) [/INST] ### Response: SELECT MAX(assists) FROM table_24850487_5 WHERE rebounds = 121 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 field goals did the player who had 8 blocks have? ### Context: CREATE TABLE table_24850487_5 (field_goals INTEGER, blocks VARCHAR) [/INST] ### Response: SELECT MIN(field_goals) FROM table_24850487_5 WHERE blocks = 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: How many assists did the player who had 863 minutes have? ### Context: CREATE TABLE table_24850487_5 (assists INTEGER, minutes VARCHAR) [/INST] ### Response: SELECT MIN(assists) FROM table_24850487_5 WHERE minutes = 863 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 blocks did the player who had 59 rebounds have? ### Context: CREATE TABLE table_24850487_5 (blocks VARCHAR, rebounds VARCHAR) [/INST] ### Response: SELECT blocks FROM table_24850487_5 WHERE rebounds = 59 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents that had an attendance of exactly 16115? ### Context: CREATE TABLE table_24852001_2 (opponent VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT opponent FROM table_24852001_2 WHERE attendance = 16115 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team record after the Frankfurt Galaxy matchup? ### Context: CREATE TABLE table_24852001_2 (team_record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT team_record FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 game site for the matchup against the Frankfurt Galaxy? ### Context: CREATE TABLE table_24852001_2 (game_site VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT game_site FROM table_24852001_2 WHERE opponent = "Frankfurt Galaxy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results did the GT1 Winning Team No. 50 Larbre Compétition on the Algarve circuit? ### Context: CREATE TABLE table_24865763_2 (results VARCHAR, circuit VARCHAR, gt1_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(results) FROM table_24865763_2 WHERE circuit = "Algarve" AND gt1_winning_team = "No. 50 Larbre Compétition" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning teams are there on LMP2 if Gabriele Gardel Patrice Goueslard Fernando Rees was the GT1 Winning Team on the Algarve circuit? ### Context: CREATE TABLE table_24865763_2 (lmp2_winning_team VARCHAR, gt1_winning_team VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(lmp2_winning_team) FROM table_24865763_2 WHERE gt1_winning_team = "Gabriele Gardel Patrice Goueslard Fernando Rees" AND circuit = "Algarve" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 GT2 Winning Team if Greg Mansell Leo Mansell was the LMP1 Winning Team? ### Context: CREATE TABLE table_24865763_2 (gt2_winning_team VARCHAR, lmp1_winning_team VARCHAR) [/INST] ### Response: SELECT gt2_winning_team FROM table_24865763_2 WHERE lmp1_winning_team = "Greg Mansell Leo Mansell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum round where Marc Lieb Richard Lietz was on the GT2 Winning Team? ### Context: CREATE TABLE table_24865763_2 (rnd INTEGER, gt2_winning_team VARCHAR) [/INST] ### Response: SELECT MAX(rnd) FROM table_24865763_2 WHERE gt2_winning_team = "Marc Lieb Richard Lietz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won the LMP1 on round 4 if No. 42 Strakka Racing was the LMP2 Winning Team? ### Context: CREATE TABLE table_24865763_2 (lmp1_winning_team VARCHAR, rnd VARCHAR, lmp2_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(lmp1_winning_team) FROM table_24865763_2 WHERE rnd = 4 AND lmp2_winning_team = "No. 42 Strakka Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In what round did Mike Newton Thomas Erdos Ben Collins won the LMP2? ### Context: CREATE TABLE table_24865763_2 (rnd VARCHAR, lmp2_winning_team VARCHAR) [/INST] ### Response: SELECT rnd FROM table_24865763_2 WHERE lmp2_winning_team = "Mike Newton Thomas Erdos Ben Collins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 blocks did tye'sha fluker have? ### Context: CREATE TABLE table_24856332_4 (blocks INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(blocks) FROM table_24856332_4 WHERE player = "Tye'sha Fluker" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 steals for a player with 324 minutes? ### Context: CREATE TABLE table_24856332_4 (steals INTEGER, minutes VARCHAR) [/INST] ### Response: SELECT MAX(steals) FROM table_24856332_4 WHERE minutes = 324 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 minutes for a player with 47 steals? ### Context: CREATE TABLE table_24856332_4 (minutes INTEGER, steals VARCHAR) [/INST] ### Response: SELECT MIN(minutes) FROM table_24856332_4 WHERE steals = 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played Mixed Doubles in 1991? ### Context: CREATE TABLE table_2486023_1 (mixed_doubles VARCHAR, year VARCHAR) [/INST] ### Response: SELECT mixed_doubles FROM table_2486023_1 WHERE year = 1991 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the home team who played plymouth argyle? ### Context: CREATE TABLE table_24887326_8 (home_team VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT home_team FROM table_24887326_8 WHERE away_team = "Plymouth Argyle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 away team was norwich city? ### Context: CREATE TABLE table_24887326_8 (score_1 VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT score_1 FROM table_24887326_8 WHERE away_team = "Norwich City" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who played as the away team when coventry city was the home team? ### Context: CREATE TABLE table_24887326_8 (away_team VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT away_team FROM table_24887326_8 WHERE home_team = "Coventry City" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when they played Frankfurt Galaxy? ### Context: CREATE TABLE table_24882796_2 (final_score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT final_score FROM table_24882796_2 WHERE opponent = "Frankfurt Galaxy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the away team for tie no 11? ### Context: CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_24887326_6 WHERE tie_no = 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: Who is the away team for tie no 15? ### Context: CREATE TABLE table_24887326_6 (away_team VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT away_team FROM table_24887326_6 WHERE tie_no = 15 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest tie that had 19129 attendance? ### Context: CREATE TABLE table_24887326_6 (tie_no INTEGER, attendance VARCHAR) [/INST] ### Response: SELECT MAX(tie_no) FROM table_24887326_6 WHERE attendance = 19129 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 tie when the home team is Stoke City? ### Context: CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_24887326_6 WHERE home_team = "Stoke City" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What tie has Orient as the home team? ### Context: CREATE TABLE table_24887326_6 (tie_no VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT tie_no FROM table_24887326_6 WHERE home_team = "Orient" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dates are there for tie number 12? ### Context: CREATE TABLE table_24887326_6 (date VARCHAR, tie_no VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_24887326_6 WHERE tie_no = 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: When 556 is the amount of points how much equipment is there? ### Context: CREATE TABLE table_24898185_4 (equipment VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(equipment) FROM table_24898185_4 WHERE points = 556 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship was the score 6–4, 5–7, 6–2? ### Context: CREATE TABLE table_24901152_4 (championship VARCHAR, score VARCHAR) [/INST] ### Response: SELECT championship FROM table_24901152_4 WHERE score = "6–4, 5–7, 6–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: Who were the opponents in the Rome championship? ### Context: CREATE TABLE table_24901152_4 (opponents VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT opponents FROM table_24901152_4 WHERE championship = "Rome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum number of minutes associated with exactly 70 field goals? ### Context: CREATE TABLE table_24908692_5 (minutes INTEGER, field_goals VARCHAR) [/INST] ### Response: SELECT MAX(minutes) FROM table_24908692_5 WHERE field_goals = 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 the minimum number of field goals associated with exactly 84 assists? ### Context: CREATE TABLE table_24908692_5 (field_goals INTEGER, assists VARCHAR) [/INST] ### Response: SELECT MIN(field_goals) FROM table_24908692_5 WHERE assists = 84 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 steals did Tamika Williams have? ### Context: CREATE TABLE table_24908692_5 (steals VARCHAR, player VARCHAR) [/INST] ### Response: SELECT steals FROM table_24908692_5 WHERE player = "Tamika Williams" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of takeaways with 1 rejection. ### Context: CREATE TABLE table_24906653_5 (steals VARCHAR, blocks VARCHAR) [/INST] ### Response: SELECT COUNT(steals) FROM table_24906653_5 WHERE blocks = 1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many long range shots did tonya edwards make. ### Context: CREATE TABLE table_24906653_5 (field_goals VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(field_goals) FROM table_24906653_5 WHERE player = "Tonya Edwards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the number of long range shors where the score is 171. ### Context: CREATE TABLE table_24906653_5 (field_goals VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(field_goals) FROM table_24906653_5 WHERE points = 171 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 best amiga demo when tribes ( pulse & melon dezign) won best pc demo? ### Context: CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) [/INST] ### Response: SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Tribes ( Pulse & Melon Dezign)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What won best amiga demo when alto knallo (free electric band) won best pc demo? ### Context: CREATE TABLE table_2490289_1 (amiga_demo VARCHAR, pc_demo VARCHAR) [/INST] ### Response: SELECT amiga_demo FROM table_2490289_1 WHERE pc_demo = "Alto Knallo (Free Electric Band)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What won best pc intro when my kingdom (haujobb & scoopex) won best amiga demo? ### Context: CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_demo VARCHAR) [/INST] ### Response: SELECT pc_intro FROM table_2490289_1 WHERE amiga_demo = "My Kingdom (Haujobb & Scoopex)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What won est pc intro when 4k0 (polka brothers) won best amiga intro? ### Context: CREATE TABLE table_2490289_1 (pc_intro VARCHAR, amiga_intro VARCHAR) [/INST] ### Response: SELECT pc_intro FROM table_2490289_1 WHERE amiga_intro = "4k0 (Polka Brothers)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What won best pc demo when tower power (camelot) won best c64 demo? ### Context: CREATE TABLE table_2490289_1 (pc_demo VARCHAR, c64_demo VARCHAR) [/INST] ### Response: SELECT pc_demo FROM table_2490289_1 WHERE c64_demo = "Tower Power (Camelot)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 did fr-08: the product ( farbrausch ) win best pc intro? ### Context: CREATE TABLE table_2490289_1 (year VARCHAR, pc_intro VARCHAR) [/INST] ### Response: SELECT year FROM table_2490289_1 WHERE pc_intro = "FR-08: The Product ( Farbrausch )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode title that had a US viewership of 8.16? ### Context: CREATE TABLE table_24910737_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_24910737_1 WHERE us_viewers__millions_ = "8.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: Who wrote the episodes that had a viewership of 7.14? ### Context: CREATE TABLE table_24910737_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_24910737_1 WHERE us_viewers__millions_ = "7.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: How many episodes received rating of 8.2? ### Context: CREATE TABLE table_24910733_2 (episode VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_24910733_2 WHERE rating = "8.2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many share figures are there for the episode that aired on October 17, 2007? ### Context: CREATE TABLE table_24910733_2 (share VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT COUNT(share) FROM table_24910733_2 WHERE air_date = "October 17, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episodes aired on October 17, 2007? ### Context: CREATE TABLE table_24910733_2 (episode VARCHAR, air_date VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_24910733_2 WHERE air_date = "October 17, 2007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many timeslots received a rating of 5.7? ### Context: CREATE TABLE table_24910733_2 (timeslot__est_ VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT COUNT(timeslot__est_) FROM table_24910733_2 WHERE rating = "5.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 many writers are listed when the U.S viewers are 11.21 million? ### Context: CREATE TABLE table_24910733_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director when there is 8.44 million viewers? ### Context: CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director when the writter is Andrea Newman? ### Context: CREATE TABLE table_24910733_1 (directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_24910733_1 WHERE written_by = "Andrea Newman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 title when the writer is Emily Halpern? ### Context: CREATE TABLE table_24910733_1 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_24910733_1 WHERE written_by = "Emily Halpern" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director when there is 11.21 million viewers? ### Context: CREATE TABLE table_24910733_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_24910733_1 WHERE us_viewers__millions_ = "11.21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles are listed with 8.44 million viewers? ### Context: CREATE TABLE table_24910733_1 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_24910733_1 WHERE us_viewers__millions_ = "8.44" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 field goals had 597 points? ### Context: CREATE TABLE table_24915964_4 (field_goals VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(field_goals) FROM table_24915964_4 WHERE points = 597 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 minutes were played by Sue Bird? ### Context: CREATE TABLE table_24915964_4 (minutes INTEGER, player VARCHAR) [/INST] ### Response: SELECT MIN(minutes) FROM table_24915964_4 WHERE player = "Sue Bird" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 maximum number of rebounds for players having exactly 35 steals? ### Context: CREATE TABLE table_24913533_4 (rebounds INTEGER, steals VARCHAR) [/INST] ### Response: SELECT MAX(rebounds) FROM table_24913533_4 WHERE steals = 35 </s>