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 date did the episode, with John O'Connell as the coach, premier? ### Context: CREATE TABLE table_2140071_5 (premier_date VARCHAR, coach VARCHAR) [/INST] ### Response: SELECT premier_date FROM table_2140071_5 WHERE coach = "John O'Connell" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result for total attendance-regular season ### Context: CREATE TABLE table_21436373_11 (result_games VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_11 WHERE type_of_record = "Total attendance-Regular season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result/games for 52521 ### Context: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_11 WHERE attendance = 52521 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result/games for 54530 ### Context: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_11 WHERE attendance = 54530 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 stadium for regular season game ### Context: CREATE TABLE table_21436373_11 (stadium VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_11 WHERE type_of_record = "Regular season game" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the result/games for 54741 ### Context: CREATE TABLE table_21436373_11 (result_games VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_11 WHERE attendance = 54741 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: give the 1st leg score against ilisiakos ### Context: CREATE TABLE table_21434618_1 (team__number2 VARCHAR) [/INST] ### Response: SELECT 1 AS st_leg FROM table_21434618_1 WHERE team__number2 = "Ilisiakos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which team #1 played again chalkida ### Context: CREATE TABLE table_21434618_1 (team__number1 VARCHAR, team__number2 VARCHAR) [/INST] ### Response: SELECT team__number1 FROM table_21434618_1 WHERE team__number2 = "Chalkida" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: which team#2 played against poseidon neoi porroi ### Context: CREATE TABLE table_21434618_1 (team__number2 VARCHAR, team__number1 VARCHAR) [/INST] ### Response: SELECT team__number2 FROM table_21434618_1 WHERE team__number1 = "Poseidon Neoi Porroi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pre-season game record achieved? ### Context: CREATE TABLE table_21436373_10 (date_year VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT date_year FROM table_21436373_10 WHERE type_of_record = "Pre-season game" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximal number of people that attended any of these games? ### Context: CREATE TABLE table_21436373_10 (attendance INTEGER) [/INST] ### Response: SELECT MAX(attendance) FROM table_21436373_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 attendance in 2011 records ### Context: CREATE TABLE table_21436373_12 (attendance VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT attendance FROM table_21436373_12 WHERE date_year = "2011" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of record was made where result/games is 10 games (29,606 avg.) ### Context: CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 total attendance-regular season record made ### Context: CREATE TABLE table_21436373_12 (stadium VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sun 09/12/93 record made ### Context: CREATE TABLE table_21436373_12 (stadium VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_12 WHERE date_year = "Sun 09/12/93" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 records had result/games: 10 games (29,606 avg.) ### Context: CREATE TABLE table_21436373_12 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT COUNT(type_of_record) FROM table_21436373_12 WHERE result_games = "10 games (29,606 avg.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance for a total attendance-regular season record ### Context: CREATE TABLE table_21436373_12 (attendance INTEGER, type_of_record VARCHAR) [/INST] ### Response: SELECT MAX(attendance) FROM table_21436373_12 WHERE type_of_record = "Total attendance-Regular season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2005 is the date/year how many measurements of attendance are there? ### Context: CREATE TABLE table_21436373_7 (attendance VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_21436373_7 WHERE date_year = "2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 27585 is the attendance what are the results of the games? ### Context: CREATE TABLE table_21436373_7 (result_games VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_7 WHERE attendance = 27585 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 9 games (28,002 avg.) is the results of the games what is the date/year? ### Context: CREATE TABLE table_21436373_7 (date_year VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT date_year FROM table_21436373_7 WHERE result_games = "9 games (28,002 avg.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 255627 is the attendance what is the stadium? ### Context: CREATE TABLE table_21436373_7 (stadium VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_7 WHERE attendance = 255627 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record was set on Tue 11/02/75? ### Context: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_8 WHERE date_year = "Tue 11/02/75" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record was set when the result/game was equal to 9 games (28,595 avg.) ### Context: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_8 WHERE result_games = "9 games (28,595 avg.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 record was set when the result/game was montreal 20 @ ottawa 10? ### Context: CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 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: Which stadium had the result/game montreal 20 @ ottawa 10? ### Context: CREATE TABLE table_21436373_8 (stadium VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 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: For what year is the type of record 'total attendance-regular season? ### Context: CREATE TABLE table_21436373_5 (date_year VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT date_year FROM table_21436373_5 WHERE type_of_record = "Total attendance-Regular season" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of record is the result of the game Montreal 31 @ Calgary 32? ### Context: CREATE TABLE table_21436373_5 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_5 WHERE result_games = "Montreal 31 @ Calgary 32" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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/s has attendance been 45010? ### Context: CREATE TABLE table_21436373_5 (date_year VARCHAR, attendance VARCHAR) [/INST] ### Response: SELECT date_year FROM table_21436373_5 WHERE attendance = 45010 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 attendance with the pre-season game as the type of record? ### Context: CREATE TABLE table_21436373_6 (attendance VARCHAR, type_of_record VARCHAR) [/INST] ### Response: SELECT COUNT(attendance) FROM table_21436373_6 WHERE type_of_record = "Pre-season game" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 type of record has result/games of 9 games (57,144 avg.) ### Context: CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_6 WHERE result_games = "9 games (57,144 avg.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the result/games of Sun 11/28/10 as the date/year? ### Context: CREATE TABLE table_21436373_6 (result_games VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT result_games FROM table_21436373_6 WHERE date_year = "Sun 11/28/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: Which stadium has the date/year of Fri 06/25/82? ### Context: CREATE TABLE table_21436373_6 (stadium VARCHAR, date_year VARCHAR) [/INST] ### Response: SELECT stadium FROM table_21436373_6 WHERE date_year = "Fri 06/25/82" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Which type of record has result/games of b.c. 16 @ edmonton 22? ### Context: CREATE TABLE table_21436373_6 (type_of_record VARCHAR, result_games VARCHAR) [/INST] ### Response: SELECT type_of_record FROM table_21436373_6 WHERE result_games = "B.C. 16 @ Edmonton 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 was the populati in 2000 for Panlicsian? ### Context: CREATE TABLE table_2144436_1 (population__2000_ INTEGER, barangay VARCHAR) [/INST] ### Response: SELECT MIN(population__2000_) FROM table_2144436_1 WHERE barangay = "Panlicsian" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 population in 2010 for Minane ### Context: CREATE TABLE table_2144436_1 (population__2010_ INTEGER, barangay VARCHAR) [/INST] ### Response: SELECT MAX(population__2010_) FROM table_2144436_1 WHERE barangay = "Minane" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2007 population for Corazon de Jesus? ### Context: CREATE TABLE table_2144436_1 (population__2007_ VARCHAR, barangay VARCHAR) [/INST] ### Response: SELECT population__2007_ FROM table_2144436_1 WHERE barangay = "Corazon De Jesus" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2010 population when the 2000 population is 5720? ### Context: CREATE TABLE table_2144436_1 (population__2010_ INTEGER, population__2000_ VARCHAR) [/INST] ### Response: SELECT MAX(population__2010_) FROM table_2144436_1 WHERE population__2000_ = 5720 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 romaji by your side ~hikari's theme~ (popup.version) ### Context: CREATE TABLE table_2144389_8 (rōmaji VARCHAR, japanese_translation VARCHAR) [/INST] ### Response: SELECT rōmaji FROM table_2144389_8 WHERE japanese_translation = "By Your Side ~Hikari's Theme~ (PopUp.Version)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vocalist for kaze no messēji (pokapoka-version) ### Context: CREATE TABLE table_2144389_8 (vocalist VARCHAR, rōmaji VARCHAR) [/INST] ### Response: SELECT vocalist FROM table_2144389_8 WHERE rōmaji = "Kaze no Messēji (PokaPoka-Version)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number for 君のそばで~ヒカリのテーマ~(popup.version) ### Context: CREATE TABLE table_2144389_8 (_number INTEGER, japanese_title VARCHAR) [/INST] ### Response: SELECT MIN(_number) FROM table_2144389_8 WHERE japanese_title = "君のそばで~ヒカリのテーマ~(PopUp.Version)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vocalists for which one ~ is it? ### Context: CREATE TABLE table_2144389_8 (vocalist VARCHAR, japanese_translation VARCHAR) [/INST] ### Response: SELECT COUNT(vocalist) FROM table_2144389_8 WHERE japanese_translation = "Which One ~ Is It?" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 to par for 20 feb 2005 ### Context: CREATE TABLE table_21469545_2 (to_par VARCHAR, date VARCHAR) [/INST] ### Response: SELECT to_par FROM table_21469545_2 WHERE date = "20 Feb 2005" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for margin of victory being 3 strokes ### Context: CREATE TABLE table_21469545_2 (no VARCHAR, margin_of_victory VARCHAR) [/INST] ### Response: SELECT COUNT(no) FROM table_21469545_2 WHERE margin_of_victory = "3 strokes" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 winning score for 8 feb 2009 ### Context: CREATE TABLE table_21469545_2 (winning_score VARCHAR, date VARCHAR) [/INST] ### Response: SELECT COUNT(winning_score) FROM table_21469545_2 WHERE date = "8 Feb 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 published the title in the pet-raising simulator genre? ### Context: CREATE TABLE table_21458142_1 (publisher VARCHAR, genre VARCHAR) [/INST] ### Response: SELECT publisher FROM table_21458142_1 WHERE genre = "Pet-raising simulator" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sales breakdown for Nintendo's Mario Kart DS? ### Context: CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, title VARCHAR) [/INST] ### Response: SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND title = "Mario Kart DS" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 copies were sold of the game released on october 23, 2008? ### Context: CREATE TABLE table_21458142_1 (total_copies_sold VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT total_copies_sold FROM table_21458142_1 WHERE release_date = "October 23, 2008" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the sales breakdown of the Nintendo game released on May 15, 2006? ### Context: CREATE TABLE table_21458142_1 (sales_breakdown VARCHAR, publisher VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT sales_breakdown FROM table_21458142_1 WHERE publisher = "Nintendo" AND release_date = "May 15, 2006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most races ### Context: CREATE TABLE table_21457754_2 (races INTEGER) [/INST] ### Response: SELECT MAX(races) FROM table_21457754_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the most rr 1 pts ### Context: CREATE TABLE table_21457754_2 (rr1_pts INTEGER) [/INST] ### Response: SELECT MAX(rr1_pts) FROM table_21457754_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of total pts for gbr challenge ### Context: CREATE TABLE table_21457754_2 (total_pts VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT COUNT(total_pts) FROM table_21457754_2 WHERE team_name = "GBR Challenge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of second place finishes when the city & nation was Chicago, USA? ### Context: CREATE TABLE table_2146364_2 (second_place VARCHAR, city_ VARCHAR, _nation VARCHAR) [/INST] ### Response: SELECT COUNT(second_place) FROM table_2146364_2 WHERE city_ & _nation = "Chicago, USA" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the total number of third place finishes when the city & nation was Vancouver, Canada? ### Context: CREATE TABLE table_2146364_2 (third_place INTEGER, city_ VARCHAR, _nation VARCHAR) [/INST] ### Response: SELECT MIN(third_place) FROM table_2146364_2 WHERE city_ & _nation = "Vancouver, Canada" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the smallest third place finish? ### Context: CREATE TABLE table_2146364_2 (third_place INTEGER) [/INST] ### Response: SELECT MIN(third_place) FROM table_2146364_2 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What change caused a change of staff in March 9, 1865? ### Context: CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 9, 1865" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 successor for the new seat? ### Context: CREATE TABLE table_2147588_3 (successor VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT successor FROM table_2147588_3 WHERE vacator = "New seat" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 reason for change in staff in formal installations on March 15, 1865? ### Context: CREATE TABLE table_2147588_3 (reason_for_change VARCHAR, date_of_successors_formal_installation VARCHAR) [/INST] ### Response: SELECT reason_for_change FROM table_2147588_3 WHERE date_of_successors_formal_installation = "March 15, 1865" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nathaniel g. taylor (u) is the successor what is the vacator? ### Context: CREATE TABLE table_2147588_4 (vacator VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT vacator FROM table_2147588_4 WHERE successor = "Nathaniel G. Taylor (U)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 william b. campbell (u) is the successor what is the district? ### Context: CREATE TABLE table_2147588_4 (district VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT district FROM table_2147588_4 WHERE successor = "William B. Campbell (U)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 james brooks (d) is the vacator what is the date the successor was seated? ### Context: CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, vacator VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2147588_4 WHERE vacator = "James Brooks (D)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When john w. leftwich (uu) is the successor what is the date the successor was seated? ### Context: CREATE TABLE table_2147588_4 (date_successor_seated VARCHAR, successor VARCHAR) [/INST] ### Response: SELECT date_successor_seated FROM table_2147588_4 WHERE successor = "John W. Leftwich (UU)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new york 8th is teh district who is the successor? ### Context: CREATE TABLE table_2147588_4 (successor VARCHAR, district VARCHAR) [/INST] ### Response: SELECT successor FROM table_2147588_4 WHERE district = "New York 8th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 20 is the rr4 points what is the lowest rr3 points? ### Context: CREATE TABLE table_21489362_2 (rr3_pts INTEGER, rr4_pts VARCHAR) [/INST] ### Response: SELECT MIN(rr3_pts) FROM table_21489362_2 WHERE rr4_pts = "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: When 70 is the total points what is the rr4 points? ### Context: CREATE TABLE table_21489362_2 (rr4_pts VARCHAR, total_pts VARCHAR) [/INST] ### Response: SELECT rr4_pts FROM table_21489362_2 WHERE total_pts = 70 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 3 is the rr1 points what is won score? ### Context: CREATE TABLE table_21489362_2 (won VARCHAR, rr1_pts VARCHAR) [/INST] ### Response: SELECT won FROM table_21489362_2 WHERE rr1_pts = 3 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When spanish challenge is the team name what are the rr1 points? ### Context: CREATE TABLE table_21489362_2 (rr1_pts VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT rr1_pts FROM table_21489362_2 WHERE team_name = "Spanish Challenge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 innings for 5088 runs scored ### Context: CREATE TABLE table_21486890_1 (innings VARCHAR, runs_scored VARCHAR) [/INST] ### Response: SELECT COUNT(innings) FROM table_21486890_1 WHERE runs_scored = 5088 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 matches for mark taylor category:articles with hcards ### Context: CREATE TABLE table_21486890_1 (matches INTEGER, name VARCHAR) [/INST] ### Response: SELECT MAX(matches) FROM table_21486890_1 WHERE name = "Mark Taylor Category:Articles with hCards" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 most runs scored ### Context: CREATE TABLE table_21486890_1 (runs_scored INTEGER) [/INST] ### Response: SELECT MAX(runs_scored) FROM table_21486890_1 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the least matches for not out being 44 ### Context: CREATE TABLE table_21486890_1 (matches INTEGER, not_out VARCHAR) [/INST] ### Response: SELECT MIN(matches) FROM table_21486890_1 WHERE not_out = 44 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nation was Pageos 1 from? ### Context: CREATE TABLE table_2150068_1 (nation VARCHAR, satellite VARCHAR) [/INST] ### Response: SELECT nation FROM table_2150068_1 WHERE satellite = "PAGEOS 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the launch date for the sattelite with ado that was 4 kg and 3 meters in diameter? ### Context: CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, diameter_m_ VARCHAR, usage VARCHAR, mass_kg_ VARCHAR) [/INST] ### Response: SELECT launch_date__utc_ FROM table_2150068_1 WHERE usage = "ado" AND mass_kg_ = "4" AND diameter_m_ = "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 was the decay for the sattelite that was 180 kg? ### Context: CREATE TABLE table_2150068_1 (decay VARCHAR, mass_kg_ VARCHAR) [/INST] ### Response: SELECT decay FROM table_2150068_1 WHERE mass_kg_ = "180" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the nssdc id for Echo 1? ### Context: CREATE TABLE table_2150068_1 (nssdc_id VARCHAR, satellite VARCHAR) [/INST] ### Response: SELECT nssdc_id FROM table_2150068_1 WHERE satellite = "Echo 1" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the launch date for the sattelite with a nssdc id of 1960-009a? ### Context: CREATE TABLE table_2150068_1 (launch_date__utc_ VARCHAR, nssdc_id VARCHAR) [/INST] ### Response: SELECT launch_date__utc_ FROM table_2150068_1 WHERE nssdc_id = "1960-009A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 decay for the sattelite with an id that is 1990-081c? ### Context: CREATE TABLE table_2150068_1 (decay VARCHAR, nssdc_id VARCHAR) [/INST] ### Response: SELECT decay FROM table_2150068_1 WHERE nssdc_id = "1990-081C" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song titles belong to the artist Ratt? ### Context: CREATE TABLE table_21500850_1 (song_title VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT COUNT(song_title) FROM table_21500850_1 WHERE artist = "Ratt" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original game for the artist Lynyrd Skynyrd? ### Context: CREATE TABLE table_21500850_1 (original_game VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT original_game FROM table_21500850_1 WHERE artist = "Lynyrd Skynyrd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song title for the rock genre and Guitar Hero as original game and the artist is Queens of the Stone Age? ### Context: CREATE TABLE table_21500850_1 (song_title VARCHAR, artist VARCHAR, genre VARCHAR, original_game VARCHAR) [/INST] ### Response: SELECT song_title FROM table_21500850_1 WHERE genre = "Rock" AND original_game = "Guitar Hero" AND artist = "Queens of the Stone Age" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 song title for 2007? ### Context: CREATE TABLE table_21500850_1 (song_title VARCHAR, year VARCHAR) [/INST] ### Response: SELECT song_title FROM table_21500850_1 WHERE year = 2007 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was Lambert's song choice in the top 13? ### Context: CREATE TABLE table_21501511_1 (song_choice VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_21501511_1 WHERE week__number = "Top 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: What order did Lambert perform in the top 11? ### Context: CREATE TABLE table_21501511_1 (order__number VARCHAR, week__number VARCHAR) [/INST] ### Response: SELECT order__number FROM table_21501511_1 WHERE week__number = "Top 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 week was themed disco? ### Context: CREATE TABLE table_21501511_1 (week__number VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT week__number FROM table_21501511_1 WHERE theme = "Disco" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week #(s featured sara bareilles as the original artist? ### Context: CREATE TABLE table_21501564_1 (week__number VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT week__number FROM table_21501564_1 WHERE original_artist = "Sara Bareilles" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 week # featured first solo as the theme? ### Context: CREATE TABLE table_21501564_1 (week__number VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT week__number FROM table_21501564_1 WHERE theme = "First Solo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many weeks featured duffy as the original artist? ### Context: CREATE TABLE table_21501564_1 (theme VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT COUNT(theme) FROM table_21501564_1 WHERE original_artist = "Duffy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 originally artist when Jasmine Murray was selected? ### Context: CREATE TABLE table_21501564_1 (original_artist VARCHAR, result VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_21501564_1 WHERE result = "Selected" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With theme the Year They Were Born, what is the song of choice? ### Context: CREATE TABLE table_21501565_1 (song_choice VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With order number 7 and the theme is Motown, who were the original artists? ### Context: CREATE TABLE table_21501565_1 (original_artist VARCHAR, order__number VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_21501565_1 WHERE order__number = "7" AND theme = "Motown" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With an original artist names Bette Midler, what is the order number? ### Context: CREATE TABLE table_21501565_1 (order__number VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT COUNT(order__number) FROM table_21501565_1 WHERE original_artist = "Bette Midler" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: With original artist of Tina Turner, what is the week number? ### Context: CREATE TABLE table_21501565_1 (week__number VARCHAR, original_artist VARCHAR) [/INST] ### Response: SELECT week__number FROM table_21501565_1 WHERE original_artist = "Tina Turner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the original artist with a theme of N/A? ### Context: CREATE TABLE table_21501565_1 (original_artist VARCHAR, theme VARCHAR) [/INST] ### Response: SELECT original_artist FROM table_21501565_1 WHERE theme = "N/A" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 june 16 jeff gordon ### Context: CREATE TABLE table_2150776_1 (team VARCHAR, date VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_2150776_1 WHERE date = "June 16" AND driver = "Jeff Gordon" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 driver for 200 laps 1997 ### Context: CREATE TABLE table_2150776_1 (driver VARCHAR, laps VARCHAR, year VARCHAR) [/INST] ### Response: SELECT driver FROM table_2150776_1 WHERE laps = "200" AND year = "1997" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ricky rudd ### Context: CREATE TABLE table_2150776_1 (team VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT team FROM table_2150776_1 WHERE driver = "Ricky Rudd" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank when RR2 has 4 points? ### Context: CREATE TABLE table_21515673_2 (ranking VARCHAR, rr2_pts VARCHAR) [/INST] ### Response: SELECT ranking FROM table_21515673_2 WHERE rr2_pts = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many points does Swedish America's Cup Challenge have for rr1? ### Context: CREATE TABLE table_21515673_2 (rr1_pts VARCHAR, team_name VARCHAR) [/INST] ### Response: SELECT COUNT(rr1_pts) FROM table_21515673_2 WHERE team_name = "Swedish America's Cup Challenge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 senior US senator in the state whose governor was D. Patrick? ### Context: CREATE TABLE table_21531764_2 (senior_us_senator VARCHAR, governor VARCHAR) [/INST] ### Response: SELECT senior_us_senator FROM table_21531764_2 WHERE governor = "D. Patrick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lower house majority in the state whose Senior senator is J. Shaheen? ### Context: CREATE TABLE table_21531764_2 (lower_house_majority VARCHAR, senior_us_senator VARCHAR) [/INST] ### Response: SELECT lower_house_majority FROM table_21531764_2 WHERE senior_us_senator = "J. Shaheen" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is every name for time(cet) of 09:58? ### Context: CREATE TABLE table_21536557_2 (name VARCHAR, time__cet_ VARCHAR) [/INST] ### Response: SELECT name FROM table_21536557_2 WHERE time__cet_ = "09:58" </s>