text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the best finish record for Sean O'hair? ### Context: CREATE TABLE table_29504351_2 (best_finish VARCHAR, player VARCHAR) [/INST] ### Response: SELECT best_finish FROM table_29504351_2 WHERE player = "Sean O'Hair" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 money list rank for player Doug Barron? ### Context: CREATE TABLE table_29504351_2 (money_list_rank INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(money_list_rank) FROM table_29504351_2 WHERE player = "Doug Barron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athletes were named federico muller? ### Context: CREATE TABLE table_29521180_35 (quarterfinals VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT COUNT(quarterfinals) FROM table_29521180_35 WHERE athlete = "Federico Muller" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 round of 16 result for felipe saucedo? ### Context: CREATE TABLE table_29521180_35 (round_of_16 VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT round_of_16 FROM table_29521180_35 WHERE athlete = "Felipe Saucedo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The Ring of Steel possesses what ISBN? ### Context: CREATE TABLE table_2950964_5 (isbn VARCHAR, title VARCHAR) [/INST] ### Response: SELECT isbn FROM table_2950964_5 WHERE title = "The Ring Of Steel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: THe audio book with ISBN 978-1-4084-6879-1 is read by whom? ### Context: CREATE TABLE table_2950964_5 (read_by VARCHAR, isbn VARCHAR) [/INST] ### Response: SELECT read_by FROM table_2950964_5 WHERE isbn = "isbn 978-1-4084-6879-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: The Empty House audiobook has what #? ### Context: CREATE TABLE table_2950964_5 (_number VARCHAR, title VARCHAR) [/INST] ### Response: SELECT _number FROM table_2950964_5 WHERE title = "The Empty House" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 people directed episode 2? ### Context: CREATE TABLE table_29545336_2 (directed_by VARCHAR, no VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_29545336_2 WHERE no = 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 title of the episode that featured Abbud Siddiqui? ### Context: CREATE TABLE table_29545336_2 (title VARCHAR, featured_character_s_ VARCHAR) [/INST] ### Response: SELECT title FROM table_29545336_2 WHERE featured_character_s_ = "Abbud Siddiqui" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 million U.S. viewers was written by Matt Pelfrey? ### Context: CREATE TABLE table_29545336_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_29545336_2 WHERE written_by = "Matt Pelfrey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 8.9% is the electricity reduction percentage how many sets of tonnes of co2 saved is there? ### Context: CREATE TABLE table_29538735_1 (tonnes_of_co2_saved VARCHAR, _percentage_electricity_reduction VARCHAR) [/INST] ### Response: SELECT COUNT(tonnes_of_co2_saved) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.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 1522 is the tonnes of co2 saved what is the year? ### Context: CREATE TABLE table_29538735_1 (year VARCHAR, tonnes_of_co2_saved VARCHAR) [/INST] ### Response: SELECT year FROM table_29538735_1 WHERE tonnes_of_co2_saved = 1522 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 £337,000 is £ saved what is the percentage of electricity reduction? ### Context: CREATE TABLE table_29538735_1 (_percentage_electricity_reduction VARCHAR, £_saved VARCHAR) [/INST] ### Response: SELECT _percentage_electricity_reduction FROM table_29538735_1 WHERE £_saved = "£337,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 8.9% is the electricity reduction percentage what is the £ saved? ### Context: CREATE TABLE table_29538735_1 (£_saved VARCHAR, _percentage_electricity_reduction VARCHAR) [/INST] ### Response: SELECT £_saved FROM table_29538735_1 WHERE _percentage_electricity_reduction = "8.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 10% is the percentage of electricity reduction how many sets of universities are there? ### Context: CREATE TABLE table_29538735_1 (universities VARCHAR, _percentage_electricity_reduction VARCHAR) [/INST] ### Response: SELECT COUNT(universities) FROM table_29538735_1 WHERE _percentage_electricity_reduction = "10%" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is maximum loss record when the pa record is 47? ### Context: CREATE TABLE table_29545993_3 (l INTEGER, pa VARCHAR) [/INST] ### Response: SELECT MAX(l) FROM table_29545993_3 WHERE pa = 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: What is the minimum ends lost record when the stolen ends records is 6 and the loss record is bigger than 5.0? ### Context: CREATE TABLE table_29545993_3 (Ends INTEGER, stolen_ends VARCHAR, l VARCHAR) [/INST] ### Response: SELECT MIN(Ends) AS lost FROM table_29545993_3 WHERE stolen_ends = 6 AND l > 5.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the minimum stolen ends record where the pa record is 40? ### Context: CREATE TABLE table_29545993_3 (stolen_ends INTEGER, pa VARCHAR) [/INST] ### Response: SELECT MIN(stolen_ends) FROM table_29545993_3 WHERE pa = 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest overall amount of w's? ### Context: CREATE TABLE table_29542269_2 (w INTEGER) [/INST] ### Response: SELECT MIN(w) FROM table_29542269_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 highest L of the tournament? ### Context: CREATE TABLE table_29542147_2 (l INTEGER) [/INST] ### Response: SELECT MAX(l) FROM table_29542147_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 highest W of the 0 L? ### Context: CREATE TABLE table_29542147_2 (w INTEGER, l VARCHAR) [/INST] ### Response: SELECT MAX(w) FROM table_29542147_2 WHERE l = 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: Name the least pa for w being 2 ### Context: CREATE TABLE table_29546142_2 (pa INTEGER, w VARCHAR) [/INST] ### Response: SELECT MIN(pa) FROM table_29546142_2 WHERE w = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which skip (club) had 28 PA? ### Context: CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR) [/INST] ### Response: SELECT skip__club_ FROM table_29546030_2 WHERE pa = 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: What is the most amount of stolen ends for a skip with 1 W? ### Context: CREATE TABLE table_29546030_2 (stolen_ends INTEGER, w VARCHAR) [/INST] ### Response: SELECT MAX(stolen_ends) FROM table_29546030_2 WHERE w = 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 skip (club) had 31 PA and 9 blank ends? ### Context: CREATE TABLE table_29546030_2 (skip__club_ VARCHAR, pa VARCHAR, blank_ends VARCHAR) [/INST] ### Response: SELECT skip__club_ FROM table_29546030_2 WHERE pa = 31 AND blank_ends = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the least amount of blank ends for a skip who has 44 PF? ### Context: CREATE TABLE table_29546030_2 (blank_ends INTEGER, pf VARCHAR) [/INST] ### Response: SELECT MIN(blank_ends) FROM table_29546030_2 WHERE pf = 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 high points occur with the team Umass? ### Context: CREATE TABLE table_29556461_9 (high_points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(high_points) FROM table_29556461_9 WHERE team = "UMass" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 la salle is the team who has the highest amount of points? ### Context: CREATE TABLE table_29556461_8 (high_points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT high_points FROM table_29556461_8 WHERE team = "La Salle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 allen/moore/wyatt – 4 have the highest amount of assists what is the highest game? ### Context: CREATE TABLE table_29556461_8 (game INTEGER, high_assists VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_29556461_8 WHERE high_assists = "Allen/Moore/Wyatt – 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: When dayton is the team what is the record? ### Context: CREATE TABLE table_29556461_8 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_29556461_8 WHERE team = "Dayton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What the title of the song when the result is to the live shows? ### Context: CREATE TABLE table_29547777_1 (song_title VARCHAR, result__placement_ VARCHAR) [/INST] ### Response: SELECT song_title FROM table_29547777_1 WHERE result__placement_ = "to the Live Shows" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 when the original performaer is diana ross? ### Context: CREATE TABLE table_29547777_1 (episode VARCHAR, original_performer VARCHAR) [/INST] ### Response: SELECT episode FROM table_29547777_1 WHERE original_performer = "Diana Ross" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original performer when the episode is casting? ### Context: CREATE TABLE table_29547777_1 (original_performer VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT original_performer FROM table_29547777_1 WHERE episode = "Casting" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total mumber of skip (club) entries when the pf is 40? ### Context: CREATE TABLE table_29546218_3 (skip__club_ VARCHAR, pf VARCHAR) [/INST] ### Response: SELECT COUNT(skip__club_) FROM table_29546218_3 WHERE pf = 40 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What horse had a starting price of 66/1? ### Context: CREATE TABLE table_29562161_1 (name VARCHAR, starting_price VARCHAR) [/INST] ### Response: SELECT name FROM table_29562161_1 WHERE starting_price = "66/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 L when the W is 4? ### Context: CREATE TABLE table_29565120_2 (l INTEGER, w VARCHAR) [/INST] ### Response: SELECT MIN(l) FROM table_29565120_2 WHERE w = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest number in L? ### Context: CREATE TABLE table_29565601_2 (l INTEGER) [/INST] ### Response: SELECT MAX(l) FROM table_29565601_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 PA when the PF is 73? ### Context: CREATE TABLE table_29565601_2 (pa INTEGER, pf VARCHAR) [/INST] ### Response: SELECT MIN(pa) FROM table_29565601_2 WHERE pf = 73 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the blank ends record when the win record is higher than 6.0? ### Context: CREATE TABLE table_29565673_2 (blank_ends VARCHAR, w INTEGER) [/INST] ### Response: SELECT blank_ends FROM table_29565673_2 WHERE w > 6.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 win record where the pa record is 62? ### Context: CREATE TABLE table_29565673_2 (w VARCHAR, pa VARCHAR) [/INST] ### Response: SELECT w FROM table_29565673_2 WHERE pa = 62 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed under L when the stolen ends is 1? ### Context: CREATE TABLE table_29565858_2 (l VARCHAR, stolen_ends VARCHAR) [/INST] ### Response: SELECT l FROM table_29565858_2 WHERE stolen_ends = 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 rank entries are there when new points are 1155? ### Context: CREATE TABLE table_29572583_19 (rank VARCHAR, new_points VARCHAR) [/INST] ### Response: SELECT COUNT(rank) FROM table_29572583_19 WHERE new_points = 1155 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 listed in new points when status is second round lost to xavier malisse? ### Context: CREATE TABLE table_29572583_19 (new_points INTEGER, status VARCHAR) [/INST] ### Response: SELECT MIN(new_points) FROM table_29572583_19 WHERE status = "Second round lost to Xavier Malisse" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status when points is 4595? ### Context: CREATE TABLE table_29572583_19 (status VARCHAR, points VARCHAR) [/INST] ### Response: SELECT status FROM table_29572583_19 WHERE points = 4595 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 status when the rank is 2? ### Context: CREATE TABLE table_29572583_19 (status VARCHAR, rank VARCHAR) [/INST] ### Response: SELECT status FROM table_29572583_19 WHERE rank = 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 points are listed when the rank is 17? ### Context: CREATE TABLE table_29572583_19 (points INTEGER, rank VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_29572583_19 WHERE rank = 17 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many seed entries are there when points are 2175? ### Context: CREATE TABLE table_29572583_19 (seed VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(seed) FROM table_29572583_19 WHERE points = 2175 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clubs remained when there were 4 winners from the previous round? ### Context: CREATE TABLE table_29566686_1 (clubs_remaining VARCHAR, winners_from_previous_round VARCHAR) [/INST] ### Response: SELECT clubs_remaining FROM table_29566686_1 WHERE winners_from_previous_round = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the maximum number of clubs remaining when the league entering at this round was allsvenskan? ### Context: CREATE TABLE table_29566686_1 (clubs_remaining INTEGER, leagues_entering_at_this_round VARCHAR) [/INST] ### Response: SELECT MIN(clubs_remaining) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 different values of clubs involved were there when the league entering at this round was allsvenskan? ### Context: CREATE TABLE table_29566686_1 (clubs_involved VARCHAR, leagues_entering_at_this_round VARCHAR) [/INST] ### Response: SELECT COUNT(clubs_involved) FROM table_29566686_1 WHERE leagues_entering_at_this_round = "Allsvenskan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 programs were originally broadcast on CITV? ### Context: CREATE TABLE table_29566606_11 (programme VARCHAR, original_channel_s_ VARCHAR) [/INST] ### Response: SELECT programme FROM table_29566606_11 WHERE original_channel_s_ = "CITV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 return for the program for the program "Big Brother"? ### Context: CREATE TABLE table_29566606_11 (date_of_return VARCHAR, programme VARCHAR) [/INST] ### Response: SELECT date_of_return FROM table_29566606_11 WHERE programme = "Big Brother" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are directed by Jamie Payne? ### Context: CREATE TABLE table_29574579_1 (episode VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_29574579_1 WHERE directed_by = "Jamie Payne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 millions of viewers are listed when the share is 10.8? ### Context: CREATE TABLE table_29574579_1 (uk_viewers__million_ VARCHAR, share___percentage_ VARCHAR) [/INST] ### Response: SELECT uk_viewers__million_ FROM table_29574579_1 WHERE share___percentage_ = "10.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 is the director when there are 2.70 million viewers? ### Context: CREATE TABLE table_29574579_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29574579_1 WHERE uk_viewers__million_ = "2.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: How many episodes hve 4.50 million viewers? ### Context: CREATE TABLE table_29574579_1 (episode VARCHAR, uk_viewers__million_ VARCHAR) [/INST] ### Response: SELECT episode FROM table_29574579_1 WHERE uk_viewers__million_ = "4.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: Who is the director when the share is 11.8? ### Context: CREATE TABLE table_29574579_1 (directed_by VARCHAR, share___percentage_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29574579_1 WHERE share___percentage_ = "11.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 wrote the episode with production code 57376? ### Context: CREATE TABLE table_29583441_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29583441_1 WHERE production_code = 57376 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 numbered production code listed? ### Context: CREATE TABLE table_29583441_1 (production_code INTEGER) [/INST] ### Response: SELECT MIN(production_code) FROM table_29583441_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 date did the episode that was directed by Christian i. nyby ii originally air on? ### Context: CREATE TABLE table_29583441_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_29583441_1 WHERE directed_by = "Christian I. Nyby II" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the episode that was number 31 in the series? ### Context: CREATE TABLE table_29584044_1 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_29584044_1 WHERE no_in_series = 31 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 original air date of the episode that was directed by Bruce Seth Green? ### Context: CREATE TABLE table_29584044_1 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_29584044_1 WHERE directed_by = "Bruce Seth Green" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times is the couple kerry & daniel? ### Context: CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Kerry & Daniel" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 times is the total points 128.0? ### Context: CREATE TABLE table_29583818_3 (couple VARCHAR, total_points VARCHAR) [/INST] ### Response: SELECT COUNT(couple) FROM table_29583818_3 WHERE total_points = "128.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: How many times is the couple laura and colin? ### Context: CREATE TABLE table_29583818_3 (place VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_29583818_3 WHERE couple = "Laura and Colin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the average when the place is 16? ### Context: CREATE TABLE table_29583818_3 (average VARCHAR, place VARCHAR) [/INST] ### Response: SELECT average FROM table_29583818_3 WHERE place = 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: How many times is the rank by average 4? ### Context: CREATE TABLE table_29583818_3 (place VARCHAR, rank_by_average VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_29583818_3 WHERE rank_by_average = 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: How many different pairs of writers wrote the episode with series number 56? ### Context: CREATE TABLE table_29584601_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_29584601_1 WHERE no_in_series = 56 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the school for chris mcnamara? ### Context: CREATE TABLE table_29598261_1 (last_school_college VARCHAR, name VARCHAR) [/INST] ### Response: SELECT last_school_college FROM table_29598261_1 WHERE name = "Chris McNamara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hometowns for faisal aden? ### Context: CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(hometown) FROM table_29598261_1 WHERE name = "Faisal Aden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 is chris mcnamara? ### Context: CREATE TABLE table_29598261_1 (year VARCHAR, name VARCHAR) [/INST] ### Response: SELECT year FROM table_29598261_1 WHERE name = "Chris McNamara" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the height of columbia river hs? ### Context: CREATE TABLE table_29598261_1 (height VARCHAR, last_school_college VARCHAR) [/INST] ### Response: SELECT height FROM table_29598261_1 WHERE last_school_college = "Columbia River HS" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 hometown for mike ladd? ### Context: CREATE TABLE table_29598261_1 (hometown VARCHAR, name VARCHAR) [/INST] ### Response: SELECT hometown FROM table_29598261_1 WHERE name = "Mike Ladd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seasons did Apocalypstix place 2nd? ### Context: CREATE TABLE table_29619494_2 (season VARCHAR, apocalypstix VARCHAR) [/INST] ### Response: SELECT COUNT(season) FROM table_29619494_2 WHERE apocalypstix = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What season did the Sake Tuyas come in 1st place? ### Context: CREATE TABLE table_29619494_2 (season VARCHAR, sake_tuyas VARCHAR) [/INST] ### Response: SELECT season FROM table_29619494_2 WHERE sake_tuyas = "1st" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 most recent season where the Denim Demons placed 3rd? ### Context: CREATE TABLE table_29619494_2 (season INTEGER, denim_demons VARCHAR) [/INST] ### Response: SELECT MAX(season) FROM table_29619494_2 WHERE denim_demons = "3rd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What place did the Sake Tuyas come in when the Denim Demons were 4th? ### Context: CREATE TABLE table_29619494_2 (sake_tuyas VARCHAR, denim_demons VARCHAR) [/INST] ### Response: SELECT sake_tuyas FROM table_29619494_2 WHERE denim_demons = "4th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all the places that the Apocalypstix occupied when the Denim Demons were 2nd. ### Context: CREATE TABLE table_29619494_2 (apocalypstix VARCHAR, denim_demons VARCHAR) [/INST] ### Response: SELECT apocalypstix FROM table_29619494_2 WHERE denim_demons = "2nd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which team has a midfielder of konrad warzycha? ### Context: CREATE TABLE table_29626583_3 (mls_team VARCHAR, position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT mls_team FROM table_29626583_3 WHERE position = "Midfielder" AND player = "Konrad Warzycha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the pick number for the team toronto fc and affiliation is ldu quito? ### Context: CREATE TABLE table_29626583_3 (pick__number INTEGER, mls_team VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT MAX(pick__number) FROM table_29626583_3 WHERE mls_team = "Toronto FC" AND affiliation = "LDU Quito" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 MLS team picked player Jason Herrick? ### Context: CREATE TABLE table_29626583_3 (mls_team VARCHAR, player VARCHAR) [/INST] ### Response: SELECT mls_team FROM table_29626583_3 WHERE player = "Jason Herrick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What position did the team new york red bulls pick? ### Context: CREATE TABLE table_29626583_3 (position VARCHAR, mls_team VARCHAR) [/INST] ### Response: SELECT position FROM table_29626583_3 WHERE mls_team = "New York Red Bulls" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the position when the affiliation is ldu quito? ### Context: CREATE TABLE table_29626583_3 (position VARCHAR, affiliation VARCHAR) [/INST] ### Response: SELECT position FROM table_29626583_3 WHERE affiliation = "LDU Quito" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 peaks where for the chinese episode named 萬凰之王 ### Context: CREATE TABLE table_29633639_1 (peak VARCHAR, chinese_title VARCHAR) [/INST] ### Response: SELECT COUNT(peak) FROM table_29633639_1 WHERE chinese_title = "萬凰之王" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the number of the average of the drama titled 魚躍在花見 ### Context: CREATE TABLE table_29633639_1 (average INTEGER, chinese_title VARCHAR) [/INST] ### Response: SELECT MAX(average) FROM table_29633639_1 WHERE chinese_title = "魚躍在花見" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 milion of viewers where in the episode called in english "is a great way to care" ### Context: CREATE TABLE table_29633639_1 (hk_viewers VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT hk_viewers FROM table_29633639_1 WHERE english_title = "A Great Way to Care" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the number of the premiere for the 34 peak ### Context: CREATE TABLE table_29633639_1 (premiere VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT premiere FROM table_29633639_1 WHERE peak = 34 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week was the first game played? ### Context: CREATE TABLE table_29679510_2 (week INTEGER) [/INST] ### Response: SELECT MIN(week) FROM table_29679510_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 object dates have origin in Samoa? ### Context: CREATE TABLE table_29635868_1 (object_date VARCHAR, origin VARCHAR) [/INST] ### Response: SELECT COUNT(object_date) FROM table_29635868_1 WHERE origin = "Samoa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 origins have titles of Samoan cricket bats? ### Context: CREATE TABLE table_29635868_1 (origin VARCHAR, title_ VARCHAR, _link_to_episode_on_youtube VARCHAR) [/INST] ### Response: SELECT COUNT(origin) FROM table_29635868_1 WHERE title_ & _link_to_episode_on_youtube = "Samoan Cricket Bats" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 object dates does episode #16 have? ### Context: CREATE TABLE table_29635868_1 (object_date VARCHAR, episode_number VARCHAR) [/INST] ### Response: SELECT COUNT(object_date) FROM table_29635868_1 WHERE episode_number = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which films participated in the 61st Berlin international film festival? ### Context: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR) [/INST] ### Response: SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "61st Berlin International film_festival" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the result when competing in the Opening NIght Film category? ### Context: CREATE TABLE table_29644931_1 (result VARCHAR, category VARCHAR) [/INST] ### Response: SELECT result FROM table_29644931_1 WHERE category = "Opening Night Film" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 films participated in the 30th Hawaii International Film Festival? ### Context: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, film_festival VARCHAR) [/INST] ### Response: SELECT participants_recipients FROM table_29644931_1 WHERE film_festival = "30th Hawaii International film_festival" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 films participated when the category was Best Newcomer? ### Context: CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR) [/INST] ### Response: SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year the season was in 5th position ### Context: CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR) [/INST] ### Response: SELECT season FROM table_29697744_1 WHERE position = "5th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the name of the movement in the 7th position ### Context: CREATE TABLE table_29697744_1 (movements VARCHAR, position VARCHAR) [/INST] ### Response: SELECT movements FROM table_29697744_1 WHERE position = "7th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the name of the level for the 7th position ### Context: CREATE TABLE table_29697744_1 (level VARCHAR, position VARCHAR) [/INST] ### Response: SELECT level FROM table_29697744_1 WHERE position = "7th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sections are for the season of 2008 ### Context: CREATE TABLE table_29697744_1 (section VARCHAR, season VARCHAR) [/INST] ### Response: SELECT COUNT(section) FROM table_29697744_1 WHERE season = "2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: in what year the position was the 9th ### Context: CREATE TABLE table_29697744_1 (season VARCHAR, position VARCHAR) [/INST] ### Response: SELECT season FROM table_29697744_1 WHERE position = "9th" </s>