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_27712702_7 (high_assists VARCHAR, game VARCHAR)
Question: Who had high assists in game number 9?
Here is the SQLite query to answer to the question: Who had high a... | Here is the SQLite query to answer the question: Who had high assists in game number 9?:
```sql
SELECT high_assists FROM table_27712702_7 WHERE game = '9';
``` | 8,100 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27712702_7 (high_assists VARCHAR, game VARCHAR)\n\n Question: Who had high assists in game number 9?\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_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)
Question: Who had high assists in the game played at Oklahoma city arena 17,509?
Here is the SQLite ... | Here is the SQLite query to answer the question of who had high assists in the game played at Oklahoma City Arena 17,509:
```
SELECT high_assists FROM table_27712702_7 WHERE location_attendance = "Oklahoma City Arena 17,509"
``` | 8,101 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27712702_7 (high_assists VARCHAR, location_attendance VARCHAR)\n\n Question: Who had high assists in the game played at Okla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27712702_7 (team VARCHAR, date VARCHAR)
Question: Which team played on November 15?
Here is the SQLite query to answer to the question: Which team played on Novemb... | Here is the SQLite query to answer the question: Which team played on November 15?:
```
SELECT team FROM table_27712702_7 WHERE date = "November 15";
``` | 8,102 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27712702_7 (team VARCHAR, date VARCHAR)\n\n Question: Which team played on November 15?\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_27713030_16 (series VARCHAR, score VARCHAR)
Question: Which series had a score of l 103–112 (ot)?
Here is the SQLite query to answer to the question: Which series... | Here is the SQLite query to answer the question regarding which series had a score of "L 103–112 (OT)":
```
SELECT series FROM table_27713030_16 WHERE score = "L 103–112 (OT)";
``` | 8,103 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713030_16 (series VARCHAR, score VARCHAR)\n\n Question: Which series had a score of l 103–112 (ot)?\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_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)
Question: What was the location and attendance when lebron james (10) had the high assists?
Here is... | The provided SQLite query attempts to find the location when "LeBron James (10)" had the high assists, but it retrieves only the location and does not include the attendance. Moreover, the high assists need to be identified correctly.
To answer the question, you would want to select both the location and the attendanc... | 8,104 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713030_16 (location_attendance VARCHAR, high_assists VARCHAR)\n\n Question: What was the location and attendance when lebr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27713030_16 (team VARCHAR, high_rebounds VARCHAR)
Question: How many teams were there when chris bosh , lebron james (8) had the high rebounds?
Here is the SQLit... | Your current SQLite query seems to attempt to count the number of teams where "high_rebounds" matches the string "Chris Bosh , LeBron James (8)". However, if you're looking for a count of teams that had high rebounds associated with either Chris Bosh or LeBron James, you'll want to adjust the query to match the format ... | 8,105 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713030_16 (team VARCHAR, high_rebounds VARCHAR)\n\n Question: How many teams were there when chris bosh , lebron james (8... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR)
Question: Who led in assists on January 17, and with how many?
Here is the SQLite query to answer to the question: ... | Your SQLite query is off to a good start, but it should also include an aggregation step to identify who had the highest assists on that date. Specifically, you might want to use the `MAX()` function and a `GROUP BY` clause. Here's a modified version of your query that would return the player(s) who led in assists on J... | 8,106 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27712702_9 (high_assists VARCHAR, date VARCHAR)\n\n Question: Who led in assists on January 17, and with how many?\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_27712702_9 (score VARCHAR, date VARCHAR)
Question: What was the score of the January 8 game?
Here is the SQLite query to answer to the question: What was the score... | Here is the SQLite query to answer the question about the score of the January 8 game:
```sql
SELECT score FROM table_27712702_9 WHERE date = 'January 8';
``` | 8,107 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27712702_9 (score VARCHAR, date VARCHAR)\n\n Question: What was the score of the January 8 game?\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_27713583_8 (game VARCHAR, date VARCHAR)
Question: What game number was on January 14?
Here is the SQLite query to answer to the question: What game number was on J... | Here is the SQLite query to answer the question: What game number was on January 14?:
```
SELECT game FROM table_27713583_8 WHERE date = "January 14";
``` | 8,108 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713583_8 (game VARCHAR, date VARCHAR)\n\n Question: What game number was on January 14?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27713583_2 (date VARCHAR, high_assists VARCHAR)
Question: what is the date of the game that the high assists is raymond felton (4)?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the date of the game where the high assists is "Raymond Felton (4)":
```
SELECT date FROM table_27713583_2 WHERE high_assists = "Raymond Felton (4)";
``` | 8,109 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713583_2 (date VARCHAR, high_assists VARCHAR)\n\n Question: what is the date of the game that the high assists is raymond ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)
Question: How many games were on october 17?
Here is the SQLite query to answer to the question: How many games were... | Here is the SQLite query to answer the question regarding the number of games on October 17:
```sql
SELECT COUNT(high_points) FROM table_27713583_2 WHERE date = "October 17";
``` | 8,110 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713583_2 (high_points VARCHAR, date VARCHAR)\n\n Question: How many games were on october 17?\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_27713583_2 (record VARCHAR, team VARCHAR)
Question: What is the record for the game against team @ Minnesota?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question regarding the record for the game against team @ Minnesota:
```sql
SELECT record FROM table_27713583_2 WHERE team = "@ Minnesota";
``` | 8,111 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713583_2 (record VARCHAR, team VARCHAR)\n\n Question: What is the record for the game against team @ Minnesota?\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_27713583_2 (date VARCHAR, high_points VARCHAR)
Question: What is the date the high points was by toney douglas (23)?
Here is the SQLite query to answer to the ques... | Here is the SQLite query that answers the question about the date when the high points were attributed to Toney Douglas (23):
```
SELECT date FROM table_27713583_2 WHERE high_points = "Toney Douglas (23)"
``` | 8,112 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713583_2 (date VARCHAR, high_points VARCHAR)\n\n Question: What is the date the high points was by toney douglas (23)?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
Question: How many episodes had an audience of exactly 25.3 million viewers in the U.S.A.?
Here... | Here is the SQLite query to answer the question about how many episodes had an audience of exactly 25.3 million viewers in the U.S.A.:
```
SELECT COUNT(production_code) FROM table_27713721_1 WHERE us_viewers__millions_ = "25.3";
``` | 8,113 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27713721_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: How many episodes had an audience of exact... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR)
Question: Who had the high points when high assists is tim duncan (5)?
Here is the SQLite query to answer to... | Your SQLite query looks correct for retrieving the "high_points" associated with "high_assists" being "Tim Duncan (5)". Here’s the query wrapped in the specified format:
```
SELECT high_points FROM table_27715173_8 WHERE high_assists = "Tim Duncan (5)"
``` | 8,114 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, high_assists VARCHAR)\n\n Question: Who had the high points when high assists is tim duncan... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27715173_8 (date VARCHAR, location_attendance VARCHAR)
Question: what is the date when the location attendance is energysolutions arena 19,911?
Here is the SQLite ... | Here is the SQLite query to answer the question about the date when the location attendance is "EnergySolutions Arena 19,911":
```
SELECT date FROM table_27715173_8 WHERE location_attendance = "EnergySolutions Arena 19,911";
``` | 8,115 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_8 (date VARCHAR, location_attendance VARCHAR)\n\n Question: what is the date when the location attendance is energy... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)
Question: how many times is the team oklahoma city?
Here is the SQLite query to answer to the question: how many tim... | Here is the SQLite query to answer the question of how many times the team "Oklahoma City" appears in the table:
```
SELECT COUNT(*) FROM table_27715173_8 WHERE team = "Oklahoma City";
``` | 8,116 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_8 (high_points VARCHAR, team VARCHAR)\n\n Question: how many times is the team oklahoma city?\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_27715173_8 (game VARCHAR, high_points VARCHAR)
Question: what is the game where the high points is by manu ginóbili (26)?
Here is the SQLite query to answer to the... | Your query is almost correct, but it needs to match the format of the `high_points` values in the database. If "Manu Ginóbili (26)" is indeed how the high points are stored, then your query is fine. However, if you're specifically looking for the points scored (26), you might want to consider how the values are formatt... | 8,117 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_8 (game VARCHAR, high_points VARCHAR)\n\n Question: what is the game where the high points is by manu ginóbili (26)... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27715173_8 (location_attendance VARCHAR, record VARCHAR)
Question: what is the location attendance when the record is 39–7?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the location attendance when the record is 39–7:
```
SELECT location_attendance FROM table_27715173_8 WHERE record = "39–7";
``` | 8,118 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_8 (location_attendance VARCHAR, record VARCHAR)\n\n Question: what is the location attendance when the record is 39... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27715173_2 (game INTEGER)
Question: What is the maximum basketball game?
Here is the SQLite query to answer to the question: What is the maximum basketball game?:
... | Here is the SQLite query to answer the question "What is the maximum basketball game?" using the provided schema:
```
SELECT MAX(game) FROM table_27715173_2;
``` | 8,119 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27715173_2 (game INTEGER)\n\n Question: What is the maximum basketball game?\n\nHere is the SQLite query to answer to the qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR)
Question: How many entries are shown for high points when the score was l 87–89 (ot)?
Here is the SQLite query to... | The SQLite query you've provided to count the entries for high points when the score is "L 87–89 (OT)" is correct. Here it is, wrapped as requested:
```
SELECT COUNT(high_points) FROM table_27722408_6 WHERE score = "L 87–89 (OT)";
``` | 8,120 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, score VARCHAR)\n\n Question: How many entries are shown for high points when the score was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR)
Question: What was the other team in game 11?
Here is the SQLite query to answer to the question: What was the other team i... | Your provided query is close, but it's important to clarify that if you want to find the other team in game 11, you need to ensure that you retrieve all teams involved in that game. If "game" is uniquely identified by the number (like "11"), the query would be:
```sql
SELECT team FROM table_27722408_6 WHERE game = '11... | 8,121 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722408_6 (team VARCHAR, game VARCHAR)\n\n Question: What was the other team in game 11?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR)
Question: Who scored the high points for the game with record 9–3?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question of who scored the high points for the game with record 9–3:
```
SELECT high_points FROM table_27722408_6 WHERE record = "9–3";
``` | 8,122 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722408_6 (high_points VARCHAR, record VARCHAR)\n\n Question: Who scored the high points for the game with record 9–3?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR)
Question: Name the date for washington
Here is the SQLite query to answer to the question: Name the date for washington:
``... | Here is the SQLite query to answer the question: Name the date for Washington:
```
SELECT date FROM table_27722734_7 WHERE team = "Washington"
``` | 8,123 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722734_7 (date VARCHAR, team VARCHAR)\n\n Question: Name the date for washington\n\nHere is the SQLite query to answer to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_7 (record VARCHAR, game VARCHAR)
Question: Name the record for 23 game
Here is the SQLite query to answer to the question: Name the record for 23 game:
``... | Here's the SQLite query wrapped in code format to address the question of naming the record for the game identified by 23:
```
SELECT record FROM table_27722734_7 WHERE game = '23';
```
Please note that in SQL, it's common to use quotes around string values, so I’ve assumed "23" is a string representation of the gam... | 8,124 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722734_7 (record VARCHAR, game VARCHAR)\n\n Question: Name the record for 23 game\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR)
Question: Name the most game for december 1
Here is the SQLite query to answer to the question: Name the most game for dece... | The query you've provided is almost correct, but it looks like you're trying to get the name of the 'most game', which might suggest that you want to count the occurrences of each game on December 1, rather than finding the maximum game ID.
If by "most game" you mean the game that appears most frequently on December ... | 8,125 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27722734_7 (game INTEGER, date VARCHAR)\n\n Question: Name the most game for december 1\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_27723526_10 (score VARCHAR, team VARCHAR)
Question: What was the score of the game against portland?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question regarding the score of the game against Portland:
```
SELECT score FROM table_27723526_10 WHERE team = "Portland";
``` | 8,126 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27723526_10 (score VARCHAR, team VARCHAR)\n\n Question: What was the score of the game against portland?\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_27723526_10 (high_assists VARCHAR, date VARCHAR)
Question: Who had the high assist total on january 27?
Here is the SQLite query to answer to the question: Who had... | Here is the SQLite query to answer the question about who had the high assist total on January 27:
```
SELECT high_assists FROM table_27723526_10 WHERE date = "January 27";
``` | 8,127 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27723526_10 (high_assists VARCHAR, date VARCHAR)\n\n Question: Who had the high assist total on january 27?\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_27733909_9 (location_attendance VARCHAR, game VARCHAR)
Question: What is the location and attendance of game 70?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the location and attendance of game 70:
```
SELECT location_attendance FROM table_27733909_9 WHERE game = '70'
```
Note that the game value is treated as a string in the SQL query, since the column `game` is generally defined as VARCHAR and should be compared... | 8,128 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27733909_9 (location_attendance VARCHAR, game VARCHAR)\n\n Question: What is the location and attendance of game 70?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR)
Question: What team was the opponent when josh smith (8) had the high assists?
Here is the SQLite query to answer ... | Your provided query is close, but it appears there might be a misunderstanding regarding the structure of the data. If "8" refers to a specific identifier for Josh Smith, and the high assists entry is formatted as "Josh Smith (8)", then your query looks correctly formatted.
However, if "high_assists" only contains th... | 8,129 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27734577_13 (team VARCHAR, high_assists VARCHAR)\n\n Question: What team was the opponent when josh smith (8) had the high a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR)
Question: What is the game number where josh smith (4) had the high assists?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the game number where Josh Smith (4) had the high assists:
```
SELECT MIN(game) FROM table_27734577_13 WHERE high_assists = "Josh Smith (4)"
``` | 8,130 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27734577_13 (game INTEGER, high_assists VARCHAR)\n\n Question: What is the game number where josh smith (4) had the high ass... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27734577_13 (series VARCHAR, high_rebounds VARCHAR)
Question: What is the series number when al horford (10) had the high rebounds?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the series number when Al Horford (10) had the high rebounds:
```
SELECT series FROM table_27734577_13 WHERE high_rebounds = "Al Horford (10)";
``` | 8,131 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27734577_13 (series VARCHAR, high_rebounds VARCHAR)\n\n Question: What is the series number when al horford (10) had the hig... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27734577_7 (team VARCHAR, location_attendance VARCHAR)
Question: What is every team with location attendance of Philips Arena 12,140?
Here is the SQLite query to a... | Here is the SQLite query you can use to find every team with location attendance of "Philips Arena 12,140":
```
SELECT team FROM table_27734577_7 WHERE location_attendance = 'Philips Arena 12,140';
``` | 8,132 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27734577_7 (team VARCHAR, location_attendance VARCHAR)\n\n Question: What is every team with location attendance of Philips ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR)
Question: How many games were played on october 16?
Here is the SQLite query to answer to the question: How many gam... | Here is the SQLite query to answer the question regarding how many games were played on October 16:
```
SELECT COUNT(high_points) FROM table_27756014_1 WHERE date = "October 16";
``` | 8,133 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756014_1 (high_points VARCHAR, date VARCHAR)\n\n Question: How many games were played on october 16?\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_27756014_1 (score VARCHAR, game VARCHAR)
Question: What is the score of game 4?
Here is the SQLite query to answer to the question: What is the score of game 4?:
`... | Here's the SQLite query to answer the question "What is the score of game 4?":
```
SELECT score FROM table_27756014_1 WHERE game = '4';
```
Note: I've wrapped the game identifier in quotes since the `game` column is a VARCHAR type, and it is a common practice to use quotes for string comparisons in SQL. | 8,134 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756014_1 (score VARCHAR, game VARCHAR)\n\n Question: What is the score of game 4?\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756014_1 (score VARCHAR, date VARCHAR)
Question: What is the score of the game played on october 16?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question about the score of the game played on October 16:
```
SELECT score FROM table_27756014_1 WHERE date = "October 16";
``` | 8,135 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756014_1 (score VARCHAR, date VARCHAR)\n\n Question: What is the score of the game played on october 16?\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_27756014_1 (team VARCHAR, date VARCHAR)
Question: What is the team played on october 5?
Here is the SQLite query to answer to the question: What is the team played... | Here is the SQLite query to answer the question about which team played on October 5:
```sql
SELECT team FROM table_27756014_1 WHERE date = "October 5";
``` | 8,136 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756014_1 (team VARCHAR, date VARCHAR)\n\n Question: What is the team played on october 5?\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_27756314_6 (high_assists VARCHAR, date VARCHAR)
Question: who had high assists on november 12?
Here is the SQLite query to answer to the question: who had high ass... | Here is the SQLite query to answer the question regarding who had high assists on November 12:
```
SELECT high_assists FROM table_27756314_6 WHERE date = "November 12";
``` | 8,137 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_6 (high_assists VARCHAR, date VARCHAR)\n\n Question: who had high assists on november 12?\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_27756314_10 (date VARCHAR, high_points VARCHAR)
Question: What is the date when the high points is michael beasley , martell webster (16)?
Here is the SQLite query... | Your SQL query is correctly structured to retrieve the date for a specific entry in the table. However, an important practice in SQL is to ensure that the string literals match exactly with what is stored in the database, including spaces, case, and punctuation.
If you are certain that the value in the `high_points` c... | 8,138 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_10 (date VARCHAR, high_points VARCHAR)\n\n Question: What is the date when the high points is michael beasley , mar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756314_10 (game VARCHAR, team VARCHAR)
Question: What is the game with the team indiana?
Here is the SQLite query to answer to the question: What is the game wit... | Here is the SQLite query to answer the question about the game with the team Indiana:
```
SELECT game FROM table_27756314_10 WHERE team = "Indiana"
``` | 8,139 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_10 (game VARCHAR, team VARCHAR)\n\n Question: What is the game with the team indiana?\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_27756314_10 (high_rebounds VARCHAR, date VARCHAR)
Question: Who had high rebounds when the date was march 25?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about who had high rebounds on March 25:
```sql
SELECT high_rebounds FROM table_27756314_10 WHERE date = "March 25";
``` | 8,140 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_10 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: Who had high rebounds when the date was march 25?\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_27756314_10 (game INTEGER, score VARCHAR)
Question: What is the highest game with the score l 96–103 (ot)?
Here is the SQLite query to answer to the question: What... | Here is the correct SQLite query to find the highest game with the score "L 96–103 (OT)":
```
SELECT MAX(game) FROM table_27756314_10 WHERE score = 'L 96–103 (OT)';
``` | 8,141 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_10 (game INTEGER, score VARCHAR)\n\n Question: What is the highest game with the score l 96–103 (ot)?\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_27756314_10 (team VARCHAR, high_points VARCHAR)
Question: What is the team when the high points were by wesley johnson (20)?
Here is the SQLite query to answer to ... | Your query is almost correct but needs a slight adjustment in how the `high_points` is formatted. Here is the correct SQLite query:
```
SELECT team FROM table_27756314_10 WHERE high_points = "20" AND team = "Wesley Johnson";
```
However, based on your initial context, it appears that you're looking for the high point... | 8,142 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_10 (team VARCHAR, high_points VARCHAR)\n\n Question: What is the team when the high points were by wesley johnson (... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756314_7 (record VARCHAR, date VARCHAR)
Question: what is the record for date december 11?
Here is the SQLite query to answer to the question: what is the record... | Here is the SQLite query to answer the question regarding the record for the date December 11:
```
SELECT record FROM table_27756314_7 WHERE date = "December 11";
``` | 8,143 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_7 (record VARCHAR, date VARCHAR)\n\n Question: what is the record for date december 11?\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_27756314_7 (high_assists VARCHAR, date VARCHAR)
Question: who had high assists on december 3?
Here is the SQLite query to answer to the question: who had high assi... | Here is the SQLite query to answer the question about who had high assists on December 3:
```
SELECT high_assists FROM table_27756314_7 WHERE date = "December 3";
``` | 8,144 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_7 (high_assists VARCHAR, date VARCHAR)\n\n Question: who had high assists on december 3?\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_27756314_7 (location_attendance VARCHAR, game VARCHAR)
Question: where was the location that had game 19?
Here is the SQLite query to answer to the question: where... | Here is the SQLite query to answer the question regarding the location that had game 19:
```
SELECT location_attendance FROM table_27756314_7 WHERE game = 19
``` | 8,145 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756314_7 (location_attendance VARCHAR, game VARCHAR)\n\n Question: where was the location that had game 19?\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_27756474_13 (location_attendance VARCHAR, date VARCHAR)
Question: Where was the game played and what was the attendance on May 13?
Here is the SQLite query to answ... | To retrieve both the location where the game was played and the attendance on May 13, you need to select both columns from the table. Here is the correct SQLite query:
```
SELECT location_attendance, date FROM table_27756474_13 WHERE date = "May 13"
``` | 8,146 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756474_13 (location_attendance VARCHAR, date VARCHAR)\n\n Question: Where was the game played and what was the attendance ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27756572_2 (location_attendance VARCHAR, date VARCHAR)
Question: What was the location and the attendance for the game on October 12?
Here is the SQLite query to a... | Here is the correct SQLite query to answer the question about the location and the attendance for the game on October 12:
```
SELECT location_attendance FROM table_27756572_2 WHERE date = 'October 12';
``` | 8,147 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27756572_2 (location_attendance VARCHAR, date VARCHAR)\n\n Question: What was the location and the attendance for the game o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, cpu_type VARCHAR)
Question: Name the number of processors for nec sx-4 vector processor
Here is the SQLite query to answer to... | Here is the SQLite query to answer your question:
```
SELECT no_of_processors FROM table_27765443_2 WHERE cpu_type = "NEC SX-4 vector processor"
``` | 8,148 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, cpu_type VARCHAR)\n\n Question: Name the number of processors for nec sx-4 vector proc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)
Question: Name the most peak performance for october 2006 - january 2010
H... | To retrieve the maximum peak performance for the period of October 2006 to January 2010, you should use an aggregation function to find the maximum value in the `maximum_peak_performance___teraflops__` column. Here is the correct SQLite query:
```
SELECT MAX(CAST(maximum_peak_performance___teraflops__ AS FLOAT)) AS ma... | 8,149 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27765443_2 (maximum_peak_performance___teraflops__ VARCHAR, period_of_operation VARCHAR)\n\n Question: Name the most peak pe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27765443_2 (cpu_type VARCHAR, period_of_operation VARCHAR)
Question: Name the cpu type for june 2005 - april 2009
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the CPU type for June 2005 - April 2009:
```
SELECT cpu_type FROM table_27765443_2 WHERE period_of_operation = "June 2005 - April 2009";
``` | 8,150 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27765443_2 (cpu_type VARCHAR, period_of_operation VARCHAR)\n\n Question: Name the cpu type for june 2005 - april 2009\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27765443_2 (model___computer_name VARCHAR, cpu_type VARCHAR)
Question: Name the total number of model for amd opteron dual-core 2.6ghz
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the total number of models for "AMD Opteron dual-core 2.6GHz":
```
SELECT COUNT(model___computer_name) FROM table_27765443_2 WHERE cpu_type = "AMD Opteron dual-core 2.6GHz";
``` | 8,151 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27765443_2 (model___computer_name VARCHAR, cpu_type VARCHAR)\n\n Question: Name the total number of model for amd opteron du... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)
Question: Name the number of processors for october 2006 - january 2010
Here is the SQLite query... | Here is the SQLite query to answer the question:
```
SELECT no_of_processors FROM table_27765443_2 WHERE period_of_operation = "October 2006 - January 2010"
``` | 8,152 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27765443_2 (no_of_processors VARCHAR, period_of_operation VARCHAR)\n\n Question: Name the number of processors for october 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27758427_2 (results VARCHAR, lmpc_winning_team VARCHAR)
Question: What was the result for the cirtcuit where the LMPC winning team was #89 Intersport Racing?
Here ... | Here is the SQLite query to retrieve the result for the circuit where the LMPC winning team was #89 Intersport Racing:
```
SELECT results FROM table_27758427_2 WHERE lmpc_winning_team = "#89 Intersport Racing"
``` | 8,153 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27758427_2 (results VARCHAR, lmpc_winning_team VARCHAR)\n\n Question: What was the result for the cirtcuit where the LMPC wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)
Question: how many winnings does jeff gordon have?
Here is the SQLite query to answer to the question: how many winni... | Here's the correct SQLite query to find out how many winnings "Jeff Gordon" has:
```sql
SELECT COUNT(winnings) FROM table_27781212_1 WHERE driver = "Jeff Gordon";
``` | 8,154 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27781212_1 (winnings VARCHAR, driver VARCHAR)\n\n Question: how many winnings does jeff gordon have?\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_27781212_1 (points INTEGER, driver VARCHAR)
Question: what are the minimum points for tommy kendall?
Here is the SQLite query to answer to the question: what are t... | Your SQLite query to find the minimum points for Tommy Kendall is correct. Here it is wrapped in the requested format:
```
SELECT MIN(points) FROM table_27781212_1 WHERE driver = "Tommy Kendall";
``` | 8,155 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27781212_1 (points INTEGER, driver VARCHAR)\n\n Question: what are the minimum points for tommy kendall?\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_27781212_1 (position INTEGER, points VARCHAR)
Question: what is the minimum position with 31 points?
Here is the SQLite query to answer to the question: what is th... | Here is the SQLite query to answer the question regarding the minimum position with 31 points:
```
SELECT MIN(position) FROM table_27781212_1 WHERE points = '31'
``` | 8,156 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27781212_1 (position INTEGER, points VARCHAR)\n\n Question: what is the minimum position with 31 points?\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_27781212_1 (driver VARCHAR, winnings VARCHAR)
Question: who is the driver that had winnings of $225,000?
Here is the SQLite query to answer to the question: who is... | Here is the SQLite query to answer the question of who is the driver that had winnings of $225,000:
```
SELECT driver FROM table_27781212_1 WHERE winnings = "$225,000"
``` | 8,157 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27781212_1 (driver VARCHAR, winnings VARCHAR)\n\n Question: who is the driver that had winnings of $225,000?\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_2780146_6 (standard VARCHAR, pm__g_kwh_ VARCHAR)
Question: How many different standards have a PM of 0.02 g/kWh?
Here is the SQLite query to answer to the question... | To correctly count the different standards that have a PM of 0.02 g/kWh, you need to ensure that you're counting distinct standards. You can achieve this by using the `COUNT(DISTINCT standard)` function. Here's the revised SQLite query:
```
SELECT COUNT(DISTINCT standard) FROM table_2780146_6 WHERE pm__g_kwh_ = '0.02'... | 8,158 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2780146_6 (standard VARCHAR, pm__g_kwh_ VARCHAR)\n\n Question: How many different standards have a PM of 0.02 g/kWh?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, standard VARCHAR)
Question: What's the HC for the Euro I standard?
Here is the SQLite query to answer to the question: What's the HC... | Here is the SQLite query to answer the question about the HC for the Euro I standard:
```
SELECT hc__g_kwh_ FROM table_2780146_6 WHERE standard = "Euro I";
``` | 8,159 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, standard VARCHAR)\n\n Question: What's the HC for the Euro I standard?\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_2780146_6 (hc__g_kwh_ VARCHAR, no_x__g_kwh_ VARCHAR)
Question: What's the HC for the standard with NO x of 7.0 g/kWh?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the HC for the standard with NO x of 7.0 g/kWh:
```
SELECT hc__g_kwh_ FROM table_2780146_6 WHERE no_x__g_kwh_ = "7.0 g/kWh"
``` | 8,160 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2780146_6 (hc__g_kwh_ VARCHAR, no_x__g_kwh_ VARCHAR)\n\n Question: What's the HC for the standard with NO x of 7.0 g/kWh?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2780146_6 (pm__g_kwh_ VARCHAR, co__g_kwh_ VARCHAR)
Question: What's the PM for the standard with 12.3 g/kWh CO?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the PM for the standard with 12.3 g/kWh CO:
```
SELECT pm__g_kwh_ FROM table_2780146_6 WHERE co__g_kwh_ = "12.3"
``` | 8,161 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2780146_6 (pm__g_kwh_ VARCHAR, co__g_kwh_ VARCHAR)\n\n Question: What's the PM for the standard with 12.3 g/kWh CO?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR)
Question: What's the NO of the standard with HC of 1.23 g/kWh?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to find the NO of the standard with HC of 1.23 g/kWh:
```
SELECT no_x__g_kwh_ FROM table_2780146_6 WHERE hc__g_kwh_ = "1.23"
``` | 8,162 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2780146_6 (no_x__g_kwh_ VARCHAR, hc__g_kwh_ VARCHAR)\n\n Question: What's the NO of the standard with HC of 1.23 g/kWh?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)
Question: What was the original air date of the episode that had 5.42 million viewers?
Here is... | Your SQLite query to find the original air date of the episode that had 5.42 million viewers is correct. Here it is wrapped as requested:
```
SELECT original_air_date FROM table_27790959_1 WHERE us_viewers__million_ = "5.42";
``` | 8,163 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27790959_1 (original_air_date VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: What was the original air date of the epi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27862483_3 (attendance INTEGER, win VARCHAR)
Question: How many people saw the game won by G. Claypool (4-1)?
Here is the SQLite query to answer to the question: H... | Your query uses the `MIN` function, which calculates the minimum attendance, but to find out how many people saw the game won by G. Claypool (4-1), you should use the `SUM` or `COUNT` function instead, depending on whether you're looking for the total attendance or the number of games.
If you're trying to count how m... | 8,164 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27862483_3 (attendance INTEGER, win VARCHAR)\n\n Question: How many people saw the game won by G. Claypool (4-1)?\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_27862483_3 (overall_record VARCHAR, win VARCHAR)
Question: What was the overall record in the game won by D. Klein (2-0)?
Here is the SQLite query to answer to the... | Here is the SQLite query you need to answer the question regarding the overall record in the game won by D. Klein (2-0):
```
SELECT overall_record FROM table_27862483_3 WHERE win = "D. Klein (2-0)"
``` | 8,165 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27862483_3 (overall_record VARCHAR, win VARCHAR)\n\n Question: What was the overall record in the game won by D. Klein (2-0)... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27862483_3 (overall_record VARCHAR, loss VARCHAR)
Question: What was the overall record of the game lost by A. Pracher (4-1)?
Here is the SQLite query to answer to... | Here is the SQLite query to find the overall record of the game lost by A. Pracher (4-1):
```
SELECT overall_record FROM table_27862483_3 WHERE loss = "A. Pracher (4-1)"
``` | 8,166 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27862483_3 (overall_record VARCHAR, loss VARCHAR)\n\n Question: What was the overall record of the game lost by A. Pracher (... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27862483_3 (pac_10_record VARCHAR, date VARCHAR)
Question: What was the PAC-10 record of the game played on April 20?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question regarding the PAC-10 record of the game played on April 20:
```
SELECT pac_10_record FROM table_27862483_3 WHERE date = "April 20";
``` | 8,167 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27862483_3 (pac_10_record VARCHAR, date VARCHAR)\n\n Question: What was the PAC-10 record of the game played on April 20?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27862483_3 (_number VARCHAR, date VARCHAR)
Question: How many different numbers are there for the game played on April 23?
Here is the SQLite query to answer to th... | Your provided SQLite query seems almost correct but if you want to count distinct numbers, you should use the `COUNT(DISTINCT ...)` function to ensure you count unique numbers only. Here’s the revised query:
```
SELECT COUNT(DISTINCT _number) FROM table_27862483_3 WHERE date = 'April 23';
```
This will give you the ... | 8,168 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27862483_3 (_number VARCHAR, date VARCHAR)\n\n Question: How many different numbers are there for the game played on April 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27846651_1 (episode__number VARCHAR, viewers__millions_ VARCHAR)
Question: Wat episode number had 5.46 million viewers?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question "What episode number had 5.46 million viewers?":
```
SELECT episode__number FROM table_27846651_1 WHERE viewers__millions_ = "5.46";
``` | 8,169 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27846651_1 (episode__number VARCHAR, viewers__millions_ VARCHAR)\n\n Question: Wat episode number had 5.46 million viewers?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27846651_1 (series__number VARCHAR, viewers__millions_ VARCHAR)
Question: What episode in the series had 5.24 million viewers?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about which episode in the series had 5.24 million viewers:
```
SELECT series__number FROM table_27846651_1 WHERE viewers__millions_ = "5.24"
``` | 8,170 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27846651_1 (series__number VARCHAR, viewers__millions_ VARCHAR)\n\n Question: What episode in the series had 5.24 million vi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27846651_1 (writer VARCHAR, viewers__millions_ VARCHAR)
Question: Who wrote the episode that had 5.93 million viewers?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about who wrote the episode that had 5.93 million viewers:
```
SELECT writer FROM table_27846651_1 WHERE viewers__millions_ = "5.93"
``` | 8,171 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27846651_1 (writer VARCHAR, viewers__millions_ VARCHAR)\n\n Question: Who wrote the episode that had 5.93 million viewers?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27877656_8 (edition VARCHAR, opponent_team VARCHAR)
Question: In what edition was the opponent team Zimbabwe?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the edition in which the opponent team was Zimbabwe:
```
SELECT edition FROM table_27877656_8 WHERE opponent_team = "Zimbabwe";
``` | 8,172 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27877656_8 (edition VARCHAR, opponent_team VARCHAR)\n\n Question: In what edition was the opponent team Zimbabwe? \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_27877656_8 (outcome VARCHAR, edition VARCHAR)
Question: What was the outcome in the 2010 Europe/Africa Group IIB edition?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question:
```
SELECT outcome FROM table_27877656_8 WHERE edition = "2010 Europe/Africa Group IIB"
``` | 8,173 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27877656_8 (outcome VARCHAR, edition VARCHAR)\n\n Question: What was the outcome in the 2010 Europe/Africa Group IIB edition... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27882867_8 (record VARCHAR, team VARCHAR)
Question: What was the team's record against philadelphia?
Here is the SQLite query to answer to the question: What was t... | The query you've provided is close, but it needs to reflect that you want to find the record of a specific team against "Philadelphia" rather than querying for "Philadelphia" directly. Assuming that you are looking for the records of all teams against Philadelphia, you should adjust the WHERE clause accordingly. Here’s... | 8,174 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27882867_8 (record VARCHAR, team VARCHAR)\n\n Question: What was the team's record against philadelphia?\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_27902171_4 (date VARCHAR, team VARCHAR)
Question: What day did they play the phoenix suns?
Here is the SQLite query to answer to the question: What day did they pl... | Here is the SQLite query to answer the question about what day they played the Phoenix Suns:
```
SELECT date FROM table_27902171_4 WHERE team = "Phoenix Suns"
``` | 8,175 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_4 (date VARCHAR, team VARCHAR)\n\n Question: What day did they play the phoenix suns?\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_27902171_4 (high_points VARCHAR, record VARCHAR)
Question: Who had the high point total when they were 8-5?
Here is the SQLite query to answer to the question: Who... | Here is the SQLite query to answer the question about who had the high point total when they were 8-5:
```
SELECT high_points FROM table_27902171_4 WHERE record = '8-5';
``` | 8,176 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_4 (high_points VARCHAR, record VARCHAR)\n\n Question: Who had the high point total when they were 8-5?\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_27902171_4 (high_assists VARCHAR, record VARCHAR)
Question: Who had the high assist total when the team was 0-1?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question "Who had the high assist total when the team was 0-1?":
```
SELECT high_assists FROM table_27902171_4 WHERE record = "0-1"
``` | 8,177 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_4 (high_assists VARCHAR, record VARCHAR)\n\n Question: Who had the high assist total when the team was 0-1?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27902171_6 (high_points VARCHAR, team VARCHAR)
Question: Who had highest points during game against the Utah Jazz?
Here is the SQLite query to answer to the questi... | To find the player who had the highest points during the game against the Utah Jazz, you should first ensure you are checking for games involving another team playing against the Utah Jazz, not just the Jazz itself. The query should look for high points where the opponent is the Utah Jazz. Here’s how you can write that... | 8,178 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_6 (high_points VARCHAR, team VARCHAR)\n\n Question: Who had highest points during game against the Utah Jazz?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR)
Question: What location with it's corresponding attendance was the game against Utah Jazz?
Here is the SQLit... | Here is the SQLite query to answer the question regarding the location and its corresponding attendance for the game against the Utah Jazz:
```
SELECT location_attendance FROM table_27902171_6 WHERE team = "Utah Jazz"
``` | 8,179 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_6 (location_attendance VARCHAR, team VARCHAR)\n\n Question: What location with it's corresponding attendance was th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR)
Question: What were the scores of the games with a record of 47-34?
Here is the SQLite query to answer to the question: ... | Your SQLite query to find the scores of the games with a record of 47-34 is correct. Here it is wrapped in the requested format:
```
SELECT score FROM table_27902171_9 WHERE record = "47-34"
``` | 8,180 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_9 (score VARCHAR, record VARCHAR)\n\n Question: What were the scores of the games with a record of 47-34?\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_27902171_9 (high_rebounds VARCHAR, team VARCHAR)
Question: Who performed the most rebounds on games against the Minnesota Timberwolves?
Here is the SQLite query to... | To find out who performed the most rebounds in games against the Minnesota Timberwolves, you will need to modify the query to group the results by players or teams and then aggregate the rebound counts accordingly. Since the specified schema only contains rebounds and team information, but does not specify players, I w... | 8,181 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27902171_9 (high_rebounds VARCHAR, team VARCHAR)\n\n Question: Who performed the most rebounds on games against the Minnesot... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27913160_3 (manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR)
Question: Who manufactured the car driven by Will Power and Scott Dixon had the most laps?
... | The provided query does not correctly address the question about who manufactured the car driven by Will Power and Scott Dixon, particularly regarding who had the most laps led. We need to reformulate the query to find the manufacturer of the car driven by the driver who had the most laps led between Will Power and Sco... | 8,182 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (manufacturer VARCHAR, driver VARCHAR, most_laps_led VARCHAR)\n\n Question: Who manufactured the car driven by Wi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27913160_3 (pole_position VARCHAR, race VARCHAR)
Question: Who had the pole position in Detroit?
Here is the SQLite query to answer to the question: Who had the po... | Here is the SQLite query to answer the question: Who had the pole position in Detroit?:
```
SELECT pole_position FROM table_27913160_3 WHERE race = "Detroit"
``` | 8,183 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (pole_position VARCHAR, race VARCHAR)\n\n Question: Who had the pole position in Detroit?\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_27913160_3 (driver VARCHAR, round VARCHAR)
Question: Who was the driver in round 4?
Here is the SQLite query to answer to the question: Who was the driver in round... | Here is the SQLite query to answer the question: Who was the driver in round 4?:
```
SELECT driver FROM table_27913160_3 WHERE round = '4'
``` | 8,184 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (driver VARCHAR, round VARCHAR)\n\n Question: Who was the driver in round 4?\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_27913160_3 (pole_position VARCHAR, race VARCHAR)
Question: Who had the pole position in Milwaukee?
Here is the SQLite query to answer to the question: Who had the ... | Here is the SQLite query to answer the question: Who had the pole position in Milwaukee?:
```
SELECT pole_position FROM table_27913160_3 WHERE race = "Milwaukee";
``` | 8,185 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (pole_position VARCHAR, race VARCHAR)\n\n Question: Who had the pole position in Milwaukee?\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_27913160_3 (driver VARCHAR, round VARCHAR)
Question: Who was the driver in round 8?
Here is the SQLite query to answer to the question: Who was the driver in round... | Your SQLite query to answer the question "Who was the driver in round 8?" is mostly correct, but you should ensure that the round value is correctly formatted as a string since it is defined as a VARCHAR in the schema. Here’s the modified query:
```
SELECT driver FROM table_27913160_3 WHERE round = '8'
``` | 8,186 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (driver VARCHAR, round VARCHAR)\n\n Question: Who was the driver in round 8?\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_27913160_3 (race VARCHAR, most_laps_led VARCHAR)
Question: What race did Simon Pagenaud have the most laps in?
Here is the SQLite query to answer to the question: ... | Your query is almost correct, but it seems to be looking for rows where the `most_laps_led` column is equal to "Simon Pagenaud" instead of identifying the race where he led the most laps. If you meant to find the race that he led the most laps in based on that column, you would typically want to include an aggregate fu... | 8,187 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27913160_3 (race VARCHAR, most_laps_led VARCHAR)\n\n Question: What race did Simon Pagenaud have the most laps in?\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_2791668_1 (title VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)
Question: what is the name of the episode whose director is Michael Pressman and the number of ... | Here is the SQLite query to answer the question about the name of the episode directed by Michael Pressman with a number in the season less than 10.0:
```
SELECT title FROM table_2791668_1 WHERE directed_by = "Michael Pressman" AND no_in_season < 10.0
``` | 8,188 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2791668_1 (title VARCHAR, directed_by VARCHAR, no_in_season VARCHAR)\n\n Question: what is the name of the episode whose dir... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)
Question: how many millions of North American people saw the episode whose director was Ed Sherin?
... | Your query is almost correct, but it is better to use an aggregate function like `SUM()` to get the total number of millions of viewers, assuming there might be multiple entries for episodes directed by Ed Sherin. Here's the corrected query:
```sql
SELECT SUM(CAST(us_viewers__millions_ AS INTEGER)) AS total_viewers
FR... | 8,189 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2791668_1 (us_viewers__millions_ VARCHAR, directed_by VARCHAR)\n\n Question: how many millions of North American people saw ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)
Question: what is the name of the episode whose writer is philippe browning?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the episode whose writer is Philippe Browning:
```
SELECT title FROM table_2791668_1 WHERE written_by = "Philippe Browning";
``` | 8,190 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2791668_1 (title VARCHAR, written_by VARCHAR)\n\n Question: what is the name of the episode whose writer is philippe brownin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2791668_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)
Question: how many premieres had the episode that had 12.68 millions of north american viewers?... | Your provided SQLite query is correct in terms of structure and logic to count the number of premieres for the episode that had 12.68 millions of North American viewers. Here’s the query wrapped in the requested format:
```
SELECT COUNT(original_air_date) FROM table_2791668_1 WHERE us_viewers__millions_ = "12.68";
```... | 8,191 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2791668_1 (original_air_date VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: how many premieres had the episode that h... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2791668_1 (no_in_series VARCHAR, production_code VARCHAR)
Question: how many episodes in the series had as a production code 16016?
Here is the SQLite query to an... | Your query is almost correct, but it should treat the `production_code` as a string since it is likely defined as `VARCHAR`. Therefore, you should put the value `16016` in quotes. Here is the corrected query:
```
SELECT COUNT(no_in_series) FROM table_2791668_1 WHERE production_code = '16016'
```
This will accurately... | 8,192 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2791668_1 (no_in_series VARCHAR, production_code VARCHAR)\n\n Question: how many episodes in the series had as a production ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27940569_1 (make VARCHAR, sponsor VARCHAR)
Question: What car make was sponsored by Aflac?
Here is the SQLite query to answer to the question: What car make was sp... | Your SQLite query correctly retrieves the car make sponsored by Aflac. Here it is formatted as requested:
```
SELECT make FROM table_27940569_1 WHERE sponsor = "Aflac";
``` | 8,193 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27940569_1 (make VARCHAR, sponsor VARCHAR)\n\n Question: What car make was sponsored by Aflac?\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_27940569_1 (pts_bns VARCHAR, driver VARCHAR)
Question: How many points and bonuses did Kurt Busch get?
Here is the SQLite query to answer to the question: How many... | Here is the SQLite query to answer the question about how many points and bonuses Kurt Busch received:
```
SELECT pts_bns FROM table_27940569_1 WHERE driver = "Kurt Busch";
```
If you need to know the total points and bonuses separately, you might want to aggregate the data. For example, if you need the total count ... | 8,194 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27940569_1 (pts_bns VARCHAR, driver VARCHAR)\n\n Question: How many points and bonuses did Kurt Busch get?\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_27940569_1 (make VARCHAR, driver VARCHAR)
Question: What make was the car driven by Jeff Gordon?
Here is the SQLite query to answer to the question: What make was ... | Here is the SQLite query to answer the question: What make was the car driven by Jeff Gordon?:
```
SELECT make FROM table_27940569_1 WHERE driver = "Jeff Gordon";
``` | 8,195 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27940569_1 (make VARCHAR, driver VARCHAR)\n\n Question: What make was the car driven by Jeff Gordon?\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_27940569_1 (laps INTEGER)
Question: What was the greatest number of laps run?
Here is the SQLite query to answer to the question: What was the greatest number of l... | Here is the SQLite query to answer the question "What was the greatest number of laps run?":
```
SELECT MAX(laps) FROM table_27940569_1;
``` | 8,196 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27940569_1 (laps INTEGER)\n\n Question: What was the greatest number of laps run?\n\nHere is the SQLite query to answer to t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27946889_2 (represent_province VARCHAR, hometown VARCHAR)
Question: What is the represent province for the contestant whose hometown is Woerden?
Here is the SQLit... | Here is the SQLite query to answer the question about the representative province for the contestant whose hometown is Woerden:
```
SELECT represent_province FROM table_27946889_2 WHERE hometown = "Woerden";
``` | 8,197 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27946889_2 (represent_province VARCHAR, hometown VARCHAR)\n\n Question: What is the represent province for the contestant wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27946889_2 (contestant VARCHAR, height__mtr_ VARCHAR)
Question: How many contestants are 1.80 mtr. in height?
Here is the SQLite query to answer to the question: ... | Your SQLite query to count the number of contestants who are 1.80 meters in height looks good. Here is the formatted query:
```
SELECT COUNT(contestant) FROM table_27946889_2 WHERE height__mtr_ = "1.80";
```
This query will return the number of rows (contestants) where the height is exactly 1.80 meters. Make sure th... | 8,198 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27946889_2 (contestant VARCHAR, height__mtr_ VARCHAR)\n\n Question: How many contestants are 1.80 mtr. in height? \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_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)
Question: Which episode had viewership of 0.296 million?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about which episode had viewership of 0.296 million:
```
SELECT episode FROM table_27987623_3 WHERE viewers__millions_ = "0.296"
``` | 8,199 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_27987623_3 (episode VARCHAR, viewers__millions_ VARCHAR)\n\n Question: Which episode had viewership of 0.296 million?\n\nHer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.