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: How many points does George M. Lawton have? ### Context: CREATE TABLE table_25730326_2 (points INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_25730326_2 WHERE player = "George M. Lawton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player for 1 touchdowns ### Context: CREATE TABLE table_25730460_2 (player VARCHAR, touchdowns VARCHAR) [/INST] ### Response: SELECT player FROM table_25730460_2 WHERE touchdowns = 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: Name the least extra points ### Context: CREATE TABLE table_25730460_2 (extra_points INTEGER) [/INST] ### Response: SELECT MIN(extra_points) FROM table_25730460_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 directed episode number 2? ### Context: CREATE TABLE table_25737761_3 (director VARCHAR, no VARCHAR) [/INST] ### Response: SELECT director FROM table_25737761_3 WHERE no = 2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the episode number that had 797000 viewers? ### Context: CREATE TABLE table_25737761_3 (no VARCHAR, viewing_figure VARCHAR) [/INST] ### Response: SELECT no FROM table_25737761_3 WHERE viewing_figure = 797000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by colin teague? ### Context: CREATE TABLE table_25737761_3 (writer VARCHAR, director VARCHAR) [/INST] ### Response: SELECT writer FROM table_25737761_3 WHERE director = "Colin Teague" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with the production code CA106 are there? ### Context: CREATE TABLE table_25740548_2 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(written_by) FROM table_25740548_2 WHERE production_code = "CA106" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director for episodes that were written be Matthew Lau? ### Context: CREATE TABLE table_25740548_2 (directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25740548_2 WHERE written_by = "Matthew Lau" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode were written by Brett Conrad? ### Context: CREATE TABLE table_25740548_2 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_25740548_2 WHERE written_by = "Brett Conrad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Tim Matheson? ### Context: CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Tim Matheson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Rod Hardy? ### Context: CREATE TABLE table_25740548_2 (original_air_date VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_25740548_2 WHERE directed_by = "Rod Hardy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3.92 million US viewers? ### Context: CREATE TABLE table_25740548_3 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_25740548_3 WHERE us_viewers__million_ = "3.92" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many original air dates are there for the episode with code CA210? ### Context: CREATE TABLE table_25740548_3 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(original_air_date) FROM table_25740548_3 WHERE production_code = "CA210" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rating/share (18-49) of 0.7/2 and a rating of 2.1? ### Context: CREATE TABLE table_25751274_2 (episode_number VARCHAR, rating VARCHAR) [/INST] ### Response: SELECT COUNT(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 0.7 / 2 AND rating = "2.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 lowest episode number that had a ratings/share (18-49) of 1.1/3? ### Context: CREATE TABLE table_25751274_2 (episode_number INTEGER, rating VARCHAR) [/INST] ### Response: SELECT MIN(episode_number) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.1 / 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 rating of the episode with a share of 4 and a rating/share (18-49) of 0.7/2? ### Context: CREATE TABLE table_25751274_2 (rating VARCHAR, share VARCHAR) [/INST] ### Response: SELECT rating FROM table_25751274_2 WHERE share = 4 AND rating / SHARE(18 - 49) = 0.7 / 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 lowest rank of an episode with a rating/share (18-49) of 1.3/4? ### Context: CREATE TABLE table_25751274_2 (rank__night_ INTEGER, rating VARCHAR) [/INST] ### Response: SELECT MIN(rank__night_) FROM table_25751274_2 WHERE rating / SHARE(18 - 49) = 1.3 / 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 song released by Travis? ### Context: CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT single FROM table_25760427_2 WHERE artist = "Travis" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: error (see notes) ### Context: CREATE TABLE table_25760427_2 (weeks_at_number_1 INTEGER) [/INST] ### Response: SELECT MIN(weeks_at_number_1) FROM table_25760427_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 song by the musician panjabi mc? ### Context: CREATE TABLE table_25760427_2 (single VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT single FROM table_25760427_2 WHERE artist = "Panjabi MC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round 1 race? ### Context: CREATE TABLE table_25773116_2 (location VARCHAR, round VARCHAR) [/INST] ### Response: SELECT location FROM table_25773116_2 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 won the April 11 race? ### Context: CREATE TABLE table_25773116_2 (winning_driver VARCHAR, date VARCHAR) [/INST] ### Response: SELECT winning_driver FROM table_25773116_2 WHERE date = "April 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: Where was the race where Cole Morgan had the fastest lap and Daniel Erickson had pole position? ### Context: CREATE TABLE table_25773116_2 (location VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR) [/INST] ### Response: SELECT location FROM table_25773116_2 WHERE pole_position = "Daniel Erickson" AND fastest_lap = "Cole Morgan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rounds were played on May 8? ### Context: CREATE TABLE table_25773116_2 (round VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_25773116_2 WHERE date = "May 8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had pole position for the races in Braselton, Georgia where Victor Carbone had fastest lap? ### Context: CREATE TABLE table_25773116_2 (pole_position VARCHAR, fastest_lap VARCHAR, location VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_25773116_2 WHERE fastest_lap = "Victor Carbone" AND location = "Braselton, Georgia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Audette Racing win? ### Context: CREATE TABLE table_25773116_2 (location VARCHAR, winning_team VARCHAR) [/INST] ### Response: SELECT location FROM table_25773116_2 WHERE winning_team = "Audette Racing" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the directors for peter gawler ### Context: CREATE TABLE table_25764073_3 (director_s_ VARCHAR, writer_s_ VARCHAR) [/INST] ### Response: SELECT director_s_ FROM table_25764073_3 WHERE writer_s_ = "Peter Gawler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least episode number for anne brooksbank and vicki madden ### Context: CREATE TABLE table_25764073_3 (episode__number INTEGER, writer_s_ VARCHAR) [/INST] ### Response: SELECT MIN(episode__number) FROM table_25764073_3 WHERE writer_s_ = "Anne Brooksbank and Vicki Madden" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title for season number 35 ### Context: CREATE TABLE table_25764073_3 (title VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT title FROM table_25764073_3 WHERE season__number = 35 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the points per game in the selection where the rebounds per game were 15.0? ### Context: CREATE TABLE table_25774493_3 (points_per_game VARCHAR, rebounds_per_game VARCHAR) [/INST] ### Response: SELECT points_per_game FROM table_25774493_3 WHERE rebounds_per_game = "15.0" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the blocks per game in the selection where the field goal percentage was .594 (2nd)? ### Context: CREATE TABLE table_25774493_3 (blocks_per_game VARCHAR, field_goal_percentage VARCHAR) [/INST] ### Response: SELECT blocks_per_game FROM table_25774493_3 WHERE field_goal_percentage = ".594 (2nd)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the name for company d ### Context: CREATE TABLE table_25794010_1 (name VARCHAR, company VARCHAR) [/INST] ### Response: SELECT name FROM table_25794010_1 WHERE company = "company D" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name for organization date being unknown ### Context: CREATE TABLE table_25794010_1 (name VARCHAR, organization_date VARCHAR) [/INST] ### Response: SELECT name FROM table_25794010_1 WHERE organization_date = "Unknown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name for desha ### Context: CREATE TABLE table_25794010_1 (name VARCHAR, county VARCHAR) [/INST] ### Response: SELECT name FROM table_25794010_1 WHERE county = "Desha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 company for desha county ### Context: CREATE TABLE table_25794010_1 (company VARCHAR, county VARCHAR) [/INST] ### Response: SELECT company FROM table_25794010_1 WHERE county = "Desha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series number 56? ### Context: CREATE TABLE table_25800134_1 (writer_s_ VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_1 WHERE series__number = 56 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is largest series number for the episode that aired February 16, 1957? ### Context: CREATE TABLE table_25800134_1 (series__number INTEGER, airdate VARCHAR) [/INST] ### Response: SELECT MAX(series__number) FROM table_25800134_1 WHERE airdate = "February 16, 1957" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes that aired December 15, 1956? ### Context: CREATE TABLE table_25800134_1 (director VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_1 WHERE airdate = "December 15, 1956" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aired December 1, 1956? ### Context: CREATE TABLE table_25800134_1 (writer_s_ VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_1 WHERE airdate = "December 1, 1956" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer of the episode that originally aired on October 14, 1968? ### Context: CREATE TABLE table_25800134_13 (writer_s_ VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_13 WHERE airdate = "October 14, 1968" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season # for the episode with air date february 2, 1970? ### Context: CREATE TABLE table_25800134_14 (season__number INTEGER, airdate VARCHAR) [/INST] ### Response: SELECT MAX(season__number) FROM table_25800134_14 WHERE airdate = "February 2, 1970" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer who wrote the episode that was aired on September 11, 1972? ### Context: CREATE TABLE table_25800134_17 (writer_s_ VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_17 WHERE airdate = "September 11, 1972" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number 626 in the series? ### Context: CREATE TABLE table_25800134_19 (director VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_19 WHERE series__number = 626 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who are all the writers of episodes in season 24? ### Context: CREATE TABLE table_25800134_2 (writer_s_ VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_2 WHERE season__number = 24 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the episode that aired on May 10, 1958? ### Context: CREATE TABLE table_25800134_2 (title VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT title FROM table_25800134_2 WHERE airdate = "May 10, 1958" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer of episode 15? ### Context: CREATE TABLE table_25800134_4 (writer_s_ VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT writer_s_ FROM table_25800134_4 WHERE season__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: What is the title of #33? ### Context: CREATE TABLE table_25800134_4 (title VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT title FROM table_25800134_4 WHERE season__number = 33 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directors worked on #158? ### Context: CREATE TABLE table_25800134_4 (director VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT COUNT(director) FROM table_25800134_4 WHERE series__number = 158 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many writers were for season #1? ### Context: CREATE TABLE table_25800134_3 (writer_s_ VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT COUNT(writer_s_) FROM table_25800134_3 WHERE season__number = 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 director for the episode on May 2, 1959? ### Context: CREATE TABLE table_25800134_3 (director VARCHAR, airdate VARCHAR) [/INST] ### Response: SELECT director FROM table_25800134_3 WHERE airdate = "May 2, 1959" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in series for production code being 204 ### Context: CREATE TABLE table_25810656_3 (no_in_series VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT no_in_series FROM table_25810656_3 WHERE production_code = 204 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title for number in series being 25 ### Context: CREATE TABLE table_25810656_3 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_25810656_3 WHERE no_in_series = 25 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest stage won by Mikhail Ignatiev? ### Context: CREATE TABLE table_25802618_15 (stage INTEGER, winner VARCHAR) [/INST] ### Response: SELECT MAX(stage) FROM table_25802618_15 WHERE winner = "Mikhail Ignatiev" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race was the weight in kg 55 and the winner/2nd 1st - Jim and Tonic? ### Context: CREATE TABLE table_2581397_4 (race VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR) [/INST] ### Response: SELECT race FROM table_2581397_4 WHERE weight__kg_ = "55" AND winner_2nd = "1st - Jim And Tonic" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance in the Manikato Stakes race? ### Context: CREATE TABLE table_2581397_4 (distance VARCHAR, race VARCHAR) [/INST] ### Response: SELECT distance FROM table_2581397_4 WHERE race = "Manikato Stakes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 distance in the race where the weight in kg was 56 and the winner/2nd was 2nd - Fritz? ### Context: CREATE TABLE table_2581397_4 (distance VARCHAR, weight__kg_ VARCHAR, winner_2nd VARCHAR) [/INST] ### Response: SELECT distance FROM table_2581397_4 WHERE weight__kg_ = "56" AND winner_2nd = "2nd - Fritz" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date was the Doncaster race? ### Context: CREATE TABLE table_2581397_5 (date VARCHAR, race VARCHAR) [/INST] ### Response: SELECT date FROM table_2581397_5 WHERE race = "Doncaster" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date when the team guest captain was john bishop? ### Context: CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR) [/INST] ### Response: SELECT air_date FROM table_25816476_2 WHERE team_guest_captain = "John Bishop" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team guest captain for episode 2? ### Context: CREATE TABLE table_25816476_2 (team_guest_captain VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT team_guest_captain FROM table_25816476_2 WHERE episode = 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 the team swash when the team guest captain was gail porter? ### Context: CREATE TABLE table_25816476_2 (team_swash VARCHAR, team_guest_captain VARCHAR) [/INST] ### Response: SELECT team_swash FROM table_25816476_2 WHERE team_guest_captain = "Gail Porter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 there for team coxy for the air date of 24 january 2010 and team guest captain of gail porter? ### Context: CREATE TABLE table_25816476_2 (team_coxy VARCHAR, air_date VARCHAR, team_guest_captain VARCHAR) [/INST] ### Response: SELECT COUNT(team_coxy) FROM table_25816476_2 WHERE air_date = "24 January 2010" AND team_guest_captain = "Gail Porter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 shown for an air date when the team guest captain was stephen k amos? ### Context: CREATE TABLE table_25816476_2 (air_date VARCHAR, team_guest_captain VARCHAR) [/INST] ### Response: SELECT COUNT(air_date) FROM table_25816476_2 WHERE team_guest_captain = "Stephen K Amos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 group was sunline in when he was at moonee valley? ### Context: CREATE TABLE table_2581397_2 (group VARCHAR, venue VARCHAR) [/INST] ### Response: SELECT group FROM table_2581397_2 WHERE venue = "Moonee Valley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 win-loss record for the player from Switzerland? ### Context: CREATE TABLE table_25820786_2 (win_loss VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT win_loss FROM table_25820786_2 WHERE nationality = "Switzerland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the win loss record the lady who appeard in 1969? ### Context: CREATE TABLE table_25820584_7 (win_loss VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT win_loss FROM table_25820584_7 WHERE year_s_ = "1969" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player(s) appeared in 1969? ### Context: CREATE TABLE table_25820584_7 (player VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT player FROM table_25820584_7 WHERE year_s_ = "1969" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name for norway nationality ### Context: CREATE TABLE table_25826954_7 (name VARCHAR, nationality VARCHAR) [/INST] ### Response: SELECT name FROM table_25826954_7 WHERE nationality = "Norway" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who wrote the episode with the production code 2j5153? ### Context: CREATE TABLE table_25830834_2 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_25830834_2 WHERE production_code = "2J5153" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 filter when the wavelength is 222mm (k-band)? ### Context: CREATE TABLE table_2583036_1 (filter VARCHAR, wavelength VARCHAR) [/INST] ### Response: SELECT filter FROM table_2583036_1 WHERE wavelength = "222mm (K-band)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times was the exposures 53? ### Context: CREATE TABLE table_2583036_1 (camera VARCHAR, exposures VARCHAR) [/INST] ### Response: SELECT COUNT(camera) FROM table_2583036_1 WHERE exposures = 53 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 exposures where there when the total exposure time is 105,000s? ### Context: CREATE TABLE table_2583036_1 (exposures VARCHAR, total_exposure_time VARCHAR) [/INST] ### Response: SELECT exposures FROM table_2583036_1 WHERE total_exposure_time = "105,000s" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 camera used when the wavelength is 814nm (i-band)? ### Context: CREATE TABLE table_2583036_1 (camera VARCHAR, wavelength VARCHAR) [/INST] ### Response: SELECT camera FROM table_2583036_1 WHERE wavelength = "814nm (I-band)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title of the show with director Paul Annett? ### Context: CREATE TABLE table_2582519_6 (title VARCHAR, director VARCHAR) [/INST] ### Response: SELECT title FROM table_2582519_6 WHERE director = "Paul Annett" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the Undercard of Stevenson/Bellew? ### Context: CREATE TABLE table_25840200_1 (titles VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT titles FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 titles for the November 9 Super Bantamweight division? ### Context: CREATE TABLE table_25840200_1 (titles VARCHAR, date VARCHAR, division VARCHAR) [/INST] ### Response: SELECT titles FROM table_25840200_1 WHERE date = "November 9" AND division = "Super Bantamweight" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 notes are there for the Devon Alexander vs. Shawn Porter fight? ### Context: CREATE TABLE table_25840200_1 (notes VARCHAR, fight VARCHAR) [/INST] ### Response: SELECT COUNT(notes) FROM table_25840200_1 WHERE fight = "Devon Alexander vs. Shawn Porter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division was on HBO PPV? ### Context: CREATE TABLE table_25840200_1 (division VARCHAR, tv VARCHAR) [/INST] ### Response: SELECT division FROM table_25840200_1 WHERE tv = "HBO PPV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Undercard of Stevenson/Bellew? ### Context: CREATE TABLE table_25840200_1 (location VARCHAR, notes VARCHAR) [/INST] ### Response: SELECT location FROM table_25840200_1 WHERE notes = "Undercard of Stevenson/Bellew" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 division number for Verona, USA? ### Context: CREATE TABLE table_25840200_1 (division VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(division) FROM table_25840200_1 WHERE location = "Verona, USA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 mobile markets have cvt hd? ### Context: CREATE TABLE table_25839957_5 (cvt_hd VARCHAR, market VARCHAR) [/INST] ### Response: SELECT cvt_hd FROM table_25839957_5 WHERE market = "Mobile" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opengl have the ironlake ( clarkdale ) code name? ### Context: CREATE TABLE table_25839957_5 (opengl VARCHAR, code_name VARCHAR) [/INST] ### Response: SELECT COUNT(opengl) FROM table_25839957_5 WHERE code_name = "Ironlake ( Clarkdale )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 core clocks ( mhz ) have a 21.3 memory bandwidth ( gb/s )? ### Context: CREATE TABLE table_25839957_5 (core_clock___mhz__ VARCHAR, memory_bandwidth___gb_s__ VARCHAR) [/INST] ### Response: SELECT core_clock___mhz__ FROM table_25839957_5 WHERE memory_bandwidth___gb_s__ = "21.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's the minimum number of execution units? ### Context: CREATE TABLE table_25839957_5 (execution_units INTEGER) [/INST] ### Response: SELECT MIN(execution_units) FROM table_25839957_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: How many shader models have a 900 core clock ( mhz )? ### Context: CREATE TABLE table_25839957_5 (shader_model VARCHAR, core_clock___mhz__ VARCHAR) [/INST] ### Response: SELECT COUNT(shader_model) FROM table_25839957_5 WHERE core_clock___mhz__ = "900" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population for the place with an area of 2.33 km2? ### Context: CREATE TABLE table_2588674_1 (population__2000_census__ INTEGER, area_km² VARCHAR) [/INST] ### Response: SELECT MAX(population__2000_census__) FROM table_2588674_1 WHERE area_km² = "2.33" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 places named asan-maina? ### Context: CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR) [/INST] ### Response: SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Asan-Maina" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 places named mongmong-toto-maite? ### Context: CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR) [/INST] ### Response: SELECT COUNT(region) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population density of mongmong-toto-maite? ### Context: CREATE TABLE table_2588674_1 (pop_density INTEGER, village VARCHAR) [/INST] ### Response: SELECT MIN(pop_density) FROM table_2588674_1 WHERE village = "Mongmong-Toto-Maite" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 village has an area of 27.19 km2? ### Context: CREATE TABLE table_2588674_1 (village VARCHAR, area_km² VARCHAR) [/INST] ### Response: SELECT village FROM table_2588674_1 WHERE area_km² = "27.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: What region is inarajan in? ### Context: CREATE TABLE table_2588674_1 (region VARCHAR, village VARCHAR) [/INST] ### Response: SELECT region FROM table_2588674_1 WHERE village = "Inarajan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 POS when the average is 1.8529? ### Context: CREATE TABLE table_25887826_17 (pos INTEGER, avg VARCHAR) [/INST] ### Response: SELECT MAX(pos) FROM table_25887826_17 WHERE avg = "1.8529" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 07 A points for the team with 1.4902 average? ### Context: CREATE TABLE table_25887826_17 (avg VARCHAR) [/INST] ### Response: SELECT MAX(07 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.4902" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for 08 A points for the team with 1.1863 average? ### Context: CREATE TABLE table_25887826_17 (avg VARCHAR) [/INST] ### Response: SELECT COUNT(08 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.1863" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the largest number of 10 C points for a team with 39 total points? ### Context: CREATE TABLE table_25887826_17 (total_pts VARCHAR) [/INST] ### Response: SELECT MAX(10 AS _c_pts) FROM table_25887826_17 WHERE total_pts = 39 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 4.82 million U.S. viewers? ### Context: CREATE TABLE table_25851971_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25851971_1 WHERE us_viewers__million_ = "4.82" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a production code of 2j5457? ### Context: CREATE TABLE table_25851971_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_25851971_1 WHERE production_code = "2J5457" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number was written by Anthony Sparks? ### Context: CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(no) FROM table_25851971_1 WHERE written_by = "Anthony Sparks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code of the episode written by Anthony Sparks? ### Context: CREATE TABLE table_25851971_1 (production_code VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT production_code FROM table_25851971_1 WHERE written_by = "Anthony Sparks" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number was written by Karin Gist? ### Context: CREATE TABLE table_25851971_1 (no INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MAX(no) FROM table_25851971_1 WHERE written_by = "Karin Gist" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 leader battle for 4-3 vote ### Context: CREATE TABLE table_25920798_2 (leader_battle VARCHAR, vote VARCHAR) [/INST] ### Response: SELECT leader_battle FROM table_25920798_2 WHERE vote = "4-3" </s>