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: Name the year for guillermo cañas ### Context: CREATE TABLE table_23284597_3 (year VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT year FROM table_23284597_3 WHERE opponent_in_the_final = "Guillermo Cañas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score for the game against Houston? ### Context: CREATE TABLE table_23285761_10 (score VARCHAR, team VARCHAR) [/INST] ### Response: SELECT score FROM table_23285761_10 WHERE team = "Houston" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 records for 30 game ### Context: CREATE TABLE table_23285805_5 (record VARCHAR, game VARCHAR) [/INST] ### Response: SELECT COUNT(record) FROM table_23285805_5 WHERE game = 30 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team for december 19 ### Context: CREATE TABLE table_23285805_5 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_23285805_5 WHERE date = "December 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 location and how many people were in attendance where the record was 9-4 for the season? ### Context: CREATE TABLE table_23285849_5 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23285849_5 WHERE record = "9-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 scored the most points where the record is 3-0 for the season? ### Context: CREATE TABLE table_23285849_5 (high_points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23285849_5 WHERE record = "3-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: When chauncey billups (7) has the highest amount of assists what is the score? ### Context: CREATE TABLE table_23285849_10 (score VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT score FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (7)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When j.r. smith (26) has the highest amount of points what is the score? ### Context: CREATE TABLE table_23285849_10 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_23285849_10 WHERE high_points = "J.R. Smith (26)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the clippers are the team how many games are there? ### Context: CREATE TABLE table_23285849_10 (game VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_23285849_10 WHERE team = "Clippers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aaron afflalo (9) has the highest amount of rebounds what is the score? ### Context: CREATE TABLE table_23285849_10 (score VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT score FROM table_23285849_10 WHERE high_rebounds = "Aaron Afflalo (9)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When chauncey billups (4) has the highest amount of assists who has the highest amount of points? ### Context: CREATE TABLE table_23285849_10 (high_points VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23285849_10 WHERE high_assists = "Chauncey Billups (4)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When carmelo anthony (39) has the highest amount of points where is the location and what is the attendance? ### Context: CREATE TABLE table_23285849_11 (location_attendance VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (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: When carmelo anthony (42) has the highest amount of points how many measurements of highest rebounds are there? ### Context: CREATE TABLE table_23285849_11 (high_rebounds VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT COUNT(high_rebounds) FROM table_23285849_11 WHERE high_points = "Carmelo Anthony (42)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record for l 106–116 (ot) ### Context: CREATE TABLE table_23285849_8 (record VARCHAR, score VARCHAR) [/INST] ### Response: SELECT record FROM table_23285849_8 WHERE score = "L 106–116 (OT)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 high points for the staples center 18,997 ### Context: CREATE TABLE table_23285849_8 (high_points VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23285849_8 WHERE location_attendance = "Staples Center 18,997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of the game when the record was 27-14? ### Context: CREATE TABLE table_23285849_7 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_23285849_7 WHERE record = "27-14" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the most points in the game where the score was w 97–92 (ot)? ### Context: CREATE TABLE table_23285849_7 (high_points VARCHAR, score VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23285849_7 WHERE score = "W 97–92 (OT)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record when the timberwolves were played? ### Context: CREATE TABLE table_23285849_7 (record VARCHAR, team VARCHAR) [/INST] ### Response: SELECT record FROM table_23285849_7 WHERE team = "Timberwolves" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 players has the highest points in the game against the Heat? ### Context: CREATE TABLE table_23285849_6 (high_points VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(high_points) FROM table_23285849_6 WHERE team = "Heat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 tied for highest rebounds in game 29? ### Context: CREATE TABLE table_23285849_6 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_23285849_6 WHERE game = 29 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Where was game number 5 played? ### Context: CREATE TABLE table_23286112_12 (location_attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23286112_12 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who had the highest rebounds in game 2? ### Context: CREATE TABLE table_23286112_12 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_23286112_12 WHERE game = 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 date was the series 0-2? ### Context: CREATE TABLE table_23286112_12 (date VARCHAR, series VARCHAR) [/INST] ### Response: SELECT date FROM table_23286112_12 WHERE series = "0-2" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which series were played on April 18? ### Context: CREATE TABLE table_23286112_12 (series VARCHAR, date VARCHAR) [/INST] ### Response: SELECT series FROM table_23286112_12 WHERE date = "April 18" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What series had high rebounds with Marcus Camby (11)? ### Context: CREATE TABLE table_23286158_11 (series VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT series FROM table_23286158_11 WHERE high_rebounds = "Marcus Camby (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: What was the series where the game was 5? ### Context: CREATE TABLE table_23286158_11 (series VARCHAR, game VARCHAR) [/INST] ### Response: SELECT series FROM table_23286158_11 WHERE game = 5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score when high points were Andre Miller (31)? ### Context: CREATE TABLE table_23286158_11 (score VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT score FROM table_23286158_11 WHERE high_points = "Andre Miller (31)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the score in game 3? ### Context: CREATE TABLE table_23286158_11 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_23286158_11 WHERE game = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When marcus camby (15) has the highest amount of rebounds who has the highest amount of assists? ### Context: CREATE TABLE table_23286158_10 (high_assists VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_23286158_10 WHERE high_rebounds = "Marcus Camby (15)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When 48-30 is the record who has the highest amount of points? ### Context: CREATE TABLE table_23286158_10 (high_points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23286158_10 WHERE record = "48-30" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 78 is the game and brandon roy (6) has the highest amount of assists how many locations/attendances are there? ### Context: CREATE TABLE table_23286158_10 (location_attendance VARCHAR, high_assists VARCHAR, game VARCHAR) [/INST] ### Response: SELECT COUNT(location_attendance) FROM table_23286158_10 WHERE high_assists = "Brandon Roy (6)" AND game = 78 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 marcus camby (15) has the highest amount of rebounds what is the date? ### Context: CREATE TABLE table_23286158_10 (date VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT date FROM table_23286158_10 WHERE high_rebounds = "Marcus Camby (15)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the Portland Trail Blazers play against Cleveland? ### Context: CREATE TABLE table_23286158_7 (date VARCHAR, team VARCHAR) [/INST] ### Response: SELECT date FROM table_23286158_7 WHERE team = "Cleveland" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Sarah Pia Anderson? ### Context: CREATE TABLE table_23287683_1 (title VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_23287683_1 WHERE directed_by = "Sarah Pia Anderson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all season numbers with production codes of 5m21. ### Context: CREATE TABLE table_23287683_1 (season__number VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT season__number FROM table_23287683_1 WHERE production_code = "5M21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 a series number of 95? ### Context: CREATE TABLE table_23287683_1 (title VARCHAR, series__number VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_23287683_1 WHERE series__number = 95 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of season for production code 3m17 ### Context: CREATE TABLE table_23286722_1 (season__number VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(season__number) FROM table_23286722_1 WHERE production_code = "3M17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by season # 2 ### Context: CREATE TABLE table_23286722_1 (directed_by VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_23286722_1 WHERE season__number = 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: Name least series number for writers david e. kelley & jill goldsmith ### Context: CREATE TABLE table_23286722_1 (series__number INTEGER, written_by VARCHAR) [/INST] ### Response: SELECT MIN(series__number) FROM table_23286722_1 WHERE written_by = "David E. Kelley & Jill Goldsmith" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episodes are numbered 12x03? ### Context: CREATE TABLE table_23292220_13 (first_broadcast VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(first_broadcast) FROM table_23292220_13 WHERE episode = "12x03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 on Jon's team when Sean's team had Matthew Crosby and Kimberly Wyatt? ### Context: CREATE TABLE table_23292220_13 (jons_team VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT jons_team FROM table_23292220_13 WHERE seans_team = "Matthew Crosby and Kimberly Wyatt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 that had Jack Dee and Stacey Solomon on Sean's team? ### Context: CREATE TABLE table_23292220_13 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_13 WHERE seans_team = "Jack Dee and Stacey Solomon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team? ### Context: CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23292220_13 WHERE seans_team = "Louie Spence and Joe Wilkinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on the episode that had Russell Kane and Louise Redknapp on Sean's team? ### Context: CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23292220_13 WHERE seans_team = "Russell Kane and Louise Redknapp" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode is Sean's team made up of Krishnan Guru-Murthy and Vic Reeves? ### Context: CREATE TABLE table_23292220_3 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_3 WHERE seans_team = "Krishnan Guru-Murthy and Vic Reeves" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first broadcast date of the episode in which Dave's team is made up of Dave Johns and Sally Lindsay? ### Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, daves_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_3 WHERE daves_team = "Dave Johns and Sally Lindsay" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date of the episode in which Sean's team is made up of Peter Serafinowicz and Johnny Vegas? ### Context: CREATE TABLE table_23292220_3 (first_broadcast VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_3 WHERE seans_team = "Peter Serafinowicz and Johnny Vegas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes was Dave's team made up of David Walliams and Louis Walsh? ### Context: CREATE TABLE table_23292220_3 (episode VARCHAR, daves_team VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_23292220_3 WHERE daves_team = "David Walliams and Louis Walsh" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has boy george and lee mack on dave's team? ### Context: CREATE TABLE table_23292220_4 (episode VARCHAR, daves_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_4 WHERE daves_team = "Boy George and Lee Mack" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 daves team entries are there on 27 october 2006? ### Context: CREATE TABLE table_23292220_4 (daves_team VARCHAR, first_broadcast VARCHAR) [/INST] ### Response: SELECT COUNT(daves_team) FROM table_23292220_4 WHERE first_broadcast = "27 October 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has ulrika jonsson and michael mcintyre on sean's team? ### Context: CREATE TABLE table_23292220_4 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_4 WHERE seans_team = "Ulrika Jonsson and Michael McIntyre" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score in the episode with john barrowman and vic reeves on sean's team? ### Context: CREATE TABLE table_23292220_4 (scores VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23292220_4 WHERE seans_team = "John Barrowman and Vic Reeves" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date of episode 4x03? ### Context: CREATE TABLE table_23292220_4 (first_broadcast VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_4 WHERE episode = "4x03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first broadcast for trisha goddard and glenn wool ### Context: CREATE TABLE table_23292220_5 (first_broadcast VARCHAR, jasons_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_5 WHERE jasons_team = "Trisha Goddard and Glenn Wool" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores for 5x06 ### Context: CREATE TABLE table_23292220_5 (scores VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(scores) FROM table_23292220_5 WHERE episode = "5x06" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first broadcast for tina malone and joe wilkinson ### Context: CREATE TABLE table_23292220_17 (first_broadcast VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_17 WHERE seans_team = "Tina Malone and Joe Wilkinson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of jons team for 15x10 ### Context: CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = "15x10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores for chris ramsey and carol vorderman ### Context: CREATE TABLE table_23292220_17 (scores VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT scores FROM table_23292220_17 WHERE seans_team = "Chris Ramsey and Carol Vorderman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of jons team for 15x07 ### Context: CREATE TABLE table_23292220_17 (jons_team VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(jons_team) FROM table_23292220_17 WHERE episode = "15x07" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all of Jason's teams that appeared on episode 6x02? ### Context: CREATE TABLE table_23292220_6 (jasons_team VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT jasons_team FROM table_23292220_6 WHERE episode = "6x02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes were Vanessa Feltz and Lee Mack the team for Sean? ### Context: CREATE TABLE table_23292220_6 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_23292220_6 WHERE seans_team = "Vanessa Feltz and Lee Mack" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode(s) that featured Duncan James and Johnny Vegas as Jason's team. ### Context: CREATE TABLE table_23292220_6 (episode VARCHAR, jasons_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_6 WHERE jasons_team = "Duncan James and Johnny Vegas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round does Duncan Tappy drive in? ### Context: CREATE TABLE table_23293785_3 (sf_round INTEGER, driver VARCHAR) [/INST] ### Response: SELECT MAX(sf_round) FROM table_23293785_3 WHERE driver = "Duncan Tappy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 racing points did England get? ### Context: CREATE TABLE table_23293785_3 (race_total_pts_ INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(race_total_pts_) FROM table_23293785_3 WHERE country = "England" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 are the Race 2 points when Race 1 was 12? ### Context: CREATE TABLE table_23293785_3 (race_2_pts_ VARCHAR, race_1_pts_ VARCHAR) [/INST] ### Response: SELECT race_2_pts_ FROM table_23293785_3 WHERE race_1_pts_ = 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: How many millions of people in the US saw the episode number 226? ### Context: CREATE TABLE table_23294081_11 (us_viewers__millions_ VARCHAR, no VARCHAR) [/INST] ### Response: SELECT us_viewers__millions_ FROM table_23294081_11 WHERE no = 226 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode number? ### Context: CREATE TABLE table_23294081_11 (no INTEGER) [/INST] ### Response: SELECT MAX(no) FROM table_23294081_11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was performer 1 in the episode number 7 where Heather Anne Campbell was performer 2? ### Context: CREATE TABLE table_23294081_11 (performer_1 VARCHAR, performer_2 VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT performer_1 FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND _number = 7 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the number of the episode seen by 2.99 millions of people in the US, where performer 2 was Heather Anne Campbell? ### Context: CREATE TABLE table_23294081_11 (_number INTEGER, performer_2 VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MIN(_number) FROM table_23294081_11 WHERE performer_2 = "Heather Anne Campbell" AND us_viewers__millions_ = "2.99" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode for vic reeves and claudia winkleman ### Context: CREATE TABLE table_23292220_7 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT episode FROM table_23292220_7 WHERE seans_team = "Vic Reeves and Claudia Winkleman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores for episode 7x05 ### Context: CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x05" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 seans team being 13 november 2008 ### Context: CREATE TABLE table_23292220_7 (seans_team VARCHAR, first_broadcast VARCHAR) [/INST] ### Response: SELECT seans_team FROM table_23292220_7 WHERE first_broadcast = "13 November 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: Name the total number of seans team being 7x04 ### Context: CREATE TABLE table_23292220_7 (seans_team VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(seans_team) FROM table_23292220_7 WHERE episode = "7x04" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total number of scores for 7x10 ### Context: CREATE TABLE table_23292220_7 (scores VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT COUNT(scores) FROM table_23292220_7 WHERE episode = "7x10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many dates have a total points for race of 180? ### Context: CREATE TABLE table_23293785_2 (date VARCHAR, race_total_pts_ VARCHAR) [/INST] ### Response: SELECT COUNT(date) FROM table_23293785_2 WHERE race_total_pts_ = 180 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points value for race 1 if the total race points is 180? ### Context: CREATE TABLE table_23293785_2 (race_1_pts_ VARCHAR, race_total_pts_ VARCHAR) [/INST] ### Response: SELECT race_1_pts_ FROM table_23293785_2 WHERE race_total_pts_ = 180 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the lowest number of total race points for the country of Belgium? ### Context: CREATE TABLE table_23293785_2 (race_total_pts_ INTEGER, country VARCHAR) [/INST] ### Response: SELECT MIN(race_total_pts_) FROM table_23293785_2 WHERE country = "Belgium" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 every driver for the location of Estoril Circuit? ### Context: CREATE TABLE table_23293785_2 (driver VARCHAR, location VARCHAR) [/INST] ### Response: SELECT driver FROM table_23293785_2 WHERE location = "Estoril Circuit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 value for SF round for the country of England? ### Context: CREATE TABLE table_23293785_2 (sf_round INTEGER, country VARCHAR) [/INST] ### Response: SELECT MAX(sf_round) FROM table_23293785_2 WHERE country = "England" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface for the year 2001? ### Context: CREATE TABLE table_23297_3 (surface VARCHAR, year VARCHAR) [/INST] ### Response: SELECT surface FROM table_23297_3 WHERE year = 2001 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the score on October 29? ### Context: CREATE TABLE table_23308178_4 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_23308178_4 WHERE date = "October 29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many opponents were there with the record of 3-2-2? ### Context: CREATE TABLE table_23308178_4 (opponent VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_23308178_4 WHERE record = "3-2-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 record on October 17? ### Context: CREATE TABLE table_23308178_4 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_23308178_4 WHERE date = "October 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did they play agains the New York Rangers? ### Context: CREATE TABLE table_23308178_4 (date VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT date FROM table_23308178_4 WHERE opponent = "New York Rangers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were there scored on October 27? ### Context: CREATE TABLE table_23308178_4 (points INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_23308178_4 WHERE date = "October 27" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores are there for the game with 10-3-4 record? ### Context: CREATE TABLE table_23308178_5 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_23308178_5 WHERE record = "10-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: When was the game with 13-5-6 record played? ### Context: CREATE TABLE table_23308178_5 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_23308178_5 WHERE record = "13-5-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the minimal number of points scored in any game? ### Context: CREATE TABLE table_23308178_5 (points INTEGER) [/INST] ### Response: SELECT MIN(points) FROM table_23308178_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 different games against Florida Panthers were played in Verizon Center? ### Context: CREATE TABLE table_23308178_5 (game VARCHAR, opponent VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_23308178_5 WHERE opponent = "Florida Panthers" AND location = "Verizon Center" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record in the November 7 game? ### Context: CREATE TABLE table_23308178_5 (record VARCHAR, date VARCHAR) [/INST] ### Response: SELECT record FROM table_23308178_5 WHERE date = "November 7" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times was there a record of 49-15-11? ### Context: CREATE TABLE table_23308178_9 (attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_23308178_9 WHERE record = "49-15-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: How many scores had a date of March 6? ### Context: CREATE TABLE table_23308178_9 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(score) FROM table_23308178_9 WHERE date = "March 6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: If the date is 7-21-2006, who was the opponent? ### Context: CREATE TABLE table_23314951_4 (opponent VARCHAR, date VARCHAR) [/INST] ### Response: SELECT opponent FROM table_23314951_4 WHERE date = "7-21-2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent is Kristian Pless, who was it against? ### Context: CREATE TABLE table_23314951_4 (against VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT against FROM table_23314951_4 WHERE opponent = "Kristian Pless" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning team when max busnelli is the winning driver? ### Context: CREATE TABLE table_23315271_2 (winning_team VARCHAR, winning_driver VARCHAR) [/INST] ### Response: SELECT winning_team FROM table_23315271_2 WHERE winning_driver = "Max Busnelli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location is aci vallelunga circuit? ### Context: CREATE TABLE table_23315271_2 (location VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT location FROM table_23315271_2 WHERE circuit = "ACI Vallelunga circuit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 held the pole position in misano world circuit? ### Context: CREATE TABLE table_23315271_2 (pole_position VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT pole_position FROM table_23315271_2 WHERE circuit = "Misano World circuit" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the results for all games which involved the detroit red wings. ### Context: CREATE TABLE table_23308178_7 (score VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT score FROM table_23308178_7 WHERE opponent = "Detroit Red Wings" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Calculate the highest points where the win,loss, tie ratio is 28-12-6 ### Context: CREATE TABLE table_23308178_7 (points INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(points) FROM table_23308178_7 WHERE record = "28-12-6" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what are the previous performance details for games involving the montreal canadiens? ### Context: CREATE TABLE table_23308178_7 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_23308178_7 WHERE opponent = "Montreal Canadiens" </s>