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: Who are the writers of the episodes directed by Justin Hartley? ### Context: CREATE TABLE table_26464364_1 (written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26464364_1 WHERE directed_by = "Justin Hartley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 which date did episode # 18 air in the U.S.? ### Context: CREATE TABLE table_26464364_1 (us_air_date VARCHAR, _number VARCHAR) [/INST] ### Response: SELECT us_air_date FROM table_26464364_1 WHERE _number = 18 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many million U.S. viewers watched the episode with the production code 3x6004? ### Context: CREATE TABLE table_26464364_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT us_viewers__million_ FROM table_26464364_1 WHERE production_code = "3X6004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: List the titles of episodes written by Anne Cofell Saunders. ### Context: CREATE TABLE table_26464364_1 (title VARCHAR, written_by VARCHAR) [/INST] ### Response: SELECT title FROM table_26464364_1 WHERE written_by = "Anne Cofell Saunders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 directed by Christopher Petry with the production cod 3x6006? ### Context: CREATE TABLE table_26464364_1 (title VARCHAR, directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT title FROM table_26464364_1 WHERE directed_by = "Christopher Petry" AND production_code = "3X6006" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incumbent in the Ohio 10 district? ### Context: CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 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: Who was the incumbent in the Ohio 5 district? ### Context: CREATE TABLE table_2646656_3 (incumbent VARCHAR, district VARCHAR) [/INST] ### Response: SELECT incumbent FROM table_2646656_3 WHERE district = "Ohio 5" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who were the candidates where the result was retired Republican hold and the incumbent was Philemon Bliss? ### Context: CREATE TABLE table_2646656_3 (candidates VARCHAR, result VARCHAR, incumbent VARCHAR) [/INST] ### Response: SELECT candidates FROM table_2646656_3 WHERE result = "Retired Republican hold" AND incumbent = "Philemon Bliss" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 new conferences are in the NCLL deep south conference? ### Context: CREATE TABLE table_26476336_2 (new_conference VARCHAR, new_classification VARCHAR) [/INST] ### Response: SELECT COUNT(new_conference) FROM table_26476336_2 WHERE new_classification = "NCLL Deep South Conference" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nickname at the University of Nebraska at Omaha? ### Context: CREATE TABLE table_26476336_2 (team_nickname VARCHAR, institution VARCHAR) [/INST] ### Response: SELECT team_nickname FROM table_26476336_2 WHERE institution = "University of Nebraska at Omaha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What location is listed from 2005-2010? ### Context: CREATE TABLE table_26476336_2 (location VARCHAR, years VARCHAR) [/INST] ### Response: SELECT location FROM table_26476336_2 WHERE years = "2005-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: Where is the nickname the Red Raiders? ### Context: CREATE TABLE table_26476336_2 (location VARCHAR, team_nickname VARCHAR) [/INST] ### Response: SELECT location FROM table_26476336_2 WHERE team_nickname = "Red Raiders" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 school has the new conference as SELC? ### Context: CREATE TABLE table_26476336_2 (institution VARCHAR, new_conference VARCHAR) [/INST] ### Response: SELECT institution FROM table_26476336_2 WHERE new_conference = "SELC" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What are the years that the new classification was MCLA division i? ### Context: CREATE TABLE table_26476336_2 (years VARCHAR, new_classification VARCHAR) [/INST] ### Response: SELECT years FROM table_26476336_2 WHERE new_classification = "MCLA Division I" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 colors for north canton ### Context: CREATE TABLE table_26466528_1 (colors VARCHAR, location VARCHAR) [/INST] ### Response: SELECT colors FROM table_26466528_1 WHERE location = "North Canton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 join date ### Context: CREATE TABLE table_26466528_1 (join_date INTEGER) [/INST] ### Response: SELECT MAX(join_date) FROM table_26466528_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 join date ### Context: CREATE TABLE table_26466528_1 (join_date INTEGER) [/INST] ### Response: SELECT MIN(join_date) FROM table_26466528_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 location for black, orange ### Context: CREATE TABLE table_26466528_1 (location VARCHAR, colors VARCHAR) [/INST] ### Response: SELECT location FROM table_26466528_1 WHERE colors = "Black, Orange" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when north canton joined ### Context: CREATE TABLE table_26466528_1 (join_date VARCHAR, location VARCHAR) [/INST] ### Response: SELECT join_date FROM table_26466528_1 WHERE location = "North Canton" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many "series" were in the 12th "position? ### Context: CREATE TABLE table_26473176_1 (series VARCHAR, position VARCHAR) [/INST] ### Response: SELECT COUNT(series) FROM table_26473176_1 WHERE position = "12th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 teams were at 10 points? ### Context: CREATE TABLE table_26473176_1 (team VARCHAR, points VARCHAR) [/INST] ### Response: SELECT COUNT(team) FROM table_26473176_1 WHERE points = 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 was the number of podiums in 12th position? ### Context: CREATE TABLE table_26473176_1 (podiums VARCHAR, position VARCHAR) [/INST] ### Response: SELECT podiums FROM table_26473176_1 WHERE position = "12th" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 did he finish when he started at 21.6? ### Context: CREATE TABLE table_2649597_1 (finish VARCHAR, start VARCHAR) [/INST] ### Response: SELECT COUNT(finish) FROM table_2649597_1 WHERE start = "21.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 teams started at 39.1? ### Context: CREATE TABLE table_2649597_1 (team_s_ VARCHAR, start VARCHAR) [/INST] ### Response: SELECT team_s_ FROM table_2649597_1 WHERE start = "39.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: Where did they finish in the season when when they won $491,977? ### Context: CREATE TABLE table_2649597_1 (season_rank VARCHAR, winnings VARCHAR) [/INST] ### Response: SELECT season_rank FROM table_2649597_1 WHERE winnings = "$491,977" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different genres appear for the Jimi Hendrix Experience? ### Context: CREATE TABLE table_26488540_1 (genre VARCHAR, artist VARCHAR) [/INST] ### Response: SELECT COUNT(genre) FROM table_26488540_1 WHERE artist = "The Jimi Hendrix Experience" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 title for total viewers on fx+ being 483,000 ### Context: CREATE TABLE table_26493520_3 (title VARCHAR, total_viewers_on_fx VARCHAR) [/INST] ### Response: SELECT title FROM table_26493520_3 WHERE total_viewers_on_fx = "483,000" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 rank on channel for january 21, 2011 ### Context: CREATE TABLE table_26493520_3 (rank_on_channel VARCHAR, original_air_date VARCHAR) [/INST] ### Response: SELECT rank_on_channel FROM table_26493520_3 WHERE original_air_date = "January 21, 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: How many episodes were written by Alexander Woo and directed by Scott Winant? ### Context: CREATE TABLE table_26493520_1 (title VARCHAR, written_by VARCHAR, directed_by VARCHAR) [/INST] ### Response: SELECT COUNT(title) FROM table_26493520_1 WHERE written_by = "Alexander Woo" AND directed_by = "Scott Winant" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round for jordan cameron ### Context: CREATE TABLE table_26533354_8 (round INTEGER, player VARCHAR) [/INST] ### Response: SELECT MAX(round) FROM table_26533354_8 WHERE player = "Jordan Cameron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for jordan cameron ### Context: CREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_26533354_8 WHERE player = "Jordan Cameron" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position for stanley havili ### Context: CREATE TABLE table_26533354_8 (position VARCHAR, player VARCHAR) [/INST] ### Response: SELECT position FROM table_26533354_8 WHERE player = "Stanley Havili" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 college for david carter ### Context: CREATE TABLE table_26533354_8 (college VARCHAR, player VARCHAR) [/INST] ### Response: SELECT college FROM table_26533354_8 WHERE player = "David Carter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 democratic coalation when together we can do more is sergio castro ( pc )? ### Context: CREATE TABLE table_2651755_1 (democratic_coalition VARCHAR, together_we_can_do_more VARCHAR) [/INST] ### Response: SELECT democratic_coalition FROM table_2651755_1 WHERE together_we_can_do_more = "Sergio Castro ( PC )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 independent regional force when alliance is (r) iván norambuena ( udi )? ### Context: CREATE TABLE table_2651755_1 (independent_regional_force VARCHAR, alliance VARCHAR) [/INST] ### Response: SELECT independent_regional_force FROM table_2651755_1 WHERE alliance = "(R) Iván Norambuena ( UDI )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 together we can do more when democratic coalition is rené alinco ( ppd )? ### Context: CREATE TABLE table_2651755_1 (together_we_can_do_more VARCHAR, democratic_coalition VARCHAR) [/INST] ### Response: SELECT together_we_can_do_more FROM table_2651755_1 WHERE democratic_coalition = "René Alinco ( PPD )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 independent regional force when democratic coalition is (r) jorge tarud ( ppd )? ### Context: CREATE TABLE table_2651755_1 (independent_regional_force VARCHAR, democratic_coalition VARCHAR) [/INST] ### Response: SELECT independent_regional_force FROM table_2651755_1 WHERE democratic_coalition = "(R) Jorge Tarud ( PPD )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 together we can do more is gloria mujica ( ph ) what are all the cons. ### Context: CREATE TABLE table_2651755_2 (cons VARCHAR, together_we_can_do_more VARCHAR) [/INST] ### Response: SELECT cons FROM table_2651755_2 WHERE together_we_can_do_more = "Gloria Mujica ( PH )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 democratic coalition is eduardo frei ( pdc ) what are all the alliance ### Context: CREATE TABLE table_2651755_2 (alliance VARCHAR, democratic_coalition VARCHAR) [/INST] ### Response: SELECT alliance FROM table_2651755_2 WHERE democratic_coalition = "Eduardo Frei ( PDC )" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What's the name of the episode associated with Nick production number 342? ### Context: CREATE TABLE table_2655016_4 (episode_title VARCHAR, nick_prod__number VARCHAR) [/INST] ### Response: SELECT episode_title FROM table_2655016_4 WHERE nick_prod__number = 342 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 season 12 premiere? ### Context: CREATE TABLE table_2655016_4 (original_air_date VARCHAR, season__number VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_2655016_4 WHERE season__number = 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 is the lowest Nick production number? ### Context: CREATE TABLE table_2655016_4 (nick_prod__number INTEGER) [/INST] ### Response: SELECT MIN(nick_prod__number) FROM table_2655016_4 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When did the episode originally air with a nick production number of 945? ### Context: CREATE TABLE table_2655016_10 (original_air_date VARCHAR, nick_prod__number VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_2655016_10 WHERE nick_prod__number = 945 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest season with a nick production number of 942? ### Context: CREATE TABLE table_2655016_10 (season__number INTEGER, nick_prod__number VARCHAR) [/INST] ### Response: SELECT MAX(season__number) FROM table_2655016_10 WHERE nick_prod__number = 942 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 metrical equivalence for linha ### Context: CREATE TABLE table_26538461_2 (metrical_equivalence VARCHAR, portuguese_name VARCHAR) [/INST] ### Response: SELECT metrical_equivalence FROM table_26538461_2 WHERE portuguese_name = "Linha" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 equivalence for varas for geometrical pace ### Context: CREATE TABLE table_26538461_2 (equivalence_in_varas VARCHAR, english_name VARCHAR) [/INST] ### Response: SELECT equivalence_in_varas FROM table_26538461_2 WHERE english_name = "Geometrical pace" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 subdivides in equivalence for varas 1/5 ### Context: CREATE TABLE table_26538461_2 (subdivides_in VARCHAR, equivalence_in_varas VARCHAR) [/INST] ### Response: SELECT subdivides_in FROM table_26538461_2 WHERE equivalence_in_varas = "1/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: When موسم زيتون is the arabic title when is the year (ceremony)? ### Context: CREATE TABLE table_26555737_1 (year__ceremony_ VARCHAR, arabic_title VARCHAR) [/INST] ### Response: SELECT year__ceremony_ FROM table_26555737_1 WHERE arabic_title = "موسم زيتون" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 arabic title what is the english title? ### Context: CREATE TABLE table_26555737_1 (english_title VARCHAR, arabic_title VARCHAR) [/INST] ### Response: SELECT english_title FROM table_26555737_1 WHERE arabic_title = "ملح هذا البحر" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 nominee is the result who is the director? ### Context: CREATE TABLE table_26555737_1 (director VARCHAR, result VARCHAR) [/INST] ### Response: SELECT director FROM table_26555737_1 WHERE result = "Nominee" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 hany abu-assad category:articles with hcards is the director what is the result? ### Context: CREATE TABLE table_26555737_1 (result VARCHAR, director VARCHAR) [/INST] ### Response: SELECT result FROM table_26555737_1 WHERE director = "Hany Abu-Assad 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: When 2012 (85th) is the year (ceremony) how many results? ### Context: CREATE TABLE table_26555737_1 (result VARCHAR, year__ceremony_ VARCHAR) [/INST] ### Response: SELECT COUNT(result) FROM table_26555737_1 WHERE year__ceremony_ = "2012 (85th)" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 salt of this sea is the english title who is the director? ### Context: CREATE TABLE table_26555737_1 (director VARCHAR, english_title VARCHAR) [/INST] ### Response: SELECT director FROM table_26555737_1 WHERE english_title = "Salt of this Sea" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What was the record lowest temperature with a precipitation of 1.71 in.? ### Context: CREATE TABLE table_26558_1 (record_low VARCHAR, precip VARCHAR) [/INST] ### Response: SELECT record_low FROM table_26558_1 WHERE precip = "1.71 in." </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 and produced 176452? ### Context: CREATE TABLE table_26561498_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT directed_by FROM table_26561498_1 WHERE production_code = 176452 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 for julie warner? ### Context: CREATE TABLE table_26561498_1 (original_air_date VARCHAR, patient_portrayer VARCHAR) [/INST] ### Response: SELECT original_air_date FROM table_26561498_1 WHERE patient_portrayer = "Julie Warner" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 written by alex carter? ### Context: CREATE TABLE table_26561498_1 (written_by VARCHAR, patient_portrayer VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26561498_1 WHERE patient_portrayer = "Alex Carter" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 patient portrayer of the episode with the production code 3T5004? ### Context: CREATE TABLE table_26561509_1 (patient_portrayer VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT patient_portrayer FROM table_26561509_1 WHERE production_code = "3T5004" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: The episode with the no. 54, directed by Charles Haid, is written by who? ### Context: CREATE TABLE table_26561509_1 (written_by VARCHAR, directed_by VARCHAR, no VARCHAR) [/INST] ### Response: SELECT written_by FROM table_26561509_1 WHERE directed_by = "Charles Haid" AND no = 54 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many are directed by episodes with the production code 3T5009? ### Context: CREATE TABLE table_26561509_1 (directed_by VARCHAR, production_code VARCHAR) [/INST] ### Response: SELECT COUNT(directed_by) FROM table_26561509_1 WHERE production_code = "3T5009" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first UK broadcast for episode 9? ### Context: CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE episode = 9 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: When was the first UK broadcast for the episode with an official TNS Gallup rating of 1575000? ### Context: CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, official_tns_gallup_ratings VARCHAR) [/INST] ### Response: SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE official_tns_gallup_ratings = 1575000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 first UK broadcast when the official Barb ratings was 1085000? ### Context: CREATE TABLE table_26591309_2 (first_broadcast_uk___bbc_four__ VARCHAR, official_barb_ratings VARCHAR) [/INST] ### Response: SELECT first_broadcast_uk___bbc_four__ FROM table_26591309_2 WHERE official_barb_ratings = 1085000 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 writer with the ratings 14.8? ### Context: CREATE TABLE table_26591434_1 (writer VARCHAR, ratings__kanto_ VARCHAR) [/INST] ### Response: SELECT writer FROM table_26591434_1 WHERE ratings__kanto_ = "14.8" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the original air date for the writer tanaka shinichi? ### Context: CREATE TABLE table_26591434_1 (original_airdate VARCHAR, writer VARCHAR) [/INST] ### Response: SELECT original_airdate FROM table_26591434_1 WHERE writer = "Tanaka Shinichi" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ratings for the original air date may 25, 2010 22.00 - 22.54? ### Context: CREATE TABLE table_26591434_1 (ratings__kansai_ VARCHAR, original_airdate VARCHAR) [/INST] ### Response: SELECT ratings__kansai_ FROM table_26591434_1 WHERE original_airdate = "May 25, 2010 22.00 - 22.54" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 ratings for episode 11? ### Context: CREATE TABLE table_26591434_1 (ratings__kanto_ VARCHAR, episode VARCHAR) [/INST] ### Response: SELECT ratings__kanto_ FROM table_26591434_1 WHERE episode = 11 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Who was the outgoing manager of the team whose incoming manager was Dougie Freedman? ### Context: CREATE TABLE table_26593762_3 (outgoing_manager VARCHAR, incoming_manager VARCHAR) [/INST] ### Response: SELECT outgoing_manager FROM table_26593762_3 WHERE incoming_manager = "Dougie Freedman" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 table position for the team whose outgoing manager was Brian Laws? ### Context: CREATE TABLE table_26593762_3 (position_in_table VARCHAR, outgoing_manager VARCHAR) [/INST] ### Response: SELECT position_in_table FROM table_26593762_3 WHERE outgoing_manager = "Brian Laws" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 incoming managers did Burnley have? ### Context: CREATE TABLE table_26593762_3 (incoming_manager VARCHAR, team VARCHAR) [/INST] ### Response: SELECT COUNT(incoming_manager) FROM table_26593762_3 WHERE team = "Burnley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 team whose incoming manager was George Burley? ### Context: CREATE TABLE table_26593762_3 (manner_of_departure VARCHAR, incoming_manager VARCHAR) [/INST] ### Response: SELECT manner_of_departure FROM table_26593762_3 WHERE incoming_manager = "George Burley" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Galician (reintegrationist) word of the Galician (Official) is bo día / bos días? ### Context: CREATE TABLE table_26614365_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR) [/INST] ### Response: SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Bo día / Bos días" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: What is the Galician (reintegrationist) word of the Galician (Official) is adeus*? ### Context: CREATE TABLE table_26614365_5 (galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR) [/INST] ### Response: SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Adeus*" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Portuguese word for the English word 'grandfather'? ### Context: CREATE TABLE table_26614365_5 (portuguese VARCHAR, english VARCHAR) [/INST] ### Response: SELECT portuguese FROM table_26614365_5 WHERE english = "Grandfather" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish word is there for the Portuguese bem-vindo? ### Context: CREATE TABLE table_26614365_5 (spanish VARCHAR, portuguese VARCHAR) [/INST] ### Response: SELECT COUNT(spanish) FROM table_26614365_5 WHERE portuguese = "Bem-vindo" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Portuguese word for the English word 'welcome'? ### Context: CREATE TABLE table_26614365_5 (portuguese VARCHAR, english VARCHAR) [/INST] ### Response: SELECT portuguese FROM table_26614365_5 WHERE english = "Welcome" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 gender has an asian black bear? ### Context: CREATE TABLE table_26615633_3 (gender VARCHAR, species VARCHAR) [/INST] ### Response: SELECT gender FROM table_26615633_3 WHERE species = "Asian black bear" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 sweet for voice actor saki fujita? ### Context: CREATE TABLE table_26615633_3 (sweet VARCHAR, voice_actor VARCHAR) [/INST] ### Response: SELECT sweet FROM table_26615633_3 WHERE voice_actor = "Saki Fujita" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: whatis the gender wher ethe species is holland lop? ### Context: CREATE TABLE table_26615633_3 (gender VARCHAR, species VARCHAR) [/INST] ### Response: SELECT gender FROM table_26615633_3 WHERE species = "Holland Lop" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 media debut for the asian black bear? ### Context: CREATE TABLE table_26615633_3 (media_debut VARCHAR, species VARCHAR) [/INST] ### Response: SELECT media_debut FROM table_26615633_3 WHERE species = "Asian black bear" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Spanish word for cas [ˈkas]? ### Context: CREATE TABLE table_26614365_1 (spanish VARCHAR, central VARCHAR) [/INST] ### Response: SELECT spanish FROM table_26614365_1 WHERE central = "cas [ˈkas]" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 eastern word for "light"? ### Context: CREATE TABLE table_26614365_1 (eastern VARCHAR, english VARCHAR) [/INST] ### Response: SELECT eastern FROM table_26614365_1 WHERE english = "light" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 central word for "robbers"? ### Context: CREATE TABLE table_26614365_1 (central VARCHAR, english VARCHAR) [/INST] ### Response: SELECT central FROM table_26614365_1 WHERE english = "robbers" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Latin for "you sang"? ### Context: CREATE TABLE table_26614365_1 (latin VARCHAR, english VARCHAR) [/INST] ### Response: SELECT latin FROM table_26614365_1 WHERE english = "you sang" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 western word for "latrones" in Latin? ### Context: CREATE TABLE table_26614365_1 (western VARCHAR, latin VARCHAR) [/INST] ### Response: SELECT western FROM table_26614365_1 WHERE latin = "latrones" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 Old Galician for cantaste in Portuguese? ### Context: CREATE TABLE table_26614365_1 (old_galician__13th_15th_c_ VARCHAR, portuguese VARCHAR) [/INST] ### Response: SELECT old_galician__13th_15th_c_ FROM table_26614365_1 WHERE portuguese = "cantaste" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 overall amount of rainfall totals (million m 3)? ### Context: CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ INTEGER) [/INST] ### Response: SELECT MIN(rainfall_totals__million_m_3__) FROM table_26609958_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: When cabarita river is the hydrographic basin what is the lowest groundwater discharge (million m 3)? ### Context: CREATE TABLE table_26609958_1 (groundwater_discharge__million_m_3__ INTEGER, hydrographic_basin VARCHAR) [/INST] ### Response: SELECT MIN(groundwater_discharge__million_m_3__) FROM table_26609958_1 WHERE hydrographic_basin = "Cabarita River" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 martha brae, river is the hydrographic basin what is the rainfall totals (million m 3)? ### Context: CREATE TABLE table_26609958_1 (rainfall_totals__million_m_3__ VARCHAR, hydrographic_basin VARCHAR) [/INST] ### Response: SELECT rainfall_totals__million_m_3__ FROM table_26609958_1 WHERE hydrographic_basin = "Martha Brae, River" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 average for assists per game ### Context: CREATE TABLE table_26611679_3 (average VARCHAR, category VARCHAR) [/INST] ### Response: SELECT average FROM table_26611679_3 WHERE category = "Assists per 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 average for 23 games played ### Context: CREATE TABLE table_26611679_3 (average VARCHAR, games_played VARCHAR) [/INST] ### Response: SELECT average FROM table_26611679_3 WHERE games_played = 23 </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the category for 50 totals ### Context: CREATE TABLE table_26611679_3 (category VARCHAR, totals VARCHAR) [/INST] ### Response: SELECT category FROM table_26611679_3 WHERE totals = "50" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: Name the number of average for steals per game ### Context: CREATE TABLE table_26611679_3 (average VARCHAR, category VARCHAR) [/INST] ### Response: SELECT COUNT(average) FROM table_26611679_3 WHERE category = "Steals per 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: who was the voice actor when the species is hedgehog? ### Context: CREATE TABLE table_26615633_1 (voice_actor VARCHAR, species VARCHAR) [/INST] ### Response: SELECT voice_actor FROM table_26615633_1 WHERE species = "Hedgehog" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 voice actor with the birthday march 26? ### Context: CREATE TABLE table_26615633_1 (voice_actor VARCHAR, birthday VARCHAR) [/INST] ### Response: SELECT voice_actor FROM table_26615633_1 WHERE birthday = "March 26" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: what is the jewel power when the media debut is ep 17? ### Context: CREATE TABLE table_26615633_1 (jewel VARCHAR, media_debut VARCHAR) [/INST] ### Response: SELECT jewel AS Power FROM table_26615633_1 WHERE media_debut = "EP 17" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: how many times is the jewel malachite? ### Context: CREATE TABLE table_26615633_1 (birthday VARCHAR, jewel VARCHAR) [/INST] ### Response: SELECT COUNT(birthday) FROM table_26615633_1 WHERE jewel = "Malachite" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 species when jewel is coal? ### Context: CREATE TABLE table_26615633_1 (species VARCHAR, jewel VARCHAR) [/INST] ### Response: SELECT species FROM table_26615633_1 WHERE jewel = "Coal" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 lights 2 race two winning team when the lites 1 race one winning team was #13 Inspire Motorsports? ### Context: CREATE TABLE table_26638600_3 (lites_2_race_two_winning_team VARCHAR, lites_1_race_one_winning_team VARCHAR) [/INST] ### Response: SELECT lites_2_race_two_winning_team FROM table_26638600_3 WHERE lites_1_race_one_winning_team = "#13 Inspire Motorsports" </s>
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>> ### Input: How many different circuits had Gary Gibson has the Lites 1 race two winning team? ### Context: CREATE TABLE table_26638600_3 (lites_2_race_one_winning_team VARCHAR, lites_1_race_two_winning_team VARCHAR) [/INST] ### Response: SELECT COUNT(lites_2_race_one_winning_team) FROM table_26638600_3 WHERE lites_1_race_two_winning_team = "Gary Gibson" </s>