instruction_seed
stringlengths
305
1.28k
response_seed
stringclasses
1 value
response
stringlengths
7
2.05k
__original_row_idx
int64
0
50k
conversations
listlengths
2
2
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22078972_2 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR) Question: How many millions of people in the US saw the episode with series number 103? Here is th...
The SQLite query you've provided is almost correct, but there is a small issue with the `WHERE` clause; you should treat `no_in_series` as a string in your WHERE clause since the schema defines it as a VARCHAR. You should properly enclose '103' in single quotes. Here’s the corrected query: ``` SELECT us_viewers__milli...
35,100
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22078972_2 (us_viewers__millions_ VARCHAR, no_in_series VARCHAR)\n\n Question: How many millions of people in the US saw the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) Question: What number episode in the series was watched by 15.89 million U.S. viewers? Here is th...
Here is the SQLite query to answer the question about which episode was watched by 15.89 million U.S. viewers: ``` SELECT no_in_series FROM table_22078906_2 WHERE us_viewers__millions_ = "15.89" ```
35,101
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22078906_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What number episode in the series was watched...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR) Question: What is the title of the episode directed by William Webb? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the title of the episode directed by William Webb: ``` SELECT title FROM table_22078906_2 WHERE directed_by = "William Webb" ```
35,102
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22078906_2 (title VARCHAR, directed_by VARCHAR)\n\n Question: What is the title of the episode directed by William Webb? \n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR) Question: What was the final score when River Plate was the runner-up? Here is the SQLite query to answer to the ques...
```sql SELECT result FROM table_2208838_2 WHERE runner_up = 'River Plate'; ```
35,103
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR)\n\n Question: What was the final score when River Plate was the runner-up?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR) Question: What was spent per voter when total amount spent was 210,280,000? Here is the ...
Your provided query is correctly structured for the given schema to find what was spent per voter for a specific total amount spent. Here it is wrapped in code format: ``` SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000" ``` This query will select the `spent_per_voter__...
35,104
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR)\n\n Question: What was spent per voter when total...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR) Question: What was spent per voter when the spent per vote was 20.07? Here is the SQLi...
Here is the SQLite query to answer the question about what was spent per voter when the spent per vote was 20.07: ``` SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE spent_per_vote___php__ = "20.07" ```
35,105
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22097588_9 (spent_per_voter___php__ VARCHAR, spent_per_vote___php__ VARCHAR)\n\n Question: What was spent per voter when the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22123920_4 (shows___sellout VARCHAR, sellout___percentage_ VARCHAR) Question: Between November 25–30, 2008 the sellout rate was at 75%, indicating that the ration b...
To determine the ratio between shows to sellout for a sellout percentage of 75%, you can modify your query to also include how many shows correspond to that sellout percentage. However, your schema does not specify a clear way to compute the ratio directly from the fields present. Given that, you would need to select b...
35,106
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22123920_4 (shows___sellout VARCHAR, sellout___percentage_ VARCHAR)\n\n Question: Between November 25–30, 2008 the sellout r...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR) Question: During the period in which gross sales totals for "The Show Girl Must Go On" reached $2...
Here's the SQLite query to answer your question: ``` SELECT tickets_sold___available FROM table_22123920_4 WHERE gross_sales = "$2,628,457"; ```
35,107
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22123920_4 (tickets_sold___available VARCHAR, gross_sales VARCHAR)\n\n Question: During the period in which gross sales tota...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR) Question: Which specific dates encompass the time period when "The Show Girl Must Go On" showed a gross sales ...
To correctly query for the specific dates when "The Show Girl Must Go On" showed a gross sales figure total of $2,877,906, we should ensure we are matching the gross sales value accurately, and we should use single quotes for the string value. Here’s the corrected SQLite query wrapped in code formatting: ``` SELECT da...
35,108
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22123920_4 (dates__mdy_ VARCHAR, gross_sales VARCHAR)\n\n Question: Which specific dates encompass the time period when \"Th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR) Question: What year and the corresponding ceremony was the english titled movie "time out" submitted? H...
Here is your SQLite query wrapped as requested: ``` SELECT year__ceremony_ FROM table_22102732_1 WHERE english_title = "Time Out" ```
35,109
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22102732_1 (year__ceremony_ VARCHAR, english_title VARCHAR)\n\n Question: What year and the corresponding ceremony was the e...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR) Question: How many english titles were directed by carlos moreno? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about how many English titles were directed by Carlos Moreno: ``` SELECT COUNT(english_title) FROM table_22102732_1 WHERE director = "Carlos Moreno"; ```
35,110
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22102732_1 (english_title VARCHAR, director VARCHAR)\n\n Question: How many english titles were directed by carlos moreno?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR) Question: What is the rank # of kelli miller the winning pitcher? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question about the rank number of Kelli Miller, the winning pitcher: ``` SELECT rank_number FROM table_22098274_1 WHERE winning_pitcher = "Kelli Miller"; ```
35,111
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22098274_1 (rank_number VARCHAR, winning_pitcher VARCHAR)\n\n Question: What is the rank # of kelli miller the winning pitch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22098274_1 (site VARCHAR, date VARCHAR) Question: How many number of site have May 1, 2004 as the date? Here is the SQLite query to answer to the question: How man...
Here is the SQLite query to answer the question of how many sites have May 1, 2004, as the date: ``` SELECT COUNT(site) FROM table_22098274_1 WHERE date = "May 1, 2004"; ```
35,112
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22098274_1 (site VARCHAR, date VARCHAR)\n\n Question: How many number of site have May 1, 2004 as the date?\n\nHere is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR) Question: At what time is the site usf softball field • tampa, fl and w4-0 is the result? Here is the SQLit...
Here's the SQLite query to answer the question regarding the time for the site "usf softball field • tampa, fl" and the result "w4-0": ``` SELECT time FROM table_22098274_1 WHERE site = "USF Softball Field • Tampa, FL" AND result = "W4-0" ```
35,113
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22098274_1 (time VARCHAR, site VARCHAR, result VARCHAR)\n\n Question: At what time is the site usf softball field • tampa, f...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR) Question: What was the result for the film with the English name of Morning Undersea? Here is the SQLite query ...
Your SQLite query is correct. Here it is wrapped in code formatting: ``` SELECT result FROM table_22118197_1 WHERE english_title = "Morning Undersea"; ```
35,114
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22118197_1 (result VARCHAR, english_title VARCHAR)\n\n Question: What was the result for the film with the English name of M...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR) Question: What was the result of the film with the Portuguese title, Um Filme Falado? Here is the SQLite que...
Here is the SQLite query to answer the question: ``` SELECT result FROM table_22118197_1 WHERE portuguese_title = "Um Filme Falado"; ```
35,115
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22118197_1 (result VARCHAR, portuguese_title VARCHAR)\n\n Question: What was the result of the film with the Portuguese titl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR) Question: What is the Portuguese name of the film who's English title is, Belle Toujours? Here is the...
Here is the SQLite query to answer the question: ``` SELECT portuguese_title FROM table_22118197_1 WHERE english_title = "Belle Toujours" ```
35,116
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22118197_1 (portuguese_title VARCHAR, english_title VARCHAR)\n\n Question: What is the Portuguese name of the film who's Eng...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR) Question: What is every result for the ceremony year of 2007 (80th)? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about every result for the ceremony year of 2007 (80th): ``` SELECT result FROM table_22128871_1 WHERE year__ceremony_ = "2007 (80th)"; ```
35,117
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22128871_1 (result VARCHAR, year__ceremony_ VARCHAR)\n\n Question: What is every result for the ceremony year of 2007 (80th)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR) Question: What is every English title for the result of nominee? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question regarding every English title for the result of nominee: ``` SELECT english_title FROM table_22128871_1 WHERE result = "Nominee" ```
35,118
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22128871_1 (english_title VARCHAR, result VARCHAR)\n\n Question: What is every English title for the result of nominee?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR) Question: How many directors have vietnamese titles of Gate, Gate, Paragate? Here is the SQLite query to an...
The query you've provided doesn't accurately reflect the question which asks for the count of directors that have Vietnamese titles of "Gate", "gate", and "Paragate". It seems you meant to check for these titles individually. You can achieve this using the `IN` clause. Here's the corrected SQL query: ```sql SELECT COU...
35,119
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22128871_1 (director VARCHAR, vietnamese_title VARCHAR)\n\n Question: How many directors have vietnamese titles of Gate, Gat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR) Question: What is every ceremony year for the result of nominee? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question regarding every ceremony year for the result of "Nominee": ```sql SELECT year__ceremony_ FROM table_22128871_1 WHERE result = 'Nominee'; ```
35,120
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22128871_1 (year__ceremony_ VARCHAR, result VARCHAR)\n\n Question: What is every ceremony year for the result of nominee?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR) Question: Who was the pilot of max altitude of 55.9 miles? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question about the pilot of max altitude of 55.9 miles: ``` SELECT pilot FROM table_221315_3 WHERE max_altitude__miles_ = "55.9" ```
35,121
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (pilot VARCHAR, max_altitude__miles_ VARCHAR)\n\n Question: Who was the pilot of max altitude of 55.9 miles?\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR) Question: What is the highest number of fai space flights when max mach is 5.65? Here is the SQLite query to...
Here is the SQLite query wrapped in code formatting: ``` SELECT MAX(fai_space_flights) FROM table_221315_3 WHERE max_mach = "5.65"; ```
35,122
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (fai_space_flights INTEGER, max_mach VARCHAR)\n\n Question: What is the highest number of fai space flights when ma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR) Question: What was the maximum altitude for Neil Armstrong? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question: What was the maximum altitude for Neil Armstrong?: ``` SELECT max_altitude__miles_ FROM table_221315_3 WHERE pilot = "Neil Armstrong" ```
35,123
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (max_altitude__miles_ VARCHAR, pilot VARCHAR)\n\n Question: What was the maximum altitude for Neil Armstrong?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR) Question: How many numbers were recorded under max speed for 1 USAF space flig...
Here is the SQLite query to answer the question: ```sql SELECT COUNT(max_speed__mph_) FROM table_221315_3 WHERE usaf_space_flights = '1' AND total_flights = '34'; ```
35,124
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (max_speed__mph_ VARCHAR, usaf_space_flights VARCHAR, total_flights VARCHAR)\n\n Question: How many numbers were re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR) Question: What were all USAF space flights when the aximum speed was 3822? Here is the SQLite query ...
Here is the corrected SQLite query to answer the question regarding all USAF space flights with a maximum speed of 3822: ``` SELECT usaf_space_flights FROM table_221315_3 WHERE max_speed__mph_ = '3822'; ``` Note that the value '3822' is enclosed in quotes because the `max_speed__mph_` column is defined as `VARCHAR`.
35,125
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (usaf_space_flights VARCHAR, max_speed__mph_ VARCHAR)\n\n Question: What were all USAF space flights when the aximu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR) Question: What was the max mach when the maximum speed was 3887? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question regarding the maximum mach when the maximum speed was 3887: ``` SELECT max_mach FROM table_221315_3 WHERE max_speed__mph_ = '3887' ``` Please note that in the original question, `max_speed__mph_` is a VARCHAR type. Therefore, the speed value should be enclosed in quote...
35,126
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221315_3 (max_mach VARCHAR, max_speed__mph_ VARCHAR)\n\n Question: What was the max mach when the maximum speed was 3887?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR) Question: What is the record for the away leg in round 1 and aggregate 2-0? Here is the SQLite query...
Here is the SQLite query to retrieve the record for the away leg in round 1 and aggregate 2-0: ``` SELECT away_leg FROM table_2214582_1 WHERE round = '1' AND aggregate = '2-0'; ```
35,127
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2214582_1 (away_leg VARCHAR, round VARCHAR, aggregate VARCHAR)\n\n Question: What is the record for the away leg in round 1 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR) Question: Name the parishes for beira baixa province Here is the SQLite query to answer to the question: Nam...
The provided query counts the number of parishes in the "Beira Baixa Province". However, if you want to retrieve the names of the parishes instead of counting them, you should use the following query: ```sql SELECT parishes FROM table_221375_1 WHERE province_of_1936 = "Beira Baixa"; ``` Make sure to adjust the condi...
35,128
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221375_1 (parishes VARCHAR, province_of_1936 VARCHAR)\n\n Question: Name the parishes for beira baixa province\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR) Question: Name the most municipalities for alto alentejo province (partly ribatejo) Here is the SQLite ...
Here is the corrected SQLite query to find the municipalities for the "Alto Alentejo Province (partly Ribatejo)": ```sql SELECT municipalities FROM table_221375_1 WHERE province_of_1936 = "Alto Alentejo Province (partly Ribatejo)" ORDER BY municipalities DESC LIMIT 1; ``` This query selects the maximum number of...
35,129
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221375_1 (municipalities INTEGER, province_of_1936 VARCHAR)\n\n Question: Name the most municipalities for alto alentejo pro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR) Question: Name province of 1936 viana do castelo Here is the SQLite query to answer to the question: Name pr...
Your SQLite query to find the province of 1936 for the district "Viana do Castelo" is correct. Here it is wrapped in code formatting: ``` SELECT province_of_1936 FROM table_221375_1 WHERE district = "Viana do Castelo"; ```
35,130
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221375_1 (province_of_1936 VARCHAR, district VARCHAR)\n\n Question: Name province of 1936 viana do castelo\n\nHere is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR) Question: What was the score when the partner is Rafael Osuna? Here is the SQLite query to answer to the question: What ...
Your SQLite query is correctly formulated to retrieve the score for the partner "Rafael Osuna". Here it is wrapped in the specified format: ``` SELECT score FROM table_2215159_2 WHERE partner = "Rafael Osuna"; ```
35,131
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2215159_2 (score VARCHAR, partner VARCHAR)\n\n Question: What was the score when the partner is Rafael Osuna?\n\nHere is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR) Question: What was the outcome of the game when the partner is Rafael Osuna? Here is the SQLite query to answer to the...
Your SQLite query to find the outcome of the game when the partner is Rafael Osuna is correct. Here is the query wrapped in the appropriate format: ``` SELECT outcome FROM table_2215159_2 WHERE partner = "Rafael Osuna"; ```
35,132
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2215159_2 (outcome VARCHAR, partner VARCHAR)\n\n Question: What was the outcome of the game when the partner is Rafael Osuna...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR) Question: What is the surface of the French Championships? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the surface of the French Championships: ``` SELECT surface FROM table_2215159_2 WHERE championship = "French Championships"; ```
35,133
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2215159_2 (surface VARCHAR, championship VARCHAR)\n\n Question: What is the surface of the French Championships?\n\nHere is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR) Question: How many outcomes were there for matches played with Chuck McKinley on grass i...
Here's the SQLite query that answers the question about the number of outcomes for matches played with Chuck McKinley on grass in 1962: ``` SELECT COUNT(outcome) FROM table_2215159_2 WHERE surface = 'Grass' AND partner = 'Chuck McKinley' AND year = '1962'; ```
35,134
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2215159_2 (outcome VARCHAR, year VARCHAR, surface VARCHAR, partner VARCHAR)\n\n Question: How many outcomes were there for m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR) Question: What was the home leg score against partizani tirana? Here is the SQLite query to answer to the question:...
Here is the SQLite query to answer the question regarding the home leg score against Partizani Tirana: ``` SELECT home_leg FROM table_2214582_3 WHERE opponents = "Partizani Tirana"; ```
35,135
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)\n\n Question: What was the home leg score against partizani tirana?\n\nHere ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR) Question: What round did they face fc st. gallen? Here is the SQLite query to answer to the question: What round did t...
To retrieve the round in which they faced FC St. Gallen, you should select the `round` column from the table where the `opponents` match "FC St. Gallen". Here is the correct SQLite query: ``` SELECT round FROM table_2214582_3 WHERE opponents = "FC St. Gallen"; ``` This query will return the round(s) they faced FC St...
35,136
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2214582_3 (round VARCHAR, opponents VARCHAR)\n\n Question: What round did they face fc st. gallen?\n\nHere is the SQLite que...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR) Question: What was the home leg score against fc schalke 04? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question about the home leg score against FC Schalke 04: ``` SELECT home_leg FROM table_2214582_3 WHERE opponents = "FC Schalke 04"; ```
35,137
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2214582_3 (home_leg VARCHAR, opponents VARCHAR)\n\n Question: What was the home leg score against fc schalke 04?\n\nHere is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR) Question: How many dfb-pokal did kevin-prince boateng have? Here is the SQLite query to answer to the question: How ...
Here is the SQLite query to answer the question about how many DFB-Pokals Kevin-Prince Boateng has had: ``` SELECT COUNT(dfb_pokal) FROM table_22167196_1 WHERE player = "Kevin-Prince Boateng"; ```
35,138
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22167196_1 (dfb_pokal VARCHAR, player VARCHAR)\n\n Question: How many dfb-pokal did kevin-prince boateng have?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR) Question: Who is the head coach when Miami University is the championship game opponent? Here i...
Certainly! Here is the SQLite query formatted as requested: ``` SELECT head_coach FROM table_22165661_3 WHERE championship_game_opponent = "Miami University" ```
35,139
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (head_coach VARCHAR, championship_game_opponent VARCHAR)\n\n Question: Who is the head coach when Miami Universit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (location VARCHAR, score VARCHAR) Question: What is the location when 2-1 is the score? Here is the SQLite query to answer to the question: What is the ...
Here is the SQLite query to answer the question about the location when the score is 2-1: ``` SELECT location FROM table_22165661_3 WHERE score = '2-1'; ```
35,140
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (location VARCHAR, score VARCHAR)\n\n Question: What is the location when 2-1 is the score?\n\nHere is the SQLite...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR) Question: What is the conference when Ferris State is the championship game opponent? Here is t...
Here is the SQLite query to answer the question about the conference when Ferris State is the championship game opponent: ``` SELECT conference FROM table_22165661_3 WHERE championship_game_opponent = "Ferris State"; ```
35,141
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (conference VARCHAR, championship_game_opponent VARCHAR)\n\n Question: What is the conference when Ferris State i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR) Question: What is the location of the 1999 tournament? Here is the SQLite query to answer to the question: What i...
The SQLite query you provided has an issue with the `tournament` value since tournament names like years are typically stored as strings in the database. Here is the corrected version of the query: ``` SELECT location FROM table_22165661_3 WHERE tournament = '1999' ``` This query retrieves the location of the tourna...
35,142
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (location VARCHAR, tournament VARCHAR)\n\n Question: What is the location of the 1999 tournament?\n\nHere is the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (score VARCHAR, championship_game_opponent VARCHAR) Question: How many scores are there when the championship game opponent is Miami University? Here is...
Here is the SQLite query to answer the question regarding the number of scores when the championship game opponent is Miami University: ``` SELECT COUNT(score) FROM table_22165661_3 WHERE championship_game_opponent = "Miami University"; ```
35,143
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (score VARCHAR, championship_game_opponent VARCHAR)\n\n Question: How many scores are there when the championship...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22165661_3 (head_coach VARCHAR, score VARCHAR) Question: Who is the head coach for the score of 4-3? Here is the SQLite query to answer to the question: Who is the...
The SQLite query to find the head coach for the score of 4-3 is as follows: ``` SELECT head_coach FROM table_22165661_3 WHERE score = "4-3"; ```
35,144
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22165661_3 (head_coach VARCHAR, score VARCHAR)\n\n Question: Who is the head coach for the score of 4-3?\n\nHere is the SQLi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (bleeding_time VARCHAR, platelet_count VARCHAR) Question: What is the bleeding time when the platelet count is decreased or unaffected? Here is the SQLit...
The provided SQLite query attempts to select the `bleeding_time` where the `platelet_count` is "Decreased or unaffected". However, we should clarify how to check for decreased or unaffected platelet counts since dealing with string comparisons may not cover all cases. If "Decreased or unaffected" isn't an explicit valu...
35,145
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (bleeding_time VARCHAR, platelet_count VARCHAR)\n\n Question: What is the bleeding time when the platelet count is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR) Question: What is the partial thromboplastin time when the condition factor x deficiency as seen ...
Here is the SQLite query to answer your question: ``` SELECT partial_thromboplastin_time FROM table_221653_1 WHERE condition = "Factor X deficiency as seen in amyloid purpura" ```
35,146
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, condition VARCHAR)\n\n Question: What is the partial thromboplastin time when...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) Question: How many time does the platelet count occur when prothrombin time and b...
Here is the SQLite query to count how many times the platelet count occurs when both prothrombin time and bleeding time are prolonged: ```sql SELECT COUNT(platelet_count) FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged"; ```
35,147
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (platelet_count VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)\n\n Question: How many time does the plat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR) Question: What is the bleeding time for the disseminated intravascular coagulation condition? Here is the SQLit...
The provided SQL query counts the number of records with the condition "Disseminated intravascular coagulation" in the `table_221653_1`. However, if you want to retrieve the actual bleeding time(s) associated with that condition, you should use the following query instead: ``` SELECT bleeding_time FROM table_221653_1 ...
35,148
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (bleeding_time VARCHAR, condition VARCHAR)\n\n Question: What is the bleeding time for the disseminated intravascul...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR) Question: What is the result for partial thromboplastin time when pr...
Here is the SQLite query to answer the question regarding the result for partial thromboplastin time when both prothrombin time and bleeding time are prolonged: ``` SELECT partial_thromboplastin_time FROM table_221653_1 WHERE prothrombin_time = "Prolonged" AND bleeding_time = "Prolonged" ```
35,149
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (partial_thromboplastin_time VARCHAR, prothrombin_time VARCHAR, bleeding_time VARCHAR)\n\n Question: What is the re...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR) Question: What is the platelet count when partial thromboplastin time ...
Here is the SQLite query to answer the question regarding the platelet count when partial thromboplastin time and bleeding time are unaffected: ```sql SELECT platelet_count FROM table_221653_1 WHERE partial_thromboplastin_time = "Unaffected" AND bleeding_time = "Unaffected"; ```
35,150
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_221653_1 (platelet_count VARCHAR, partial_thromboplastin_time VARCHAR, bleeding_time VARCHAR)\n\n Question: What is the plat...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR) Question: What is the lowest top 50 ranking that the episode titled "the god-why-don't-you-love-me blues" receive...
Your query is almost correct, but it has a minor inconsistency with the title case. Here is the rewritten query with the title formatted as it appears in your question: ```sql SELECT MIN(top_50_ranking) FROM table_22170495_7 WHERE title = "the god-why-don't-you-love-me blues" ``` This query will return the lowest to...
35,151
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_7 (top_50_ranking INTEGER, title VARCHAR)\n\n Question: What is the lowest top 50 ranking that the episode titled \...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_7 (title VARCHAR, original_airing VARCHAR) Question: Which episodes originally aired on April 19, 2010? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding which episodes originally aired on April 19, 2010: ``` SELECT title FROM table_22170495_7 WHERE original_airing = "April 19, 2010" ```
35,152
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_7 (title VARCHAR, original_airing VARCHAR)\n\n Question: Which episodes originally aired on April 19, 2010?\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR) Question: The episode titled "Epiphany" received what scripted show ranking? Here is the SQLite query to ...
Here is the SQLite query to answer the question regarding the scripted show ranking for the episode titled "Epiphany": ``` SELECT scripted_show_ranking FROM table_22170495_7 WHERE title = "Epiphany"; ``` This query retrieves the `scripted_show_ranking` for the episode with the specified title, without needing to use...
35,153
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_7 (scripted_show_ranking INTEGER, title VARCHAR)\n\n Question: The episode titled \"Epiphany\" received what script...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_7 (top_50_ranking VARCHAR, original_airing VARCHAR) Question: How many of the episodes in the top 50 rankings were originally aired on June 28, 2010? Here...
Here is the SQLite query to answer the question about how many episodes in the top 50 rankings were originally aired on June 28, 2010: ``` SELECT COUNT(top_50_ranking) FROM table_22170495_7 WHERE original_airing = "June 28, 2010"; ```
35,154
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_7 (top_50_ranking VARCHAR, original_airing VARCHAR)\n\n Question: How many of the episodes in the top 50 rankings w...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR) Question: For the location of quezon city , metro manila what is the athletic nickname? Here is the SQLite...
Here is the SQLite query to retrieve the athletic nickname for the location "Quezon City, Metro Manila": ``` SELECT athletic_nickname FROM table_22171978_1 WHERE location = "Quezon City , Metro Manila"; ```
35,155
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (athletic_nickname VARCHAR, location VARCHAR)\n\n Question: For the location of quezon city , metro manila what i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR) Question: How many locations are there for the athletic nickname is blue crusaders? Here is the SQLite que...
Here is the SQLite query to answer the question about the number of locations for the athletic nickname "Blue Crusaders": ``` SELECT COUNT(location) FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"; ```
35,156
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (location VARCHAR, athletic_nickname VARCHAR)\n\n Question: How many locations are there for the athletic nicknam...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (school_colors VARCHAR, location VARCHAR) Question: How many entries are shown for school colors for the location of naga , camarines sur? Here is the S...
Here is the SQLite query to answer the question: ``` SELECT COUNT(school_colors) FROM table_22171978_1 WHERE location = "Naga , Camarines Sur" ```
35,157
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (school_colors VARCHAR, location VARCHAR)\n\n Question: How many entries are shown for school colors for the loca...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR) Question: For the athletic nickname of golden knights how many entries are shown for enrollment? Here is...
Here is the SQLite query to answer the question regarding the number of entries for the athletic nickname of "Golden Knights": ``` SELECT COUNT(enrollment) FROM table_22171978_1 WHERE athletic_nickname = "Golden Knights"; ```
35,158
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (enrollment VARCHAR, athletic_nickname VARCHAR)\n\n Question: For the athletic nickname of golden knights how man...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (founded VARCHAR, institution VARCHAR) Question: What year was the ateneo de manila university founded? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question about the founding year of Ateneo de Manila University: ``` SELECT founded FROM table_22171978_1 WHERE institution = "Ateneo de Manila University" ```
35,159
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (founded VARCHAR, institution VARCHAR)\n\n Question: What year was the ateneo de manila university founded?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR) Question: What year was the athletic nickname blue crusaders founded? Here is the SQLite query to answer to...
```sql SELECT founded FROM table_22171978_1 WHERE athletic_nickname = "Blue Crusaders"; ```
35,160
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22171978_1 (founded VARCHAR, athletic_nickname VARCHAR)\n\n Question: What year was the athletic nickname blue crusaders fou...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR) Question: How many original airdates did season 20 have? Here is the SQLite query to answer to the q...
Your SQLite query is nearly correct, but you need to ensure that the season number is treated as a string since the schema defines it as a VARCHAR. Additionally, it's good practice to use single quotes around string literals. Here’s the refined version of the query: ``` SELECT COUNT(original_air_date) FROM table_22181...
35,161
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22181917_2 (original_air_date VARCHAR, season__number VARCHAR)\n\n Question: How many original airdates did season 20 have?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22181917_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR) Question: Who directed the episode that was watched by 6.62 million U.S. viewers? Here is the SQLit...
Here is the SQLite query to answer the question about who directed the episode that was watched by 6.62 million U.S. viewers: ``` SELECT directed_by FROM table_22181917_2 WHERE us_viewers__millions_ = "6.62" ```
35,162
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22181917_2 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: Who directed the episode that was watched by 6...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR) Question: What is the production code for the episode with 8.56 million U.S. viewers? Here is t...
Here is the SQLite query to find the production code for the episode with 8.56 million U.S. viewers: ``` SELECT production_code FROM table_22181917_2 WHERE us_viewers__millions_ = "8.56" ```
35,163
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22181917_2 (production_code VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What is the production code for the episod...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR) Question: What is the title of the episode that had 9.76 million U.S. viewers? Here is the SQLite query t...
Here is the SQLite query to answer the question about the title of the episode that had 9.76 million U.S. viewers: ``` SELECT title FROM table_22181917_2 WHERE us_viewers__millions_ = "9.76" ```
35,164
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22181917_2 (title VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What is the title of the episode that had 9.76 milli...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_6 (title VARCHAR, original_airing_on_e4 VARCHAR) Question: What is the title of the original airing on e4 May 2, 2010? Here is the SQLite query to answer ...
Here is the SQLite query to answer the question regarding the title of the original airing on e4 on May 2, 2010: ``` SELECT title FROM table_22170495_6 WHERE original_airing_on_e4 = 'May 2, 2010'; ```
35,165
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_6 (title VARCHAR, original_airing_on_e4 VARCHAR)\n\n Question: What is the title of the original airing on e4 May 2...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR) Question: How many total viewers have April 21, 2010 as the original airing on channel 4? ...
Your SQLite query is almost correct, but if you're asking for the sum of the total viewers on that date rather than the count of records, you should use `SUM()` instead of `COUNT()`. Here's how you can modify the query if you want the total sum of viewers for that date: ```sql SELECT SUM(total_viewers) FROM table_2217...
35,166
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_6 (total_viewers VARCHAR, original_airing_on_channel_4 VARCHAR)\n\n Question: How many total viewers have April 21,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR) Question: What is the position in e4s ratings b when June 30, 2010 is the origi...
Your SQLite query is correct for retrieving the position in e4s ratings on the specific date of June 30, 2010, when it aired on Channel 4. Here it is formatted as requested: ``` SELECT position_in_e4s_ratings_b FROM table_22170495_6 WHERE original_airing_on_channel_4 = "June 30, 2010" ```
35,167
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_6 (position_in_e4s_ratings_b VARCHAR, original_airing_on_channel_4 VARCHAR)\n\n Question: What is the position in e...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR) Question: When is the original airing on channel 4 with being alive as the title? Here is the SQLi...
Here is the SQLite query to answer the question: ``` SELECT original_airing_on_channel_4 FROM table_22170495_6 WHERE title = "Being Alive" ```
35,168
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_6 (original_airing_on_channel_4 VARCHAR, title VARCHAR)\n\n Question: When is the original airing on channel 4 with...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR) Question: How many position in channel 4s ratings a have February 24, 20...
Here is the SQLite query to answer the question about how many positions in channel 4's ratings correspond to the original airing on February 24, 2010: ``` SELECT COUNT(position_in_channel_4s_ratings_a) FROM table_22170495_6 WHERE original_airing_on_channel_4 = "February 24, 2010"; ```
35,169
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22170495_6 (position_in_channel_4s_ratings_a VARCHAR, original_airing_on_channel_4 VARCHAR)\n\n Question: How many position ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR) Question: What are all types where registration is HB-OPU? Here is the SQLite query to answer to the question: What...
Your SQLite query looks correct. Here it is wrapped in code formatting for clarity: ``` SELECT type FROM table_22180353_1 WHERE registration = "HB-OPU"; ``` This query will return all `type` entries from `table_22180353_1` where the `registration` matches "HB-OPU".
35,170
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22180353_1 (type VARCHAR, registration VARCHAR)\n\n Question: What are all types where registration is HB-OPU?\n\nHere is th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR) Question: What is every registration for the type of T 6 G? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question regarding every registration for the type of T 6 G: ```sql SELECT registration FROM table_22180353_1 WHERE type = "T 6 G"; ```
35,171
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22180353_1 (registration VARCHAR, type VARCHAR)\n\n Question: What is every registration for the type of T 6 G?\n\nHere is t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR) Question: What is every construction date for the registration of HB-HOS? Here is the SQLite query to answe...
Here is the SQLite query to answer the question regarding every construction date for the registration of HB-HOS: ``` SELECT construction AS date FROM table_22180353_1 WHERE registration = 'HB-HOS'; ```
35,172
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22180353_1 (construction VARCHAR, registration VARCHAR)\n\n Question: What is every construction date for the registration o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR) Question: What is every conformity to original design if registration is HB-DAI? Here is t...
Your SQLite query to retrieve the conformity to original design for the registration "HB-DAI" looks correct. Here it is wrapped in code formatting: ``` SELECT conformity_to_original_design FROM table_22180353_1 WHERE registration = "HB-DAI"; ```
35,173
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22180353_1 (conformity_to_original_design VARCHAR, registration VARCHAR)\n\n Question: What is every conformity to original ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR) Question: What is the latest season number that Eric Tuchman directed? Here is the SQLite query to answer to ...
The SQLite query to find the latest season number that Eric Tuchman directed is as follows: ``` SELECT MAX(season__number) FROM table_2219961_2 WHERE director = "Eric Tuchman"; ```
35,174
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2219961_2 (season__number INTEGER, director VARCHAR)\n\n Question: What is the latest season number that Eric Tuchman direct...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR) Question: How man seasons have the air date of October 2, 2001? Here is the SQLite query to answer to the ...
Your SQLite query looks correct for counting the number of seasons that aired on October 2, 2001. However, just to ensure clarity, here's the formatted query again: ``` SELECT COUNT(season__number) FROM table_2219961_2 WHERE nbc_airdate = "October 2, 2001"; ``` This query counts the number of entries in the `table_2...
35,175
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2219961_2 (season__number VARCHAR, nbc_airdate VARCHAR)\n\n Question: How man seasons have the air date of October 2, 2001? ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2220432_1 (report VARCHAR, team VARCHAR) Question: What was the report in the race where the winning team was Roush Fenway Racing? Here is the SQLite query to ans...
Here is the SQLite query to answer the question of what the report was in the race where the winning team was Roush Fenway Racing: ``` SELECT report FROM table_2220432_1 WHERE team = 'Roush Fenway Racing'; ```
35,176
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2220432_1 (report VARCHAR, team VARCHAR)\n\n Question: What was the report in the race where the winning team was Roush Fenw...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR) Question: What was the miles (km) for the race that had an average speed of 136.117 MPH? Here is the SQ...
Here is the SQLite query that answers the question: ``` SELECT miles__km_ FROM table_2220432_1 WHERE average_speed__mph_ = '136.117'; ```
35,177
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2220432_1 (miles__km_ VARCHAR, average_speed__mph_ VARCHAR)\n\n Question: What was the miles (km) for the race that had an a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR) Question: What are the miles when February 25 is the date? Here is the SQLite query to answer to the question: What ar...
Your SQLite query looks good! Here’s the formatted query: ``` SELECT miles__km_ FROM table_2226343_1 WHERE date = "February 25"; ``` This query will select the `miles__km_` column from the table `table_2226343_1` where the `date` equals "February 25". Make sure that the date format in your database matches exactly w...
35,178
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (miles__km_ VARCHAR, date VARCHAR)\n\n Question: What are the miles when February 25 is the date?\n\nHere is the S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR) Question: How many laps have an average speed of 141.911? Here is the SQLite query to answer to the question:...
Your provided query is almost correct, but to count how many laps have an average speed of 141.911, you should use the `COUNT()` function. Here’s the corrected query: ``` SELECT COUNT(laps) AS lap_count FROM table_2226343_1 WHERE average_speed__mph_ = "141.911"; ```
35,179
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)\n\n Question: How many laps have an average speed of 141.911?\n\nHere ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR) Question: Who is the manufacturer when 150.088 is the average speed (mph)? Here is the SQLite query t...
Here is the SQLite query to answer the question regarding the manufacturer when the average speed is 150.088 mph: ```sql SELECT manufacturer FROM table_2226343_1 WHERE average_speed__mph_ = '150.088'; ```
35,180
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, average_speed__mph_ VARCHAR)\n\n Question: Who is the manufacturer when 150.088 is the aver...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR) Question: Who is the manufacturer for the date of June 22? Here is the SQLite query to answer to the question: Who i...
Here is the SQLite query to answer the question about the manufacturer for the date of June 22: ``` SELECT manufacturer FROM table_2226343_1 WHERE date = "June 22"; ```
35,181
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (manufacturer VARCHAR, date VARCHAR)\n\n Question: Who is the manufacturer for the date of June 22?\n\nHere is the...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR) Question: How many laps have a race time of 3:31:24? Here is the SQLite query to answer to the question: How many laps ...
To count the number of laps that have a race time of 3:31:24, you would use the `COUNT` function in your SQL query. Here is the correct query: ``` SELECT COUNT(laps) FROM table_2226343_1 WHERE race_time = "3:31:24"; ```
35,182
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, race_time VARCHAR)\n\n Question: How many laps have a race time of 3:31:24?\n\nHere is the SQLite q...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR) Question: How many laps have an average speed (mph) of 140.22? Here is the SQLite query to answer to the que...
Your query will return the laps with an average speed of 140.22, but to get the count of those laps, you should use the `COUNT()` function. Here is the corrected query: ``` SELECT COUNT(laps) FROM table_2226343_1 WHERE average_speed__mph_ = '140.22' ```
35,183
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226343_1 (laps VARCHAR, average_speed__mph_ VARCHAR)\n\n Question: How many laps have an average speed (mph) of 140.22?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR) Question: Who directed the film with the original title of три летња дана? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about who directed the film with the original title of три летња дана: ``` SELECT director FROM table_22265716_1 WHERE original_title = "три летња дана" ```
35,184
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)\n\n Question: Who directed the film with the original title of три лет...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR) Question: Who directed the film with the title three summer days? Here is the SQLite query to ...
Here is the SQLite query to answer the question: ``` SELECT director FROM table_22265716_1 WHERE film_title_used_in_nomination = "Three Summer Days" ```
35,185
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22265716_1 (director VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Who directed the film with the title thre...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR) Question: Who is the director of the film with the title лепа села лепо горе? Here is the SQLite query to ans...
Here is the SQLite query to find the director of the film titled "лепа села лепо горе": ```sql SELECT director FROM table_22265716_1 WHERE original_title = "лепа села лепо горе"; ```
35,186
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22265716_1 (director VARCHAR, original_title VARCHAR)\n\n Question: Who is the director of the film with the title лепа села...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR) Question: How many viewers in millions watched the episode with the production code 6acx16? Here...
Here is the SQLite query to find out how many viewers in millions watched the episode with the production code 6ACX16: ```sql SELECT us_viewers__million_ FROM table_22261877_1 WHERE production_code = "6acx16" ```
35,187
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22261877_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n Question: How many viewers in millions watched the ep...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR) Question: What is the air date of the episode with the production code 6acx19? Here is the SQLite ...
Here is the SQLite query to answer the question regarding the air date of the episode with the production code 6acx19: ``` SELECT original_air_date FROM table_22261877_1 WHERE production_code = "6acx19"; ```
35,188
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_22261877_1 (original_air_date VARCHAR, production_code VARCHAR)\n\n Question: What is the air date of the episode with the p...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR) Question: What is the original air date for the production code of 1.12? Here is the SQLite query to...
Here is the SQLite query to answer the question about the original air date for the production code of 1.12: ``` SELECT original_air_date FROM table_2226817_2 WHERE production_code = "1.12"; ```
35,189
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_2 (original_air_date VARCHAR, production_code VARCHAR)\n\n Question: What is the original air date for the productio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR) Question: How many number of series have a production code of 1.11? Here is the SQLite query to answer to...
To count the number of distinct series that have a production code of 1.11, you should use the `COUNT` function. Here is the corrected SQLite query: ```sql SELECT COUNT(DISTINCT no_in_series) AS series_count FROM table_2226817_2 WHERE production_code = '1.11'; ```
35,190
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_2 (no_in_series VARCHAR, production_code VARCHAR)\n\n Question: How many number of series have a production code of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR) Question: How many number of series have the production code of 1.11? Here is the SQLite query to answer ...
The SQLite query you provided is not correctly answering the question of how many series have the production code of 1.11. Instead, it attempts to get the maximum series number instead of counting the number of series. To count the number of series with the production code of 1.11, you would use the `COUNT` function. ...
35,191
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_2 (no_in_series INTEGER, production_code VARCHAR)\n\n Question: How many number of series have the production code o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR) Question: Who wrote when the original airdate is April 5, 1987? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: ``` SELECT written_by FROM table_2226817_2 WHERE original_air_date = "April 5, 1987" ```
35,192
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_2 (written_by VARCHAR, original_air_date VARCHAR)\n\n Question: Who wrote when the original airdate is April 5, 1987...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_2 (directed_by VARCHAR, production_code VARCHAR) Question: Who directed when the production code is 1.02? Here is the SQLite query to answer to the questio...
Here is the SQLite query to answer the question: Who directed when the production code is 1.02?: ``` SELECT directed_by FROM table_2226817_2 WHERE production_code = "1.02" ```
35,193
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_2 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: Who directed when the production code is 1.02?\n\nHer...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR) Question: Name the production code for november 27, 1988 Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question: ```sql SELECT production_code FROM table_2226817_4 WHERE original_air_date = "November 27, 1988"; ```
35,194
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_4 (production_code VARCHAR, original_air_date VARCHAR)\n\n Question: Name the production code for november 27, 1988\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR) Question: Name the original air date for 3.04 production code Here is the SQLite query to answer to ...
Here is the SQLite query to retrieve the original air date for the production code `3.04`: ```sql SELECT original_air_date FROM table_2226817_4 WHERE production_code = "3.04"; ```
35,195
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_4 (original_air_date VARCHAR, production_code VARCHAR)\n\n Question: Name the original air date for 3.04 production ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR) Question: Name who wrote the episode that aired april 9, 1989 Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about who wrote the episode that aired on April 9, 1989: ``` SELECT written_by FROM table_2226817_4 WHERE original_air_date = "April 9, 1989"; ```
35,196
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_4 (written_by VARCHAR, original_air_date VARCHAR)\n\n Question: Name who wrote the episode that aired april 9, 1989\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_4 (no_in_season VARCHAR, production_code VARCHAR) Question: Name the number of number in season for 3.09 Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the number of `no_in_season` for the production code "3.09": ``` SELECT COUNT(no_in_season) FROM table_2226817_4 WHERE production_code = '3.09'; ```
35,197
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_4 (no_in_season VARCHAR, production_code VARCHAR)\n\n Question: Name the number of number in season for 3.09\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR) Question: when was the episode premiere if the production code is 11.19? Here is the SQLite query ...
To find the premiere date of the episode with the production code "11.19" in the given schema, you should select the `original_air_date` for that specific production code. The provided query counts the entries instead of retrieving the date. Here is the corrected query: ```sql SELECT original_air_date FROM table_22268...
35,198
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_12 (original_air_date VARCHAR, production_code VARCHAR)\n\n Question: when was the episode premiere if the productio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR) Question: what is the name of the episode whose premiere was in march 2, 1997? Here is the SQLite query to an...
```sql SELECT title FROM table_2226817_12 WHERE original_air_date = "March 2, 1997" ```
35,199
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2226817_12 (title VARCHAR, original_air_date VARCHAR)\n\n Question: what is the name of the episode whose premiere was in ma...