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 song was used resulting in the bottom 3? ### Context: CREATE TABLE table_26250176_1 (song_choice VARCHAR, result VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_26250176_1 WHERE result = "Bottom 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 theme for Audition week? ### Context: CREATE TABLE table_26250176_1 (theme VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT theme FROM table_26250176_1 WHERE week__number = "Audition" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 results for top 12? ### Context: CREATE TABLE table_26250176_1 (result VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT result FROM table_26250176_1 WHERE week__number = "Top 12" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the original artist for First Solo? ### Context: CREATE TABLE table_26250176_1 (original_artist VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_26250176_1 WHERE theme = "First Solo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is #4? ### Context: CREATE TABLE table_26250218_1 (episode VARCHAR, order__number VARCHAR) [/INST] ### Response: SELECT episode FROM table_26250218_1 WHERE order__number = "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 every year for joined with the Ravens nickname? ### Context: CREATE TABLE table_262514_1 (joined VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT joined FROM table_262514_1 WHERE nickname = "Ravens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every institution with a nickname of Ravens? ### Context: CREATE TABLE table_262514_1 (institution VARCHAR, nickname VARCHAR) [/INST] ### Response: SELECT institution FROM table_262514_1 WHERE nickname = "Ravens" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 revised hepburn when english is roman characters ### Context: CREATE TABLE table_26263954_1 (revised_hepburn VARCHAR, english VARCHAR) [/INST] ### Response: SELECT revised_hepburn FROM table_26263954_1 WHERE english = "Roman characters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chiji is revised hepburn what are all the english ### Context: CREATE TABLE table_26263954_1 (english VARCHAR, revised_hepburn VARCHAR) [/INST] ### Response: SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of english when kunrei-shiki is otya ### Context: CREATE TABLE table_26263954_1 (english VARCHAR, kunrei_shiki VARCHAR) [/INST] ### Response: SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kana spelling when english is mount fuji ### Context: CREATE TABLE table_26263954_1 (kana_spelling VARCHAR, english VARCHAR) [/INST] ### Response: SELECT kana_spelling FROM table_26263954_1 WHERE english = "Mount Fuji" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english is tea how many nihon-shiki ### Context: CREATE TABLE table_26263954_1 (nihon_shiki VARCHAR, english VARCHAR) [/INST] ### Response: SELECT nihon_shiki FROM table_26263954_1 WHERE english = "tea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original airdate of the episode with production number 2x03? ### Context: CREATE TABLE table_26293875_3 (original_airdate VARCHAR, prod_no VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_26293875_3 WHERE prod_no = "2x03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had production number 2x13? ### Context: CREATE TABLE table_26293875_3 (season__number VARCHAR, prod_no VARCHAR) [/INST] ### Response: SELECT COUNT(season__number) FROM table_26293875_3 WHERE prod_no = "2x13" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kickoffs happened when the oppenent was at Rhein Fire? ### Context: CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "at Rhein Fire" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kickoffs happened when the opponent was the Scottish Claymores ### Context: CREATE TABLE table_26275503_2 (kickoff VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT COUNT(kickoff) FROM table_26275503_2 WHERE opponent = "Scottish Claymores" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 enrollment for Eastern Michigan University? ### Context: CREATE TABLE table_26351260_1 (enrollment INTEGER, institution VARCHAR) [/INST] ### Response: SELECT MIN(enrollment) FROM table_26351260_1 WHERE institution = "Eastern Michigan University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kent State University's team nickname? ### Context: CREATE TABLE table_26351260_1 (team_nickname VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT team_nickname FROM table_26351260_1 WHERE institution = "Kent State University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Kent State University's are there? ### Context: CREATE TABLE table_26351260_1 (location VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT COUNT(location) FROM table_26351260_1 WHERE institution = "Kent State University" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school teams are nicknamed "Bulldogs". ### Context: CREATE TABLE table_26351260_1 (location VARCHAR, team_nickname VARCHAR) [/INST] ### Response: SELECT location FROM table_26351260_1 WHERE team_nickname = "Bulldogs" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the public is 4, what is the total? ### Context: CREATE TABLE table_26375386_17 (total VARCHAR, public VARCHAR) [/INST] ### Response: SELECT total FROM table_26375386_17 WHERE public = 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 results where given for the vote percentage 3.1%? ### Context: CREATE TABLE table_26375386_17 (result VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_26375386_17 WHERE vote_percentage = "3.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 couple had a vote percentage of 5.2%? ### Context: CREATE TABLE table_26375386_17 (couple VARCHAR, vote_percentage VARCHAR) [/INST] ### Response: SELECT couple FROM table_26375386_17 WHERE vote_percentage = "5.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 was the vote % of Heather and Matt? ### Context: CREATE TABLE table_26375386_18 (vote_percentage VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT vote_percentage FROM table_26375386_18 WHERE couple = "Heather and Matt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 couple on the bottom two? ### Context: CREATE TABLE table_26375386_18 (couple VARCHAR, result VARCHAR) [/INST] ### Response: SELECT couple FROM table_26375386_18 WHERE result = "Bottom two" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max public with danniella and matthew? ### Context: CREATE TABLE table_26375386_18 (public INTEGER, couple VARCHAR) [/INST] ### Response: SELECT MAX(public) FROM table_26375386_18 WHERE couple = "Danniella and Matthew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the overall viewers were 1.83 millions, what was the overall market share? ### Context: CREATE TABLE table_2639433_4 (market_share__overall_ VARCHAR, viewers__in_millions_overall_ VARCHAR) [/INST] ### Response: SELECT market_share__overall_ FROM table_2639433_4 WHERE viewers__in_millions_overall_ = "1.83" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the episode was number 234, what was it's timeslot? ### Context: CREATE TABLE table_2639433_4 (timeslot VARCHAR, episodes VARCHAR) [/INST] ### Response: SELECT timeslot FROM table_2639433_4 WHERE episodes = 234 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode came out in the year 2007? ### Context: CREATE TABLE table_2639433_4 (episodes VARCHAR, year VARCHAR) [/INST] ### Response: SELECT episodes FROM table_2639433_4 WHERE year = 2007 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the timeslot for the episode in the year 2008? ### Context: CREATE TABLE table_2639433_4 (timeslot VARCHAR, year VARCHAR) [/INST] ### Response: SELECT timeslot FROM table_2639433_4 WHERE year = 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: How many times was the viewer target group 0.63? ### Context: CREATE TABLE table_2639433_4 (market_share__target_group_14_49_ VARCHAR, viewers__in_millions_target_group_14_49_ VARCHAR) [/INST] ### Response: SELECT COUNT(market_share__target_group_14_49_) FROM table_2639433_4 WHERE viewers__in_millions_target_group_14_49_ = "0.63" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 role for pick number 17 ### Context: CREATE TABLE table_26397277_3 (role_s_ VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT role_s_ FROM table_26397277_3 WHERE pick__number = 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: Name the brand for pick number 15 ### Context: CREATE TABLE table_26397277_3 (brand__to_ VARCHAR, pick__number VARCHAR) [/INST] ### Response: SELECT brand__to_ FROM table_26397277_3 WHERE pick__number = 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: Name the employee real name for raw and superstar ### Context: CREATE TABLE table_26397277_3 (employee__real_name_ VARCHAR, brand__from_ VARCHAR, role_s_ VARCHAR) [/INST] ### Response: SELECT employee__real_name_ FROM table_26397277_3 WHERE brand__from_ = "Raw" AND role_s_ = "Superstar" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 smallest amount in the weeks at peak column? ### Context: CREATE TABLE table_26399982_2 (weeks_at_peak INTEGER) [/INST] ### Response: SELECT MIN(weeks_at_peak) FROM table_26399982_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In which series did Lecor Sports participate? ### Context: CREATE TABLE table_26400438_1 (series VARCHAR, team VARCHAR) [/INST] ### Response: SELECT series FROM table_26400438_1 WHERE team = "Lecor Sports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did he hold 12 poles? ### Context: CREATE TABLE table_26400438_1 (f_laps VARCHAR, poles VARCHAR) [/INST] ### Response: SELECT COUNT(f_laps) FROM table_26400438_1 WHERE poles = 12 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: In how many races did he have 8 podium finishes? ### Context: CREATE TABLE table_26400438_1 (races VARCHAR, podiums VARCHAR) [/INST] ### Response: SELECT COUNT(races) FROM table_26400438_1 WHERE podiums = 8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many seasons did he race in team Carlin? ### Context: CREATE TABLE table_26400438_1 (podiums VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(podiums) FROM table_26400438_1 WHERE team = "Carlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are in the ranking for jacqueline kohl? ### Context: CREATE TABLE table_26427332_17 (place VARCHAR, contestant VARCHAR) [/INST] ### Response: SELECT COUNT(place) FROM table_26427332_17 WHERE contestant = "Jacqueline Kohl" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 measurement does the contestant from sindelfingen have? ### Context: CREATE TABLE table_26427332_17 (measurements__in_cm_ VARCHAR, city VARCHAR) [/INST] ### Response: SELECT measurements__in_cm_ FROM table_26427332_17 WHERE city = "Sindelfingen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: for how many federal states is the city of lahnstein listed in the ranking? ### Context: CREATE TABLE table_26427332_17 (federal_state VARCHAR, city VARCHAR) [/INST] ### Response: SELECT COUNT(federal_state) FROM table_26427332_17 WHERE city = "Lahnstein" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 participants from hanover? ### Context: CREATE TABLE table_26427332_17 (contestant VARCHAR, city VARCHAR) [/INST] ### Response: SELECT contestant FROM table_26427332_17 WHERE city = "Hanover" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbred district that has brian w. thomas as an incumbent? ### Context: CREATE TABLE table_26416704_2 (district INTEGER, incumbent VARCHAR) [/INST] ### Response: SELECT MAX(district) FROM table_26416704_2 WHERE incumbent = "Brian W. Thomas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the status of the election featuring incumbent margaret kaiser? ### Context: CREATE TABLE table_26416704_2 (status VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT status FROM table_26416704_2 WHERE incumbent = "Margaret Kaiser" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by Arlene Sanford? ### Context: CREATE TABLE table_26429658_1 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_26429658_1 WHERE directed_by = "Arlene Sanford" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title of the episode with a production code of 2010? ### Context: CREATE TABLE table_26429658_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_26429658_1 WHERE production_code = 2010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many production codes had a US viewership of 4.43 million? ### Context: CREATE TABLE table_26429658_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(production_code) FROM table_26429658_1 WHERE us_viewers__millions_ = "4.43" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponents in the final is beti sekulovski cindy watson? ### Context: CREATE TABLE table_26458137_2 (score VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_26458137_2 WHERE opponents_in_the_final = "Beti Sekulovski Cindy Watson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partner when the opponents in the final is stephanie dubois olga savchuk? ### Context: CREATE TABLE table_26458137_2 (partner VARCHAR, opponents_in_the_final VARCHAR) [/INST] ### Response: SELECT partner FROM table_26458137_2 WHERE opponents_in_the_final = "Stephanie Dubois Olga Savchuk" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 artist had a result of 4? ### Context: CREATE TABLE table_26485957_1 (artist VARCHAR, result VARCHAR) [/INST] ### Response: SELECT artist FROM table_26485957_1 WHERE result = "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 minimum score given in judging panel points? ### Context: CREATE TABLE table_26485957_1 (judging_panel_points INTEGER) [/INST] ### Response: SELECT MIN(judging_panel_points) FROM table_26485957_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: For the game whose developer was Ailive, is it a Move-only release? ### Context: CREATE TABLE table_26538035_1 (move_only VARCHAR, developer VARCHAR) [/INST] ### Response: SELECT move_only FROM table_26538035_1 WHERE developer = "AiLive" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many titles/sources have a developer of Clover Studio? ### Context: CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR) [/INST] ### Response: SELECT COUNT(title_and_source) FROM table_26538035_1 WHERE developer = "Clover Studio" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 and source for the game developed by Hydravision Entertainment? ### Context: CREATE TABLE table_26538035_1 (title_and_source VARCHAR, developer VARCHAR) [/INST] ### Response: SELECT title_and_source FROM table_26538035_1 WHERE developer = "Hydravision Entertainment" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series # on airdate September 21, 2002? ### Context: CREATE TABLE table_2655016_9 (series__number VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT series__number FROM table_2655016_9 WHERE original_air_date = "September 21, 2002" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode 5? ### Context: CREATE TABLE table_26565917_2 (title VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT title FROM table_26565917_2 WHERE no_in_season = 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: when did 14.55 people watch? ### Context: CREATE TABLE table_26565917_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_26565917_2 WHERE us_viewers__millions_ = "14.55" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest top 10 figure? ### Context: CREATE TABLE table_26609690_1 (top_10 INTEGER) [/INST] ### Response: SELECT MIN(top_10) FROM table_26609690_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 earliest year on the chart? ### Context: CREATE TABLE table_26609690_1 (year INTEGER) [/INST] ### Response: SELECT MIN(year) FROM table_26609690_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 team had $15,785 in winnings? ### Context: CREATE TABLE table_26609690_1 (team_s_ VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT team_s_ FROM table_26609690_1 WHERE winnings = "$15,785" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 positions are there for RB1 Motorsports? ### Context: CREATE TABLE table_26609690_1 (position VARCHAR, team_s_ VARCHAR) [/INST] ### Response: SELECT COUNT(position) FROM table_26609690_1 WHERE team_s_ = "RB1 Motorsports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the highest number of wins? ### Context: CREATE TABLE table_26609690_1 (wins INTEGER) [/INST] ### Response: SELECT MAX(wins) FROM table_26609690_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 is the captain of Cardiff City? ### Context: CREATE TABLE table_26593762_2 (team VARCHAR) [/INST] ### Response: SELECT team AS captain FROM table_26593762_2 WHERE team = "Cardiff City" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the captain of Neil Warnock's team? ### Context: CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT team AS captain FROM table_26593762_2 WHERE manager = "Neil Warnock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 captain of Dave Jones' team? ### Context: CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT team AS captain FROM table_26593762_2 WHERE manager = "Dave Jones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chairman of Mark Robins team? ### Context: CREATE TABLE table_26593762_2 (chairman VARCHAR, manager VARCHAR) [/INST] ### Response: SELECT chairman FROM table_26593762_2 WHERE manager = "Mark Robins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date xbox 360 for sea wolf ### Context: CREATE TABLE table_26631526_1 (release_date___xbox360__ VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT release_date___xbox360__ FROM table_26631526_1 WHERE artist = "Sea Wolf" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party was represented by incumbent Richard Coulter ? ### Context: CREATE TABLE table_2668243_20 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_2668243_20 WHERE incumbent = "Richard Coulter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for Henry Daniel's race? ### Context: CREATE TABLE table_2668243_8 (result VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT result FROM table_2668243_8 WHERE incumbent = "Henry 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: When was Henry Daniel first elected? ### Context: CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_2668243_8 WHERE incumbent = "Henry 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 first elected years are provided for Thomas P. Moore? ### Context: CREATE TABLE table_2668243_8 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(first_elected) FROM table_2668243_8 WHERE incumbent = "Thomas P. Moore" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district is Joseph Lecompte in office in? ### Context: CREATE TABLE table_2668243_8 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_2668243_8 WHERE incumbent = "Joseph Lecompte" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party does joel r. poinsett represent? ### Context: CREATE TABLE table_2668264_22 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_2668264_22 WHERE incumbent = "Joel R. Poinsett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first elected year that featured incumbent andrew r. govan? ### Context: CREATE TABLE table_2668264_22 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_2668264_22 WHERE incumbent = "Andrew R. Govan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district is the incumbent Charles Fisher? ### Context: CREATE TABLE table_2668336_17 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_2668336_17 WHERE incumbent = "Charles Fisher" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: First elected in 1807 1817 in what district? ### Context: CREATE TABLE table_2668336_17 (district VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT district FROM table_2668336_17 WHERE first_elected = "1807 1817" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% is for what incumbent? ### Context: CREATE TABLE table_2668336_17 (incumbent VARCHAR, candidates VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.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: In district North Carolina 10, what are the candidates? ### Context: CREATE TABLE table_2668336_17 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_2668336_17 WHERE district = "North Carolina 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: Candiates Charles Fisher (DR) 65.1% W. Jones (F) 34.9% had what result? ### Context: CREATE TABLE table_2668336_17 (result VARCHAR, candidates VARCHAR) [/INST] ### Response: SELECT result FROM table_2668336_17 WHERE candidates = "Charles Fisher (DR) 65.1% W. Jones (F) 34.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 were the incumbent(s) in the election featuring john murray (dr) 50.4% george denison (dr) 49.6% with a result of a retired democratic-republican hold? ### Context: CREATE TABLE table_2668336_19 (incumbent VARCHAR, candidates VARCHAR, result VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2668336_19 WHERE candidates = "John Murray (DR) 50.4% George Denison (DR) 49.6%" AND result = "Retired Democratic-Republican hold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent(s) when the result was a retired democratic-republican hold and the first elected representative was in 1816> ### Context: CREATE TABLE table_2668336_19 (incumbent VARCHAR, result VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2668336_19 WHERE result = "Retired Democratic-Republican hold" AND first_elected = "1816" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 candidates in the election where william wilson was the incumbent? ### Context: CREATE TABLE table_2668336_19 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_2668336_19 WHERE incumbent = "William Wilson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result for pennsylvania 8 ### Context: CREATE TABLE table_2668352_14 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT result FROM table_2668352_14 WHERE district = "Pennsylvania 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: Name the result for 1810 ### Context: CREATE TABLE table_2668352_14 (result VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT result FROM table_2668352_14 WHERE first_elected = "1810" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for hugh glasgow ### Context: CREATE TABLE table_2668352_14 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_2668352_14 WHERE incumbent = "Hugh Glasgow" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent for lost re-election democratic-republican hold ### Context: CREATE TABLE table_2668352_14 (incumbent VARCHAR, result VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2668352_14 WHERE result = "Lost re-election Democratic-Republican hold" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 district for first elected 1810 ### Context: CREATE TABLE table_2668352_14 (district VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT district FROM table_2668352_14 WHERE first_elected = "1810" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party does James Pleasants belong to? ### Context: CREATE TABLE table_2668352_19 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_2668352_19 WHERE incumbent = "James Pleasants" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 William Kennedy first elected? ### Context: CREATE TABLE table_2668374_11 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_2668374_11 WHERE incumbent = "William Kennedy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 section where the winner is william hoge ### Context: CREATE TABLE table_2668378_13 (district VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT district FROM table_2668378_13 WHERE incumbent = "William Hoge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 running where the winner is daniel montgomery ### Context: CREATE TABLE table_2668378_13 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_2668378_13 WHERE incumbent = "Daniel Montgomery" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 running in the section pennsylvania 5 ### Context: CREATE TABLE table_2668378_13 (candidates VARCHAR, district VARCHAR) [/INST] ### Response: SELECT candidates FROM table_2668378_13 WHERE district = "Pennsylvania 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: Who was the incumbent in the district that first elected someone in 1807? ### Context: CREATE TABLE table_2668378_18 (incumbent VARCHAR, first_elected VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2668378_18 WHERE first_elected = "1807" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 someone first elected in the district with incumbent john smith? ### Context: CREATE TABLE table_2668378_18 (first_elected VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT first_elected FROM table_2668378_18 WHERE incumbent = "John 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: What party represents the district with incumbent matthew clay? ### Context: CREATE TABLE table_2668378_18 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_2668378_18 WHERE incumbent = "Matthew Clay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party represents the district with john g. jackson? ### Context: CREATE TABLE table_2668378_18 (party VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT party FROM table_2668378_18 WHERE incumbent = "John G. Jackson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 was the incumbent john dawson redistricted from the 15th district? ### Context: CREATE TABLE table_2668393_18 (candidates VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT COUNT(candidates) FROM table_2668393_18 WHERE incumbent = "John Dawson Redistricted from the 15th district" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 party for the candidates edwin gray (dr)? ### Context: CREATE TABLE table_2668393_18 (party VARCHAR, candidates VARCHAR) [/INST] ### Response: SELECT party FROM table_2668393_18 WHERE candidates = "Edwin Gray (DR)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result in the virginia 11 district? ### Context: CREATE TABLE table_2668393_18 (result VARCHAR, district VARCHAR) [/INST] ### Response: SELECT result FROM table_2668393_18 WHERE district = "Virginia 11" </s>