text
stringlengths
380
1.33k
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: name the podiums for start of 22 ### Context: CREATE TABLE table_2725949_6 (podiums VARCHAR, starts VARCHAR) [/INST] ### Response: SELECT podiums FROM table_2725949_6 WHERE starts = 22 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of poles for fastest laps being 6 ### Context: CREATE TABLE table_2725949_6 (poles VARCHAR, fastest_laps VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_2725949_6 WHERE fastest_laps = 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: Name the least podiums for 2009 ### Context: CREATE TABLE table_2725949_6 (podiums INTEGER, season VARCHAR) [/INST] ### Response: SELECT MIN(podiums) FROM table_2725949_6 WHERE season = 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: Name the starts for 2009 ### Context: CREATE TABLE table_2725949_6 (starts VARCHAR, season VARCHAR) [/INST] ### Response: SELECT starts FROM table_2725949_6 WHERE season = 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: Name the most starts for 6 wins ### Context: CREATE TABLE table_2725949_6 (starts INTEGER, wins VARCHAR) [/INST] ### Response: SELECT MAX(starts) FROM table_2725949_6 WHERE wins = 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 matches were wickets 16? ### Context: CREATE TABLE table_27268238_5 (matches VARCHAR, wickets VARCHAR) [/INST] ### Response: SELECT COUNT(matches) FROM table_27268238_5 WHERE wickets = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 wickets? ### Context: CREATE TABLE table_27268238_5 (wickets INTEGER) [/INST] ### Response: SELECT MIN(wickets) FROM table_27268238_5 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the 4wi when the economy is 7.82? ### Context: CREATE TABLE table_27268238_5 (economy VARCHAR) [/INST] ### Response: SELECT 4 AS wi FROM table_27268238_5 WHERE economy = "7.82" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who is the player when the bbi is 5/27? ### Context: CREATE TABLE table_27268238_5 (player VARCHAR, bbi VARCHAR) [/INST] ### Response: SELECT player FROM table_27268238_5 WHERE bbi = "5/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: What is the team when the economy is 5.73? ### Context: CREATE TABLE table_27268238_5 (team VARCHAR, economy VARCHAR) [/INST] ### Response: SELECT team FROM table_27268238_5 WHERE economy = "5.73" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Denizli was the province, what was the total number of valid votes? ### Context: CREATE TABLE table_27274222_2 (valid_votes VARCHAR, province VARCHAR) [/INST] ### Response: SELECT COUNT(valid_votes) FROM table_27274222_2 WHERE province = "Denizli" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province had a turnout of 54.09%? ### Context: CREATE TABLE table_27274222_2 (province VARCHAR, turnout___percentage_ VARCHAR) [/INST] ### Response: SELECT province FROM table_27274222_2 WHERE turnout___percentage_ = "54.09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 model number for the order part numbered tmrm75dam22gg? ### Context: CREATE TABLE table_27277284_28 (model_number VARCHAR, order_part_number VARCHAR) [/INST] ### Response: SELECT model_number FROM table_27277284_28 WHERE order_part_number = "TMRM75DAM22GG" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 oder part number for the model with 10x mult. 1? ### Context: CREATE TABLE table_27277284_28 (order_part_number VARCHAR, mult_1 VARCHAR) [/INST] ### Response: SELECT order_part_number FROM table_27277284_28 WHERE mult_1 = "10x" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How much ht does the model with 10x mult. 1 have? ### Context: CREATE TABLE table_27277284_28 (ht VARCHAR, mult_1 VARCHAR) [/INST] ### Response: SELECT ht FROM table_27277284_28 WHERE mult_1 = "10x" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ht for the model released on June 4, 2008? ### Context: CREATE TABLE table_27277284_28 (ht VARCHAR, release_date VARCHAR) [/INST] ### Response: SELECT ht FROM table_27277284_28 WHERE release_date = "June 4, 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: How many pole position achieved 0 points from Mexico? ### Context: CREATE TABLE table_27279050_1 (poles VARCHAR, points VARCHAR, nation VARCHAR) [/INST] ### Response: SELECT COUNT(poles) FROM table_27279050_1 WHERE points = "0" AND nation = "Mexico" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 vcore for multi 11x ### Context: CREATE TABLE table_27277284_8 (v_core VARCHAR, mult_1 VARCHAR) [/INST] ### Response: SELECT v_core FROM table_27277284_8 WHERE mult_1 = "11x" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 v core for model number mobile athlon 64 3000+ ### Context: CREATE TABLE table_27277284_8 (v_core VARCHAR, model_number VARCHAR) [/INST] ### Response: SELECT COUNT(v_core) FROM table_27277284_8 WHERE model_number = "Mobile Athlon 64 3000+" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for for played ### Context: CREATE TABLE table_27293285_4 (points_for VARCHAR) [/INST] ### Response: SELECT COUNT(points_for) FROM table_27293285_4 WHERE "played" = "played" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 points for 46 tries for ### Context: CREATE TABLE table_27293285_4 (points VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT COUNT(points) FROM table_27293285_4 WHERE tries_for = "46" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 club for lost being 16 ### Context: CREATE TABLE table_27293285_4 (club VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT COUNT(club) FROM table_27293285_4 WHERE lost = "16" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 drawn for lost being 5 and tries for 89 ### Context: CREATE TABLE table_27293285_4 (drawn VARCHAR, lost VARCHAR, tries_for VARCHAR) [/INST] ### Response: SELECT drawn FROM table_27293285_4 WHERE lost = "5" AND tries_for = "89" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 won for played being 22 and points against 511 and lost being 15 ### Context: CREATE TABLE table_27293285_4 (won VARCHAR, points_against VARCHAR, played VARCHAR, lost VARCHAR) [/INST] ### Response: SELECT won FROM table_27293285_4 WHERE played = "22" AND lost = "15" AND points_against = "511" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aorist has bude in present tense? ### Context: CREATE TABLE table_27298240_26 (aorist VARCHAR, present VARCHAR) [/INST] ### Response: SELECT aorist FROM table_27298240_26 WHERE present = "bude" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 aorist has imperfect form of bijasmo / bejasmo / besmo? ### Context: CREATE TABLE table_27298240_26 (aorist VARCHAR, imperfect VARCHAR) [/INST] ### Response: SELECT aorist FROM table_27298240_26 WHERE imperfect = "bijasmo / bejasmo / besmo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pluperfect for the perfect si bio/la; bio/la si? ### Context: CREATE TABLE table_27298240_26 (pluperfect VARCHAR, perfect VARCHAR) [/INST] ### Response: SELECT pluperfect FROM table_27298240_26 WHERE perfect = "si bio/la; bio/la 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: What was the event when suárez ( tri ) w 16–6 was round of 32? ### Context: CREATE TABLE table_27294107_11 (event VARCHAR, round_of_32 VARCHAR) [/INST] ### Response: SELECT event FROM table_27294107_11 WHERE round_of_32 = "Suárez ( TRI ) W 16–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 semifinals for the light flyweight event? ### Context: CREATE TABLE table_27294107_11 (semifinals VARCHAR, event VARCHAR) [/INST] ### Response: SELECT semifinals FROM table_27294107_11 WHERE event = "Light flyweight" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 semifinals did ferhat pehlivan attend? ### Context: CREATE TABLE table_27294107_11 (semifinals VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT COUNT(semifinals) FROM table_27294107_11 WHERE athlete = "Ferhat Pehlivan" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round of 32 if the round of 16 is drenovak ( srb ) w 20–11? ### Context: CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, round_of_16 VARCHAR) [/INST] ### Response: SELECT round_of_32 FROM table_27294107_11 WHERE round_of_16 = "Drenovak ( SRB ) W 20–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: When yakup şener is the athlete what is the round of 32? ### Context: CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Yakup Şener" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round of 32 for fatih keleş? ### Context: CREATE TABLE table_27294107_11 (round_of_32 VARCHAR, athlete VARCHAR) [/INST] ### Response: SELECT round_of_32 FROM table_27294107_11 WHERE athlete = "Fatih Keleş" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 in 1st place when present is mogu? ### Context: CREATE TABLE table_27298240_28 (present VARCHAR) [/INST] ### Response: SELECT 1 AS st FROM table_27298240_28 WHERE present = "mogu" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 2nd when the pronoun is vi (you pl.)? ### Context: CREATE TABLE table_27298240_28 (pronoun VARCHAR) [/INST] ### Response: SELECT 2 AS nd FROM table_27298240_28 WHERE pronoun = "vi (you pl.)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 R when the total is 1 and the position is fw? ### Context: CREATE TABLE table (r VARCHAR, total VARCHAR, position VARCHAR) [/INST] ### Response: SELECT r FROM table WHERE total = 1 AND position = "FW" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 league cup? ### Context: CREATE TABLE table (league_cup INTEGER) [/INST] ### Response: SELECT MIN(league_cup) FROM table </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for the player becchio? ### Context: CREATE TABLE table (position VARCHAR, player VARCHAR, Becchio VARCHAR) [/INST] ### Response: SELECT position FROM table WHERE player = Becchio </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times was the r 4? ### Context: CREATE TABLE table (league_cup VARCHAR, r VARCHAR) [/INST] ### Response: SELECT COUNT(league_cup) FROM table WHERE r = 4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the parent for peak cima tosa? ### Context: CREATE TABLE table_2731431_1 (parent VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT parent FROM table_2731431_1 WHERE peak = "Cima Tosa" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elevation for the peak wildspitze in Austria? ### Context: CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, location VARCHAR, peak VARCHAR) [/INST] ### Response: SELECT MIN(elevation__m_) FROM table_2731431_1 WHERE location = "Austria" AND peak = "Wildspitze" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 elevation for number 39? ### Context: CREATE TABLE table_2731431_1 (elevation__m_ INTEGER, no VARCHAR) [/INST] ### Response: SELECT MAX(elevation__m_) FROM table_2731431_1 WHERE no = 39 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the col location for the location of france / italy? ### Context: CREATE TABLE table_2731431_1 (col_location VARCHAR, location VARCHAR) [/INST] ### Response: SELECT col_location FROM table_2731431_1 WHERE location = "France / Italy" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 col location with a col height (m) of 1107? ### Context: CREATE TABLE table_2731431_1 (col_location VARCHAR, col_height__m_ VARCHAR) [/INST] ### Response: SELECT col_location FROM table_2731431_1 WHERE col_height__m_ = 1107 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 location has an elevation of 3798? ### Context: CREATE TABLE table_2731431_1 (location VARCHAR, elevation__m_ VARCHAR) [/INST] ### Response: SELECT location FROM table_2731431_1 WHERE elevation__m_ = 3798 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the title when the catalog number is cal01 / 0091037137319? ### Context: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) [/INST] ### Response: SELECT title FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times is the title am/pm callanetics? ### Context: CREATE TABLE table_27303975_3 (studio VARCHAR, title VARCHAR) [/INST] ### Response: SELECT COUNT(studio) FROM table_27303975_3 WHERE title = "AM/PM Callanetics" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times was the catalog number cal04 / 0091037553546? ### Context: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times was the catalog number cal04 / 0091037553546? ### Context: CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) [/INST] ### Response: SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL04 / 0091037553546" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times was the catalog number cal01 / 0091037137319? ### Context: CREATE TABLE table_27303975_3 (copyright_information VARCHAR, catalog_number VARCHAR) [/INST] ### Response: SELECT COUNT(copyright_information) FROM table_27303975_3 WHERE catalog_number = "CAL01 / 0091037137319" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times was the catalog number cal05 / 0091037137357? ### Context: CREATE TABLE table_27303975_3 (title VARCHAR, catalog_number VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_27303975_3 WHERE catalog_number = "CAL05 / 0091037137357" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: who directed the episode that elaine ko wrote? ### Context: CREATE TABLE table_27332038_1 (directed_by VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_27332038_1 WHERE written_by = "Elaine Ko" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with production code "2arg01" originally aired? ### Context: CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 with production code "2arg09"? ### Context: CREATE TABLE table_27332038_1 (title VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_27332038_1 WHERE production_code = "2ARG09" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episode with production code "2arg24" originally aired? ### Context: CREATE TABLE table_27332038_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_27332038_1 WHERE production_code = "2ARG24" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 had a share percentage of 41.5%? ### Context: CREATE TABLE table_27319183_7 (episode VARCHAR, share___percentage_ VARCHAR) [/INST] ### Response: SELECT episode FROM table_27319183_7 WHERE share___percentage_ = "41.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 was the show's weekly ranking 12? ### Context: CREATE TABLE table_27319183_7 (date VARCHAR, weekly_rank VARCHAR) [/INST] ### Response: SELECT date FROM table_27319183_7 WHERE weekly_rank = 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 total itv viewers were there for the episode with official itv ratings of 10.24 million? ### Context: CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_rating__millions_ VARCHAR) [/INST] ### Response: SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_rating__millions_ = "10.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 total itv viewers were there for the episode with official itv hd ratings of 1.12 million? ### Context: CREATE TABLE table_27319183_7 (total_itv_viewers__millions_ VARCHAR, official_itv_hd_rating__millions_ VARCHAR) [/INST] ### Response: SELECT total_itv_viewers__millions_ FROM table_27319183_7 WHERE official_itv_hd_rating__millions_ = "1.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 were the official itv ratings in millions for the episode with a total of 8.53 million itv viewers ### Context: CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, total_itv_viewers__millions_ VARCHAR) [/INST] ### Response: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE total_itv_viewers__millions_ = "8.53" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What were the official itv ratings in millions for semi-final 5? ### Context: CREATE TABLE table_27319183_7 (official_itv_rating__millions_ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT official_itv_rating__millions_ FROM table_27319183_7 WHERE episode = "Semi-final 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the club when the chairman is roger lambrecht? ### Context: CREATE TABLE table_27374004_2 (club VARCHAR, chairman VARCHAR) [/INST] ### Response: SELECT club FROM table_27374004_2 WHERE chairman = "Roger Lambrecht" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team captain when the shirt sponser is quick? ### Context: CREATE TABLE table_27374004_2 (team_captain VARCHAR, shirt_sponsor VARCHAR) [/INST] ### Response: SELECT team_captain FROM table_27374004_2 WHERE shirt_sponsor = "Quick" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 chairman when the current manager is bob peeters? ### Context: CREATE TABLE table_27374004_2 (chairman VARCHAR, current_manager VARCHAR) [/INST] ### Response: SELECT chairman FROM table_27374004_2 WHERE current_manager = "Bob Peeters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the shirt sponsor is e-lotto.be? ### Context: CREATE TABLE table_27374004_2 (club VARCHAR, shirt_sponsor VARCHAR) [/INST] ### Response: SELECT club FROM table_27374004_2 WHERE shirt_sponsor = "e-lotto.be" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team captain when the club is k.f.c. germinal beerschot? ### Context: CREATE TABLE table_27374004_2 (team_captain VARCHAR, club VARCHAR) [/INST] ### Response: SELECT team_captain FROM table_27374004_2 WHERE club = "K.F.C. Germinal Beerschot" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 varsity name of the university of mcgill university? ### Context: CREATE TABLE table_27369069_4 (varsity_name VARCHAR, university VARCHAR) [/INST] ### Response: SELECT varsity_name FROM table_27369069_4 WHERE university = "McGill university" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 soccer stadium with the varsity name is citadins? ### Context: CREATE TABLE table_27369069_4 (soccer_stadium VARCHAR, varsity_name VARCHAR) [/INST] ### Response: SELECT soccer_stadium FROM table_27369069_4 WHERE varsity_name = "Citadins" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province where the soccer statium is terrain #2 of complexe sportif claude-robillard? ### Context: CREATE TABLE table_27369069_4 (province VARCHAR, soccer_stadium VARCHAR) [/INST] ### Response: SELECT province FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province for with the stadium capacity of 5100? ### Context: CREATE TABLE table_27369069_4 (province VARCHAR, stadium_capacity VARCHAR) [/INST] ### Response: SELECT province FROM table_27369069_4 WHERE stadium_capacity = 5100 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 university where the soccer stadium is terrain #2 of complexe sportif claude-robillard? ### Context: CREATE TABLE table_27369069_4 (university VARCHAR, soccer_stadium VARCHAR) [/INST] ### Response: SELECT university FROM table_27369069_4 WHERE soccer_stadium = "terrain #2 of Complexe sportif Claude-Robillard" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 date of appointment by Hugo Broos? ### Context: CREATE TABLE table_27374004_4 (date_of_appointment VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_27374004_4 WHERE replaced_by = "Hugo Broos" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times did outgoing manager Bart de Roover vacated a position? ### Context: CREATE TABLE table_27374004_4 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT COUNT(date_of_vacancy) FROM table_27374004_4 WHERE outgoing_manager = "Bart De Roover" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager of the team in 15th position that was sacked? ### Context: CREATE TABLE table_27374004_4 (outgoing_manager VARCHAR, manner_of_departure VARCHAR, position_in_table VARCHAR) [/INST] ### Response: SELECT outgoing_manager FROM table_27374004_4 WHERE manner_of_departure = "Sacked" AND position_in_table = "15th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team's position in table when Danny OST was the outgoing manager? ### Context: CREATE TABLE table_27374004_4 (position_in_table VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT position_in_table FROM table_27374004_4 WHERE outgoing_manager = "Danny Ost" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 maximum # when viewers (m) is 8.01 ### Context: CREATE TABLE table_27374740_2 (_number INTEGER, viewers__m_ VARCHAR) [/INST] ### Response: SELECT MAX(_number) FROM table_27374740_2 WHERE viewers__m_ = "8.01" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing managers were replaced by Bob Peeters? ### Context: CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, replaced_by VARCHAR) [/INST] ### Response: SELECT COUNT(outgoing_manager) FROM table_27374004_3 WHERE replaced_by = "Bob Peeters" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 replaced Michel Preud'homme? ### Context: CREATE TABLE table_27374004_3 (replaced_by VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT replaced_by FROM table_27374004_3 WHERE outgoing_manager = "Michel Preud'homme" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure for the manager of Cercle Brugge? ### Context: CREATE TABLE table_27374004_3 (manner_of_departure VARCHAR, team VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_27374004_3 WHERE team = "Cercle Brugge" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing manager of Charleroi? ### Context: CREATE TABLE table_27374004_3 (outgoing_manager VARCHAR, team VARCHAR) [/INST] ### Response: SELECT outgoing_manager FROM table_27374004_3 WHERE team = "Charleroi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sponsor has the head coach Samad Marfavi? ### Context: CREATE TABLE table_27383390_2 (shirt_sponsor VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT shirt_sponsor FROM table_27383390_2 WHERE head_coach = "Samad Marfavi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 has Ali Daei as head coach? ### Context: CREATE TABLE table_27383390_2 (team VARCHAR, head_coach VARCHAR) [/INST] ### Response: SELECT team FROM table_27383390_2 WHERE head_coach = "Ali Daei" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 kit maker for team foolad? ### Context: CREATE TABLE table_27383390_2 (kit_maker VARCHAR, team VARCHAR) [/INST] ### Response: SELECT kit_maker FROM table_27383390_2 WHERE team = "Foolad" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outgoing head coach when the incoming head coach is abdollah veysi? ### Context: CREATE TABLE table_27383390_4 (outgoing_head_coach VARCHAR, incoming_head_coach VARCHAR) [/INST] ### Response: SELECT outgoing_head_coach FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is the date of appointment when the position in table is 16? ### Context: CREATE TABLE table_27383390_4 (date_of_appointment VARCHAR, position_in_table VARCHAR) [/INST] ### Response: SELECT date_of_appointment FROM table_27383390_4 WHERE position_in_table = 16 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many times is the incoming head coach abdollah veysi? ### Context: CREATE TABLE table_27383390_4 (team VARCHAR, incoming_head_coach VARCHAR) [/INST] ### Response: SELECT COUNT(team) FROM table_27383390_4 WHERE incoming_head_coach = "Abdollah Veysi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team with the date of vacancy 8 dec 2010? ### Context: CREATE TABLE table_27383390_4 (team VARCHAR, date_of_vacancy VARCHAR) [/INST] ### Response: SELECT team FROM table_27383390_4 WHERE date_of_vacancy = "8 Dec 2010" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manner of departure when the incoming head coach is mohammad khakpour? ### Context: CREATE TABLE table_27383390_4 (manner_of_departure VARCHAR, incoming_head_coach VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_27383390_4 WHERE incoming_head_coach = "Mohammad Khakpour" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date of the episode that was written by Rama Stagner? ### Context: CREATE TABLE table_27389024_2 (original_air_date VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_27389024_2 WHERE written_by = "Rama Stagner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 the #19 car, what was their finish position? ### Context: CREATE TABLE table_27396005_2 (pos INTEGER, car VARCHAR) [/INST] ### Response: SELECT MAX(pos) FROM table_27396005_2 WHERE car = 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: How many constructors had a grid of 13? ### Context: CREATE TABLE table_27396005_2 (constructor VARCHAR, grid VARCHAR) [/INST] ### Response: SELECT COUNT(constructor) FROM table_27396005_2 WHERE grid = 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 was the maximum finish position of the car whose constructor was Joe Gibbs Racing, driven by Denny Hamlin? ### Context: CREATE TABLE table_27396005_2 (pos INTEGER, constructor VARCHAR, driver VARCHAR) [/INST] ### Response: SELECT MAX(pos) FROM table_27396005_2 WHERE constructor = "Joe Gibbs Racing" AND driver = "Denny Hamlin" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List all titles with a 57 series number. ### Context: CREATE TABLE table_27397948_2 (title VARCHAR, no_in_series VARCHAR) [/INST] ### Response: SELECT title FROM table_27397948_2 WHERE no_in_series = 57 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 highest season number with a series number of 47? ### Context: CREATE TABLE table_27397948_2 (no_in_season INTEGER, no_in_series VARCHAR) [/INST] ### Response: SELECT MAX(no_in_season) FROM table_27397948_2 WHERE no_in_series = 47 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the writer for season episode 7? ### Context: CREATE TABLE table_27397948_2 (written_by VARCHAR, no_in_season VARCHAR) [/INST] ### Response: SELECT written_by FROM table_27397948_2 WHERE no_in_season = 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 who directed when the viewers is 5.86 ### Context: CREATE TABLE table_27401228_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_27401228_1 WHERE us_viewers__million_ = "5.86" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is lootos põlva from? ### Context: CREATE TABLE table_27409644_1 (location VARCHAR, club VARCHAR) [/INST] ### Response: SELECT location FROM table_27409644_1 WHERE club = "Lootos Põlva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manager for lootos põlva? ### Context: CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) [/INST] ### Response: SELECT manager FROM table_27409644_1 WHERE club = "Lootos Põlva" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 is lootospark from? ### Context: CREATE TABLE table_27409644_1 (location VARCHAR, ground VARCHAR) [/INST] ### Response: SELECT location FROM table_27409644_1 WHERE ground = "Lootospark" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 pärnu manager? ### Context: CREATE TABLE table_27409644_1 (manager VARCHAR, club VARCHAR) [/INST] ### Response: SELECT manager FROM table_27409644_1 WHERE club = "Pärnu" </s>