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_23242958_1 (title VARCHAR, directed_by VARCHAR)
Question: What is the title of the episode directed by Rodney Clouden?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question regarding the title of the episode directed by Rodney Clouden:
```
SELECT title FROM table_23242958_1 WHERE directed_by = "Rodney Clouden";
``` | 36,000 | [
{
"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_23242958_1 (title VARCHAR, directed_by VARCHAR)\n\n Question: What is the title of the episode directed by Rodney Clouden? \... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242958_1 (us_viewers__millions_ VARCHAR, production_code VARCHAR)
Question: How many millions of U.S. viewers watched the episode with the production code of 3AJN... | Here is the SQLite query to answer the question regarding how many millions of U.S. viewers watched the episode with the production code of 3AJN01:
```
SELECT us_viewers__millions_ FROM table_23242958_1 WHERE production_code = "3AJN01";
``` | 36,001 | [
{
"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_23242958_1 (us_viewers__millions_ VARCHAR, production_code 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_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)
Question: Who directed the episode that had 6.76 million U.S. viewers?
Here is the SQLite query to ... | Certainly! Your SQLite query is correctly formulated to retrieve the director of the episode with 6.76 million U.S. viewers. Here it is wrapped in code format:
```
SELECT directed_by FROM table_23242968_1 WHERE us_viewers__millions_ = "6.76"
``` | 36,002 | [
{
"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_23242968_1 (directed_by VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: Who directed the episode that had 6.76 million... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242968_1 (no_in_season INTEGER, no_in_series VARCHAR)
Question: What episode number of the season was also number 75 in the series?
Here is the SQLite query to a... | Your SQLite query looks almost correct, but it should filter on the `no_in_series` as an integer, since it is a number. Also, it would be better to check that the `no_in_series` matches directly as a number rather than a string. Here is the corrected query wrapped in code formatting:
```
SELECT MAX(no_in_season) FROM ... | 36,003 | [
{
"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_23242968_1 (no_in_season INTEGER, no_in_series VARCHAR)\n\n Question: What episode number of the season was also number 75 i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242968_1 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode that had a production code of 3ajn20?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT written_by FROM table_23242968_1 WHERE production_code = "3ajn20"
``` | 36,004 | [
{
"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_23242968_1 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who wrote the episode that had a production code of 3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242968_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode that was written by Jonathan Fener?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question: Who directed the episode that was written by Jonathan Fener?:
```
SELECT directed_by FROM table_23242968_1 WHERE written_by = "Jonathan Fener"
``` | 36,005 | [
{
"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_23242968_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed the episode that was written by Jonathan Fen... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242968_1 (title VARCHAR, production_code VARCHAR)
Question: What was the name of the episode with a production code of 3ajn20?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the episode with a production code of 3ajn20:
```
SELECT title FROM table_23242968_1 WHERE production_code = "3ajn20";
``` | 36,006 | [
{
"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_23242968_1 (title VARCHAR, production_code VARCHAR)\n\n Question: What was the name of the episode with 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_23242933_2 (written_by VARCHAR, production_code VARCHAR)
Question: Who wrote the episode with production code 1AJN05?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question: Who wrote the episode with production code 1AJN05?:
```
SELECT written_by FROM table_23242933_2 WHERE production_code = "1AJN05"
``` | 36,007 | [
{
"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_23242933_2 (written_by VARCHAR, production_code VARCHAR)\n\n Question: Who wrote the episode with production code 1AJN05?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242933_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many different series numbers are there for the episode seen by 7.84 million people i... | Your provided query is almost correct, but to ensure it counts distinct series numbers, you should use `COUNT(DISTINCT no_in_series)`. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT no_in_series) FROM table_23242933_2 WHERE us_viewers__millions_ = "7.84"
```
This query will count the number of unique s... | 36,008 | [
{
"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_23242933_2 (no_in_series VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many different series numbers are there f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242933_2 (no_in_series INTEGER, written_by VARCHAR)
Question: What's the series number of the episode written by Dan Vebber?
Here is the SQLite query to answer t... | Your SQLite query looks correct for retrieving the maximum series number of the episode written by Dan Vebber. Here's the same query wrapped in the required code block format:
```
SELECT MAX(no_in_series) FROM table_23242933_2 WHERE written_by = "Dan Vebber";
``` | 36,009 | [
{
"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_23242933_2 (no_in_series INTEGER, written_by VARCHAR)\n\n Question: What's the series number of the episode written by Dan V... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many different titles are there of episodes that have been seen by 7.84 million people in th... | Your provided query is close, but to ensure that you count distinct titles, you should use the `COUNT(DISTINCT title)` function. Here's the corrected query:
```
SELECT COUNT(DISTINCT title) FROM table_23242933_2 WHERE us_viewers__millions_ = "7.84"
``` | 36,010 | [
{
"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_23242933_2 (title VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many different titles are there of episodes that... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: When did 6.09 million people in the US see the original airing of an episode of the ... | Your SQL query to find the original air date when 6.09 million people in the US viewed the episode is correctly structured. Here it is wrapped in code formatting as requested:
```
SELECT original_air_date FROM table_23242933_2 WHERE us_viewers__millions_ = "6.09";
``` | 36,011 | [
{
"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_23242933_2 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: When did 6.09 million people in the US s... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242950_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)
Question: What's the season number of the episode originally seen by 6.64 million people in the US?... | Here is the SQLite query to answer the question about the season number of the episode originally seen by 6.64 million people in the US:
```
SELECT MIN(no_in_season) FROM table_23242950_1 WHERE us_viewers__millions_ = "6.64";
``` | 36,012 | [
{
"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_23242950_1 (no_in_season INTEGER, us_viewers__millions_ VARCHAR)\n\n Question: What's the season number of the episode origi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
Question: What's the production code of the episode seen by 7.49 million people in the US?
Here... | Here is the SQLite query to answer the question regarding the production code of the episode seen by 7.49 million people in the US:
```
SELECT production_code FROM table_23242950_1 WHERE us_viewers__millions_ = "7.49"
``` | 36,013 | [
{
"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_23242950_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What's the production code of the episode ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23243769_4 (opponent VARCHAR, opp_points VARCHAR)
Question: What opponent got 44 points in their game?
Here is the SQLite query to answer to the question: What opp... | Here is the SQLite query to answer the question "What opponent got 44 points in their game?":
```
SELECT opponent FROM table_23243769_4 WHERE opp_points = '44'
```
Note: Since the `opp_points` column is of type `VARCHAR`, you need to compare it as a string (hence the quotes around 44). | 36,014 | [
{
"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_23243769_4 (opponent VARCHAR, opp_points VARCHAR)\n\n Question: What opponent got 44 points in their game?\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_23243769_4 (location VARCHAR, record VARCHAR)
Question: Where was the game with a 4-1 record played?
Here is the SQLite query to answer to the question: Where was ... | Here is the SQLite query to answer the question "Where was the game with a 4-1 record played?":
```
SELECT location FROM table_23243769_4 WHERE record = "4-1"
``` | 36,015 | [
{
"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_23243769_4 (location VARCHAR, record VARCHAR)\n\n Question: Where was the game with a 4-1 record played?\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_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR)
Question: Who did the high rebounds in the game where Larry Hughes (21) did the high ponts?
Here is the SQL... | Here is the corrected SQLite query to answer the question regarding who had the high rebounds in the game where Larry Hughes scored the high points:
```sql
SELECT high_rebounds
FROM table_23248869_6
WHERE high_points = "Larry Hughes (21)";
``` | 36,016 | [
{
"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_23248869_6 (high_rebounds VARCHAR, high_points VARCHAR)\n\n Question: Who did the high rebounds in the game where Larry Hugh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_6 (high_assists VARCHAR, date VARCHAR)
Question: How many different people did different scores of high assists during the December 11 game?
Here is the S... | To answer the question correctly and ensure we are counting distinct individuals with different scores of high assists for the December 11 game, you should use the `COUNT(DISTINCT ...)` function. The query should count the number of distinct values in the `high_assists` column for the specified date. Here’s the adjuste... | 36,017 | [
{
"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_23248869_6 (high_assists VARCHAR, date VARCHAR)\n\n Question: How many different people did different scores of high assists... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_6 (high_assists VARCHAR, team VARCHAR)
Question: Who did the high assists in the game against Portland?
Here is the SQLite query to answer to the question... | Here is the corrected SQLite query to answer the question about who had the high assists in the game against Portland:
```
SELECT high_assists FROM table_23248869_6 WHERE team = 'Portland';
```
This query retrieves the `high_assists` value for the records where the `team` is "Portland". | 36,018 | [
{
"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_23248869_6 (high_assists VARCHAR, team VARCHAR)\n\n Question: Who did the high assists in the game against Portland?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)
Question: What is every score for location attendance of Madison Square Garden 19,763 and gam... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_23248869_10 WHERE location_attendance = "Madison Square Garden 19,763" AND game < 80.0
``` | 36,019 | [
{
"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_23248869_10 (score VARCHAR, location_attendance VARCHAR, game VARCHAR)\n\n Question: What is every score for location attend... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_10 (record VARCHAR, team VARCHAR)
Question: What is every record for the team Boston?
Here is the SQLite query to answer to the question: What is every re... | Here is the SQLite query to answer the question about every record for the team Boston:
```
SELECT record FROM table_23248869_10 WHERE team = "Boston"
``` | 36,020 | [
{
"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_23248869_10 (record VARCHAR, team VARCHAR)\n\n Question: What is every record for the team Boston?\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_23248869_10 (high_assists VARCHAR, game VARCHAR)
Question: How many values for high assists when the game is 81?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about how many values there are for high assists when the game is 81:
```
SELECT COUNT(high_assists) FROM table_23248869_10 WHERE game = '81'
```
(Note: Since `game` is defined as VARCHAR in the schema, the game value should be enclosed in quotes.) | 36,021 | [
{
"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_23248869_10 (high_assists VARCHAR, game VARCHAR)\n\n Question: How many values for high assists when the game is 81?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_8 (date VARCHAR, high_points VARCHAR)
Question: How many times was the high points david lee (30)
Here is the SQLite query to answer to the question: How ... | Here is the SQLite query to answer the question regarding how many times the high points for David Lee (30) occurred:
```sql
SELECT COUNT(date) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
``` | 36,022 | [
{
"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_23248869_8 (date VARCHAR, high_points VARCHAR)\n\n Question: How many times was the high points david lee (30)\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_23248869_8 (high_assists VARCHAR, score VARCHAR)
Question: Who had the high assists when the score was l 85–118 (ot)
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Who had the high assists when the score was L 85–118 (OT):
```
SELECT high_assists FROM table_23248869_8 WHERE score = "L 85–118 (OT)"
``` | 36,023 | [
{
"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_23248869_8 (high_assists VARCHAR, score VARCHAR)\n\n Question: Who had the high assists when the score was l 85–118 (ot)\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_8 (record VARCHAR, high_rebounds VARCHAR)
Question: What was the record when the high rebounds was david lee (8)
Here is the SQLite query to answer to the... | Your query is almost correct, but it's important to make sure that the string is formatted correctly. Here’s the properly wrapped SQLite query:
```
SELECT record FROM table_23248869_8 WHERE high_rebounds = 'David Lee (8)';
```
Make sure to use single quotes around string literals in SQL. | 36,024 | [
{
"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_23248869_8 (record VARCHAR, high_rebounds VARCHAR)\n\n Question: What was the record when the high rebounds was david lee (8... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248869_8 (score VARCHAR, record VARCHAR)
Question: How many times was the record 19–34
Here is the SQLite query to answer to the question: How many times was the... | Here is the SQLite query to answer the question: How many times was the record 19–34:
```
SELECT COUNT(score) FROM table_23248869_8 WHERE record = "19–34";
``` | 36,025 | [
{
"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_23248869_8 (score VARCHAR, record VARCHAR)\n\n Question: How many times was the record 19–34\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_23248869_8 (score VARCHAR, record VARCHAR)
Question: What was the score when the record was 19–35
Here is the SQLite query to answer to the question: What was the ... | Here is the SQLite query to answer the question about the score when the record was 19–35:
```
SELECT score FROM table_23248869_8 WHERE record = "19–35"
``` | 36,026 | [
{
"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_23248869_8 (score VARCHAR, record VARCHAR)\n\n Question: What was the score when the record was 19–35\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_23248869_8 (game INTEGER, high_points VARCHAR)
Question: What was the game when high points was david lee (30)
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question: What was the game when high points was David Lee (30):
```sql
SELECT MIN(game) FROM table_23248869_8 WHERE high_points = "David Lee (30)"
``` | 36,027 | [
{
"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_23248869_8 (game INTEGER, high_points VARCHAR)\n\n Question: What was the game when high points was david lee (30)\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_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR)
Question: If the population density is 7,447.32, what is the population total number?
He... | To accurately answer your question about finding the population total when the population density is 7,447.32, you might want to consider that the `population__2010_census_` field should not be used with `COUNT`, but rather, you may be looking for a specific total population value or a specific row matching that densit... | 36,028 | [
{
"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_232458_1 (population__2010_census_ VARCHAR, pop_density__per_km²_ VARCHAR)\n\n Question: If the population density is 7,447.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR)
Question: If the number of barangays is 19, what is the population density?
Here is the SQLite qu... | Here is the SQLite query to answer the question regarding population density when the number of barangays is 19:
```sql
SELECT pop_density__per_km²_ FROM table_232458_1 WHERE no_of_barangays = '19'
```
(Note: Since `no_of_barangays` is defined as a `VARCHAR`, the value '19' is enclosed in quotes.) | 36,029 | [
{
"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_232458_1 (pop_density__per_km²_ VARCHAR, no_of_barangays VARCHAR)\n\n Question: If the number of barangays is 19, what is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_232458_1 (population__2010_census_ INTEGER, area__km²_ VARCHAR)
Question: If the area is 66.34, what is the minimum (2010 census) population?
Here is the SQLite qu... | Here's the SQLite query to find the minimum population from the table for the specific area of 66.34:
```sql
SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34"
``` | 36,030 | [
{
"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_232458_1 (population__2010_census_ INTEGER, area__km²_ VARCHAR)\n\n Question: If the area is 66.34, what is the minimum (201... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)
Question: What is the name of the city/municipality if the population is 1,388.88?
Here is th... | Here is the SQLite query to answer the question:
```
SELECT city___municipality FROM table_232458_1 WHERE pop_density__per_km²_ = "1,388.88"
``` | 36,031 | [
{
"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_232458_1 (city___municipality VARCHAR, pop_density__per_km²_ VARCHAR)\n\n Question: What is the name of the city/municipalit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR)
Question: When birkenhead is the city/town and merseyside is the county and england is... | Your SQLite query is correctly formulated to count the number of ranks for the specified conditions. Here it is wrapped in code blocks as requested:
```
SELECT COUNT(rank) FROM table_23248420_1 WHERE country = "England" AND county = "Merseyside" AND city_town = "Birkenhead"
``` | 36,032 | [
{
"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_23248420_1 (rank VARCHAR, city_town VARCHAR, country VARCHAR, county VARCHAR)\n\n Question: When birkenhead is the city/town... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248420_1 (city_town VARCHAR, rank VARCHAR)
Question: When 2 is the rank what is the city/town?
Here is the SQLite query to answer to the question: When 2 is the ... | Your SQLite query is almost correct, but you need to ensure that the rank is treated as a string since the column is of type `VARCHAR`. Therefore, you should wrap `2` in single quotes. Here’s the corrected version of the query:
```
SELECT city_town FROM table_23248420_1 WHERE rank = '2'
``` | 36,033 | [
{
"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_23248420_1 (city_town VARCHAR, rank VARCHAR)\n\n Question: When 2 is the rank what is the city/town?\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_23248420_1 (county VARCHAR, region_province VARCHAR, rank VARCHAR)
Question: When 20 is the rank and north west is the region/province what is the county?
Here is ... | Here is the corrected SQLite query to answer the question:
```
SELECT county FROM table_23248420_1 WHERE region_province = "North West" AND rank = "20"
```
Note: The rank is treated as a string in the schema (as it is defined as VARCHAR), hence "20" should be enclosed in quotes. | 36,034 | [
{
"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_23248420_1 (county VARCHAR, region_province VARCHAR, rank VARCHAR)\n\n Question: When 20 is the rank and north west is the r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248420_1 (population VARCHAR, city_town VARCHAR)
Question: When fleetwood is the city/town how many sets of population are there?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the number of population sets for the city/town "Fleetwood":
```
SELECT COUNT(population) FROM table_23248420_1 WHERE city_town = "Fleetwood";
``` | 36,035 | [
{
"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_23248420_1 (population VARCHAR, city_town VARCHAR)\n\n Question: When fleetwood is the city/town how many sets of population... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248420_1 (rank INTEGER, population VARCHAR)
Question: When 142900 is the population what is the highest rank?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: When 142900 is the population what is the highest rank?:
```
SELECT MAX(rank) FROM table_23248420_1 WHERE population = '142900'
```
(Note: The population value is treated as a string because it is defined as `VARCHAR` in the schema.) | 36,036 | [
{
"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_23248420_1 (rank INTEGER, population VARCHAR)\n\n Question: When 142900 is the population what is the highest rank?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248420_1 (county VARCHAR, population VARCHAR)
Question: When 31901 is the population what is the county?
Here is the SQLite query to answer to the question: When... | Here is the SQLite query to answer the question: When 31901 is the population, what is the county?:
```
SELECT county FROM table_23248420_1 WHERE population = '31901'
```
(Note: The population value is treated as a string, so it's wrapped in single quotes.) | 36,037 | [
{
"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_23248420_1 (county VARCHAR, population VARCHAR)\n\n Question: When 31901 is the population what is the county?\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_23248910_5 (score VARCHAR, record VARCHAR)
Question: What was the score against the team with an 11-3 record against the Hawks?
Here is the SQLite query to answer ... | Your SQLite query looks correct to retrieve the score for the team with an 11-3 record. Here it is wrapped in the requested format:
```
SELECT score FROM table_23248910_5 WHERE record = "11-3";
```
This query will select the score for records that match "11-3" in the `record` column from the `table_23248910_5` table... | 36,038 | [
{
"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_23248910_5 (score VARCHAR, record VARCHAR)\n\n Question: What was the score against the team with an 11-3 record against the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_5 (high_rebounds VARCHAR, record VARCHAR)
Question: Who had the most rebounds in the game against the team with a 5-2 record against the Hawks?
Here is th... | Your query correctly selects the `high_rebounds` from the table where the `record` is "5-2". However, it doesn't specifically filter for games against the Hawks. Assuming you want to ensure you're looking for games specifically involving the Hawks, you might want to refine your query. However, since the provided schema... | 36,039 | [
{
"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_23248910_5 (high_rebounds VARCHAR, record VARCHAR)\n\n Question: Who had the most rebounds in the game against the team with... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
Question: What location and it's attendance was the game against the cavaliers?
Here is the SQLite query to ... | Here is the SQLite query to answer the question about the location and its attendance for the game against the Cavaliers:
```sql
SELECT location_attendance FROM table_23248910_6 WHERE team = "Cavaliers";
``` | 36,040 | [
{
"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_23248910_6 (location_attendance VARCHAR, team VARCHAR)\n\n Question: What location and it's attendance was the game against ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_6 (high_points VARCHAR, team VARCHAR)
Question: Who scored the highest points and how much against the raptors?
Here is the SQLite query to answer to the ... | The query you provided seems to be close to what is needed, but it misses the requirement to find the highest points scored against the Raptors, not by the Raptors. You will need to modify the query to select the maximum points scored against the Raptors.
Here’s the corrected SQLite query:
```
SELECT MAX(high_points... | 36,041 | [
{
"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_23248910_6 (high_points VARCHAR, team VARCHAR)\n\n Question: Who scored the highest points and how much against the raptors?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_6 (location_attendance VARCHAR, team VARCHAR)
Question: What location and it's attendance was the game against the Nets?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question: What location and its attendance was the game against the Nets?:
```
SELECT location_attendance FROM table_23248910_6 WHERE team = 'Nets';
``` | 36,042 | [
{
"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_23248910_6 (location_attendance VARCHAR, team VARCHAR)\n\n Question: What location and it's attendance was the game against ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_10 (high_assists VARCHAR, date VARCHAR)
Question: List all players with highest assists from April 2.
Here is the SQLite query to answer to the question: ... | Your provided query is almost correct for retrieving players with the highest assists from April 2. However, if you want to specifically list the players who have the highest number of assists (instead of just listing all players with assists on that date), you would need to use an aggregation method to find the maximu... | 36,043 | [
{
"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_23248910_10 (high_assists VARCHAR, date VARCHAR)\n\n Question: List all players with highest assists from April 2.\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_23248910_10 (high_points VARCHAR, date VARCHAR)
Question: List high points from the April 7 game.
Here is the SQLite query to answer to the question: List high poi... | Here is the SQLite query to list high points from the April 7 game:
```
SELECT high_points FROM table_23248910_10 WHERE date = "April 7";
``` | 36,044 | [
{
"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_23248910_10 (high_points VARCHAR, date VARCHAR)\n\n Question: List high points from the April 7 game.\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_23248910_9 (team VARCHAR, date VARCHAR)
Question: What is every team on March 5?
Here is the SQLite query to answer to the question: What is every team on March 5?... | Here is the SQLite query to answer the question of what every team is on March 5:
```
SELECT team FROM table_23248910_9 WHERE date = "March 5";
``` | 36,045 | [
{
"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_23248910_9 (team VARCHAR, date VARCHAR)\n\n Question: What is every team on March 5?\n\nHere is the SQLite query to answer t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248910_9 (high_points VARCHAR, team VARCHAR)
Question: Who is every high points for the Pistons team?
Here is the SQLite query to answer to the question: Who is ... | Here is the SQLite query to answer the question: Who is every high points for the Pistons team?:
```
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
``` | 36,046 | [
{
"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_23248910_9 (high_points VARCHAR, team VARCHAR)\n\n Question: Who is every high points for the Pistons team?\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_23248910_9 (score VARCHAR, record VARCHAR)
Question: What is every score with a record of 46-25?
Here is the SQLite query to answer to the question: What is every ... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_23248910_9 WHERE record = "46-25";
``` | 36,047 | [
{
"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_23248910_9 (score VARCHAR, record VARCHAR)\n\n Question: What is every score with a record of 46-25?\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_23248940_10 (high_rebounds VARCHAR, record VARCHAR)
Question: How many people had high rebounds during the game with a record of 34-32?
Here is the SQLite query to... | Your SQLite query is correctly formulated to answer the question. Here it is wrapped in code format as requested:
```
SELECT COUNT(high_rebounds) FROM table_23248940_10 WHERE record = "34-32";
``` | 36,048 | [
{
"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_23248940_10 (high_rebounds VARCHAR, record VARCHAR)\n\n Question: How many people had high rebounds during the game with a r... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_10 (high_assists VARCHAR, game VARCHAR)
Question: How many people led in assists on game 71?
Here is the SQLite query to answer to the question: How many ... | Your SQLite query is almost correct, but it needs a slight adjustment to ensure it counts only distinct leaders in assists for game 71. Here’s the corrected version:
```sql
SELECT COUNT(DISTINCT high_assists) FROM table_23248940_10 WHERE game = '71';
```
This query counts the number of distinct individuals who led in... | 36,049 | [
{
"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_23248940_10 (high_assists VARCHAR, game VARCHAR)\n\n Question: How many people led in assists on game 71?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_10 (location_attendance VARCHAR, team VARCHAR)
Question: What was the location and it's attendance when the Bobcats played against Washington?
Here is the... | To answer the question about the location and its attendance when the Bobcats played against Washington, we need to find a record where the team is "Bobcats" and also needs to check the attendance when "Washington" played against them.
Here's an appropriate SQLite query to find that information:
```
SELECT location_a... | 36,050 | [
{
"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_23248940_10 (location_attendance VARCHAR, team VARCHAR)\n\n Question: What was the location and it's attendance when the Bob... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_7 (record VARCHAR, team VARCHAR)
Question: Name the record for milwaukee
Here is the SQLite query to answer to the question: Name the record for milwaukee... | Here is the SQLite query to answer the question: Name the record for Milwaukee:
```
SELECT record FROM table_23248940_7 WHERE team = "Milwaukee";
``` | 36,051 | [
{
"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_23248940_7 (record VARCHAR, team VARCHAR)\n\n Question: Name the record for milwaukee\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_7 (location_attendance VARCHAR, record VARCHAR)
Question: Name the location attendance for 10-14
Here is the SQLite query to answer to the question: Name ... | Here is the SQLite query to answer your question:
```
SELECT location_attendance FROM table_23248940_7 WHERE record = "10-14";
``` | 36,052 | [
{
"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_23248940_7 (location_attendance VARCHAR, record VARCHAR)\n\n Question: Name the location attendance for 10-14\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_23248940_7 (record VARCHAR, date VARCHAR)
Question: Name the record for december 8
Here is the SQLite query to answer to the question: Name the record for december... | Here is the SQLite query to answer the question of naming the record for December 8:
```
SELECT record FROM table_23248940_7 WHERE date = "December 8";
``` | 36,053 | [
{
"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_23248940_7 (record VARCHAR, date VARCHAR)\n\n Question: Name the record for december 8\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_9 (score VARCHAR, game VARCHAR)
Question: How did the game number 50 end?
Here is the SQLite query to answer to the question: How did the game number 50 e... | Here is the SQLite query to answer the question: How did the game number 50 end?:
```
SELECT score FROM table_23248940_9 WHERE game = '50'
```
Note: Assuming the `game` column is stored as a string (VARCHAR), I've added quotes around the number 50 in the query to ensure a proper match. If it's stored as an integer, y... | 36,054 | [
{
"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_23248940_9 (score VARCHAR, game VARCHAR)\n\n Question: How did the game number 50 end?\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
Question: How many different high assists results are there for the game played on February 24?
Here is the SQLite ... | Your query has a small issue; it should utilize the `DISTINCT` keyword to count the different high assists results. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT high_assists) FROM table_23248940_9 WHERE date = "February 24"
```
This query will count the number of unique `high_assists` values for the ... | 36,055 | [
{
"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_23248940_9 (high_assists VARCHAR, date VARCHAR)\n\n Question: How many different high assists results are there for the game... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_9 (high_assists VARCHAR, date VARCHAR)
Question: Who did the most high assists during the game played on February 6?
Here is the SQLite query to answer to... | To find out who did the most high assists during the game played on February 6, the query should include an aggregation function to determine the maximum. Here is the appropriate SQLite query wrapped in the code block:
```sql
SELECT high_assists
FROM table_23248940_9
WHERE date = "February 6"
ORDER BY high_assists ... | 36,056 | [
{
"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_23248940_9 (high_assists VARCHAR, date VARCHAR)\n\n Question: Who did the most high assists during the game played on Februa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248940_9 (location_attendance VARCHAR, game VARCHAR)
Question: Where was game number 55 played?
Here is the SQLite query to answer to the question: Where was gam... | Here is the SQLite query to answer the question: Where was game number 55 played?:
```
SELECT location_attendance FROM table_23248940_9 WHERE game = '55'
```
(Note: The game number is treated as a string based on the schema, so it should be enclosed in quotes.) | 36,057 | [
{
"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_23248940_9 (location_attendance VARCHAR, game VARCHAR)\n\n Question: Where was game number 55 played?\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_23248967_10 (date VARCHAR, game VARCHAR)
Question: What date was game 78 played on?
Here is the SQLite query to answer to the question: What date was game 78 playe... | To retrieve the date when game 78 was played, you can use the following SQLite query:
```
SELECT date FROM table_23248967_10 WHERE game = '78'
```
Make sure to enclose the game number in quotes since it is stored as a VARCHAR in the database. | 36,058 | [
{
"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_23248967_10 (date VARCHAR, game VARCHAR)\n\n Question: What date was game 78 played on?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23248967_10 (score VARCHAR, date VARCHAR)
Question: What is the final score of the game on April 9?
Here is the SQLite query to answer to the question: What is the... | Your provided SQLite query is correctly structured to retrieve the score for April 9. However, to ensure you get the final score if there are multiple entries for that date, you might want to consider ordering by a timestamp or ensuring you select the maximum or the last entry based on your application's logic for what... | 36,059 | [
{
"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_23248967_10 (score VARCHAR, date VARCHAR)\n\n Question: What is the final score of the game on April 9?\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_23248967_10 (high_points VARCHAR, game VARCHAR)
Question: Who scored the high points in game 78?
Here is the SQLite query to answer to the question: Who scored the... | Here is the SQLite query to answer the question: Who scored the high points in game 78?:
```
SELECT high_points FROM table_23248967_10 WHERE game = '78';
``` | 36,060 | [
{
"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_23248967_10 (high_points VARCHAR, game VARCHAR)\n\n Question: Who scored the high points in game 78?\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_23249053_8 (score VARCHAR, game INTEGER)
Question: What is the score when the game is bigger than 29.0?
Here is the SQLite query to answer to the question: What is... | ```sql
SELECT score FROM table_23249053_8 WHERE game > 29.0;
``` | 36,061 | [
{
"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_23249053_8 (score VARCHAR, game INTEGER)\n\n Question: What is the score when the game is bigger than 29.0?\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_23249053_11 (team VARCHAR, high_points VARCHAR)
Question: When rashard lewis (24) has the highest amount of points who is the team?
Here is the SQLite query to ans... | It looks like you want to find out the team associated with Rashard Lewis when he has the highest amount of points. However, the provided query seems to incorrectly interpret the condition.
Assuming that the `high_points` column actually contains numeric values representing the points, the following query would work t... | 36,062 | [
{
"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_23249053_11 (team VARCHAR, high_points VARCHAR)\n\n Question: When rashard lewis (24) has the highest amount of points who i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23249053_11 (team VARCHAR, high_points VARCHAR)
Question: When vince carter (24) has the highest points how many teams are there?
Here is the SQLite query to answ... | To answer the question about how many teams there are when Vince Carter has the highest points, you can use the following SQLite query:
```sql
SELECT COUNT(team) FROM table_23249053_11 WHERE high_points = "highest points for Vince Carter (24)";
```
Make sure to replace `"highest points for Vince Carter (24)"` with th... | 36,063 | [
{
"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_23249053_11 (team VARCHAR, high_points VARCHAR)\n\n Question: When vince carter (24) has the highest points how many teams a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR)
Question: In which championship did John Newcombe play against Ken Rosewall in the final match?
He... | Your provided SQLite query is close, but it needs to include a condition to check for John Newcombe as well. You should verify that John Newcombe is one of the participants playing against Ken Rosewall in the final.
Here is the corrected SQLite query:
```
SELECT championship FROM table_23259077_1 WHERE opponent_in_t... | 36,064 | [
{
"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_23259077_1 (championship VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: In which championship did John Newcombe play ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23259077_1 (score_in_the_final VARCHAR, outcome VARCHAR, championship VARCHAR)
Question: What were the scores of the Wimbledon final matches where Newcombe was the ... | Your SQLite query to find the scores of the Wimbledon final matches where Newcombe was the runner-up is almost complete. However, we also need to add a condition to check for the player's name "Newcombe." Assuming there's a column for players that you didn't mention in the schema, you might want to include that in your... | 36,065 | [
{
"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_23259077_1 (score_in_the_final VARCHAR, outcome VARCHAR, championship VARCHAR)\n\n Question: What were the scores of the Wim... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR)
Question: On what year did Newcombe first face Clark Graebner in a final match?
Here is the SQLite query t... | Here is the corrected SQLite query to find the year when Newcombe first faced Clark Graebner in a final match:
```sql
SELECT MIN(year)
FROM table_23259077_1
WHERE opponent_in_the_final = "Clark Graebner"
AND year IN (SELECT year FROM table_23259077_1 WHERE opponent_in_the_final = "Newcombe");
```
This query retrie... | 36,066 | [
{
"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_23259077_1 (year INTEGER, opponent_in_the_final VARCHAR)\n\n Question: On what year did Newcombe first face Clark Graebner i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What was the outcome for Newcombe in the matches he played against Jan Kodeš?
Here is the SQL... | Here is the SQLite query to answer the question regarding the outcome for Newcombe in the matches he played against Jan Kodeš:
```sql
SELECT outcome FROM table_23259077_1 WHERE opponent_in_the_final = "Jan Kodeš" AND outcome LIKE "%Newcombe%";
``` | 36,067 | [
{
"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_23259077_1 (outcome VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What was the outcome for Newcombe in the matches h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23255941_1 (written_by VARCHAR, directed_by VARCHAR)
Question: How many writers were there in the episode directed by Charles Haid?
Here is the SQLite query to ans... | Your provided SQLite query is correct for counting the number of writers for episodes directed by Charles Haid. Here it is wrapped in code formatting:
```
SELECT COUNT(written_by) FROM table_23255941_1 WHERE directed_by = "Charles Haid";
```
This query will return the number of entries (writers) for episodes where t... | 36,068 | [
{
"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_23255941_1 (written_by VARCHAR, directed_by VARCHAR)\n\n Question: How many writers were there in the episode directed by Ch... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23255941_1 (title VARCHAR, written_by VARCHAR)
Question: What was the title of the episode written by Mark Goffman?
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 written by Mark Goffman:
```
SELECT title FROM table_23255941_1 WHERE written_by = "Mark Goffman"
``` | 36,069 | [
{
"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_23255941_1 (title VARCHAR, written_by VARCHAR)\n\n Question: What was the title of the episode written by Mark Goffman?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)
Question: How many original air dates did episode 12 have?h
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question of how many original air dates episode 12 had:
```sql
SELECT COUNT(original_air_date) FROM table_23255941_1 WHERE episode__number = '12';
``` | 36,070 | [
{
"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_23255941_1 (original_air_date VARCHAR, episode__number VARCHAR)\n\n Question: How many original air dates did episode 12 hav... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR)
Question: How many millions of viewers watched the episode directed by Christine Moore?
Here is the... | Your SQLite query looks good for retrieving the number of millions of viewers for the episodes directed by Christine Moore. However, if you want to calculate the total number of millions of viewers for all episodes directed by her, you should use the `SUM()` function. Here’s the modified query:
```
SELECT SUM(viewers_... | 36,071 | [
{
"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_23255941_1 (viewers__in_millions_ VARCHAR, directed_by VARCHAR)\n\n Question: How many millions of viewers watched the episo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_7 (date VARCHAR, score VARCHAR)
Question: Name the number of date for w 107–97 (ot)
Here is the SQLite query to answer to the question: Name the number of... | Here is the SQLite query you provided, correctly formatted:
```sql
SELECT COUNT(date) FROM table_23274514_7 WHERE score = "W 107–97 (OT)";
``` | 36,072 | [
{
"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_23274514_7 (date VARCHAR, score VARCHAR)\n\n Question: Name the number of date for w 107–97 (ot)\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_23274514_7 (date VARCHAR, record VARCHAR)
Question: Name the date for 17-32
Here is the SQLite query to answer to the question: Name the date for 17-32:
```
SELECT... | Here is the SQLite query to answer the question "Name the date for 17-32":
```
SELECT date FROM table_23274514_7 WHERE record = "17-32";
``` | 36,073 | [
{
"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_23274514_7 (date VARCHAR, record VARCHAR)\n\n Question: Name the date for 17-32\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_23274514_7 (high_rebounds VARCHAR, record VARCHAR)
Question: Name the high rebounds for 17-33
Here is the SQLite query to answer to the question: Name the high reb... | Here is the SQLite query to answer the question regarding high rebounds for 17-33:
```
SELECT high_rebounds FROM table_23274514_7 WHERE record = '17-33';
``` | 36,074 | [
{
"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_23274514_7 (high_rebounds VARCHAR, record VARCHAR)\n\n Question: Name the high rebounds for 17-33\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_7 (team VARCHAR, record VARCHAR)
Question: Name the team for 19-34
Here is the SQLite query to answer to the question: Name the team for 19-34:
```
SELECT... | Here is the SQLite query to answer the question: Name the team for 19-34:
```
SELECT team FROM table_23274514_7 WHERE record = "19-34";
``` | 36,075 | [
{
"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_23274514_7 (team VARCHAR, record VARCHAR)\n\n Question: Name the team for 19-34\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_2326823_2 (model VARCHAR, max_power_output VARCHAR)
Question: How many models have maximum power output is 162kw (220 ps) at 6,300 rpm?
Here is the SQLite query to... | Your SQLite query is almost correct, but it should ensure that the `max_power_output` value being checked matches exactly what's in the table, including the units and formatting. Assuming that the value is correctly formatted as you have written, the query would look like this:
```
SELECT COUNT(model) FROM table_23268... | 36,076 | [
{
"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_2326823_2 (model VARCHAR, max_power_output VARCHAR)\n\n Question: How many models have maximum power output is 162kw (220 ps... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2326823_2 (max_power_output VARCHAR, model VARCHAR, peak_torque VARCHAR)
Question: List the max power produced for model 2.0 ts with peak of n·m (lb·ft) at 3,500 rp... | Here is the SQLite query to list the max power produced for model 2.0 TS with peak of n·m (lb·ft) at 3,500 rpm:
```
SELECT max_power_output FROM table_2326823_2 WHERE model = "2.0 TS" AND peak_torque = "N·m (lb·ft) at 3,500 rpm";
``` | 36,077 | [
{
"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_2326823_2 (max_power_output VARCHAR, model VARCHAR, peak_torque VARCHAR)\n\n Question: List the max power produced for model... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_4 (high_points VARCHAR, record VARCHAR)
Question: Who had the highest points during the game with a record of 2-7?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding who had the highest points during the game with a record of 2-7:
```sql
SELECT high_points FROM table_23274514_4 WHERE record = "2-7" ORDER BY high_points DESC LIMIT 1;
```
This query selects the `high_points` for the record "2-7" and orders the results in de... | 36,078 | [
{
"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_23274514_4 (high_points VARCHAR, record VARCHAR)\n\n Question: Who had the highest points during the game with a record of 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_4 (team VARCHAR, record VARCHAR)
Question: What team did the Wizards play against when their record was 2-5?
Here is the SQLite query to answer to the que... | To determine which team the Wizards played against when their record was 2-5, you need to look for the entry in the table that corresponds to the Wizards' record. Assuming the "team" field contains the name of the opponent and that you're specifically looking for games where the Wizards' record indicates a game they pl... | 36,079 | [
{
"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_23274514_4 (team VARCHAR, record VARCHAR)\n\n Question: What team did the Wizards play against when their record was 2-5?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23274514_4 (high_points VARCHAR, team VARCHAR)
Question: Who tied in the highest point scorer when playing against Phoenix?
Here is the SQLite query to answer to t... | To find the players who tied for the highest points scored when playing against Phoenix, you need to first identify the highest points scored against them, and then find all players who achieved that score. Here's the correct SQL query to answer your question:
```sql
SELECT high_points
FROM table_23274514_4
WHERE te... | 36,080 | [
{
"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_23274514_4 (high_points VARCHAR, team VARCHAR)\n\n Question: Who tied in the highest point scorer when playing against Phoen... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23279434_1 (season__number VARCHAR, production_code VARCHAR)
Question: Which season used production code "am10"?
Here is the SQLite query to answer to the question... | Your provided query count the number of seasons that used the production code "AM10", which is not what the original question asked. Instead, it should return the season number associated with that production code.
Here’s the corrected SQLite query to find the season(s) that used the production code "am10":
```sql
SE... | 36,081 | [
{
"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_23279434_1 (season__number VARCHAR, production_code VARCHAR)\n\n Question: Which season used production code \"am10\"?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23279434_1 (original_air_date VARCHAR, directed_by VARCHAR)
Question: When did Jeremy Kagan's episode first air?
Here is the SQLite query to answer to the question... | ```sql
SELECT original_air_date FROM table_23279434_1 WHERE directed_by = "Jeremy Kagan" ORDER BY original_air_date ASC LIMIT 1
``` | 36,082 | [
{
"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_23279434_1 (original_air_date VARCHAR, directed_by VARCHAR)\n\n Question: When did Jeremy Kagan's episode first air?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23279434_1 (season__number VARCHAR, written_by VARCHAR, series__number VARCHAR)
Question: What seasons in series 7 did David E. Kelley write ?
Here is the SQLite ... | Here is the SQLite query to answer the question about what seasons in series 7 David E. Kelley wrote:
```
SELECT season__number FROM table_23279434_1 WHERE written_by = "David E. Kelley" AND series__number = "7"
``` | 36,083 | [
{
"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_23279434_1 (season__number VARCHAR, written_by VARCHAR, series__number VARCHAR)\n\n Question: What seasons in series 7 did ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23281862_10 (date VARCHAR, score VARCHAR)
Question: Name the total number of date for score being l 106–116 (ot)
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the total number of dates for the score being "L 106–116 (OT)":
```sql
SELECT COUNT(date) FROM table_23281862_10 WHERE score = "L 106–116 (OT)";
``` | 36,084 | [
{
"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_23281862_10 (date VARCHAR, score VARCHAR)\n\n Question: Name the total number of date for score being l 106–116 (ot)\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23281862_10 (record VARCHAR, team VARCHAR)
Question: Name the record for charlotte
Here is the SQLite query to answer to the question: Name the record for charlott... | Here is the SQLite query to answer the question "Name the record for charlotte":
```
SELECT record FROM table_23281862_10 WHERE team = "charlotte"
``` | 36,085 | [
{
"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_23281862_10 (record VARCHAR, team VARCHAR)\n\n Question: Name the record for charlotte\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23281862_10 (game INTEGER, score VARCHAR)
Question: Name the most game for w 113–96 (ot)
Here is the SQLite query to answer to the question: Name the most game for... | Your query looks good for identifying the maximum game number where the score is "W 113–96 (OT)". However, if you intend to retrieve additional data, such as the specific game associated with that score, even if it is the same as the maximum, you might want to use a different approach.
Here’s the query as you provide... | 36,086 | [
{
"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_23281862_10 (game INTEGER, score VARCHAR)\n\n Question: Name the most game for w 113–96 (ot)\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_23274514_9 (score VARCHAR, record VARCHAR)
Question: What was the score when the record was 22-53?
Here is the SQLite query to answer to the question: What was the... | Here is the SQLite query to answer the question about the score when the record was 22-53:
```sql
SELECT score FROM table_23274514_9 WHERE record = '22-53';
``` | 36,087 | [
{
"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_23274514_9 (score VARCHAR, record VARCHAR)\n\n Question: What was the score when the record was 22-53?\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_23274514_9 (record VARCHAR, team VARCHAR)
Question: What was the record when they played golden state?
Here is the SQLite query to answer to the question: What was... | Here is the SQLite query to answer the question: What was the record when they played Golden State?:
```
SELECT record FROM table_23274514_9 WHERE team = "Golden State"
``` | 36,088 | [
{
"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_23274514_9 (record VARCHAR, team VARCHAR)\n\n Question: What was the record when they played golden state?\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_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
Question: How many percentages (2006) are there for the population whose mother tongue is French?
Here... | Your SQLite query is almost correct, but there is a minor mistake in your column name in the `SELECT` statement. The column name appears to have a typo (`percentage__2006_` should be `percentage__2006`).
Here is the revised query wrapped in the requested format:
```
SELECT COUNT(percentage__2006) FROM table_2328113_... | 36,089 | [
{
"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_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)\n\n Question: How many percentages (2006) are there for the pop... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2328113_1 (population__2011_ INTEGER)
Question: What was the minimum population in 2011?
Here is the SQLite query to answer to the question: What was the minimum p... | ```sql
SELECT MIN(population__2011_) FROM table_2328113_1;
``` | 36,090 | [
{
"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_2328113_1 (population__2011_ INTEGER)\n\n Question: What was the minimum population in 2011?\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_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
Question: What was the percentage in 2006 whose natives is Polish?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the percentage in 2006 for those whose native language is Polish:
```
SELECT percentage__2006_ FROM table_2328113_1 WHERE mother_tongue = 'Polish';
``` | 36,091 | [
{
"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_2328113_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)\n\n Question: What was the percentage in 2006 whose natives is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_11 (location_attendance VARCHAR, high_points VARCHAR)
Question: Name the location attendance for dirk nowitzki , caron butler (17)
Here is the SQLite quer... | Here is the correct SQLite query to answer the question based on the provided schema:
```
SELECT location_attendance FROM table_23284271_11 WHERE high_points = 'Dirk Nowitzki , Caron Butler (17)';
``` | 36,092 | [
{
"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_23284271_11 (location_attendance VARCHAR, high_points VARCHAR)\n\n Question: Name the location attendance for dirk nowitzki ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_11 (location_attendance VARCHAR, game VARCHAR)
Question: Name the location attendance for 4 game
Here is the SQLite query to answer to the question: Name ... | Here is the SQLite query to answer the question: Name the location attendance for 4 game:
```
SELECT location_attendance FROM table_23284271_11 WHERE game = '4';
``` | 36,093 | [
{
"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_23284271_11 (location_attendance VARCHAR, game VARCHAR)\n\n Question: Name the location attendance for 4 game\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_23284271_11 (date VARCHAR, score VARCHAR)
Question: Name the date for l 89–92 (ot)
Here is the SQLite query to answer to the question: Name the date for l 89–92 ... | Here's the SQLite query to name the date for "L 89–92 (OT)":
```
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)"
``` | 36,094 | [
{
"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_23284271_11 (date VARCHAR, score VARCHAR)\n\n Question: Name the date for l 89–92 (ot)\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_11 (high_assists VARCHAR, series VARCHAR)
Question: Name the high assists for 1-2 series
Here is the SQLite query to answer to the question: Name the high... | Here is the SQLite query to name the high assists for the series "1-2":
```
SELECT high_assists FROM table_23284271_11 WHERE series = '1-2';
``` | 36,095 | [
{
"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_23284271_11 (high_assists VARCHAR, series VARCHAR)\n\n Question: Name the high assists for 1-2 series\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_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)
Question: Name the high rebounds for american airlines center 20,557
Here is the SQLite query to a... | Here's the SQLite query formatted as requested:
```
SELECT high_rebounds FROM table_23284271_11 WHERE location_attendance = "American Airlines Center 20,557"
``` | 36,096 | [
{
"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_23284271_11 (high_rebounds VARCHAR, location_attendance VARCHAR)\n\n Question: Name the high rebounds for american airlines ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_6 (score VARCHAR, date VARCHAR)
Question: Name the score for december 27
Here is the SQLite query to answer to the question: Name the score for december 2... | It seems that you want to retrieve the score for December 27, but your query counts the number of scores instead. If you want to get the actual score(s) for that date, you should use the following query:
```sql
SELECT score FROM table_23284271_6 WHERE date = "December 27";
```
This will return the score associated w... | 36,097 | [
{
"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_23284271_6 (score VARCHAR, date VARCHAR)\n\n Question: Name the score for december 27\n\nHere is the SQLite query to answer ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284271_6 (high_points VARCHAR, location_attendance VARCHAR)
Question: Name the total number of high points for pepsi center 19,756
Here is the SQLite query to an... | Here is the SQLite query to answer the question regarding the total number of high points for Pepsi Center 19,756:
```
SELECT COUNT(high_points) FROM table_23284271_6 WHERE location_attendance = "Pepsi Center 19,756"
``` | 36,098 | [
{
"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_23284271_6 (high_points VARCHAR, location_attendance VARCHAR)\n\n Question: Name the total number of high points for pepsi c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Name the opponent in the final for 3–6, 1–6
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the opponent in the final for the score of 3–6, 1–6:
```
SELECT opponent_in_the_final FROM table_23284597_3 WHERE score_in_the_final = "3–6, 1–6";
``` | 36,099 | [
{
"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_23284597_3 (opponent_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n Question: Name the opponent in the final for 3–6,... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.