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:
How many millions of people in the US saw the episode with series number 103?
### Context:
CREATE TABLE table_22078972_2 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) [/INST]
### Response:
SELECT us_viewers__millions_ FROM table_22078972_2 WHERE no_in_series = 103 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number episode in the series was watched by 15.89 million U.S. viewers?
### Context:
CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.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:
What is the title of the episode directed by William Webb?
### Context:
CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR) [/INST]
### Response:
SELECT title FROM table_22078906_2 WHERE directed_by = "William Webb" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 final score when River Plate was the runner-up?
### Context:
CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR) [/INST]
### Response:
SELECT result FROM table_2208838_2 WHERE runner_up = "River Plate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 spent per voter when total amount spent was 210,280,000?
### Context:
CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR) [/INST]
### Response:
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,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:
What was spent per voter when the spent per vote was 20.07?
### Context:
CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) [/INST]
### Response:
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration between shows to sellout was what?
### Context:
CREATE TABLE table_22123920_4 (shows___sellout VARCHAR, sellout___percentage_ VARCHAR) [/INST]
### Response:
SELECT shows___sellout FROM table_22123920_4 WHERE sellout___percentage_ = "75%" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
During the period in which gross sales totals for "The Show Girl Must Go On" reached $2,628,457, what did the numbers show for tickets sold/ available at the box office?
### Context:
CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR) [/INST]
### Response:
SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906?
### Context:
CREATE TABLE table_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR) [/INST]
### Response:
SELECT dates__mdy_ FROM table_22123920_4 WHERE gross_sales = "$2,877,906" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year and the corresponding ceremony was the english titled movie "time out" submitted?
### Context:
CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_22102732_1 WHERE english_title = "Time Out" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 english titles were directed by carlos moreno?
### Context:
CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR) [/INST]
### Response:
SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the rank # of kelli miller the winning pitcher?
### Context:
CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR) [/INST]
### Response:
SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number of site have May 1, 2004 as the date?
### Context:
CREATE TABLE table_22098274_1 (site VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT COUNT(site) FROM table_22098274_1 WHERE date = "May 1, 2004" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
At what time is the site usf softball field • tampa, fl and w4-0 is the result?
### Context:
CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT time FROM table_22098274_1 WHERE site = "USF Softball Field • Tampa, FL" AND result = "W4-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the result for the film with the English name of Morning Undersea?
### Context:
CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 result of the film with the Portuguese title, Um Filme Falado?
### Context:
CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR) [/INST]
### Response:
SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 name of the film who's English title is, Belle Toujours?
### Context:
CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR) [/INST]
### Response:
SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every result for the ceremony year of 2007 (80th)?
### Context:
CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR) [/INST]
### Response:
SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every English title for the result of nominee?
### Context:
CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT english_title FROM table_22128871_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:
How many directors have vietnamese titles of Gate, Gate, Paragate?
### Context:
CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR) [/INST]
### Response:
SELECT COUNT(director) FROM table_22128871_1 WHERE vietnamese_title = "Gate, gate, paragate" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every ceremony year for the result of nominee?
### Context:
CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR) [/INST]
### Response:
SELECT year__ceremony_ FROM table_22128871_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:
Who was the pilot of max altitude of 55.9 miles?
### Context:
CREATE TABLE table_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR) [/INST]
### Response:
SELECT pilot FROM table_221315_3 WHERE max_altitude__miles_ = "55.9" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the highest number of fai space flights when max mach is 5.65?
### Context:
CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR) [/INST]
### Response:
SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 altitude for Neil Armstrong?
### Context:
CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR) [/INST]
### Response:
SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = "Neil Armstrong" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 numbers were recorded under max speed for 1 USAF space flight and total flights 34?
### Context:
CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR) [/INST]
### Response:
SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights = 1 AND total_flights = 34 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 all USAF space flights when the aximum speed was 3822?
### Context:
CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = 3822 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 max mach when the maximum speed was 3887?
### Context:
CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = 3887 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the record for the away leg in round 1 and aggregate 2-0?
### Context:
CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR) [/INST]
### Response:
SELECT away_leg FROM table_2214582_1 WHERE round = 1 AND aggregate = "2-0" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the parishes for beira baixa province
### Context:
CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR) [/INST]
### Response:
SELECT COUNT(parishes) FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa Province" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 municipalities for alto alentejo province (partly ribatejo)
### Context:
CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR) [/INST]
### Response:
SELECT MAX(municipalities) FROM table_221375_1 WHERE province_of_1936 = "Alto Alentejo Province (partly Ribatejo)" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 province of 1936 viana do castelo
### Context:
CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR) [/INST]
### Response:
SELECT province_of_1936 FROM table_221375_1 WHERE district = "Viana do Castelo" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What was the score when the partner is Rafael Osuna?
### Context:
CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcome of the game when the partner is Rafael Osuna?
### Context:
CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT outcome FROM table_2215159_2 WHERE partner = "Rafael Osuna" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 surface of the French Championships?
### Context:
CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) [/INST]
### Response:
SELECT surface FROM table_2215159_2 WHERE championship = "French championships" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 outcomes were there for matches played with Chuck McKinley on grass in 1962?
### Context:
CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) [/INST]
### Response:
SELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = "Grass" AND partner = "Chuck McKinley" AND year = 1962 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home leg score against partizani tirana?
### Context:
CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT home_leg FROM table_2214582_3 WHERE opponents = "Partizani Tirana" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 round did they face fc st. gallen?
### Context:
CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT COUNT(round) FROM table_2214582_3 WHERE opponents = "FC St. Gallen" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 home leg score against fc schalke 04?
### Context:
CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR) [/INST]
### Response:
SELECT home_leg FROM table_2214582_3 WHERE opponents = "FC Schalke 04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 dfb-pokal did kevin-prince boateng have?
### Context:
CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR) [/INST]
### Response:
SELECT COUNT(dfb_pokal) FROM table_22167196_1 WHERE player = "Kevin-Prince Boateng" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 head coach when Miami University is the championship game opponent?
### Context:
CREATE TABLE table_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR) [/INST]
### Response:
SELECT head_coach FROM table_22165661_3 WHERE championship_game_opponent = "Miami 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 location when 2-1 is the score?
### Context:
CREATE TABLE table_22165661_3 (location VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT location FROM table_22165661_3 WHERE score = "2-1" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the conference when Ferris State is the championship game opponent?
### Context:
CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR) [/INST]
### Response:
SELECT conference FROM table_22165661_3 WHERE championship_game_opponent = "Ferris State" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the location of the 1999 tournament?
### Context:
CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR) [/INST]
### Response:
SELECT location FROM table_22165661_3 WHERE tournament = 1999 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 scores are there when the championship game opponent is Miami University?
### Context:
CREATE TABLE table_22165661_3 (score VARCHAR, championship_game_opponent VARCHAR) [/INST]
### Response:
SELECT COUNT(score) FROM table_22165661_3 WHERE championship_game_opponent = "Miami 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:
Who is the head coach for the score of 4-3?
### Context:
CREATE TABLE table_22165661_3 (head_coach VARCHAR, score VARCHAR) [/INST]
### Response:
SELECT head_coach FROM table_22165661_3 WHERE score = "4-3" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the bleeding time when the platelet count is decreased or unaffected?
### Context:
CREATE TABLE table_221653_1 (bleeding_time VARCHAR, platelet_count VARCHAR) [/INST]
### Response:
SELECT bleeding_time FROM table_221653_1 WHERE platelet_count = "Decreased or unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 partial thromboplastin time when the condition factor x deficiency as seen in amyloid purpura?
### Context:
CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 time does the platelet count occur when prothrombin time and bleeding time are prolonged?
### Context:
CREATE TABLE table_221653_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) [/INST]
### Response:
SELECT COUNT(platelet_count) FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 bleeding time for the disseminated intravascular coagulation condition?
### Context:
CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR) [/INST]
### Response:
SELECT COUNT(bleeding_time) FROM table_221653_1 WHERE condition = "Disseminated intravascular coagulation" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the result for partial thromboplastin time when prothrombin time and bleeding time are prolonged?
### Context:
CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) [/INST]
### Response:
SELECT partial_thromboplastin_time FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 platelet count when partial thromboplastin time and bleeding time are unaffected?
### Context:
CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) [/INST]
### Response:
SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" received?
### Context:
CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR) [/INST]
### Response:
SELECT MIN(top_50_ranking) FROM table_22170495_7 WHERE title = "The God-Why-Don't-You-Love-Me Blues" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 episodes originally aired on April 19, 2010?
### Context:
CREATE TABLE table_22170495_7 (title VARCHAR, original_airing VARCHAR) [/INST]
### Response:
SELECT title FROM table_22170495_7 WHERE original_airing = "April 19, 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:
The episode titled "Epiphany" received what scripted show ranking?
### Context:
CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR) [/INST]
### Response:
SELECT MIN(scripted_show_ranking) FROM table_22170495_7 WHERE title = "Epiphany" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 of the episodes in the top 50 rankings were originally aired on June 28, 2010?
### Context:
CREATE TABLE table_22170495_7 (top_50_ranking VARCHAR, original_airing VARCHAR) [/INST]
### Response:
SELECT COUNT(top_50_ranking) FROM table_22170495_7 WHERE original_airing = "June 28, 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:
For the location of quezon city , metro manila what is the athletic nickname?
### Context:
CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT athletic_nickname FROM table_22171978_1 WHERE location = "Quezon City , Metro Manila" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 locations are there for the athletic nickname is blue crusaders?
### Context:
CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 entries are shown for school colors for the location of naga , camarines sur?
### Context:
CREATE TABLE table_22171978_1 (school_colors VARCHAR, location VARCHAR) [/INST]
### Response:
SELECT COUNT(school_colors) FROM table_22171978_1 WHERE location = "Naga , Camarines Sur" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 athletic nickname of golden knights how many entries are shown for enrollment?
### Context:
CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR) [/INST]
### Response:
SELECT COUNT(enrollment) FROM table_22171978_1 WHERE athletic_nickname = "Golden Knights" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 year was the ateneo de manila university founded?
### Context:
CREATE TABLE table_22171978_1 (founded VARCHAR, institution VARCHAR) [/INST]
### Response:
SELECT founded FROM table_22171978_1 WHERE institution = "Ateneo de Manila 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 year was the athletic nickname blue crusaders founded?
### Context:
CREATE TABLE table_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR) [/INST]
### Response:
SELECT founded FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original airdates did season 20 have?
### Context:
CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_22181917_2 WHERE season__number = 20 </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Who directed the episode that was watched by 6.62 million U.S. viewers?
### Context:
CREATE TABLE table_22181917_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_22181917_2 WHERE us_viewers__millions_ = "6.62" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code for the episode with 8.56 million U.S. viewers?
### Context:
CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.56" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is the title of the episode that had 9.76 million U.S. viewers?
### Context:
CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR) [/INST]
### Response:
SELECT title FROM table_22181917_2 WHERE us_viewers__millions_ = "9.76" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original airing on e4 May 2, 2010?
### Context:
CREATE TABLE table_22170495_6 (title VARCHAR, original_airing_on_e4 VARCHAR) [/INST]
### Response:
SELECT title FROM table_22170495_6 WHERE original_airing_on_e4 = "May 2, 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:
How many total viewers have April 21, 2010 as the original airing on channel 4?
### Context:
CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR) [/INST]
### Response:
SELECT COUNT(total_viewers) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "April 21, 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 position in e4s ratings b when June 30, 2010 is the original airing on channel 4?
### Context:
CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR) [/INST]
### Response:
SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 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:
When is the original airing on channel 4 with being alive as the title?
### Context:
CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR) [/INST]
### Response:
SELECT original_airing_on_channel_4 FROM table_22170495_6 WHERE title = "Being Alive" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 position in channel 4s ratings a have February 24, 2010 as the original airing on channel 4?
### Context:
CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR) [/INST]
### Response:
SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 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 are all types where registration is HB-OPU?
### Context:
CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR) [/INST]
### Response:
SELECT type FROM table_22180353_1 WHERE registration = "HB-OPU" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every registration for the type of T 6 G?
### Context:
CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR) [/INST]
### Response:
SELECT registration FROM table_22180353_1 WHERE type = "T 6 G" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every construction date for the registration of HB-HOS?
### Context:
CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR) [/INST]
### Response:
SELECT construction AS date FROM table_22180353_1 WHERE registration = "HB-HOS" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
What is every conformity to original design if registration is HB-DAI?
### Context:
CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR) [/INST]
### Response:
SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 latest season number that Eric Tuchman directed?
### Context:
CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR) [/INST]
### Response:
SELECT MAX(season__number) FROM table_2219961_2 WHERE director = "Eric Tuchman" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 man seasons have the air date of October 2, 2001?
### Context:
CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR) [/INST]
### Response:
SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 report in the race where the winning team was Roush Fenway Racing?
### Context:
CREATE TABLE table_2220432_1 (report VARCHAR, team VARCHAR) [/INST]
### Response:
SELECT report FROM table_2220432_1 WHERE team = "Roush Fenway Racing" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 miles (km) for the race that had an average speed of 136.117 MPH?
### Context:
CREATE TABLE table_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT miles__km_ FROM table_2220432_1 WHERE average_speed__mph_ = "136.117" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 miles when February 25 is the date?
### Context:
CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT miles__km_ FROM table_2226343_1 WHERE date = "February 25" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many laps have an average speed of 141.911?
### Context:
CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "141.911" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer when 150.088 is the average speed (mph)?
### Context:
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_2226343_1 WHERE average_speed__mph_ = "150.088" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 manufacturer for the date of June 22?
### Context:
CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR) [/INST]
### Response:
SELECT manufacturer FROM table_2226343_1 WHERE date = "June 22" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many laps have a race time of 3:31:24?
### Context:
CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR) [/INST]
### Response:
SELECT laps FROM table_2226343_1 WHERE race_time = "3:31: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 laps have an average speed (mph) of 140.22?
### Context:
CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR) [/INST]
### Response:
SELECT laps FROM table_2226343_1 WHERE average_speed__mph_ = "140.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:
Who directed the film with the original title of три летња дана?
### Context:
CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_22265716_1 WHERE original_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:
Who directed the film with the title three summer days?
### Context:
CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) [/INST]
### Response:
SELECT director FROM table_22265716_1 WHERE film_title_used_in_nomination = "Three Summer Days" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 director of the film with the title лепа села лепо горе?
### Context:
CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR) [/INST]
### Response:
SELECT director FROM table_22265716_1 WHERE original_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:
How many viewers in millions watched the episode with the production code 6acx16?
### Context:
CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT us_viewers__million_ FROM table_22261877_1 WHERE production_code = "6ACX16" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 air date of the episode with the production code 6acx19?
### Context:
CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_22261877_1 WHERE production_code = "6ACX19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 production code of 1.12?
### Context:
CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_2226817_2 WHERE production_code = "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:
How many number of series have a production code of 1.11?
### Context:
CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT no_in_series FROM table_2226817_2 WHERE production_code = "1.11" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
How many number of series have the production code of 1.11?
### Context:
CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR) [/INST]
### Response:
SELECT MAX(no_in_series) FROM table_2226817_2 WHERE production_code = "1.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 wrote when the original airdate is April 5, 1987?
### Context:
CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 when the production code is 1.02?
### Context:
CREATE TABLE table_2226817_2 (directed_by VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT directed_by FROM table_2226817_2 WHERE production_code = "1.02" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name the production code for november 27, 1988
### Context:
CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT production_code FROM table_2226817_4 WHERE original_air_date = "November 27, 1988" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 original air date for 3.04 production code
### Context:
CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
Name who wrote the episode that aired april 9, 1989
### Context:
CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT written_by FROM table_2226817_4 WHERE original_air_date = "April 9, 1989" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. 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 number in season for 3.09
### Context:
CREATE TABLE table_2226817_4 (no_in_season VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(no_in_season) FROM table_2226817_4 WHERE production_code = "3.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:
when was the episode premiere if the production code is 11.19?
### Context:
CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR) [/INST]
### Response:
SELECT COUNT(original_air_date) FROM table_2226817_12 WHERE production_code = "11.19" </s> |
<s> [INST] <<SYS>> You are a powerful text-to-SQL model. Your job is to answer questions about a database. You are given a question and context regarding one or more tables. You must output the SQL query that answers the question. <</SYS>>
### Input:
what is the name of the episode whose premiere was in march 2, 1997?
### Context:
CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR) [/INST]
### Response:
SELECT title FROM table_2226817_12 WHERE original_air_date = "March 2, 1997" </s> |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.