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 production code for number in season being 21 ### Context: CREATE TABLE table_22948559_1 (production_code VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT production_code FROM table_22948559_1 WHERE no_in_season = "21" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code by paul lieberstein ### Context: CREATE TABLE table_22948559_1 (production_code VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT production_code FROM table_22948559_1 WHERE written_by = "Paul Lieberstein" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 blockings occured in the game with 198 rebounds? ### Context: CREATE TABLE table_22993636_5 (blocks INTEGER, rebounds VARCHAR) [/INST] ### Response: SELECT MAX(blocks) FROM table_22993636_5 WHERE rebounds = 198 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For how long did Jordan Coleman play? ### Context: CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR) [/INST] ### Response: SELECT minutes FROM table_22993636_5 WHERE player = "Jordan Coleman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 much time, in minutes, did Chanel Chisholm play? ### Context: CREATE TABLE table_22993636_5 (minutes VARCHAR, player VARCHAR) [/INST] ### Response: SELECT COUNT(minutes) FROM table_22993636_5 WHERE player = "Chanel Chisholm" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3 pointers that occured in games with 52 steals? ### Context: CREATE TABLE table_22993636_5 (three_pointers INTEGER, steals VARCHAR) [/INST] ### Response: SELECT MIN(three_pointers) FROM table_22993636_5 WHERE steals = 52 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games played by the player with 50 steals? ### Context: CREATE TABLE table_22993636_5 (games_played INTEGER, steals VARCHAR) [/INST] ### Response: SELECT MIN(games_played) FROM table_22993636_5 WHERE steals = 50 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What countries does the Rock come from? ### Context: CREATE TABLE table_2305948_1 (country VARCHAR, name VARCHAR) [/INST] ### Response: SELECT COUNT(country) FROM table_2305948_1 WHERE name = "The Rock" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times has a wrestler whose federation was roh, wwe competed in this event? ### Context: CREATE TABLE table_2305948_1 (other_placings VARCHAR, federation VARCHAR) [/INST] ### Response: SELECT COUNT(other_placings) FROM table_2305948_1 WHERE federation = "ROH, WWE" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank/s of Eddie Guerrero? ### Context: CREATE TABLE table_2305948_1 (_number VARCHAR, name VARCHAR) [/INST] ### Response: SELECT _number FROM table_2305948_1 WHERE name = "Eddie Guerrero" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times has a wrestler from the country of England wrestled in this event? ### Context: CREATE TABLE table_2305948_1 (country VARCHAR) [/INST] ### Response: SELECT COUNT(2) FROM table_2305948_1 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: Name who wrote number 88 ### Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT written_by FROM table_23235679_1 WHERE no_in_series = 88 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 who wrote 5ajn11 ### Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT written_by FROM table_23235679_1 WHERE production_code = "5AJN11" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 who wrote the episode directed by pam cooke & jansen yee ### Context: CREATE TABLE table_23235679_1 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_23235679_1 WHERE directed_by = "Pam Cooke & Jansen Yee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year for 6–3, 6–2 hard surface ### Context: CREATE TABLE table_23235767_4 (year VARCHAR, score_in_the_final VARCHAR, surface VARCHAR) [/INST] ### Response: SELECT COUNT(year) FROM table_23235767_4 WHERE score_in_the_final = "6–3, 6–2" AND surface = "Hard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface for philadelphia ### Context: CREATE TABLE table_23235767_4 (surface VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT surface FROM table_23235767_4 WHERE championship = "Philadelphia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 championship for clay and corrado barazzutti ### Context: CREATE TABLE table_23235767_4 (championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR) [/INST] ### Response: SELECT championship FROM table_23235767_4 WHERE surface = "Clay" AND opponent_in_the_final = "Corrado Barazzutti" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 clay for boston and guillermo vilas ### Context: CREATE TABLE table_23235767_4 (year VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT year FROM table_23235767_4 WHERE surface = "Clay" AND championship = "Boston" AND opponent_in_the_final = "Guillermo Vilas" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent in the final for 6–2, 6–1, 6–3 ### Context: CREATE TABLE table_23235767_4 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT COUNT(opponent_in_the_final) FROM table_23235767_4 WHERE score_in_the_final = "6–2, 6–1, 6–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 every year where opponent in the final is John Mcenroe at Wimbledon? ### Context: CREATE TABLE table_23235767_1 (year VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT year FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "Wimbledon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score in the final for opponent in final John Mcenroe at US Open? ### Context: CREATE TABLE table_23235767_1 (score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, championship VARCHAR) [/INST] ### Response: SELECT score_in_the_final FROM table_23235767_1 WHERE opponent_in_the_final = "John McEnroe" AND championship = "US Open" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is every surface with a score in the final of 6–4, 6–7 (1–7) , 6–7 (4–7) , 4–6? ### Context: CREATE TABLE table_23235767_1 (surface VARCHAR, score_in_the_final VARCHAR) [/INST] ### Response: SELECT surface FROM table_23235767_1 WHERE score_in_the_final = "6–4, 6–7 (1–7) , 6–7 (4–7) , 4–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 was the score in game 6? ### Context: CREATE TABLE table_23248910_11 (score VARCHAR, game VARCHAR) [/INST] ### Response: SELECT score FROM table_23248910_11 WHERE game = 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 were the amount of rebounds in game 2? ### Context: CREATE TABLE table_23248910_11 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_23248910_11 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: On what date was the attendance at TD Garden 18,624? ### Context: CREATE TABLE table_23274514_8 (date VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_23274514_8 WHERE location_attendance = "TD Garden 18,624" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 day was the record 14-27? ### Context: CREATE TABLE table_23274514_6 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_23274514_6 WHERE record = "14-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 people got high points in game 35? ### Context: CREATE TABLE table_23274514_6 (high_points VARCHAR, game VARCHAR) [/INST] ### Response: SELECT COUNT(high_points) FROM table_23274514_6 WHERE game = 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: Who had the highest points on January 2? ### Context: CREATE TABLE table_23274514_6 (high_points VARCHAR, date VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23274514_6 WHERE date = "January 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 did the high rebounds in the game where Carl Landry (23) did the most high points? ### Context: CREATE TABLE table_23281862_6 (high_rebounds VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT high_rebounds FROM table_23281862_6 WHERE high_points = "Carl Landry (23)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 end score of the game where Shane Battier (8) did the high rebounds? ### Context: CREATE TABLE table_23281862_6 (score VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT score FROM table_23281862_6 WHERE high_rebounds = "Shane Battier (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: Where was the game in which Carl Landry (25) did the most high points played? ### Context: CREATE TABLE table_23281862_6 (location_attendance VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23281862_6 WHERE high_points = "Carl Landry (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: Who had the most high assists with a record of 32-19? ### Context: CREATE TABLE table_23284271_8 (high_assists VARCHAR, record VARCHAR) [/INST] ### Response: SELECT high_assists FROM table_23284271_8 WHERE record = "32-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: When did the Mavericks have a record of 32-19? ### Context: CREATE TABLE table_23284271_8 (date VARCHAR, record VARCHAR) [/INST] ### Response: SELECT date FROM table_23284271_8 WHERE record = "32-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: List the stadium and number of people in attendance when the team record was 45-22. ### Context: CREATE TABLE table_23284271_9 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(location_attendance) FROM table_23284271_9 WHERE record = "45-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games had been played when the Mavericks had a 46-22 record? ### Context: CREATE TABLE table_23284271_9 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_23284271_9 WHERE record = "46-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date for score w 109–95 (ot) ### Context: CREATE TABLE table_23285761_8 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_23285761_8 WHERE score = "W 109–95 (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 pepsi center 19,155 ### Context: CREATE TABLE table_23285761_8 (high_points VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23285761_8 WHERE location_attendance = "Pepsi Center 19,155" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record is 5-8, what is the team name? ### Context: CREATE TABLE table_23285805_4 (team VARCHAR, record VARCHAR) [/INST] ### Response: SELECT team FROM table_23285805_4 WHERE record = "5-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: If the record is 5-5, what is the game maximum? ### Context: CREATE TABLE table_23285805_4 (game INTEGER, record VARCHAR) [/INST] ### Response: SELECT MAX(game) FROM table_23285805_4 WHERE record = "5-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: If the record is 6-8, what was the score? ### Context: CREATE TABLE table_23285805_4 (score VARCHAR, record VARCHAR) [/INST] ### Response: SELECT score FROM table_23285805_4 WHERE record = "6-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: When was the game number 3 played? ### Context: CREATE TABLE table_23286112_6 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_23286112_6 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: Where was the game in which Kevin Durant (25) did the most high points played? ### Context: CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (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 record in the game in which Jeff Green (14) did the most high rebounds? ### Context: CREATE TABLE table_23286112_6 (record VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT record FROM table_23286112_6 WHERE high_rebounds = "Jeff Green (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: Name the team for january 4 ### Context: CREATE TABLE table_23286112_8 (team VARCHAR, date VARCHAR) [/INST] ### Response: SELECT team FROM table_23286112_8 WHERE date = "January 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: Name the location attendance for january 18 ### Context: CREATE TABLE table_23286112_8 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23286112_8 WHERE date = "January 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: Name the least game for january 29 ### Context: CREATE TABLE table_23286112_8 (game INTEGER, date VARCHAR) [/INST] ### Response: SELECT MIN(game) FROM table_23286112_8 WHERE date = "January 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: What location attendance has russell westbrook (5) as high assists and nenad krstic (8) as high rebounds? ### Context: CREATE TABLE table_23286112_7 (location_attendance VARCHAR, high_assists VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23286112_7 WHERE high_assists = "Russell Westbrook (5)" AND high_rebounds = "Nenad Krstic (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 has high points when toyota center 15,095 is location attendance? ### Context: CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Toyota Center 15,095" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has high points when verizon center 17,152 is location attendance? ### Context: CREATE TABLE table_23286112_7 (high_points VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT high_points FROM table_23286112_7 WHERE location_attendance = "Verizon Center 17,152" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for the date of December 7? ### Context: CREATE TABLE table_23286112_7 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_23286112_7 WHERE date = "December 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 game in which Carlos Boozer (8) did the high rebounds? ### Context: CREATE TABLE table_23286223_5 (game VARCHAR, high_rebounds VARCHAR) [/INST] ### Response: SELECT game FROM table_23286223_5 WHERE high_rebounds = "Carlos Boozer (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: When was the game in which Deron Williams (13) did the high assists played? ### Context: CREATE TABLE table_23286223_5 (date VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT date FROM table_23286223_5 WHERE high_assists = "Deron Williams (13)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different high rebound results are there for the game number 26? ### Context: CREATE TABLE table_23286223_5 (high_rebounds VARCHAR, game VARCHAR) [/INST] ### Response: SELECT COUNT(high_rebounds) FROM table_23286223_5 WHERE game = 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: How many different players did the most high assists on the March 4 game? ### Context: CREATE TABLE table_23286223_8 (high_assists VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(high_assists) FROM table_23286223_8 WHERE date = "March 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 was the record at the game where Deron Williams (6) did the high assists? ### Context: CREATE TABLE table_23286223_8 (record VARCHAR, high_assists VARCHAR) [/INST] ### Response: SELECT record FROM table_23286223_8 WHERE high_assists = "Deron Williams (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: Where was the March 24 game played? ### Context: CREATE TABLE table_23286223_8 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_23286223_8 WHERE date = "March 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: How many players did the most high points in the game with 39-22 record? ### Context: CREATE TABLE table_23286223_8 (high_points VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(high_points) FROM table_23286223_8 WHERE record = "39-22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 broadcast date where Jason's team is Rhod Gilbert and Shappi Khorsandi? ### Context: CREATE TABLE table_23292220_8 (first_broadcast VARCHAR, jasons_team VARCHAR) [/INST] ### Response: SELECT first_broadcast FROM table_23292220_8 WHERE jasons_team = "Rhod Gilbert and Shappi Khorsandi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did Sean's team include Jeremy Clarkson and James McQuillan? ### Context: CREATE TABLE table_23292220_8 (episode VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT COUNT(episode) FROM table_23292220_8 WHERE seans_team = "Jeremy Clarkson and James McQuillan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jason's team for the 12 June 2009 episode? ### Context: CREATE TABLE table_23292220_8 (jasons_team VARCHAR, first_broadcast VARCHAR) [/INST] ### Response: SELECT jasons_team FROM table_23292220_8 WHERE first_broadcast = "12 June 2009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Jason's team in the episode where Sean's team was Reginald D. Hunter and Kelly Osbourne? ### Context: CREATE TABLE table_23292220_8 (jasons_team VARCHAR, seans_team VARCHAR) [/INST] ### Response: SELECT jasons_team FROM table_23292220_8 WHERE seans_team = "Reginald D. Hunter and Kelly Osbourne" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record where the locaiton is tampa, fl and the opponent is louisville? ### Context: CREATE TABLE table_23346303_3 (record VARCHAR, location VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_23346303_3 WHERE location = "Tampa, FL" AND opponent = "Louisville" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the number of opponents where the location is syracuse, ny? ### Context: CREATE TABLE table_23346303_3 (opponent VARCHAR, location VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_23346303_3 WHERE location = "Syracuse, NY" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record where the opponent is central connecticut? ### Context: CREATE TABLE table_23346303_3 (record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT record FROM table_23346303_3 WHERE opponent = "Central Connecticut" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 channels is wxyzrstuvpq, what is the horizontal order? ### Context: CREATE TABLE table_233830_1 (horizontal_order VARCHAR, channels VARCHAR) [/INST] ### Response: SELECT horizontal_order FROM table_233830_1 WHERE channels = "WXYZRSTUVPQ" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height order is 1 and the soundfield type is mixed-order, what are all the channels? ### Context: CREATE TABLE table_233830_1 (channels VARCHAR, soundfield_type VARCHAR, height_order VARCHAR) [/INST] ### Response: SELECT channels FROM table_233830_1 WHERE soundfield_type = "mixed-order" AND height_order = 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: If the channels is wxyzuv, what is the number of channels? ### Context: CREATE TABLE table_233830_1 (number_of_channels VARCHAR, channels VARCHAR) [/INST] ### Response: SELECT number_of_channels FROM table_233830_1 WHERE channels = "WXYZUV" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episodes which had 1.10 million U.S. viewers? ### Context: CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.10" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of the episodes which had 1.22 million U.S. viewers? ### Context: CREATE TABLE table_23399481_4 (title VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_23399481_4 WHERE us_viewers__in_millions_ = "1.22" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many millions of viewers did the episode written by Andrea Conway Kagey? ### Context: CREATE TABLE table_23399481_4 (us_viewers__in_millions_ VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT us_viewers__in_millions_ FROM table_23399481_4 WHERE written_by = "Andrea Conway Kagey" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/s written by Michael Gans & Richard Register? ### Context: CREATE TABLE table_23399481_4 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total score when 7 is the average ranking? ### Context: CREATE TABLE table_23465011_5 (total_score INTEGER, average_ranking VARCHAR) [/INST] ### Response: SELECT MAX(total_score) FROM table_23465011_5 WHERE average_ranking = 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: Which couple has 295 as a total score? ### Context: CREATE TABLE table_23465011_5 (couple VARCHAR, total_score VARCHAR) [/INST] ### Response: SELECT couple FROM table_23465011_5 WHERE total_score = 295 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average for the couple anh & luda? ### Context: CREATE TABLE table_23465011_5 (average VARCHAR, couple VARCHAR) [/INST] ### Response: SELECT average FROM table_23465011_5 WHERE couple = "Anh & Luda" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 largest attended game? ### Context: CREATE TABLE table_23486853_5 (attendance INTEGER) [/INST] ### Response: SELECT MAX(attendance) FROM table_23486853_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 scores happened on February 9? ### Context: CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_23486853_7 WHERE date = "February 9" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What scores happened on February 11? ### Context: CREATE TABLE table_23486853_7 (score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT score FROM table_23486853_7 WHERE date = "February 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 directed by have 2.80 as u.s. viewers (in millions)? ### Context: CREATE TABLE table_23499946_1 (directed_by VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.80" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title when 2.50 is u.s. viewers (in millions)? ### Context: CREATE TABLE table_23499946_1 (title VARCHAR, us_viewers__in_millions_ VARCHAR) [/INST] ### Response: SELECT title FROM table_23499946_1 WHERE us_viewers__in_millions_ = "2.50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of points defending for 1075 ### Context: CREATE TABLE table_23501776_16 (points VARCHAR, new_points VARCHAR) [/INST] ### Response: SELECT COUNT(points) AS defending FROM table_23501776_16 WHERE new_points = 1075 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points won for 1230 ### Context: CREATE TABLE table_23501776_16 (points VARCHAR) [/INST] ### Response: SELECT points AS won FROM table_23501776_16 WHERE points = 1230 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 status for points 3185 ### Context: CREATE TABLE table_23501776_16 (status VARCHAR, points VARCHAR) [/INST] ### Response: SELECT status FROM table_23501776_16 WHERE points = 3185 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers for the order number 713096-713119? ### Context: CREATE TABLE table_2351952_1 (numbers VARCHAR, order_number VARCHAR) [/INST] ### Response: SELECT numbers FROM table_2351952_1 WHERE order_number = "713096-713119" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The numbers 801-812 are in which country? ### Context: CREATE TABLE table_2351952_1 (country VARCHAR, numbers VARCHAR) [/INST] ### Response: SELECT country FROM table_2351952_1 WHERE numbers = "801-812" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 country has the order number 711871-711880? ### Context: CREATE TABLE table_2351952_1 (country VARCHAR, order_number VARCHAR) [/INST] ### Response: SELECT country FROM table_2351952_1 WHERE order_number = "711871-711880" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The serial numbers 713096-713119 are in which country? ### Context: CREATE TABLE table_2351952_1 (country VARCHAR, serial_numbers VARCHAR) [/INST] ### Response: SELECT country FROM table_2351952_1 WHERE serial_numbers = "713096-713119" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The order number 713726-713735 has what serial number? ### Context: CREATE TABLE table_2351952_1 (serial_numbers VARCHAR, order_number VARCHAR) [/INST] ### Response: SELECT serial_numbers FROM table_2351952_1 WHERE order_number = "713726-713735" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 railroads have the numbers 864-873? ### Context: CREATE TABLE table_2351952_1 (railroad VARCHAR, numbers VARCHAR) [/INST] ### Response: SELECT COUNT(railroad) FROM table_2351952_1 WHERE numbers = "864-873" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of Linroy Bottoson's victim? ### Context: CREATE TABLE table_23546266_1 (victim_s_ VARCHAR, executed_person VARCHAR) [/INST] ### Response: SELECT victim_s_ FROM table_23546266_1 WHERE executed_person = "Linroy Bottoson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the name of the couple if the number of dances is 6? ### Context: CREATE TABLE table_23662272_4 (couple VARCHAR, number_of_dances VARCHAR) [/INST] ### Response: SELECT couple FROM table_23662272_4 WHERE number_of_dances = 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 is the name of the couple if the total points earned is 161? ### Context: CREATE TABLE table_23662272_4 (couple VARCHAR, total_points_earned VARCHAR) [/INST] ### Response: SELECT couple FROM table_23662272_4 WHERE total_points_earned = 161 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total points earned total number if the average is 21.3? ### Context: CREATE TABLE table_23662272_4 (total_points_earned VARCHAR, average VARCHAR) [/INST] ### Response: SELECT COUNT(total_points_earned) FROM table_23662272_4 WHERE average = "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 is the number of dances total number if the average is 22.3? ### Context: CREATE TABLE table_23662272_4 (number_of_dances VARCHAR, average VARCHAR) [/INST] ### Response: SELECT COUNT(number_of_dances) FROM table_23662272_4 WHERE average = "22.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: Name the player that is 1.85 m ### Context: CREATE TABLE table_23670057_6 (player VARCHAR, height__m_ VARCHAR) [/INST] ### Response: SELECT player FROM table_23670057_6 WHERE height__m_ = "1.85" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height of demond greene ### Context: CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT height__f_ FROM table_23670057_6 WHERE player = "Demond Greene" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height for the player born 1989 and height 2.11 ### Context: CREATE TABLE table_23670057_6 (height__f_ VARCHAR, year_born VARCHAR, height__m_ VARCHAR) [/INST] ### Response: SELECT height__f_ FROM table_23670057_6 WHERE year_born = 1989 AND height__m_ = "2.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: Name the height for the player born in 1981 ### Context: CREATE TABLE table_23670057_6 (height__m_ VARCHAR, year_born VARCHAR) [/INST] ### Response: SELECT height__m_ FROM table_23670057_6 WHERE year_born = 1981 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 height for steffen hamann ### Context: CREATE TABLE table_23670057_6 (height__f_ VARCHAR, player VARCHAR) [/INST] ### Response: SELECT height__f_ FROM table_23670057_6 WHERE player = "Steffen Hamann" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 whose director is Karen Gaviola? ### Context: CREATE TABLE table_23799653_1 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_23799653_1 WHERE directed_by = "Karen Gaviola" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode viewed by 10.50 millions of people in the US run for the first time? ### Context: CREATE TABLE table_23799653_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_23799653_1 WHERE us_viewers__millions_ = "10.50" </s>