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 date of the game when the home team is melbourne? ### Context: CREATE TABLE table_29090919_1 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_29090919_1 WHERE home_team = "Melbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the singer for 1.45m ### Context: CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, ratings VARCHAR) [/INST] ### Response: SELECT singer_s_ FROM table_29135051_2 WHERE ratings = "1.45m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singer for joe wilkinson ### Context: CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, comedian VARCHAR) [/INST] ### Response: SELECT singer_s_ FROM table_29135051_2 WHERE comedian = "Joe Wilkinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 singer for bruce forsyth ### Context: CREATE TABLE table_29135051_2 (singer_s_ VARCHAR, guest_s_ VARCHAR) [/INST] ### Response: SELECT singer_s_ FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of ratings for bruce forsyth ### Context: CREATE TABLE table_29135051_2 (ratings VARCHAR, guest_s_ VARCHAR) [/INST] ### Response: SELECT COUNT(ratings) FROM table_29135051_2 WHERE guest_s_ = "Bruce Forsyth" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 guest for 1.64m ratings ### Context: CREATE TABLE table_29135051_2 (guest_s_ VARCHAR, ratings VARCHAR) [/INST] ### Response: SELECT guest_s_ FROM table_29135051_2 WHERE ratings = "1.64m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 constructor in the Belgian Grand Prix round? ### Context: CREATE TABLE table_2911781_3 (constructor VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT constructor FROM table_2911781_3 WHERE grand_prix = "Belgian grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the fastest lap in round 15? ### Context: CREATE TABLE table_2911781_3 (fastest_lap VARCHAR, rd VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_2911781_3 WHERE rd = 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: When was the home team Essendon? ### Context: CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_29126507_1 WHERE home_team = "Essendon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Richmond played as the away team, what was the ground? ### Context: CREATE TABLE table_29126507_1 (ground VARCHAR, away_team VARCHAR) [/INST] ### Response: SELECT ground FROM table_29126507_1 WHERE away_team = "Richmond" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Fitzroy play as the home team? ### Context: CREATE TABLE table_29126507_1 (date VARCHAR, home_team VARCHAR) [/INST] ### Response: SELECT date FROM table_29126507_1 WHERE home_team = "Fitzroy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 on 01x06 ### Context: CREATE TABLE table_29141354_1 (scores VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT scores FROM table_29141354_1 WHERE episode = "01x06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 size when tom daley appeared ### Context: CREATE TABLE table_29141354_1 (episode VARCHAR, jamie_and_johns_guest VARCHAR) [/INST] ### Response: SELECT episode FROM table_29141354_1 WHERE jamie_and_johns_guest = "Tom Daley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores had an episode of 03x06? ### Context: CREATE TABLE table_29141354_3 (scores VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(scores) FROM table_29141354_3 WHERE episode = "03x06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 id the episode broadcast with Mark Webber as Jamie and John's guest? ### Context: CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Mark Webber" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 with Andy Murray as Jamie and John's guest first broadcast? ### Context: CREATE TABLE table_29141354_4 (first_broadcast VARCHAR, jamie_and_johns_guest VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_29141354_4 WHERE jamie_and_johns_guest = "Andy Murray" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 items are listed under 'andrew and georgies guest lee mack replaced andrew flint as team captain for one week' for episode 04x04? ### Context: CREATE TABLE table_29141354_4 (_episode_2 VARCHAR, andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4 VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(andrew_and_georgies_guest_lee_mack_replaced_andrew_flintoff_as_team_captain_for_one_week_in_series_4), _episode_2 FROM table_29141354_4 WHERE episode = "04x04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 guest starred on the episode with a 1.44m rating ### Context: CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, ratings VARCHAR) [/INST] ### Response: SELECT guest_s_ FROM table_29135051_3 WHERE ratings = "1.44m" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when was the episode on which barbara windsor and heston blumenthal guest starred broadcasted ### Context: CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR) [/INST] ### Response: SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Barbara Windsor and Heston Blumenthal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcaste dates features the overtones ### Context: CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, singer_s_ VARCHAR) [/INST] ### Response: SELECT COUNT(broadcast_date) FROM table_29135051_3 WHERE singer_s_ = "The Overtones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 guest stars did the episode that was broadcasted 11september2012 have ### Context: CREATE TABLE table_29135051_3 (guest_s_ VARCHAR, broadcast_date VARCHAR) [/INST] ### Response: SELECT COUNT(guest_s_) FROM table_29135051_3 WHERE broadcast_date = "11September2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: when was the episode guest starring michael mcintyre and alex james broadcasted ### Context: CREATE TABLE table_29135051_3 (broadcast_date VARCHAR, guest_s_ VARCHAR) [/INST] ### Response: SELECT broadcast_date FROM table_29135051_3 WHERE guest_s_ = "Michael McIntyre and Alex James" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode did sarah millican and grayson perry appear in ### Context: CREATE TABLE table_29135051_3 (episode INTEGER, guest_s_ VARCHAR) [/INST] ### Response: SELECT MIN(episode) FROM table_29135051_3 WHERE guest_s_ = "Sarah Millican and Grayson Perry" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were episodes first broadcast with jessica ennis as andrew and jacks guest? ### Context: CREATE TABLE table_29141354_5 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_29141354_5 WHERE andrew_and_jacks_guest = "Jessica Ennis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the episode that is written by Eli Attie and production code is 2t5018? ### Context: CREATE TABLE table_29152820_1 (directed_by VARCHAR, written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29152820_1 WHERE written_by = "Eli Attie" AND production_code = "2T5018" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 122 in the series? ### Context: CREATE TABLE table_29152820_1 (no_in_season VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_season) FROM table_29152820_1 WHERE no_in_series = 122 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 for the episode with Matt Smith as Andrew and Jack's guest? ### Context: CREATE TABLE table_29141354_7 (scores VARCHAR, andrew_and_jacks_guest VARCHAR) [/INST] ### Response: SELECT scores FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Matt Smith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the episode with Amy Williams as Andrew and Jack's guest broadcast? ### Context: CREATE TABLE table_29141354_7 (first_broadcast VARCHAR, andrew_and_jacks_guest VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_29141354_7 WHERE andrew_and_jacks_guest = "Amy 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: What is the last episode in the season that had 3.91 million viewers in the US? ### Context: CREATE TABLE table_29154676_1 (season_no INTEGER, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MIN(season_no) FROM table_29154676_1 WHERE us_viewers__millions_ = "3.91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episodes were written by Warren Leight? ### Context: CREATE TABLE table_29154676_1 (season_no VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(season_no) FROM table_29154676_1 WHERE written_by = "Warren Leight" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championships were there where the score was 4–6, 7–6 (7–5) , [5–10]? ### Context: CREATE TABLE table_29163303_4 (championship VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(championship) FROM table_29163303_4 WHERE score = "4–6, 7–6 (7–5) , [5–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: On what surface was it the year when the score was 6–1, 4–6, [12–10]? ### Context: CREATE TABLE table_29163303_4 (surface VARCHAR, score VARCHAR) [/INST] ### Response: SELECT surface FROM table_29163303_4 WHERE score = "6–1, 4–6, [12–10]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times has the score been 6–4, 3–6, [11–13]? ### Context: CREATE TABLE table_29163303_4 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_29163303_4 WHERE score = "6–4, 3–6, [11–13]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who are the outgoing head coaches whose manner of departure is Gardening Leave 1? ### Context: CREATE TABLE table_29171931_3 (outgoing_head_coach VARCHAR, manner_of_departure VARCHAR) [/INST] ### Response: SELECT outgoing_head_coach FROM table_29171931_3 WHERE manner_of_departure = "Gardening leave 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: Who was the incoming head coach after Wan Jamak Wan Hassan quit the coaching job? ### Context: CREATE TABLE table_29171931_3 (incoming_head_coach VARCHAR, outgoing_head_coach VARCHAR) [/INST] ### Response: SELECT incoming_head_coach FROM table_29171931_3 WHERE outgoing_head_coach = "Wan Jamak Wan Hassan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the fastest lap in round 1? ### Context: CREATE TABLE table_29162856_1 (fastest_lap VARCHAR, round VARCHAR) [/INST] ### Response: SELECT fastest_lap FROM table_29162856_1 WHERE 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: Who had the pole position when matt davies had the fastest lap? ### Context: CREATE TABLE table_29162856_1 (pole_position VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_29162856_1 WHERE fastest_lap = "Matt Davies" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the pole position(s) when rob guiver won and kyle ryde had the fastest lap? ### Context: CREATE TABLE table_29162856_1 (pole_position VARCHAR, winning_rider VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_29162856_1 WHERE winning_rider = "Rob Guiver" AND fastest_lap = "Kyle Ryde" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the earliest year in which the result is championship US Open (2)? ### Context: CREATE TABLE table_29163303_2 (year INTEGER, championship VARCHAR) [/INST] ### Response: SELECT MIN(year) FROM table_29163303_2 WHERE championship = "US Open (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 was Bob Bryan's partner in the Championship where the result is US Open (2)? ### Context: CREATE TABLE table_29163303_2 (partner VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT partner FROM table_29163303_2 WHERE championship = "US Open (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 are the results of those matches where the championship is French Open? ### Context: CREATE TABLE table_29163303_2 (score VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT score FROM table_29163303_2 WHERE championship = "French Open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: on how many days did the episode written by harold hayes jr. & craig s. phillips originally air ### Context: CREATE TABLE table_29196086_4 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_29196086_4 WHERE written_by = "Harold Hayes Jr. & Craig S. Phillips" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 originally aired january19,2013 ### Context: CREATE TABLE table_29196086_4 (no_in_series VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT COUNT(no_in_series) FROM table_29196086_4 WHERE original_air_date = "January19,2013" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode of the season aired on october20,2012 ### Context: CREATE TABLE table_29196086_4 (no_in_season INTEGER, original_air_date VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_29196086_4 WHERE original_air_date = "October20,2012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the opponent in game 5? ### Context: CREATE TABLE table_29181479_3 (team VARCHAR, game VARCHAR) [/INST] ### Response: SELECT team FROM table_29181479_3 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Lis the series for game 5. ### Context: CREATE TABLE table_29181479_5 (series VARCHAR, game VARCHAR) [/INST] ### Response: SELECT series FROM table_29181479_5 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the final in the game that boris diaw (34) scored the most points? ### Context: CREATE TABLE table_29181479_5 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_29181479_5 WHERE high_points = "Boris Diaw (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: What is the figure for December 28 for ang tanging ina mo (last na 'to!)? ### Context: CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR) [/INST] ### Response: SELECT december_28 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 figure for December 27 for ang tanging ina mo (last na 'to!)? ### Context: CREATE TABLE table_29217650_1 (december_27 VARCHAR, movies VARCHAR) [/INST] ### Response: SELECT december_27 FROM table_29217650_1 WHERE movies = "Ang Tanging Ina Mo (Last na 'To!)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 provided for December 28 for Rosario? ### Context: CREATE TABLE table_29217650_1 (december_28 VARCHAR, movies VARCHAR) [/INST] ### Response: SELECT COUNT(december_28) FROM table_29217650_1 WHERE movies = "Rosario" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What film earmed p3.2 million on December 25? ### Context: CREATE TABLE table_29217650_1 (movies VARCHAR, december_25 VARCHAR) [/INST] ### Response: SELECT movies FROM table_29217650_1 WHERE december_25 = "P3.2 million" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the Friday June 3 practice time of the rider who did 20' 50.45 108.623mph on Thursday, June 2? ### Context: CREATE TABLE table_29218221_3 (fri_3_june VARCHAR, thurs_2_june VARCHAR) [/INST] ### Response: SELECT fri_3_june FROM table_29218221_3 WHERE thurs_2_june = "20' 50.45 108.623mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 Wednesday, June 1 practice time for the rider that did 21' 05.87 107.300mph on Thursday, June 2? ### Context: CREATE TABLE table_29218221_3 (wed_1_june VARCHAR, thurs_2_june VARCHAR) [/INST] ### Response: SELECT wed_1_june FROM table_29218221_3 WHERE thurs_2_june = "21' 05.87 107.300mph" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wrote episode 9 in the season that was directed by Ernest Dickerson? ### Context: CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_29219286_1 WHERE directed_by = "Ernest Dickerson" AND no_in_season = 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: Who wrote the episode that was directed by Milan Cheylov? ### Context: CREATE TABLE table_29219286_1 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29219286_1 WHERE directed_by = "Milan Cheylov" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 EP winning team when the CP winning team was Dave Clark and the GM winning team was Stuart Northrup? ### Context: CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, cp_winning_team VARCHAR, gm_winning_team VARCHAR) [/INST] ### Response: SELECT ep_winning_team FROM table_29225103_2 WHERE cp_winning_team = "Dave Clark" AND gm_winning_team = "Stuart Northrup" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 CM winning team when the FM winning team was #17 Elva - Ford? ### Context: CREATE TABLE table_29225103_2 (cm_winning_team VARCHAR, fm_winning_team VARCHAR) [/INST] ### Response: SELECT cm_winning_team FROM table_29225103_2 WHERE fm_winning_team = "#17 Elva - Ford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the GM winning team when the EP winning team was #37 Porsche? ### Context: CREATE TABLE table_29225103_2 (gm_winning_team VARCHAR, ep_winning_team VARCHAR) [/INST] ### Response: SELECT gm_winning_team FROM table_29225103_2 WHERE ep_winning_team = "#37 Porsche" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 EP winning team when the FM winning team was Brabham - Ford and the HM winning team was Osca? ### Context: CREATE TABLE table_29225103_2 (ep_winning_team VARCHAR, fm_winning_team VARCHAR, hm_winning_team VARCHAR) [/INST] ### Response: SELECT ep_winning_team FROM table_29225103_2 WHERE fm_winning_team = "Brabham - Ford" AND hm_winning_team = "Osca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 HP winning team when the EP winning team was Hans Zereis and the GM winning team was Charles Gibson? ### Context: CREATE TABLE table_29225103_2 (hp_winning_team VARCHAR, ep_winning_team VARCHAR, gm_winning_team VARCHAR) [/INST] ### Response: SELECT hp_winning_team FROM table_29225103_2 WHERE ep_winning_team = "Hans Zereis" AND gm_winning_team = "Charles Gibson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what was the name of the team opponent to elfsborg ### Context: CREATE TABLE table_29261823_10 (team VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT team FROM table_29261823_10 WHERE opponent = "Elfsborg" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 team which aggregate score is l 1–2 ### Context: CREATE TABLE table_29261823_10 (team VARCHAR, aggregate_score VARCHAR) [/INST] ### Response: SELECT team FROM table_29261823_10 WHERE aggregate_score = "L 1–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 aggregate score for the europa league play off round contest and round ### Context: CREATE TABLE table_29261823_10 (aggregate_score VARCHAR, contest_and_round VARCHAR) [/INST] ### Response: SELECT aggregate_score FROM table_29261823_10 WHERE contest_and_round = "Europa League Play Off Round" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dollars is listed under Sydney when the distance is 10km? ### Context: CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT sydney FROM table_2923917_4 WHERE distance = "10km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance places have brisbane at $3.80? ### Context: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) [/INST] ### Response: SELECT COUNT(distance) FROM table_2923917_4 WHERE brisbane = "$3.80" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 listings under Melbourne has a distance at 15km? ### Context: CREATE TABLE table_2923917_4 (melbourne VARCHAR, distance VARCHAR) [/INST] ### Response: SELECT COUNT(melbourne) FROM table_2923917_4 WHERE distance = "15km" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distance when brisbane is $4.80? ### Context: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) [/INST] ### Response: SELECT distance FROM table_2923917_4 WHERE brisbane = "$4.80" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 distance when brisbane is $5.20? ### Context: CREATE TABLE table_2923917_4 (distance VARCHAR, brisbane VARCHAR) [/INST] ### Response: SELECT distance FROM table_2923917_4 WHERE brisbane = "$5.20" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many scores did Helen Sildna give when Iiris Vesik gave a 3? ### Context: CREATE TABLE table_29261215_4 (helen_sildna VARCHAR, iiris_vesik VARCHAR) [/INST] ### Response: SELECT COUNT(helen_sildna) FROM table_29261215_4 WHERE iiris_vesik = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the maximum points received when Peeter Vähl gave a 9? ### Context: CREATE TABLE table_29261215_4 (points INTEGER, peeter_vähi VARCHAR) [/INST] ### Response: SELECT MIN(points) FROM table_29261215_4 WHERE peeter_vähi = 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: Who is the manager for the fc inter club? ### Context: CREATE TABLE table_29250534_1 (manager VARCHAR, club VARCHAR) [/INST] ### Response: SELECT manager FROM table_29250534_1 WHERE club = "FC Inter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club is at the location of kuopio? ### Context: CREATE TABLE table_29250534_1 (club VARCHAR, location VARCHAR) [/INST] ### Response: SELECT club FROM table_29250534_1 WHERE location = "Kuopio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadiums have haka as the club? ### Context: CREATE TABLE table_29250534_1 (stadium VARCHAR, club VARCHAR) [/INST] ### Response: SELECT COUNT(stadium) FROM table_29250534_1 WHERE club = "Haka" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 artist 2 on the setlist where the artist 1 is Sparfunk & D-Code? ### Context: CREATE TABLE table_29264319_1 (artist_2 VARCHAR, artist_1 VARCHAR) [/INST] ### Response: SELECT artist_2 FROM table_29264319_1 WHERE artist_1 = "Sparfunk & D-Code" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mix artist for the closing party setlist where artist 1 is Dillinja and Skibadee? ### Context: CREATE TABLE table_29264319_1 (mix_artist VARCHAR, setlist VARCHAR, artist_1 VARCHAR) [/INST] ### Response: SELECT mix_artist FROM table_29264319_1 WHERE setlist = "Closing Party" AND artist_1 = "Dillinja and Skibadee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: On how many different dates was the episode written by Charlie Day aired for the first time? ### Context: CREATE TABLE table_29273115_1 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_29273115_1 WHERE written_by = "Charlie Day" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the writers of the episode with production code IP02009? ### Context: CREATE TABLE table_29273115_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29273115_1 WHERE production_code = "IP02009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles does the episode with production code IP02003 have? ### Context: CREATE TABLE table_29273115_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_29273115_1 WHERE production_code = "IP02003" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a production code of ip03007? ### Context: CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03007" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 episode number 29 in the series? ### Context: CREATE TABLE table_29273182_1 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT title FROM table_29273182_1 WHERE no_in_series = 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ip03012 as the production code? ### Context: CREATE TABLE table_29273182_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29273182_1 WHERE production_code = "IP03012" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed the episode with production code ip03010? ### Context: CREATE TABLE table_29273182_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29273182_1 WHERE production_code = "IP03010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 in each season? ### Context: CREATE TABLE table_29273390_1 (no_in_season INTEGER) [/INST] ### Response: SELECT MIN(no_in_season) FROM table_29273390_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: Who directed an episode with 1.19 million? ### Context: CREATE TABLE table_29273390_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_29273390_1 WHERE us_viewers__million_ = "1.19" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: At what location was the March 17 race held? ### Context: CREATE TABLE table_29285076_2 (location VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location FROM table_29285076_2 WHERE date = "March 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location did Zach Veach have the fastest lap? ### Context: CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT location FROM table_29285076_2 WHERE fastest_lap = "Zach Veach" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was the race with Luke Ellery as fastest lap and Wayne Boyd as winning driver? ### Context: CREATE TABLE table_29285076_2 (location VARCHAR, fastest_lap VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT location FROM table_29285076_2 WHERE fastest_lap = "Luke Ellery" AND winning_driver = "Wayne Boyd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 318676 is the population of 2010 and 1st class is the income classification what is the area in kilometers squared? ### Context: CREATE TABLE table_29289372_1 (area__km²_ VARCHAR, income_classification VARCHAR, population__2010_ VARCHAR) [/INST] ### Response: SELECT area__km²_ FROM table_29289372_1 WHERE income_classification = "1st Class" AND population__2010_ = 318676 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010? ### Context: CREATE TABLE table_29289372_1 (population__2010_ VARCHAR, income_classification VARCHAR, city_municipality VARCHAR) [/INST] ### Response: SELECT COUNT(population__2010_) FROM table_29289372_1 WHERE income_classification = "1st Class" AND city_municipality = "Itogon, Benguet" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 82.74 is the area in kilometers squared what is the pop.density (per km2)? ### Context: CREATE TABLE table_29289372_1 (pop_density__per_km²_ VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT pop_density__per_km²_ FROM table_29289372_1 WHERE area__km²_ = "82.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 106 is the area in kilometers squared what is the city/municipality? ### Context: CREATE TABLE table_29289372_1 (city_municipality VARCHAR, area__km²_ VARCHAR) [/INST] ### Response: SELECT city_municipality FROM table_29289372_1 WHERE area__km²_ = "106" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 have the production code ip04004? ### Context: CREATE TABLE table_29273243_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_29273243_1 WHERE production_code = "IP04004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 11? ### Context: CREATE TABLE table_29273243_1 (written_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT written_by FROM table_29273243_1 WHERE no_in_season = 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 was the challenger when guillaume brahimi was the iron chef? ### Context: CREATE TABLE table_29281529_2 (challenger VARCHAR, iron_chef VARCHAR) [/INST] ### Response: SELECT challenger FROM table_29281529_2 WHERE iron_chef = "Guillaume Brahimi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 iron chef when herb Faust was the challenger? ### Context: CREATE TABLE table_29281529_2 (iron_chef VARCHAR, challenger VARCHAR) [/INST] ### Response: SELECT iron_chef FROM table_29281529_2 WHERE challenger = "Herb Faust" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You 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 air when guy grossi won? ### Context: CREATE TABLE table_29281529_2 (airdate VARCHAR, winner VARCHAR) [/INST] ### Response: SELECT airdate FROM table_29281529_2 WHERE winner = "Guy Grossi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Lily Cahill in the Australian 2012 production? ### Context: CREATE TABLE table_29289213_1 (australian_cast VARCHAR, _2012 VARCHAR, character VARCHAR) [/INST] ### Response: SELECT australian_cast, _2012 FROM table_29289213_1 WHERE character = "Lily Cahill" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which tournament was the champion nick saviano florin segărceanu 6–3, 6–4? ### Context: CREATE TABLE table_29296103_10 (tournament VARCHAR, champion VARCHAR) [/INST] ### Response: SELECT tournament FROM table_29296103_10 WHERE champion = "Nick Saviano Florin Segărceanu 6–3, 6–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which tournament was runner-up paul annacone eric korita? ### Context: CREATE TABLE table_29296103_10 (tournament VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT tournament FROM table_29296103_10 WHERE runner_up = "Paul Annacone Eric Korita" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semifinalists when sammy giammalva was runner-up? ### Context: CREATE TABLE table_29296103_10 (semifinalists VARCHAR, runner_up VARCHAR) [/INST] ### Response: SELECT semifinalists FROM table_29296103_10 WHERE runner_up = "Sammy Giammalva" </s>