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_11019212_1 (thursday VARCHAR, location VARCHAR) Question: what's the thursday time with location being hawthorne Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question about the Thursday time with the location being Hawthorne: ``` SELECT thursday FROM table_11019212_1 WHERE location = "Hawthorne"; ```
27,400
[ { "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_11019212_1 (thursday VARCHAR, location VARCHAR)\n\n Question: what's the thursday time with location being hawthorne\n\nHere...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11019212_1 (saturday VARCHAR, wednesday VARCHAR) Question: what's the saturday time with wednesday being 10:00-5:00 Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question you provided: ``` SELECT saturday FROM table_11019212_1 WHERE wednesday = "10:00-5:00" ```
27,401
[ { "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_11019212_1 (saturday VARCHAR, wednesday VARCHAR)\n\n Question: what's the saturday time with wednesday being 10:00-5:00\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11019212_1 (thursday VARCHAR, sunday VARCHAR, tuesday VARCHAR) Question: what's the thursday time with sunday being 1:00-5:00 and tuesday being 1:00-7:00 Here is t...
Here is the SQLite query to answer the question about the Thursday time given the specified conditions for Sunday and Tuesday: ``` SELECT thursday FROM table_11019212_1 WHERE sunday = "1:00-5:00" AND tuesday = "1:00-7:00" ```
27,402
[ { "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_11019212_1 (thursday VARCHAR, sunday VARCHAR, tuesday VARCHAR)\n\n Question: what's the thursday time with sunday being 1:00...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11019212_1 (monday VARCHAR, tuesday VARCHAR) Question: what's the monday time with tuesday being 9:00-6:00 Here is the SQLite query to answer to the question: what...
Here is the SQLite query to answer the question about which `monday` time corresponds to `tuesday` being "9:00-6:00": ``` SELECT monday FROM table_11019212_1 WHERE tuesday = "9:00-6:00" ```
27,403
[ { "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_11019212_1 (monday VARCHAR, tuesday VARCHAR)\n\n Question: what's the monday time with tuesday being 9:00-6:00\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_11056278_3 (report VARCHAR, fastest_lap VARCHAR) Question: What are all the reports where Paul Tracy had the fastest lap? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question regarding the reports where Paul Tracy had the fastest lap: ```sql SELECT report FROM table_11056278_3 WHERE fastest_lap = "Paul Tracy"; ```
27,404
[ { "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_11056278_3 (report VARCHAR, fastest_lap VARCHAR)\n\n Question: What are all the reports where Paul Tracy had the fastest lap...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR) Question: Who drove the fastest lap at the Tenneco Automotive Grand Prix of Detroit? Here is the SQLite query t...
Your SQLite query is correctly formatted to retrieve the fastest lap information for the specified race. Here it is wrapped in code formatting: ``` SELECT fastest_lap FROM table_11056278_3 WHERE race_name = "Tenneco Automotive Grand Prix of Detroit"; ``` This query selects the `fastest_lap` for the race "Tenneco Aut...
27,405
[ { "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_11056278_3 (fastest_lap VARCHAR, race_name VARCHAR)\n\n Question: Who drove the fastest lap at the Tenneco Automotive Grand ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11056278_3 (fastest_lap VARCHAR, winning_driver VARCHAR) Question: Who had the fastest lap in the races won by Max Papis? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question: Who had the fastest lap in the races won by Max Papis?: ```sql SELECT fastest_lap FROM table_11056278_3 WHERE winning_driver = "Max Papis"; ```
27,406
[ { "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_11056278_3 (fastest_lap VARCHAR, winning_driver VARCHAR)\n\n Question: Who had the fastest lap in the races won by Max Papis...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11056278_3 (winning_driver VARCHAR, rnd VARCHAR) Question: In Round 6, how many winning drivers were there? Here is the SQLite query to answer to the question: In ...
Here is the SQLite query to answer the question regarding the number of winning drivers in Round 6: ```sql SELECT COUNT(winning_driver) FROM table_11056278_3 WHERE rnd = '6'; ```
27,407
[ { "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_11056278_3 (winning_driver VARCHAR, rnd VARCHAR)\n\n Question: In Round 6, how many winning drivers were there?\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_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR) Question: What are the original names of the districts where the population in the 2010 census ...
Here is the SQLite query to answer the question regarding the original names of the districts where the population in the 2010 census was 210450: ``` SELECT original_name FROM table_1104312_5 WHERE population_at_2010_census = '210450' ``` (Note: The population is stored as a VARCHAR, so it's important to treat the v...
27,408
[ { "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_1104312_5 (original_name VARCHAR, population_at_2010_census VARCHAR)\n\n Question: What are the original names of the distri...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1104312_5 (original_name VARCHAR, english_name VARCHAR) Question: What is the original name of the district with the current English name of South Bogor? Here is t...
Here is the SQLite query to answer the question regarding the original name of the district with the English name of South Bogor: ``` SELECT original_name FROM table_1104312_5 WHERE english_name = "South Bogor" ```
27,409
[ { "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_1104312_5 (original_name VARCHAR, english_name VARCHAR)\n\n Question: What is the original name of the district with the cur...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR) Question: What is the listed population from the 2010 census of West Bogor? Here is the SQLite ...
Your provided SQLite query is mostly correct, but since you want the specific population for "West Bogor", you can use the `SELECT` statement without the `MIN()` function. The following query should suffice to return the population directly: ``` SELECT population_at_2010_census FROM table_1104312_5 WHERE english_name ...
27,410
[ { "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_1104312_5 (population_at_2010_census INTEGER, english_name VARCHAR)\n\n Question: What is the listed population from the 201...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR) Question: How many districts have an area of 17.72 KM2? Here is the SQLite query to answer to the question: H...
Here is the SQLite query to answer the question of how many districts have an area of 17.72 KM²: ``` SELECT COUNT(english_name) FROM table_1104312_5 WHERE area_in_km² = "17.72" ```
27,411
[ { "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_1104312_5 (english_name VARCHAR, area_in_km² VARCHAR)\n\n Question: How many districts have an area of 17.72 KM2?\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_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR) Question: What is the area in km2 for the district whose original name was Kecamatan Bogor Timur? Here is th...
Here is the SQLite query to retrieve the area in km² for the district whose original name was Kecamatan Bogor Timur: ``` SELECT area_in_km² FROM table_1104312_5 WHERE original_name = "Kecamatan Bogor Timur"; ```
27,412
[ { "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_1104312_5 (area_in_km² VARCHAR, original_name VARCHAR)\n\n Question: What is the area in km2 for the district whose original...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11066073_1 (colour VARCHAR, registration_no VARCHAR) Question: What is the number of colour with the regisration number of mg-509? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding the number of colours with the registration number of "MG-509": ``` SELECT COUNT(colour) FROM table_11066073_1 WHERE registration_no = "MG-509"; ```
27,413
[ { "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_11066073_1 (colour VARCHAR, registration_no VARCHAR)\n\n Question: What is the number of colour with the regisration number ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11058032_1 (title VARCHAR, directed_by VARCHAR) Question: What is the title of the episode directed by Mark Tinker? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question about the title of the episode directed by Mark Tinker: ``` SELECT title FROM table_11058032_1 WHERE directed_by = "Mark Tinker" ```
27,414
[ { "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_11058032_1 (title VARCHAR, directed_by VARCHAR)\n\n Question: What is the title of the episode directed by Mark Tinker?\n\nH...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11058032_1 (no_in_season INTEGER, directed_by VARCHAR) Question: What episode in the season was directed by Jeff Melman? Here is the SQLite query to answer to the ...
Here is the SQLite query to answer the question about which episode in the season was directed by Jeff Melman: ``` SELECT no_in_season FROM table_11058032_1 WHERE directed_by = "Jeff Melman" ``` This query retrieves all episodes directed by Jeff Melman, showing their respective season numbers. If you are looking for...
27,415
[ { "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_11058032_1 (no_in_season INTEGER, directed_by VARCHAR)\n\n Question: What episode in the season was directed by Jeff Melman?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11058032_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR) Question: How many episodes had 16.03 million viewers? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about how many episodes had 16.03 million viewers: ``` SELECT COUNT(no_in_series) FROM table_11058032_1 WHERE us_viewers__millions_ = "16.03" ```
27,416
[ { "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_11058032_1 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many episodes had 16.03 million viewers?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11071897_1 (interregnum_ended VARCHAR, duration VARCHAR) Question: What is the number of interregnum for duration 3 months, 6 days? Here is the SQLite query to ans...
Here is the SQLite query to answer the question regarding the number of interregnum for the duration "3 months, 6 days": ``` SELECT COUNT(interregnum_ended) FROM table_11071897_1 WHERE duration = "3 months, 6 days" ```
27,417
[ { "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_11071897_1 (interregnum_ended VARCHAR, duration VARCHAR)\n\n Question: What is the number of interregnum for duration 3 mont...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11075747_4 (directed_by VARCHAR, episode__number VARCHAR) Question: Who directed Episode 8? Here is the SQLite query to answer to the question: Who directed Episod...
Here is the corrected SQLite query to answer the question "Who directed Episode 8?": ``` SELECT directed_by FROM table_11075747_4 WHERE episode__number = '8' ``` Make sure to wrap the episode number in quotes since it is defined as a `VARCHAR` in the schema.
27,418
[ { "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_11075747_4 (directed_by VARCHAR, episode__number VARCHAR)\n\n Question: Who directed Episode 8?\n\nHere is the SQLite query ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11075747_4 (original_air_date VARCHAR, series__number VARCHAR) Question: What was the original air date for Series 36? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the original air date for Series 36: ``` SELECT original_air_date FROM table_11075747_4 WHERE series__number = '36' ```
27,419
[ { "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_11075747_4 (original_air_date VARCHAR, series__number VARCHAR)\n\n Question: What was the original air date for Series 36?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11075747_4 (written_by VARCHAR, series__number VARCHAR) Question: Who wrote Series 38? Here is the SQLite query to answer to the question: Who wrote Series 38?: ``...
Here's the SQLite query to answer the question "Who wrote Series 38?": ``` SELECT written_by FROM table_11075747_4 WHERE series__number = '38' ```
27,420
[ { "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_11075747_4 (written_by VARCHAR, series__number VARCHAR)\n\n Question: Who wrote Series 38?\n\nHere is the SQLite query to an...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1108394_24 (_percentage VARCHAR, manhattan VARCHAR) Question: What is the percentage for manhattan 45,901? Here is the SQLite query to answer to the question: What...
To retrieve the percentage for the specific value of "manhattan" 45,901, you should select the `_percentage` column instead of using `COUNT`. Here’s the corrected SQLite query: ```sql SELECT _percentage FROM table_1108394_24 WHERE manhattan = "45,901"; ```
27,421
[ { "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_1108394_24 (_percentage VARCHAR, manhattan VARCHAR)\n\n Question: What is the percentage for manhattan 45,901?\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_1108394_24 (queens VARCHAR) Question: Who won the 1973 democratic initial primary for queens of 19%? Here is the SQLite query to answer to the question: Who won th...
It appears there might be a misunderstanding in the structure of your query, as you seem to want to identify a specific winner from a table based on a condition. However, the query does not specify a winner, and "queens" does not directly relate to a candidate or their percentage in the context of the primary. Assumin...
27,422
[ { "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_1108394_24 (queens VARCHAR)\n\n Question: Who won the 1973 democratic initial primary for queens of 19%?\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_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) Question: What is the manhattan for richmond 35%? Here is the SQLite query to answer to the qu...
Your SQL query has a small mistake in the syntax. Instead of using `richmond_[staten_is]`, you should use `richmond_`. Additionally, you should specify the correct value to match, which is "35%". Here’s the corrected query: ```sql SELECT manhattan FROM table_1108394_24 WHERE richmond_ = "35%" ```
27,423
[ { "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_1108394_24 (manhattan VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)\n\n Question: What is the manhattan for richmond 35%?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR) Question: What is the queens where richmond staten is 42%? Here is the SQLite query to answer to ...
It seems there is a slight mistake in the SQL query you've provided. The condition `richmond_[staten_is] = "42_percentage"` does not correctly reference the columns in the provided schema. The column names in the given schema are `queens`, `richmond_`, and `staten_is`, and there is no combined column called `richmond_s...
27,424
[ { "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_1108394_24 (queens VARCHAR, richmond_ VARCHAR, staten_is VARCHAR)\n\n Question: What is the queens where richmond staten is ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1108394_43 (party VARCHAR, brooklyn VARCHAR) Question: what's the party with brooklyn value of 51.0% Here is the SQLite query to answer to the question: what's the...
It looks like you've made a small error in your query. Since the value you're looking for is "51.0%", you should format it correctly to match the data in the `brooklyn` column. Here's the corrected SQLite query: ``` SELECT party FROM table_1108394_43 WHERE brooklyn = "51.0%" ``` This query selects the `party` from `...
27,425
[ { "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_1108394_43 (party VARCHAR, brooklyn VARCHAR)\n\n Question: what's the party with brooklyn value of 51.0%\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_1108394_43 (brooklyn VARCHAR, queens VARCHAR) Question: what's the brooklyn with queens value of 16.8% Here is the SQLite query to answer to the question: what's t...
Your query is almost correct, but you need to ensure you're comparing the `queens` column with the correct value format. Since you're looking for a percentage, you should compare it as a string with "16.8%". Here's the corrected version: ```sql SELECT brooklyn FROM table_1108394_43 WHERE queens = '16.8%' ```
27,426
[ { "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_1108394_43 (brooklyn VARCHAR, queens VARCHAR)\n\n Question: what's the brooklyn with queens value of 16.8%\n\nHere is the SQ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1108394_43 (total INTEGER) Question: what is the minimum total Here is the SQLite query to answer to the question: what is the minimum total: ``` SELECT MIN(total)...
Here is the SQLite query to answer the question of what the minimum total is: ``` SELECT MIN(total) FROM table_1108394_43; ```
27,427
[ { "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_1108394_43 (total INTEGER)\n\n Question: what is the minimum total\n\nHere is the SQLite query to answer to the question: wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR) Question: what's the % with total value of 249887 and queens value of 6.8% Here is the SQLite query...
The query you provided is almost correct, but there is a small issue with the string comparison for the `queens` column. To properly compare the `queens` value, you should ensure that you're using the correct value format. Given that the `queens` column is a `VARCHAR`, you should use the string representation of the pe...
27,428
[ { "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_1108394_43 (_percentage VARCHAR, total VARCHAR, queens VARCHAR)\n\n Question: what's the % with total value of 249887 and qu...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR) Question: Which teams were in the central division and located in livonia? Here is the SQLite query t...
Here is the SQLite query to answer the question: ```sql SELECT team FROM table_11094950_1 WHERE division = "Central" AND location = "Livonia"; ```
27,429
[ { "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_11094950_1 (team VARCHAR, division VARCHAR, location VARCHAR)\n\n Question: Which teams were in the central division and loc...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11094950_1 (team VARCHAR, location VARCHAR) Question: Which teams are located in highland township? Here is the SQLite query to answer to the question: Which teams...
Here is the SQLite query to answer the question: Which teams are located in highland township?: ``` SELECT team FROM table_11094950_1 WHERE location = "Highland Township" ```
27,430
[ { "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_11094950_1 (team VARCHAR, location VARCHAR)\n\n Question: Which teams are located in highland township?\n\nHere is the SQLit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11094950_1 (conference VARCHAR, team VARCHAR) Question: What conference was the churchill chargers team in? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question about the conference of the Churchill Chargers team: ``` SELECT conference FROM table_11094950_1 WHERE team = "Churchill Chargers" ```
27,431
[ { "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_11094950_1 (conference VARCHAR, team VARCHAR)\n\n Question: What conference was the churchill chargers team in?\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_11111116_7 (title VARCHAR, written_by VARCHAR) Question: What was the titles of the episodes written by ken lazebnik? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about the titles of the episodes written by Ken Lazebnik: ``` SELECT title FROM table_11111116_7 WHERE written_by = "Ken Lazebnik" ```
27,432
[ { "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_11111116_7 (title VARCHAR, written_by VARCHAR)\n\n Question: What was the titles of the episodes written by ken lazebnik?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed an episode that had 2.81 million U.S. viewers? Here is the SQLite query to an...
Your SQLite query looks correct for retrieving the director of an episode with 2.81 million U.S. viewers. Here's the wrapped code as you've asked: ``` SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.81" ```
27,433
[ { "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_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: Who directed an episode that had 2.81 million U...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_7 (title VARCHAR, us_viewers__million_ VARCHAR) Question: What were the names of the episodes that had 3.02 million U.S. viewers? Here is the SQLite query...
Here is the SQLite query that answers the question: ```sql SELECT title FROM table_11111116_7 WHERE us_viewers__million_ = "3.02"; ```
27,434
[ { "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_11111116_7 (title VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: What were the names of the episodes that had 3.02 mil...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who directed episodes that had 2.61 million U.S. viewers? Here is the SQLite query to answ...
Here is the SQLite query to answer the question regarding who directed episodes that had 2.61 million U.S. viewers: ``` SELECT directed_by FROM table_11111116_7 WHERE us_viewers__million_ = "2.61" ```
27,435
[ { "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_11111116_7 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: Who directed episodes that had 2.61 million U.S...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_8 (us_viewers__million_ VARCHAR, original_air_date VARCHAR) Question: How many millions of U.S. viewers watched the episode that first aired on March 31, 2...
Here is the SQLite query to answer the question about how many millions of U.S. viewers watched the episode that first aired on March 31, 2013: ``` SELECT us_viewers__million_ FROM table_11111116_8 WHERE original_air_date = "March 31, 2013"; ```
27,436
[ { "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_11111116_8 (us_viewers__million_ VARCHAR, original_air_date VARCHAR)\n\n Question: How many millions of U.S. viewers watched...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR) Question: Who wrote the episodes that were viewed by 2.12 million viewers? Here is the SQLite query t...
```sql SELECT written_by FROM table_11111116_8 WHERE us_viewers__million_ = "2.12" ```
27,437
[ { "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_11111116_8 (written_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: Who wrote the episodes that were viewed by 2.12 ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_6 (original_air_date VARCHAR, written_by VARCHAR) Question: The episode written by Rebecca Dameron aired on what date? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the episode written by Rebecca Dameron and the date it aired: ``` SELECT original_air_date FROM table_11111116_6 WHERE written_by = "Rebecca Dameron"; ```
27,438
[ { "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_11111116_6 (original_air_date VARCHAR, written_by VARCHAR)\n\n Question: The episode written by Rebecca Dameron aired on wha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR) Question: Which episode in the series drew 3.6 million U.S. viewers? Here is the SQLite query to a...
Here's the SQLite query to find out which episode in the series drew 3.6 million U.S. viewers: ```sql SELECT no_in_series FROM table_11111116_6 WHERE us_viewers__million_ = "3.6"; ``` This query will return the `no_in_series` of the episode that had 3.6 million U.S. viewers.
27,439
[ { "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_11111116_6 (no_in_series INTEGER, us_viewers__million_ VARCHAR)\n\n Question: Which episode in the series drew 3.6 million U...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_6 (written_by VARCHAR, original_air_date VARCHAR) Question: Who wrote the episode that aired on April 17, 2011? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question regarding who wrote the episode that aired on April 17, 2011: ```sql SELECT written_by FROM table_11111116_6 WHERE original_air_date = "April 17, 2011"; ```
27,440
[ { "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_11111116_6 (written_by VARCHAR, original_air_date VARCHAR)\n\n Question: Who wrote the episode that aired on April 17, 2011?...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR) Question: How many times did episode 79 originally air? Here is the SQLite query to answer to the que...
Here is the SQLite query to answer the question about how many times episode 79 originally aired: ``` SELECT COUNT(original_air_date) FROM table_11111116_6 WHERE no_in_series = '79'; ```
27,441
[ { "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_11111116_6 (original_air_date VARCHAR, no_in_series VARCHAR)\n\n Question: How many times did episode 79 originally air? \n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR) Question: What is the name of the shield winner in which the mls cup winner and mls cup runner up is ...
To find the name of the shield winner given that both the MLS Cup winner and the MLS Cup runner-up is "Colorado Rapids", you should adjust the query to account for both conditions. Here is the correct SQLite query: ``` SELECT mls_cup_winner FROM table_11148572_1 WHERE mls_cup_winner = 'Colorado Rapids' AND mls_cup_ru...
27,442
[ { "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_11148572_1 (mls_cup_winner VARCHAR, mls_cup_runner_up VARCHAR)\n\n Question: What is the name of the shield winner in which ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR) Question: What is the name of the shield winner in which the mls cup winner and mls sup...
Your provided query is close, but it seems there's a slight misunderstanding in the requirements. The question asks for the name of the shield winner when both the MLS Cup winner and the MLS Supporters' Shield runner-up are "Chivas USA." Here is the corrected SQL query: ```sql SELECT mls_supporters_shield_runner_up ...
27,443
[ { "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_11148572_1 (mls_cup_winner VARCHAR, mls_supporters_shield_runner_up VARCHAR)\n\n Question: What is the name of the shield wi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR) Question: who is the of the shield winnerin which the mls cup runner-up and mls cup winner is real sa...
It seems there may be a slight misunderstanding in the wording of the question. If you want to find out which team won the Supporters' Shield when both the MLS Cup runner-up and winner were "Real Salt Lake", you would need to adjust the query accordingly. Based on the schema you've provided, the table does not includ...
27,444
[ { "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_11148572_1 (mls_cup_runner_up VARCHAR, mls_cup_winner VARCHAR)\n\n Question: who is the of the shield winnerin which the mls...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR) Question: Which shield winner has the mls cup runner up and the season is 2000? Here is the SQLite query to ...
It looks like you're looking for the shield winner associated with the MLS Cup runner-up for the season 2000. However, based on the provided schema, the table `table_11148572_1` only contains information about MLS Cup runner-up and season and does not include any information about shield winners. If you have another t...
27,445
[ { "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_11148572_1 (mls_cup_runner_up VARCHAR, season VARCHAR)\n\n Question: Which shield winner has the mls cup runner up and the s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER) Question: League apps (sub) maximum? Here is the SQLite query to answer to the question: League apps (sub) maximum?: ``` SELE...
Here is the SQLite query to answer the question "League apps (sub) maximum?": ``` SELECT MAX(league_apps__sub_) FROM table_1112176_1 ```
27,446
[ { "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_1112176_1 (league_apps__sub_ INTEGER)\n\n Question: League apps (sub) maximum?\n\nHere is the SQLite query to answer to the ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR) Question: When total goals is 11 what was the league apps (sub)? Here is the SQLite query to answer to t...
Your SQLite query is correctly structured to retrieve the maximum value of `league_apps__sub_` where `total_goals` is equal to 11. Here is your query wrapped in the appropriate code block: ``` SELECT MAX(league_apps__sub_) FROM table_1112176_1 WHERE total_goals = 11; ``` This query will return the highest `league_ap...
27,447
[ { "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_1112176_1 (league_apps__sub_ INTEGER, total_goals VARCHAR)\n\n Question: When total goals is 11 what was the league apps (su...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR) Question: Which city had the charleston area convention center as its callback location Here is the SQLi...
Here is the SQLite query to answer the question about which city had the Charleston Area Convention Center as its callback location: ``` SELECT audition_city FROM table_11129123_1 WHERE callback_venue = "Charleston Area Convention Center"; ```
27,448
[ { "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_11129123_1 (audition_city VARCHAR, callback_venue VARCHAR)\n\n Question: Which city had the charleston area convention cente...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11129123_1 (episode_air_date VARCHAR, callback_venue VARCHAR) Question: When did the callbacks from rancho bernardo inn air Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question regarding when the callbacks from Rancho Bernardo Inn aired: ``` SELECT episode_air_date FROM table_11129123_1 WHERE callback_venue = "Rancho Bernardo Inn"; ```
27,449
[ { "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_11129123_1 (episode_air_date VARCHAR, callback_venue VARCHAR)\n\n Question: When did the callbacks from rancho bernardo inn...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11147852_1 (owned_since VARCHAR, city_of_license_market VARCHAR) Question: The station located in Albuquerque has been owned since what year? Here is the SQLite qu...
Here is the SQLite query to answer the question regarding the ownership year of the station located in Albuquerque: ```sql SELECT owned_since FROM table_11147852_1 WHERE city_of_license_market = "Albuquerque"; ```
27,450
[ { "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_11147852_1 (owned_since VARCHAR, city_of_license_market VARCHAR)\n\n Question: The station located in Albuquerque has been o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR) Question: What channels have stations that were affiliated in 2002? Here is the SQLite query to...
Here is the SQLite query wrapped in the requested format: ``` SELECT channel_tv___dt__ FROM table_11147852_1 WHERE year_of_affiliation = "2002"; ```
27,451
[ { "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_11147852_1 (channel_tv___dt__ VARCHAR, year_of_affiliation VARCHAR)\n\n Question: What channels have stations that were affi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11147852_1 (city_of_license_market VARCHAR, station VARCHAR) Question: What market is KTFK-DT in? Here is the SQLite query to answer to the question: What market i...
Here is the SQLite query to answer the question about the market that KTFK-DT is in: ``` SELECT city_of_license_market FROM table_11147852_1 WHERE station = "KTFK-DT" ```
27,452
[ { "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_11147852_1 (city_of_license_market VARCHAR, station VARCHAR)\n\n Question: What market is KTFK-DT in?\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_11167610_1 (engine VARCHAR, performance VARCHAR) Question: what's the engine where performance is 0–100km/h: 10.5s, vmax km/h (mph) Here is the SQLite query to an...
Here is the SQLite query to find the engine where the performance is "0–100km/h: 10.5s, VMax km/h (mph)": ```sql SELECT engine FROM table_11167610_1 WHERE performance = "0–100km/h: 10.5s, VMax km/h (mph)"; ```
27,453
[ { "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_11167610_1 (engine VARCHAR, performance VARCHAR)\n\n Question: what's the engine where performance is 0–100km/h: 10.5s, vma...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11167610_1 (turbo VARCHAR, trim VARCHAR) Question: what's the turbo where trim is 2.0 20v Here is the SQLite query to answer to the question: what's the turbo wh...
Here is the SQLite query to answer the question about the `turbo` where `trim` is `2.0 20v`: ``` SELECT turbo FROM table_11167610_1 WHERE trim = "2.0 20v" ```
27,454
[ { "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_11167610_1 (turbo VARCHAR, trim VARCHAR)\n\n Question: what's the turbo where trim is 2.0 20v\n\nHere is the SQLite query t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11167610_1 (torque VARCHAR, performance VARCHAR) Question: what's the torque where performance is 0–100km/h: 7.5s auto, vmax: km/h (mph) Here is the SQLite query ...
Here is the SQLite query to answer the question regarding the torque where performance is "0–100km/h: 7.5s auto, VMax: km/h (mph)": ``` SELECT torque FROM table_11167610_1 WHERE performance = "0–100km/h: 7.5s auto, vmax: km/h (mph)" ```
27,455
[ { "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_11167610_1 (torque VARCHAR, performance VARCHAR)\n\n Question: what's the torque where performance is 0–100km/h: 7.5s auto,...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11167610_1 (transmission VARCHAR, turbo VARCHAR) Question: what's the transmission where turbo is yes (mitsubishi td04-16t ) Here is the SQLite query to answer to...
Here is the SQLite query to answer the question about the transmission where the turbo is "Yes (Mitsubishi TD04-16t)": ``` SELECT transmission FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-16t)"; ```
27,456
[ { "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_11167610_1 (transmission VARCHAR, turbo VARCHAR)\n\n Question: what's the transmission where turbo is yes (mitsubishi td04-...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11167610_1 (fuel_delivery VARCHAR, power VARCHAR) Question: what's the fuel delivery where power is hp (kw) @6500 rpm Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question regarding the fuel delivery where the power is "hp (kW) @6500 rpm": ``` SELECT fuel_delivery FROM table_11167610_1 WHERE power = "hp (kW) @6500 rpm"; ```
27,457
[ { "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_11167610_1 (fuel_delivery VARCHAR, power VARCHAR)\n\n Question: what's the fuel delivery where power is hp (kw) @6500 rpm\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11167610_1 (engine VARCHAR, turbo VARCHAR) Question: " what's the engine with turbo being yes (mitsubishi td04-15g ) " Here is the SQLite query to answer to the qu...
Here is the corrected SQLite query to answer the question regarding the engine with a turbo being "Yes (Mitsubishi TD04-15g)": ```sql SELECT engine FROM table_11167610_1 WHERE turbo = "Yes (Mitsubishi TD04-15g)"; ```
27,458
[ { "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_11167610_1 (engine VARCHAR, turbo VARCHAR)\n\n Question: \" what's the engine with turbo being yes (mitsubishi td04-15g ) \"...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11173827_1 (english_title VARCHAR, finale VARCHAR, peak VARCHAR) Question: What is the english title that has finale as 33 and peak as 42? Here is the SQLite query...
Here is the SQLite query to answer the question regarding the English title with a finale of 33 and a peak of 42: ``` SELECT english_title FROM table_11173827_1 WHERE finale = 33 AND peak = 42 ```
27,459
[ { "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_11173827_1 (english_title VARCHAR, finale VARCHAR, peak VARCHAR)\n\n Question: What is the english title that has finale as ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11173827_1 (english_title VARCHAR, premiere VARCHAR, finale VARCHAR) Question: What is the english title where the premiere is less than 30.0 and the finale is bigg...
Here is the SQLite query to answer the question: ``` SELECT english_title FROM table_11173827_1 WHERE premiere < 30.0 AND finale > 36.0 ```
27,460
[ { "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_11173827_1 (english_title VARCHAR, premiere VARCHAR, finale VARCHAR)\n\n Question: What is the english title where the premi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11173827_1 (rank VARCHAR, chinese_title VARCHAR) Question: What is the rank of the chinese title 緣來自有機? Here is the SQLite query to answer to the question: What is...
Your SQLite query is correctly formulated to find the rank of the Chinese title "緣來自有機". Here's the query wrapped in code format: ``` SELECT rank FROM table_11173827_1 WHERE chinese_title = "緣來自有機" ```
27,461
[ { "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_11173827_1 (rank VARCHAR, chinese_title VARCHAR)\n\n Question: What is the rank of the chinese title 緣來自有機?\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_11173827_1 (hk_viewers VARCHAR, chinese_title VARCHAR) Question: What amount is the number of hk viewers where chinese title is 十兄弟? Here is the SQLite query to an...
Here is the SQLite query to answer the question about the number of hk viewers where the chinese title is 十兄弟: ``` SELECT hk_viewers FROM table_11173827_1 WHERE chinese_title = "十兄弟"; ```
27,462
[ { "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_11173827_1 (hk_viewers VARCHAR, chinese_title VARCHAR)\n\n Question: What amount is the number of hk viewers where chinese t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11178271_1 (weekly_rank VARCHAR, air_date VARCHAR) Question: What is the weekly rank with an air date is november 12, 2007? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question about the weekly rank for the air date of November 12, 2007: ``` SELECT weekly_rank FROM table_11178271_1 WHERE air_date = 'November 12, 2007'; ```
27,463
[ { "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_11178271_1 (weekly_rank VARCHAR, air_date VARCHAR)\n\n Question: What is the weekly rank with an air date is november 12, 20...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11178271_1 (weekly_rank INTEGER, air_date VARCHAR) Question: What is the lowest weekly rank with an air date of november 26, 2007? Here is the SQLite query to answ...
Here's the SQLite query to answer the question about the lowest weekly rank with an air date of November 26, 2007: ``` SELECT MIN(weekly_rank) FROM table_11178271_1 WHERE air_date = "November 26, 2007"; ```
27,464
[ { "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_11178271_1 (weekly_rank INTEGER, air_date VARCHAR)\n\n Question: What is the lowest weekly rank with an air date of november...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11178271_1 (viewers__m_ VARCHAR, rating VARCHAR) Question: What is the viewers where the rating is 5.3? Here is the SQLite query to answer to the question: What is...
Here is the SQLite query to answer the question about what the viewers are where the rating is 5.3: ``` SELECT viewers__m_ FROM table_11178271_1 WHERE rating = "5.3"; ```
27,465
[ { "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_11178271_1 (viewers__m_ VARCHAR, rating VARCHAR)\n\n Question: What is the viewers where the rating is 5.3?\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_11206787_5 (highest VARCHAR, stadium VARCHAR) Question: What is the highest of balmoor/ Here is the SQLite query to answer to the question: What is the highest of ...
Here is the SQLite query to answer the question "What is the highest of balmoor?": ``` SELECT highest FROM table_11206787_5 WHERE stadium = "Balmoor"; ```
27,466
[ { "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_11206787_5 (highest VARCHAR, stadium VARCHAR)\n\n Question: What is the highest of balmoor/\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11206787_5 (capacity VARCHAR, stadium VARCHAR) Question: What is the number of capacity at somerset park? Here is the SQLite query to answer to the question: What ...
Your SQLite query is almost correct, but it seems like you're trying to count rows rather than the capacity itself. If you're just looking for the capacity at "Somerset Park", you would typically use `SELECT` instead of `COUNT`, especially if the capacity is stored as a string and you want the actual value. Here’s the ...
27,467
[ { "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_11206787_5 (capacity VARCHAR, stadium VARCHAR)\n\n Question: What is the number of capacity at somerset park?\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_11206787_5 (capacity INTEGER, team VARCHAR) Question: What is the minimum capacity where airdrie united is? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question about the minimum capacity where Airdrie United is: ``` SELECT MIN(capacity) FROM table_11206787_5 WHERE team = "Airdrie United"; ```
27,468
[ { "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_11206787_5 (capacity INTEGER, team VARCHAR)\n\n Question: What is the minimum capacity where airdrie united is?\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_11206787_5 (stadium VARCHAR, team VARCHAR) Question: What is the stadium for alloa athletic? Here is the SQLite query to answer to the question: What is the stadiu...
Here is the SQLite query to answer the question: What is the stadium for Alloa Athletic?: ``` SELECT stadium FROM table_11206787_5 WHERE team = "Alloa Athletic" ```
27,469
[ { "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_11206787_5 (stadium VARCHAR, team VARCHAR)\n\n Question: What is the stadium for alloa athletic?\n\nHere is the SQLite query...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11206787_5 (highest INTEGER, team VARCHAR) Question: What is the highest of ayr united? Here is the SQLite query to answer to the question: What is the highest of ...
Your query is close, but you want to find the highest value for "Ayr United," so you should use the `MAX` function instead of `MIN`. Here’s the corrected SQLite query: ```sql SELECT MAX(highest) FROM table_11206787_5 WHERE team = "Ayr United" ```
27,470
[ { "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_11206787_5 (highest INTEGER, team VARCHAR)\n\n Question: What is the highest of ayr united?\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11206787_5 (average INTEGER) Question: What is the average? Here is the SQLite query to answer to the question: What is the average?: ``` SELECT MIN(average) FROM ...
The query you provided uses the `MIN` function, which retrieves the minimum value from the `average` column rather than calculating the average of all values in that column. To calculate the average, you should use the `AVG` function instead. Here is the corrected SQLite query to find the average: ```sql SELECT AVG(av...
27,471
[ { "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_11206787_5 (average INTEGER)\n\n Question: What is the average?\n\nHere is the SQLite query to answer to the question: What ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11190568_7 (date_of_appointment VARCHAR, team VARCHAR) Question: When are team Galway's dates of appointment? Here is the SQLite query to answer to the question: W...
```sql SELECT date_of_appointment FROM table_11190568_7 WHERE team = "Galway"; ```
27,472
[ { "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_11190568_7 (date_of_appointment VARCHAR, team VARCHAR)\n\n Question: When are team Galway's dates of appointment?\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_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR) Question: When are the vacancy dates for outgoing manager Damien Fox? Here is the SQLite query to an...
Here is the SQLite query to answer the question regarding the vacancy dates for outgoing manager Damien Fox: ``` SELECT date_of_vacancy FROM table_11190568_7 WHERE outgoing_manager = "Damien Fox"; ```
27,473
[ { "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_11190568_7 (date_of_vacancy VARCHAR, outgoing_manager VARCHAR)\n\n Question: When are the vacancy dates for outgoing manager...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: When is the date of vacancy of Davy Fitzgerald being a replacement? Here is the SQLite query to...
Here is the SQLite query wrapped in code format: ``` SELECT date_of_vacancy FROM table_11190568_7 WHERE replaced_by = "Davy Fitzgerald"; ```
27,474
[ { "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_11190568_7 (date_of_vacancy VARCHAR, replaced_by VARCHAR)\n\n Question: When is the date of vacancy of Davy Fitzgerald being...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11190568_7 (team VARCHAR, outgoing_manager VARCHAR) Question: Which team has the outgoing manager John Meyler? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about which team has the outgoing manager John Meyler: ```sql SELECT team FROM table_11190568_7 WHERE outgoing_manager = "John Meyler"; ```
27,475
[ { "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_11190568_7 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: Which team has the outgoing manager John Meyler?\n\nHere i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11200856_1 (hand VARCHAR) Question: How many 4 credits is the hand two pair? Here is the SQLite query to answer to the question: How many 4 credits is the hand two...
Your provided SQL query has a small mistake in its syntax. The COUNT function does not take arguments in the format you used. Rather, it should count the rows that match the condition. Here’s the corrected query for counting how many entries in the `table_11200856_1` have the hand "Two pair" where we assume each insta...
27,476
[ { "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_11200856_1 (hand VARCHAR)\n\n Question: How many 4 credits is the hand two pair?\n\nHere is the SQLite query to answer to th...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11210576_3 (duration VARCHAR, actor VARCHAR) Question: What duration is listed for Christian de la Fuente? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question: What duration is listed for Christian de la Fuente?: ``` SELECT duration FROM table_11210576_3 WHERE actor = "Christian de la Fuente" ```
27,477
[ { "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_11210576_3 (duration VARCHAR, actor VARCHAR)\n\n Question: What duration is listed for Christian de la Fuente?\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_11210576_3 (final_episode VARCHAR, position VARCHAR) Question: What was the final episode for Dea Agent? Here is the SQLite query to answer to the question: What w...
Here is the SQLite query to answer the question about the final episode for "DEA Agent": ``` SELECT final_episode FROM table_11210576_3 WHERE position = "DEA Agent"; ```
27,478
[ { "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_11210576_3 (final_episode VARCHAR, position VARCHAR)\n\n Question: What was the final episode for Dea Agent?\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_11207040_6 (date_of_vacancy VARCHAR, team VARCHAR) Question: What days is greenock morton vacant? Here is the SQLite query to answer to the question: What days is ...
Here is the SQLite query to answer the question about what days Greenock Morton is vacant: ``` SELECT date_of_vacancy FROM table_11207040_6 WHERE team = "Greenock Morton" ```
27,479
[ { "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_11207040_6 (date_of_vacancy VARCHAR, team VARCHAR)\n\n Question: What days is greenock morton vacant?\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_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) Question: What are the dates of the outgoing manager colin hendry does appointments? Here is th...
Here is the SQLite query to answer the question regarding the dates of the appointments for the outgoing manager Colin Hendry: ``` SELECT date_of_appointment FROM table_11207040_6 WHERE outgoing_manager = "Colin Hendry" ```
27,480
[ { "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_11207040_6 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)\n\n Question: What are the dates of the outgoing manager ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11207040_6 (team VARCHAR, outgoing_manager VARCHAR) Question: What teams does jim mcinally manage? Here is the SQLite query to answer to the question: What teams d...
Here is the SQLite query to answer the question: What teams does Jim McInally manage?: ``` SELECT team FROM table_11207040_6 WHERE outgoing_manager = "Jim McInally" ```
27,481
[ { "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_11207040_6 (team VARCHAR, outgoing_manager VARCHAR)\n\n Question: What teams does jim mcinally manage?\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_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR) Question: What days are vacant that were replaced by john brown? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about what days are vacant that were replaced by John Brown: ``` SELECT date_of_vacancy FROM table_11207040_6 WHERE replaced_by = 'John Brown'; ```
27,482
[ { "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_11207040_6 (date_of_vacancy VARCHAR, replaced_by VARCHAR)\n\n Question: What days are vacant that were replaced by john brow...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR) Question: What manner of departure is listed with an appointment date of 13 march 2008 Here i...
Here is the SQLite query to answer the question about the manner of departure listed with an appointment date of 13 March 2008: ```sql SELECT manner_of_departure FROM table_11206916_2 WHERE date_of_appointment = "13 March 2008" ```
27,483
[ { "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_11206916_2 (manner_of_departure VARCHAR, date_of_appointment VARCHAR)\n\n Question: What manner of departure is listed with ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR) Question: What is the date of appointment for outgoing manager Campbell Money Here is the SQLite...
Here is the SQLite query to answer the question about the date of appointment for outgoing manager Campbell Money: ```sql SELECT date_of_appointment FROM table_11206916_2 WHERE outgoing_manager = "Campbell Money"; ```
27,484
[ { "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_11206916_2 (date_of_appointment VARCHAR, outgoing_manager VARCHAR)\n\n Question: What is the date of appointment for outgoin...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR) Question: What is the lowest attendance that East End Park has ever had? Here is the SQLite query to answer to the que...
Here is the SQLite query to find the lowest attendance that East End Park has ever had: ``` SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = "East End Park"; ```
27,485
[ { "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_11207040_5 (lowest INTEGER, stadium VARCHAR)\n\n Question: What is the lowest attendance that East End Park has ever had?\n\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11207040_5 (team VARCHAR, stadium VARCHAR) Question: What team plays at Palmerston Park? Here is the SQLite query to answer to the question: What team plays at Pal...
Here is the SQLite query to answer the question: What team plays at Palmerston Park?: ``` SELECT team FROM table_11207040_5 WHERE stadium = "Palmerston Park" ```
27,486
[ { "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_11207040_5 (team VARCHAR, stadium VARCHAR)\n\n Question: What team plays at Palmerston Park?\n\nHere is the SQLite query to ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11207040_5 (lowest INTEGER, stadium VARCHAR) Question: What is the lowest attandance recorded at Cappielow? Here is the SQLite query to answer to the question: Wha...
Here is the SQLite query to answer the question about the lowest attendance recorded at Cappielow: ``` SELECT MIN(lowest) FROM table_11207040_5 WHERE stadium = 'Cappielow'; ```
27,487
[ { "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_11207040_5 (lowest INTEGER, stadium VARCHAR)\n\n Question: What is the lowest attandance recorded at Cappielow?\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_11207040_5 (highest INTEGER, team VARCHAR) Question: What is the highest attendance at a game played by St. Johnstone? Here is the SQLite query to answer to the qu...
Your SQLite query to find the highest attendance at a game played by St. Johnstone is correctly written. Here it is wrapped in code format: ``` SELECT MAX(highest) FROM table_11207040_5 WHERE team = "St. Johnstone"; ```
27,488
[ { "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_11207040_5 (highest INTEGER, team VARCHAR)\n\n Question: What is the highest attendance at a game played by St. Johnstone?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11207040_5 (highest INTEGER, team VARCHAR) Question: What is the highest attandence at a Hamilton Academical game? Here is the SQLite query to answer to the questi...
Your query seems to be incorrectly using the `MIN` function. To find the highest attendance, you should use the `MAX` function instead. Here is the corrected SQLite query: ```sql SELECT MAX(highest) FROM table_11207040_5 WHERE team = "Hamilton Academical"; ```
27,489
[ { "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_11207040_5 (highest INTEGER, team VARCHAR)\n\n Question: What is the highest attandence at a Hamilton Academical game?\n\nHe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR) Question: who is the champion where semi-finalist #2 is na and location is morrisvi...
Here is the SQLite query to answer the question: ``` SELECT champion FROM table_11214772_1 WHERE semi_finalist__number2 = "NA" AND location = "Morrisville, NC" ```
27,490
[ { "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_11214772_1 (champion VARCHAR, semi_finalist__number2 VARCHAR, location VARCHAR)\n\n Question: who is the champion where sem...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (score VARCHAR, year VARCHAR) Question: what's the score where year is 2007 Here is the SQLite query to answer to the question: what's the score where...
Here is the SQLite query to answer the question "what's the score where year is 2007": ```sql SELECT score FROM table_11214772_1 WHERE year = "2007"; ```
27,491
[ { "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_11214772_1 (score VARCHAR, year VARCHAR)\n\n Question: what's the score where year is 2007\n\nHere is the SQLite query to a...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR) Question: what is the total number of semi-finalist #2 where runner-up is east carolina Here is the ...
Here is the SQLite query to answer the question about the total number of semi-finalist #2 where the runner-up is East Carolina: ```sql SELECT COUNT(semi_finalist__number2) FROM table_11214772_1 WHERE runner_up = "East Carolina"; ```
27,492
[ { "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_11214772_1 (semi_finalist__number2 VARCHAR, runner_up VARCHAR)\n\n Question: what is the total number of semi-finalist #2 wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (semi_finalist__number1 VARCHAR, runner_up VARCHAR) Question: who is the semi-finalist #1 where runner-up is elon university Here is the SQLite query t...
Here is the SQLite query to answer the question of who is the semi-finalist #1 where the runner-up is Elon University: ```sql SELECT semi_finalist__number1 FROM table_11214772_1 WHERE runner_up = "Elon University"; ```
27,493
[ { "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_11214772_1 (semi_finalist__number1 VARCHAR, runner_up VARCHAR)\n\n Question: who is the semi-finalist #1 where runner-up is...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (runner_up VARCHAR, year VARCHAR, champion VARCHAR) Question: who is the runner-up where year is 2004 and champion is north carolina state Here is the ...
Here is the SQLite query to answer the question about the runner-up where the year is 2004 and the champion is North Carolina State: ```sql SELECT runner_up FROM table_11214772_1 WHERE year = "2004" AND champion = "North Carolina State" ```
27,494
[ { "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_11214772_1 (runner_up VARCHAR, year VARCHAR, champion VARCHAR)\n\n Question: who is the runner-up where year is 2004 and ch...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214772_1 (runner_up VARCHAR, location VARCHAR, year VARCHAR) Question: who is the runner-up where location is ellenton, fl and year is 2004 Here is the SQLite q...
Here is the SQLite query to answer the question about who the runner-up is where the location is Ellenton, FL and the year is 2004: ``` SELECT runner_up FROM table_11214772_1 WHERE location = "Ellenton, FL" AND year = "2004"; ```
27,495
[ { "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_11214772_1 (runner_up VARCHAR, location VARCHAR, year VARCHAR)\n\n Question: who is the runner-up where location is ellento...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR) Question: what's the naturalisation by marriage with numer ...
Here is the SQLite query to answer the question: ``` SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE numer_of_jamaicans_granted_british_citizenship = '3165' ``` Note: The value '3165' is wrapped in quotes because it is stored as a VARCHAR in the database schema.
27,496
[ { "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_11214212_1 (naturalisation_by_marriage VARCHAR, numer_of_jamaicans_granted_british_citizenship VARCHAR)\n\n Question: what's...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_marriage VARCHAR) Question: how many numer of jamaicans granted british citiz...
You can use the following SQLite query to find the number of Jamaicans granted British citizenship with naturalisation by marriage being 1060: ```sql SELECT COUNT(numer_of_jamaicans_granted_british_citizenship) FROM table_11214212_1 WHERE naturalisation_by_marriage = '1060'; ``` Please note that `naturalisation_by_...
27,497
[ { "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_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_marriage VARCHAR)\n\n Question: how m...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214212_1 (naturalisation_by_marriage VARCHAR, registration_of_a_minor_child VARCHAR) Question: what's the naturalisation by marriage with regbeingtration of a min...
Here is the SQLite query to answer the question regarding naturalisation by marriage with registration of a minor child being 114: ``` SELECT naturalisation_by_marriage FROM table_11214212_1 WHERE registration_of_a_minor_child = '114' ``` Note: Since the `registration_of_a_minor_child` column is of type VARCHAR, the...
27,498
[ { "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_11214212_1 (naturalisation_by_marriage VARCHAR, registration_of_a_minor_child VARCHAR)\n\n Question: what's the naturalisati...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR) Question: what's the numer of jamaicans granted british ci...
Here is the SQLite query to answer the question about the number of Jamaicans granted British citizenship with naturalisation by residence being 927: ``` SELECT numer_of_jamaicans_granted_british_citizenship FROM table_11214212_1 WHERE naturalisation_by_residence = '927' ``` (Note: If `naturalisation_by_residence` i...
27,499
[ { "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_11214212_1 (numer_of_jamaicans_granted_british_citizenship VARCHAR, naturalisation_by_residence VARCHAR)\n\n Question: what'...