text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are all the Riders whose best-conditioned horse is Basia? ### Context: CREATE TABLE table_27833186_1 (rider_names VARCHAR, best_conditioned_horse VARCHAR) [/INST] ### Response: SELECT rider_names FROM table_27833186_1 WHERE best_conditioned_horse = "Basia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the distance (in miles) of the championship were the winning horse was Koona? ### Context: CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, horse_name VARCHAR) [/INST] ### Response: SELECT distance__miles_ FROM table_27833186_1 WHERE horse_name = "Koona" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the winning riders of the championship in Euer Valley, CA and whose horse was Magic Sirocco? ### Context: CREATE TABLE table_27833186_1 (rider_names VARCHAR, location VARCHAR, horse_name VARCHAR) [/INST] ### Response: SELECT rider_names FROM table_27833186_1 WHERE location = "Euer Valley, CA" AND horse_name = "Magic Sirocco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 riders are there that won riding Omr Tsunami? ### Context: CREATE TABLE table_27833186_1 (rider_names VARCHAR, horse_name VARCHAR) [/INST] ### Response: SELECT COUNT(rider_names) FROM table_27833186_1 WHERE horse_name = "OMR Tsunami" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total distance (in miles) of the championship where the best conditioned horse was Freedom? ### Context: CREATE TABLE table_27833186_1 (distance__miles_ VARCHAR, best_conditioned_horse VARCHAR) [/INST] ### Response: SELECT distance__miles_ FROM table_27833186_1 WHERE best_conditioned_horse = "Freedom" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 series numbers are there when there were 15.8 u.s. viewers (millions)? ### Context: CREATE TABLE table_27833469_1 (series__number VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT COUNT(series__number) FROM table_27833469_1 WHERE us_viewers__millions_ = "15.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: What is the title of the episode number 11 of the season? ### Context: CREATE TABLE table_27833469_1 (title VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT title FROM table_27833469_1 WHERE season__number = "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 is the series number for the episode number 10 of the season? ### Context: CREATE TABLE table_27833469_1 (series__number VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT series__number FROM table_27833469_1 WHERE season__number = "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 are the the approximate translations when the Morphological Category is 1st. plur. perfect? ### Context: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) [/INST] ### Response: SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 approximate translations when the morphological category is masc. sing. active participle? ### Context: CREATE TABLE table_2784232_1 (approximate_translation VARCHAR, morphological_category VARCHAR) [/INST] ### Response: SELECT approximate_translation FROM table_2784232_1 WHERE morphological_category = "masc. sing. active participle" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hebrew forms are there for the arabic form yuktibu يكتب? ### Context: CREATE TABLE table_2784232_1 (hebrew_form VARCHAR, arabic_form VARCHAR) [/INST] ### Response: SELECT COUNT(hebrew_form) FROM table_2784232_1 WHERE arabic_form = "yuktibu يكتب" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Arabic forms are there for the 1st. plur. perfect category? ### Context: CREATE TABLE table_2784232_1 (arabic_form VARCHAR, morphological_category VARCHAR) [/INST] ### Response: SELECT COUNT(arabic_form) FROM table_2784232_1 WHERE morphological_category = "1st. plur. perfect" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 were the viewers (in millions) of the series no. 45? ### Context: CREATE TABLE table_27847088_1 (viewers__millions_ VARCHAR, series_no VARCHAR) [/INST] ### Response: SELECT viewers__millions_ FROM table_27847088_1 WHERE series_no = 45 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did UCLA's baseball team win with a score 7-6 during May of 2010? ### Context: CREATE TABLE table_27862483_4 (opponent VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(opponent) FROM table_27862483_4 WHERE score = "7-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: How many wins are listed when the first title is 2004? ### Context: CREATE TABLE table_27864661_6 (total_wins VARCHAR, first_title VARCHAR) [/INST] ### Response: SELECT total_wins FROM table_27864661_6 WHERE first_title = 2004 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 network was located in Illinois? ### Context: CREATE TABLE table_27871460_2 (network VARCHAR, state_or_territory VARCHAR) [/INST] ### Response: SELECT network FROM table_27871460_2 WHERE state_or_territory = "Illinois" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 channel number? ### Context: CREATE TABLE table_27871460_2 (channel_number INTEGER) [/INST] ### Response: SELECT MAX(channel_number) FROM table_27871460_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 state or territory had a channel number of exactly 7? ### Context: CREATE TABLE table_27871460_2 (state_or_territory VARCHAR, channel_number VARCHAR) [/INST] ### Response: SELECT state_or_territory FROM table_27871460_2 WHERE channel_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: Name the date for omni coliseum 10,330 ### Context: CREATE TABLE table_27882867_4 (date VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT date FROM table_27882867_4 WHERE location_attendance = "Omni Coliseum 10,330" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3 game ### Context: CREATE TABLE table_27882867_4 (location_attendance VARCHAR, game VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_27882867_4 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: Name the location attendance for l 93-105 ### Context: CREATE TABLE table_27882867_4 (location_attendance VARCHAR, score VARCHAR) [/INST] ### Response: SELECT location_attendance FROM table_27882867_4 WHERE score = "L 93-105" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 oakland-alameda county coliseum arena 15,025 ### Context: CREATE TABLE table_27882867_4 (record VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT record FROM table_27882867_4 WHERE location_attendance = "Oakland-Alameda County Coliseum Arena 15,025" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 games for w 112-94 ### Context: CREATE TABLE table_27882867_4 (game VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(game) FROM table_27882867_4 WHERE score = "W 112-94" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club in the sixth round proper ### Context: CREATE TABLE table_27876486_2 (clubs VARCHAR, round VARCHAR) [/INST] ### Response: SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 edition is 2011 europe/africa group iiib and surface where score is 6–4, 6–1 please specify all the surface ### Context: CREATE TABLE table_27877656_7 (surface VARCHAR, score VARCHAR, edition VARCHAR) [/INST] ### Response: SELECT surface FROM table_27877656_7 WHERE score = "6–4, 6–1" AND edition = "2011 Europe/Africa Group IIIB" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opponent is sandra kristjánsdóttir, outcome is winner and edition is 2009 europe/africa group iiib mention all the opponent team. ### Context: CREATE TABLE table_27877656_7 (opponent_team VARCHAR, opponent VARCHAR, edition VARCHAR, outcome VARCHAR) [/INST] ### Response: SELECT opponent_team FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND outcome = "Winner" AND opponent = "Sandra Kristjánsdóttir" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score 7–6 (7–3) , 6–4 please mention total number of outcome ### Context: CREATE TABLE table_27877656_7 (outcome VARCHAR, score VARCHAR) [/INST] ### Response: SELECT COUNT(outcome) FROM table_27877656_7 WHERE score = "7–6 (7–3) , 6–4" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: For armenia as opponent team and edition is 2009 europe/africa group iiib mention all the opponent ### Context: CREATE TABLE table_27877656_7 (opponent VARCHAR, edition VARCHAR, opponent_team VARCHAR) [/INST] ### Response: SELECT opponent FROM table_27877656_7 WHERE edition = "2009 Europe/Africa Group IIIB" AND opponent_team = "Armenia" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 score 6–2, 6–3 and outcome is loser mention all the edition. ### Context: CREATE TABLE table_27877656_7 (edition VARCHAR, outcome VARCHAR, score VARCHAR) [/INST] ### Response: SELECT edition FROM table_27877656_7 WHERE outcome = "Loser" AND score = "6–2, 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: who was the winner of uci rating cn? ### Context: CREATE TABLE table_27887723_1 (winner VARCHAR, uci_rating VARCHAR) [/INST] ### Response: SELECT winner FROM table_27887723_1 WHERE uci_rating = "CN" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 race name had a uci rating of cn? ### Context: CREATE TABLE table_27887723_1 (race_name VARCHAR, uci_rating VARCHAR) [/INST] ### Response: SELECT race_name FROM table_27887723_1 WHERE uci_rating = "CN" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has team trek-livestrong? ### Context: CREATE TABLE table_27887723_1 (location VARCHAR, team VARCHAR) [/INST] ### Response: SELECT location FROM table_27887723_1 WHERE team = "Trek-Livestrong" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who was the winner for souderton, pa? ### Context: CREATE TABLE table_27887723_1 (winner VARCHAR, location VARCHAR) [/INST] ### Response: SELECT winner FROM table_27887723_1 WHERE location = "Souderton, PA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the name of episode 120 in the series that Mike Rohl directed? ### Context: CREATE TABLE table_27892955_1 (title VARCHAR, directed_by VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT title FROM table_27892955_1 WHERE directed_by = "Mike Rohl" AND no_in_series = 120 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who wrote episode that had 1.97 million u.s. viewers? ### Context: CREATE TABLE table_27892955_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_27892955_1 WHERE us_viewers__million_ = "1.97" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode that had 2.02 million u.s. viewers? ### Context: CREATE TABLE table_27892955_1 (title VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT title FROM table_27892955_1 WHERE us_viewers__million_ = "2.02" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did they play on january 11? ### Context: CREATE TABLE table_27882867_6 (location_attendance VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(location_attendance) FROM table_27882867_6 WHERE date = "January 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 is every team with a record of 9-7? ### Context: CREATE TABLE table_27902171_5 (team VARCHAR, record VARCHAR) [/INST] ### Response: SELECT team FROM table_27902171_5 WHERE record = "9-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 people are high assists when location attendance is Seattle Center Coliseum 14,180? ### Context: CREATE TABLE table_27902171_5 (high_assists VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT COUNT(high_assists) FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,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 date with game 23? ### Context: CREATE TABLE table_27902171_5 (date VARCHAR, game VARCHAR) [/INST] ### Response: SELECT date FROM table_27902171_5 WHERE game = 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 is every team with location attendance of Seattle Center Coliseum 14,180? ### Context: CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT team FROM table_27902171_5 WHERE location_attendance = "Seattle Center Coliseum 14,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 team with location attendance of Arco Arena 17,014? ### Context: CREATE TABLE table_27902171_5 (team VARCHAR, location_attendance VARCHAR) [/INST] ### Response: SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 opposition where the field is waldstadion during time 6 ### Context: CREATE TABLE table_27893892_2 (opponent VARCHAR, game_site VARCHAR, week VARCHAR) [/INST] ### Response: SELECT opponent FROM table_27893892_2 WHERE game_site = "Waldstadion" AND week = 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 location for saturday, april 21 ### Context: CREATE TABLE table_27893892_2 (game_site VARCHAR, date VARCHAR) [/INST] ### Response: SELECT game_site FROM table_27893892_2 WHERE date = "Saturday, April 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: what was the participation for saturday, may 12 ### Context: CREATE TABLE table_27893892_2 (attendance INTEGER, date VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_27893892_2 WHERE date = "Saturday, May 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: what was the achievement for the rival at scottish claymores ### Context: CREATE TABLE table_27893892_2 (team_record VARCHAR, opponent VARCHAR) [/INST] ### Response: SELECT team_record FROM table_27893892_2 WHERE opponent = "at Scottish Claymores" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many legs were lost when the high checkout was 101? ### Context: CREATE TABLE table_27906667_2 (legs_lost VARCHAR, high_checkout VARCHAR) [/INST] ### Response: SELECT COUNT(legs_lost) FROM table_27906667_2 WHERE high_checkout = 101 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 legs were own by alan tabern? ### Context: CREATE TABLE table_27906667_2 (legs_won INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(legs_won) FROM table_27906667_2 WHERE player = "Alan Tabern" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 36-29 record ### Context: CREATE TABLE table_27902171_8 (team VARCHAR, record VARCHAR) [/INST] ### Response: SELECT team FROM table_27902171_8 WHERE record = "36-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: Name the total number of high asists for 34-27 ### Context: CREATE TABLE table_27902171_8 (high_assists VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(high_assists) FROM table_27902171_8 WHERE record = "34-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: Name the date for score of w 112-91 ### Context: CREATE TABLE table_27902171_8 (date VARCHAR, score VARCHAR) [/INST] ### Response: SELECT date FROM table_27902171_8 WHERE score = "W 112-91" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of location attendance for 36-29 record ### Context: CREATE TABLE table_27902171_8 (location_attendance VARCHAR, record VARCHAR) [/INST] ### Response: SELECT COUNT(location_attendance) FROM table_27902171_8 WHERE record = "36-29" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who wrote the episode having a US viewership of 3.74 million? ### Context: CREATE TABLE table_27905664_1 (written_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_27905664_1 WHERE us_viewers__million_ = "3.74" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed production code 3x6116? ### Context: CREATE TABLE table_27905664_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_27905664_1 WHERE production_code = "3X6116" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many episode numbers had US viewership of 4.26 million? ### Context: CREATE TABLE table_27905664_1 (COUNT VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT COUNT AS № FROM table_27905664_1 WHERE us_viewers__million_ = "4.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: What episode number had US viewership of 4.87 million? ### Context: CREATE TABLE table_27905664_1 (№ VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT № FROM table_27905664_1 WHERE us_viewers__million_ = "4.87" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Ken Fink? ### Context: CREATE TABLE table_27905664_1 (_number VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(_number) FROM table_27905664_1 WHERE directed_by = "Ken Fink" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What date did the episode with 8.28 million u.s. viewers originally air? ### Context: CREATE TABLE table_27910411_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_27910411_1 WHERE us_viewers__millions_ = "8.28" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many items are listed for U.S. viewers for episode number 5 in the series? ### Context: CREATE TABLE table_27910411_1 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT COUNT(us_viewers__millions_) FROM table_27910411_1 WHERE no_in_series = 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 date did episode 10 in the series originally air? ### Context: CREATE TABLE table_27910411_1 (original_air_date VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_27910411_1 WHERE no_in_series = 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 season number of the show written by both Kari Lizer and Jeff Astrof? ### Context: CREATE TABLE table_27911342_1 (season__number VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT COUNT(season__number) FROM table_27911342_1 WHERE written_by = "Kari Lizer" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Series 40 Season 5 show? ### Context: CREATE TABLE table_27911342_1 (title VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT title FROM table_27911342_1 WHERE season__number = 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: Name the callsign for davao mindanao region ### Context: CREATE TABLE table_27914076_1 (callsign VARCHAR, coverage VARCHAR) [/INST] ### Response: SELECT callsign FROM table_27914076_1 WHERE coverage = "Davao Mindanao Region" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 power for dymd-fm ### Context: CREATE TABLE table_27914076_1 (power_kw VARCHAR, callsign VARCHAR) [/INST] ### Response: SELECT power_kw FROM table_27914076_1 WHERE callsign = "DYMD-FM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 frequency for 103.7 energy fm dipolog* ### Context: CREATE TABLE table_27914076_1 (frequency VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT frequency FROM table_27914076_1 WHERE branding = "103.7 Energy FM Dipolog*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 coverage for 106.7 energy fm ### Context: CREATE TABLE table_27914076_1 (coverage VARCHAR, branding VARCHAR) [/INST] ### Response: SELECT COUNT(coverage) FROM table_27914076_1 WHERE branding = "106.7 Energy FM" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the episode in the season that had 7.19 millions of north american viewers? ### Context: CREATE TABLE table_27914606_1 (season__number VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT season__number FROM table_27914606_1 WHERE us_viewers__millions_ = "7.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 is the name of the episode whose writers were jeff astrof & matt goldman? ### Context: CREATE TABLE table_27914606_1 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who were the writers of the episode that had 5.56 millions of north american viewers? ### Context: CREATE TABLE table_27914606_1 (written_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT written_by FROM table_27914606_1 WHERE us_viewers__millions_ = "5.56" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the average for the player with 313 runs? ### Context: CREATE TABLE table_27922491_11 (average VARCHAR, runs VARCHAR) [/INST] ### Response: SELECT average FROM table_27922491_11 WHERE runs = 313 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 few runs does the 97.00 average have? ### Context: CREATE TABLE table_27922491_11 (runs INTEGER, average VARCHAR) [/INST] ### Response: SELECT MIN(runs) FROM table_27922491_11 WHERE average = "97.00" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the minimum number of 50s scored? ### Context: CREATE TABLE table_27922491_24 (Id VARCHAR) [/INST] ### Response: SELECT MIN(50 AS s) FROM table_27922491_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 4wi were recorded by the player with an economy of 4.17? ### Context: CREATE TABLE table_27922491_20 (economy VARCHAR) [/INST] ### Response: SELECT 4 AS wi FROM table_27922491_20 WHERE economy = "4.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 is the fewest number of wickets recorded? ### Context: CREATE TABLE table_27922491_20 (wickets INTEGER) [/INST] ### Response: SELECT MIN(wickets) FROM table_27922491_20 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the BBI for the bowler whose average is 24.50? ### Context: CREATE TABLE table_27922491_20 (bbi VARCHAR, average VARCHAR) [/INST] ### Response: SELECT bbi FROM table_27922491_20 WHERE average = "24.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 is the least amount of wickets? ### Context: CREATE TABLE table_27922491_8 (wickets INTEGER) [/INST] ### Response: SELECT MIN(wickets) FROM table_27922491_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: What is the least amount of matches? ### Context: CREATE TABLE table_27922491_8 (matches INTEGER) [/INST] ### Response: SELECT MIN(matches) FROM table_27922491_8 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many players had 12 wickets? ### Context: CREATE TABLE table_27922491_8 (player VARCHAR, wickets VARCHAR) [/INST] ### Response: SELECT COUNT(player) FROM table_27922491_8 WHERE wickets = 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 innings for the player with an average of 30.03? ### Context: CREATE TABLE table_27922491_8 (innings INTEGER, average VARCHAR) [/INST] ### Response: SELECT MIN(innings) FROM table_27922491_8 WHERE average = "30.03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 player with BBM 5/85? ### Context: CREATE TABLE table_27922491_8 (average VARCHAR, bbm VARCHAR) [/INST] ### Response: SELECT average FROM table_27922491_8 WHERE bbm = "5/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: What is the lowest episode number that had 4.03 million viewers? ### Context: CREATE TABLE table_27927185_1 (episode__number INTEGER, viewers__millions_ VARCHAR) [/INST] ### Response: SELECT MIN(episode__number) FROM table_27927185_1 WHERE viewers__millions_ = "4.03" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 million viewers watched episodes prior to episode 2.0? ### Context: CREATE TABLE table_27927185_1 (viewers__millions_ VARCHAR, episode__number INTEGER) [/INST] ### Response: SELECT viewers__millions_ FROM table_27927185_1 WHERE episode__number < 2.0 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the original air-date that had 4.77 million viewers? ### Context: CREATE TABLE table_27927185_1 (originalairdate VARCHAR, viewers__millions_ VARCHAR) [/INST] ### Response: SELECT originalairdate FROM table_27927185_1 WHERE viewers__millions_ = "4.77" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who directed the episode with 6.37 million viewers? ### Context: CREATE TABLE table_27927185_1 (directed_by VARCHAR, viewers__millions_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_27927185_1 WHERE viewers__millions_ = "6.37" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date of catalogue number DW023? ### Context: CREATE TABLE table_27932399_1 (release_date INTEGER, catalogue_number VARCHAR) [/INST] ### Response: SELECT MAX(release_date) FROM table_27932399_1 WHERE catalogue_number = "DW023" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 release date of "New Worlds for Old"? ### Context: CREATE TABLE table_27932399_1 (release_date VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT release_date FROM table_27932399_1 WHERE release_title = "New Worlds For Old" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalogue number for "Waves in the Air"? ### Context: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT catalogue_number FROM table_27932399_1 WHERE release_title = "Waves In The Air" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 catalogue number for release dates of exactly 2005 and released by The Clear Spots? ### Context: CREATE TABLE table_27932399_1 (catalogue_number VARCHAR, release_date VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT catalogue_number FROM table_27932399_1 WHERE release_date = 2005 AND artist = "The Clear Spots" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which artist had a release title of HH? ### Context: CREATE TABLE table_27932399_1 (artist VARCHAR, release_title VARCHAR) [/INST] ### Response: SELECT artist FROM table_27932399_1 WHERE release_title = "HH" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 album released by Heavy Winged? ### Context: CREATE TABLE table_27932399_1 (release_title VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT release_title FROM table_27932399_1 WHERE artist = "Heavy Winged" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the dual television commentator in 1990? ### Context: CREATE TABLE table_2794180_11 (Dual VARCHAR, year_s_ VARCHAR) [/INST] ### Response: SELECT Dual AS television_commentator FROM table_2794180_11 WHERE year_s_ = 1990 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 made the comments for radio broadcast when Jan Gabrielsson made them for television broadcast? ### Context: CREATE TABLE table_2794180_11 (radio_commentator VARCHAR, television_commentator VARCHAR) [/INST] ### Response: SELECT radio_commentator FROM table_2794180_11 WHERE television_commentator = "Jan Gabrielsson" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 moto2 winners for laguna seca ### Context: CREATE TABLE table_27948565_1 (moto2_winner VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(moto2_winner) FROM table_27948565_1 WHERE circuit = "Laguna Seca" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 circuit for hertz british grand prix ### Context: CREATE TABLE table_27948565_1 (circuit VARCHAR, grand_prix VARCHAR) [/INST] ### Response: SELECT circuit FROM table_27948565_1 WHERE grand_prix = "Hertz British grand_prix" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of rounds for brno ### Context: CREATE TABLE table_27948565_1 (round VARCHAR, circuit VARCHAR) [/INST] ### Response: SELECT COUNT(round) FROM table_27948565_1 WHERE circuit = "Brno" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 motogp winner for 6 may ### Context: CREATE TABLE table_27948565_1 (motogp_winner VARCHAR, date VARCHAR) [/INST] ### Response: SELECT motogp_winner FROM table_27948565_1 WHERE date = "6 May" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 b winning car for #88 team mitsubishi 88 mitsubishi starion ### Context: CREATE TABLE table_27965906_2 (b_winning_car VARCHAR, a_winning_car VARCHAR) [/INST] ### Response: SELECT b_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gt winning car for #88 team mitsubishi 88 mitsubishi starion ### Context: CREATE TABLE table_27965906_2 (gt_winning_car VARCHAR, a_winning_car VARCHAR) [/INST] ### Response: SELECT gt_winning_car FROM table_27965906_2 WHERE a_winning_car = "#88 Team Mitsubishi 88 Mitsubishi Starion" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ss winning car for road atlanta and #35 quantum engineering #35 honda crx-si ### Context: CREATE TABLE table_27965906_2 (ss_winning_car VARCHAR, circuit VARCHAR, b_winning_car VARCHAR) [/INST] ### Response: SELECT ss_winning_car FROM table_27965906_2 WHERE circuit = "Road Atlanta" AND b_winning_car = "#35 Quantum Engineering #35 Honda CRX-Si" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rnd for kim baker, bobby archer, tommy archer ### Context: CREATE TABLE table_27965906_2 (rnd VARCHAR, ss_winning_car VARCHAR) [/INST] ### Response: SELECT COUNT(rnd) FROM table_27965906_2 WHERE ss_winning_car = "Kim Baker, Bobby Archer, Tommy Archer" </s>