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_name_1 (event VARCHAR, name VARCHAR)
Question: What event did Cristina Iovu participate in?
Here is the SQLite query to answer to the question: What event did Cris... | Here is the SQLite query to answer the question about the event that Cristina Iovu participated in:
```
SELECT event FROM table_name_1 WHERE name = "Cristina Iovu";
``` | 47,800 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (event VARCHAR, name VARCHAR)\n\n Question: What event did Cristina Iovu participate in?\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_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)
Question: At which games was a bronze medal won in the 94kg men's weightlifting event?
Here is... | Here is the SQLite query to answer the question about the games where a bronze medal was won in the 94kg men's weightlifting event:
```
SELECT games FROM table_name_71 WHERE medal = "bronze" AND sport = "weightlifting" AND event = "94kg men's weightlifting"
``` | 47,801 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (games VARCHAR, event VARCHAR, medal VARCHAR, sport VARCHAR)\n\n Question: At which games was a bronze medal won in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)
Question: Which sport has 94kg men's weightlifting as one of its events?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about which sport has 94kg men's weightlifting as one of its events:
```
SELECT sport FROM table_name_22 WHERE event = "94kg men's weightlifting"
``` | 47,802 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (sport VARCHAR, event VARCHAR)\n\n Question: Which sport has 94kg men's weightlifting as one of its events?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR)
Question: What is the Name of the Quarterback with a Pick # less than 11?
Here is the SQLite query t... | Here is the SQLite query formatted as you requested:
```
SELECT name FROM table_name_90 WHERE pick__number < 11 AND position = "quarterback";
``` | 47,803 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (name VARCHAR, pick__number VARCHAR, position VARCHAR)\n\n Question: What is the Name of the Quarterback with a Pick... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR)
Question: What is donovan's surname?
Here is the SQLite query to answer to the question: What is donovan's surname?:
```
S... | Here is the SQLite query to answer the question: What is donovan's surname?:
```
SELECT surname FROM table_name_12 WHERE first = "donovan";
``` | 47,804 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (surname VARCHAR, first VARCHAR)\n\n Question: What is donovan's surname?\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_name_39 (throws VARCHAR, first VARCHAR)
Question: How many throws did james get?
Here is the SQLite query to answer to the question: How many throws did james get?... | Here is the SQLite query to answer the question: How many throws did James get?:
```
SELECT COUNT(throws) FROM table_name_39 WHERE first = "james";
``` | 47,805 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_39 (throws VARCHAR, first VARCHAR)\n\n Question: How many throws did james get?\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_name_5 (dob VARCHAR, surname VARCHAR)
Question: When is Biddle's DOB?
Here is the SQLite query to answer to the question: When is Biddle's DOB?:
```
SELECT dob FRO... | Your provided SQLite query looks correct, but typically, surnames are case-sensitive in SQLite unless you specifically handle the case. To ensure that variations in casing are accounted for, you may want to use the `LOWER()` function.
Here is the SQLite query to answer the question, along with your original query for... | 47,806 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (dob VARCHAR, surname VARCHAR)\n\n Question: When is Biddle's DOB?\n\nHere is the SQLite query to answer to the quest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (opponent VARCHAR, attendance VARCHAR)
Question: Who is the opponent of the game with 33,628 folks in attendance?
Here is the SQLite query to answer to the... | Your SQLite query to find the opponent of the game with 33,628 folks in attendance is correct. Here it is wrapped in code:
```
SELECT opponent FROM table_name_27 WHERE attendance = "33,628"
``` | 47,807 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Who is the opponent of the game with 33,628 folks in attendance... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (loss VARCHAR, attendance VARCHAR)
Question: What is the loss of the game with 38,062 folks in attendance?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the loss of the game with 38,062 folks in attendance:
```
SELECT loss FROM table_name_12 WHERE attendance = "38,062"
``` | 47,808 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (loss VARCHAR, attendance VARCHAR)\n\n Question: What is the loss of the game with 38,062 folks in attendance?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)
Question: What is the score of the game that 33,531 people went too?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the score of the game that 33,531 people attended:
```
SELECT score FROM table_name_19 WHERE attendance = "33,531"
``` | 47,809 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (score VARCHAR, attendance VARCHAR)\n\n Question: What is the score of the game that 33,531 people went too?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)
Question: What is the date of the game with 38,062 people in attendance?
Here is the SQLite query to answer to the quest... | Your SQLite query looks correct for the given question. Here it is wrapped properly:
```
SELECT date FROM table_name_80 WHERE attendance = "38,062"
``` | 47,810 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (date VARCHAR, attendance VARCHAR)\n\n Question: What is the date of the game with 38,062 people in attendance?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, player VARCHAR)
Question: What is Brendan Locke's College/Junior/Club Team (League)?
Here is the SQLite query t... | Here is the SQLite query to answer the question about Brendan Locke's College/Junior/Club Team (League):
```
SELECT college_junior_club_team__league_ FROM table_name_11 WHERE player = "Brendan Locke"
``` | 47,811 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (college_junior_club_team__league_ VARCHAR, player VARCHAR)\n\n Question: What is Brendan Locke's College/Junior/Clu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_38 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
Question: What League's Round is Sup and Position is Right Wing?
Here is the S... | Sure! Here is the SQLite query wrapped in code formatting:
```
SELECT college_junior_club_team__league_
FROM table_name_38
WHERE position = "right wing" AND round = "sup";
``` | 47,812 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)\n\n Question: What League's Round is Su... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR)
Question: In what Round is the Position Goaltender?
Here is the SQLite query to answer to the question: In what Round is ... | Here is the SQLite query to answer the question about the round in which the position is Goaltender:
```sql
SELECT round FROM table_name_24 WHERE position = "goaltender";
``` | 47,813 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (round VARCHAR, position VARCHAR)\n\n Question: In what Round is the Position Goaltender?\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_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)
Question: In what League is Left Wing Yanick Dupre?
Here is the SQLite query ... | Here is the SQLite query to answer the question of in what League is Left Wing Yanick Dupre:
```
SELECT college_junior_club_team__league_ FROM table_name_94 WHERE position = "left wing" AND player = "yanick dupre"
``` | 47,814 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_94 (college_junior_club_team__league_ VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: In what League is Left W... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)
Question: In what League in Round 6 is the Position Right Wing?
Here is the SQ... | Here is the SQLite query to answer the question about the League in Round 6 for the Position Right Wing:
```
SELECT college_junior_club_team__league_ FROM table_name_31 WHERE position = "Right Wing" AND round = "6";
``` | 47,815 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (college_junior_club_team__league_ VARCHAR, position VARCHAR, round VARCHAR)\n\n Question: In what League in Round 6... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (round VARCHAR, position VARCHAR, player VARCHAR)
Question: In what Round is John Parco a Center?
Here is the SQLite query to answer to the question: In wh... | Here is the SQLite query to answer the question: In what Round is John Parco a Center?:
```
SELECT round FROM table_name_70 WHERE position = "center" AND player = "john parco";
``` | 47,816 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (round VARCHAR, position VARCHAR, player VARCHAR)\n\n Question: In what Round is John Parco a Center?\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_name_21 (team VARCHAR, draws VARCHAR)
Question: Which team had 15 draws?
Here is the SQLite query to answer to the question: Which team had 15 draws?:
```
SELECT t... | Your SQLite query to find which team had 15 draws is correctly structured. Here it is wrapped in code formatting:
```
SELECT team FROM table_name_21 WHERE draws = "15";
``` | 47,817 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (team VARCHAR, draws VARCHAR)\n\n Question: Which team had 15 draws?\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_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)
Question: Which season had 16 losses for the Hampshire team?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding which season had 16 losses for the Hampshire team, wrapped in code formatting:
```
SELECT season FROM table_name_79 WHERE losses = "16" AND team = "Hampshire";
``` | 47,818 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (season VARCHAR, losses VARCHAR, team VARCHAR)\n\n Question: Which season had 16 losses for the Hampshire team?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (season VARCHAR, team VARCHAR, wins VARCHAR, losses VARCHAR)
Question: Which season had 0 wins and 5 losses for the Surrey team?
Here is the SQLite query t... | Here is the SQLite query to answer the question regarding the season that had 0 wins and 5 losses for the Surrey team:
```sql
SELECT season FROM table_name_61 WHERE wins = "0" AND losses = "5" AND team = "Surrey";
``` | 47,819 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (season VARCHAR, team VARCHAR, wins VARCHAR, losses VARCHAR)\n\n Question: Which season had 0 wins and 5 losses for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (season VARCHAR, draws VARCHAR)
Question: Which season had 10 draws?
Here is the SQLite query to answer to the question: Which season had 10 draws?:
```
SE... | Your SQLite query is correct for finding the season that had 10 draws. Here is the query wrapped in code format as you requested:
```
SELECT season FROM table_name_48 WHERE draws = "10";
``` | 47,820 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (season VARCHAR, draws VARCHAR)\n\n Question: Which season had 10 draws?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR)
Question: How many draws did Durham have?
Here is the SQLite query to answer to the question: How many draws did Durham have?... | To get the count of draws for Durham from the table, you can modify your query to count the number of draws. Here is the correct SQLite query:
```
SELECT COUNT(draws) AS draw_count FROM table_name_72 WHERE team = "durham";
``` | 47,821 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (draws VARCHAR, team VARCHAR)\n\n Question: How many draws did Durham have?\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_name_72 (wins VARCHAR, draws VARCHAR)
Question: How many wins happened with 8 draws?
Here is the SQLite query to answer to the question: How many wins happened wit... | To count the number of wins that happened with 8 draws in the table, you can use the following SQLite query. This will count the entries where the number of draws is 8:
```sql
SELECT COUNT(wins) AS number_of_wins
FROM table_name_72
WHERE draws = "8";
``` | 47,822 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (wins VARCHAR, draws VARCHAR)\n\n Question: How many wins happened with 8 draws?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR)
Question: What was the grid of Jenson Button?
Here is the SQLite query to answer to the question: What was the grid of Jenso... | Here is the SQLite query to answer the question: What was the grid of Jenson Button?:
```
SELECT grid FROM table_name_79 WHERE driver = "jenson button";
``` | 47,823 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (grid VARCHAR, driver VARCHAR)\n\n Question: What was the grid of Jenson Button?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)
Question: Who was the constructor of the car that went 56 laps and had a grid of 15?
Here is the SQLite q... | Here is the SQLite query to answer the question:
```sql
SELECT constructor FROM table_name_31 WHERE laps = "56" AND grid = "15";
``` | 47,824 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (constructor VARCHAR, laps VARCHAR, grid VARCHAR)\n\n Question: Who was the constructor of the car that went 56 laps... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR)
Question: Who was the contstructor of the car having a grid of 20?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about who was the constructor of the car having a grid of 20:
```
SELECT constructor FROM table_name_66 WHERE grid = "20";
``` | 47,825 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_66 (constructor VARCHAR, grid VARCHAR)\n\n Question: Who was the contstructor of the car having a grid of 20?\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_name_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)
Question: What was the time of the car having a constructor of Renault, which went 40 laps?
Here ... | Here is the SQLite query to answer the question:
```
SELECT time_retired FROM table_name_96 WHERE constructor = "Renault" AND laps = "40";
``` | 47,826 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (time_retired VARCHAR, constructor VARCHAR, laps VARCHAR)\n\n Question: What was the time of the car having a constr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (constructor VARCHAR, grid VARCHAR)
Question: Who constructed the car that had a grid of 6?
Here is the SQLite query to answer to the question: Who constru... | Here is the SQLite query to answer the question regarding who constructed the car that had a grid of 6:
```
SELECT constructor FROM table_name_29 WHERE grid = '6';
``` | 47,827 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (constructor VARCHAR, grid VARCHAR)\n\n Question: Who constructed the car that had a grid of 6?\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_name_20 (podiums INTEGER, season VARCHAR, races VARCHAR)
Question: Can you tell me the sum of Podiums that has the Season of 2006, and the Races larger than 16?
He... | Here is the SQLite query to answer your question:
```
SELECT SUM(podiums) FROM table_name_20 WHERE season = "2006" AND races > 16
``` | 47,828 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (podiums INTEGER, season VARCHAR, races VARCHAR)\n\n Question: Can you tell me the sum of Podiums that has the Seaso... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (flap INTEGER, pole VARCHAR, podiums VARCHAR)
Question: Can you tell me the sum of FLap that has the Pole larger than 0, and the Podiums of 6?
Here is the ... | Your SQLite query is almost correct, but a small adjustment is needed: since the `podiums` column is defined as `VARCHAR`, we should ensure that the value '6' is treated as a string. Here's the corrected query, with proper formatting:
```
SELECT SUM(flap) FROM table_name_40 WHERE pole > 0 AND podiums = '6'
```
This ... | 47,829 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (flap INTEGER, pole VARCHAR, podiums VARCHAR)\n\n Question: Can you tell me the sum of FLap that has the Pole larger... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_42 (home VARCHAR, record VARCHAR)
Question: Name the home with record of 33-18-9
Here is the SQLite query to answer to the question: Name the home with record... | Here is the SQLite query to answer the question regarding the home with the record of 33-18-9:
```
SELECT home FROM table_name_42 WHERE record = "33-18-9";
``` | 47,830 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_42 (home VARCHAR, record VARCHAR)\n\n Question: Name the home with record of 33-18-9\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_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)
Question: Name the score for detroit home and record of 33-18-9
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_name_85 WHERE home = "detroit" AND record = "33-18-9"
``` | 47,831 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (score VARCHAR, home VARCHAR, record VARCHAR)\n\n Question: Name the score for detroit home and record of 33-18-9\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)
Question: Name the score for toronto visitor and record of 29-17-8
Here is the SQLite query to answer to t... | Here's the SQLite query to answer the question based on the provided schema:
```sql
SELECT score FROM table_name_89 WHERE visitor = "toronto" AND record = "29-17-8";
``` | 47,832 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (score VARCHAR, visitor VARCHAR, record VARCHAR)\n\n Question: Name the score for toronto visitor and record of 29-1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (home VARCHAR, visitor VARCHAR, date VARCHAR)
Question: Name the home for detroit visitor and date of february 29
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the home for the Detroit visitor on the date of February 29:
```
SELECT home FROM table_name_25 WHERE visitor = "detroit" AND date = "february 29"
``` | 47,833 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (home VARCHAR, visitor VARCHAR, date VARCHAR)\n\n Question: Name the home for detroit visitor and date of february 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_60 (music VARCHAR, record_label VARCHAR)
Question: Which Music has a Record label of moviebox/ speed records / music waves?
Here is the SQLite query to answer... | To find the music records that have any of the specified record labels (moviebox, speed records, or music waves), you should modify your query to use the `IN` clause. Here's the corrected SQLite query:
```
SELECT music FROM table_name_60 WHERE record_label IN ("moviebox", "speed records", "music waves");
``` | 47,834 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (music VARCHAR, record_label VARCHAR)\n\n Question: Which Music has a Record label of moviebox/ speed records / musi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (year INTEGER, record_label VARCHAR)
Question: Which Year is the highest one that has a Record label of supertone melodies?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the highest year with the record label "supertone melodies":
```
SELECT MAX(year) FROM table_name_69 WHERE record_label = "supertone melodies";
``` | 47,835 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (year INTEGER, record_label VARCHAR)\n\n Question: Which Year is the highest one that has a Record label of superton... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (record_label VARCHAR, album VARCHAR)
Question: Which Record label has an Album of tera roop?
Here is the SQLite query to answer to the question: Which Rec... | Here is the SQLite query to answer the question: Which Record label has an Album of tera roop?:
```
SELECT record_label FROM table_name_84 WHERE album = "tera roop";
``` | 47,836 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (record_label VARCHAR, album VARCHAR)\n\n Question: Which Record label has an Album of tera roop?\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_name_63 (record_label VARCHAR, album VARCHAR)
Question: Which Record label has an Album of rambo?
Here is the SQLite query to answer to the question: Which Record ... | Here is the SQLite query to answer the question: Which Record label has an Album of rambo?:
```sql
SELECT record_label FROM table_name_63 WHERE album = "rambo";
``` | 47,837 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (record_label VARCHAR, album VARCHAR)\n\n Question: Which Record label has an Album of rambo?\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_name_95 (info VARCHAR, album VARCHAR)
Question: Which Info has an Album of romeo?
Here is the SQLite query to answer to the question: Which Info has an Album of ro... | Here is the SQLite query to answer the question: Which Info has an Album of romeo?:
```
SELECT info FROM table_name_95 WHERE album = "romeo"
``` | 47,838 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (info VARCHAR, album VARCHAR)\n\n Question: Which Info has an Album of romeo?\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_name_63 (attendance INTEGER, record VARCHAR)
Question: What was the average attendance when the record was 58–49?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the average attendance when the record was 58–49:
```
SELECT AVG(attendance) FROM table_name_63 WHERE record = '58–49';
``` | 47,839 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (attendance INTEGER, record VARCHAR)\n\n Question: What was the average attendance when the record was 58–49?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (attendance INTEGER, score VARCHAR)
Question: What was the attendance when the score was 8–7?
Here is the SQLite query to answer to the question: What was ... | Here is the SQLite query to answer the question regarding the attendance when the score was 8–7:
```
SELECT SUM(attendance) FROM table_name_16 WHERE score = "8–7";
``` | 47,840 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (attendance INTEGER, score VARCHAR)\n\n Question: What was the attendance when the score was 8–7?\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_name_84 (attendance VARCHAR, date VARCHAR)
Question: What was the attendance for july 18?
Here is the SQLite query to answer to the question: What was the attendan... | Your query is almost correct, but it seems like you might be looking for the attendance records rather than just counting them. If you want to select the attendance for July 18, you would use:
```sql
SELECT attendance FROM table_name_84 WHERE date = "july 18";
```
If you specifically want to count how many times atte... | 47,841 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (attendance VARCHAR, date VARCHAR)\n\n Question: What was the attendance for july 18?\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_name_13 (to_par VARCHAR, score VARCHAR)
Question: How many strokes to par when the score is 1 up?
Here is the SQLite query to answer to the question: How many stro... | Your SQLite query correctly fetches the `to_par` value for the specified score of "1 up". Here’s the query wrapped in code formatting:
```
SELECT to_par FROM table_name_13 WHERE score = '1 up';
```
Note that in SQL, using single quotes for string literals is common practice, so I changed the double quotes to single q... | 47,842 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (to_par VARCHAR, score VARCHAR)\n\n Question: How many strokes to par when the score is 1 up?\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_name_12 (series VARCHAR, game VARCHAR)
Question: Name the series for game 5
Here is the SQLite query to answer to the question: Name the series for game 5:
```
SEL... | Here is the SQLite query to answer the question "Name the series for game 5":
```
SELECT series FROM table_name_12 WHERE game = "game 5";
``` | 47,843 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (series VARCHAR, game VARCHAR)\n\n Question: Name the series for game 5\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_name_26 (site VARCHAR, game VARCHAR)
Question: Name the site for game of game 2
Here is the SQLite query to answer to the question: Name the site for game of game ... | Here is the SQLite query to answer the question "Name the site for game of game 2":
```
SELECT site FROM table_name_26 WHERE game = "game 2";
``` | 47,844 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (site VARCHAR, game VARCHAR)\n\n Question: Name the site for game of game 2\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_name_49 (site VARCHAR, game VARCHAR)
Question: Name the site with game of game 6
Here is the SQLite query to answer to the question: Name the site with game of gam... | Here is the SQLite query to answer the question "Name the site with game of game 6":
```
SELECT site FROM table_name_49 WHERE game = "game 6"
``` | 47,845 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (site VARCHAR, game VARCHAR)\n\n Question: Name the site with game of game 6\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_name_58 (series VARCHAR, game VARCHAR)
Question: Name the series with game of game 6
Here is the SQLite query to answer to the question: Name the series with game ... | Here is the SQLite query to answer the question of naming the series with a game of "game 6":
```
SELECT series FROM table_name_58 WHERE game = "game 6";
``` | 47,846 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (series VARCHAR, game VARCHAR)\n\n Question: Name the series with game of game 6\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (location_attendance VARCHAR, high_points VARCHAR)
Question: What is the location attendance from Dwyane Wade (27) high points?
Here is the SQLite query to... | Your provided SQLite query looks almost correct, but it could be refined to ensure it matches the expected format. Assuming that the high points are exactly as specified and not case-sensitive, here's the correct way to write the query:
```sql
SELECT location_attendance FROM table_name_63 WHERE high_points = "Dwyane W... | 47,847 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (location_attendance VARCHAR, high_points VARCHAR)\n\n Question: What is the location attendance from Dwyane Wade (2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR)
Question: What was the high assists from a high points of dorell wright (20)?
Here is the SQLite query to answe... | It looks like there is a small mistake in your original query. The `WHERE` clause should be checking for the `high_points` value associated with Dorell Wright, which is "20", not "dorell wright (20)". Here’s the corrected version:
```sql
SELECT high_assists FROM table_name_98 WHERE high_points = "20";
```
This query ... | 47,848 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (high_assists VARCHAR, high_points VARCHAR)\n\n Question: What was the high assists from a high points of dorell wri... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_29 (high_rebounds VARCHAR, date VARCHAR)
Question: What was the high rebounds from the date of April 14?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the high rebounds from the date of April 14:
```
SELECT high_rebounds FROM table_name_29 WHERE date = "April 14";
``` | 47,849 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (high_rebounds VARCHAR, date VARCHAR)\n\n Question: What was the high rebounds from the date of April 14?\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_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)
Question: For the year 1975, what is Propulsion, with a Number (quantity ordered... | Here is the SQLite query you requested, formatted correctly:
```
SELECT fuel_propulsion
FROM table_name_41
WHERE year = '1975' AND numbers__quantity_ordered_ = '4756-4788 (33 buses)';
``` | 47,850 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (fuel_propulsion VARCHAR, year VARCHAR, numbers__quantity_ordered_ VARCHAR)\n\n Question: For the year 1975, what is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR)
Question: What year was the diesel fuel propulsion, with a length... | Here is the SQLite query that answers the question about the retirement year of the specified diesel fuel propulsion buses:
```
SELECT year AS Retired
FROM table_name_2
WHERE fuel_propulsion = "diesel"
AND length = "40'"
AND numbers__quantity_ordered_ = "3701-3729 (29 buses)"
``` | 47,851 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (year VARCHAR, numbers__quantity_ordered_ VARCHAR, fuel_propulsion VARCHAR, length VARCHAR)\n\n Question: What year w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)
Question: What is the location attendance of the game with a 27-22 record?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the location attendance of the game with a 27-22 record:
```
SELECT location_attendance FROM table_name_27 WHERE record = "27-22";
``` | 47,852 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (location_attendance VARCHAR, record VARCHAR)\n\n Question: What is the location attendance of the game with a 27-22... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)
Question: What is the location attendance of the game on February 25?
Here is the SQLite query to answer to the... | Your SQLite query is structured correctly, but it's essential to ensure that the date format matches what's stored in the database. If the dates follow a specific format, you may need to adjust the query accordingly.
Here’s the query with proper formatting, wrapped as you requested:
```sql
SELECT location_attendance ... | 47,853 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (location_attendance VARCHAR, date VARCHAR)\n\n Question: What is the location attendance of the game on February 25... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (fall_08 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR, fall_06 VARCHAR)
Question: What's the largest Fall 08 number when fall 09 is less than 82, fall 06 is 5,... | Here is the SQLite query to answer the question regarding the largest Fall 08 number under the specified conditions:
```
SELECT MAX(fall_08) FROM table_name_96 WHERE fall_09 < 82 AND fall_06 = 5 AND fall_05 < 3
``` | 47,854 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (fall_08 INTEGER, fall_05 VARCHAR, fall_09 VARCHAR, fall_06 VARCHAR)\n\n Question: What's the largest Fall 08 number... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)
Question: What is the mean Fall 09 number where fall 05 is less than 3?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the mean Fall 09 number where Fall 05 is less than 3:
```sql
SELECT AVG(fall_09) FROM table_name_34 WHERE fall_05 < 3;
``` | 47,855 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (fall_09 INTEGER, fall_05 INTEGER)\n\n Question: What is the mean Fall 09 number where fall 05 is less than 3?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (fall_05 VARCHAR, fall_09 VARCHAR, states VARCHAR, fall_08 VARCHAR, fall_06 VARCHAR)
Question: What is the sum amount of fall 05 when fall 08 is more than 5... | Here is the corrected SQLite query that sums the values in `fall_05` when the specified conditions are met. Note that the original query was using `COUNT(fall_05)`, but you need to use `SUM(fall_05)` to calculate the total.
```sql
SELECT SUM(fall_05) FROM table_name_31
WHERE fall_08 > 5
AND fall_06 > 7
AND states =... | 47,856 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (fall_05 VARCHAR, fall_09 VARCHAR, states VARCHAR, fall_08 VARCHAR, fall_06 VARCHAR)\n\n Question: What is the sum a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR)
Question: What's the smallest fall 05 number when fall 09 is less than 14 and fall 08 is more than 5?
H... | Here is the SQLite query to answer the question:
```
SELECT MIN(fall_05) FROM table_name_22 WHERE fall_09 < 14 AND fall_08 > 5
``` | 47,857 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (fall_05 INTEGER, fall_09 VARCHAR, fall_08 VARCHAR)\n\n Question: What's the smallest fall 05 number when fall 09 is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (notes VARCHAR, time VARCHAR)
Question: What is in the notes for men's speed skating?
Here is the SQLite query to answer to the question: What is in the no... | Here is the SQLite query to answer the question regarding the notes for men's speed skating:
```sql
SELECT notes FROM table_name_17 WHERE time = "men's speed skating";
``` | 47,858 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (notes VARCHAR, time VARCHAR)\n\n Question: What is in the notes for men's speed skating?\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_name_76 (date VARCHAR, location VARCHAR)
Question: What's the date when the location is Berlin?
Here is the SQLite query to answer to the question: What's the date... | Here's the SQLite query to find the date when the location is Berlin, formatted as requested:
```
SELECT date FROM table_name_76 WHERE location = "Berlin"
``` | 47,859 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (date VARCHAR, location VARCHAR)\n\n Question: What's the date when the location is Berlin?\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (location VARCHAR, distance VARCHAR)
Question: What's the location for men's speed skating?
Here is the SQLite query to answer to the question: What's the ... | Here is the SQLite query to answer the question about the location for men's speed skating:
```sql
SELECT location FROM table_name_70 WHERE distance = "men's speed skating";
``` | 47,860 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (location VARCHAR, distance VARCHAR)\n\n Question: What's the location for men's speed skating?\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_name_27 (location VARCHAR)
Question: What's the location when the notes area is notes?
Here is the SQLite query to answer to the question: What's the location when... | It looks like there's a misunderstanding in the provided SQL query. The condition `"notes" = "notes"` is always true and does not relate to any actual data column that might indicate a "notes area".
If you meant to filter based on a specific value in a column that contains note information (assuming that the notes ar... | 47,861 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (location VARCHAR)\n\n Question: What's the location when the notes area is notes?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (notes VARCHAR, location VARCHAR)
Question: What is the notes left for Berlin?
Here is the SQLite query to answer to the question: What is the notes left f... | Here is the SQLite query to answer the question about the notes left for Berlin:
```
SELECT notes FROM table_name_96 WHERE location = "Berlin";
``` | 47,862 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (notes VARCHAR, location VARCHAR)\n\n Question: What is the notes left for Berlin?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which is located in Angola and entered service in 1988?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question: Which is located in Angola and entered service in 1988?:
```sql
SELECT name FROM table_name_98 WHERE location = "Angola" AND entered_service = "1988";
``` | 47,863 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (name VARCHAR, location VARCHAR, entered_service VARCHAR)\n\n Question: Which is located in Angola and entered servi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (type VARCHAR, entered_service VARCHAR)
Question: What type entered service in 2000?
Here is the SQLite query to answer to the question: What type entered ... | Your query to answer the question "What type entered service in 2000?" is mostly correct. However, to ensure clarity, I would suggest using single quotes for the string in SQLite, which is a common practice. Here’s the corrected SQL query:
```
SELECT type FROM table_name_70 WHERE entered_service = '2000';
``` | 47,864 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (type VARCHAR, entered_service VARCHAR)\n\n Question: What type entered service in 2000?\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_name_59 (water_depth VARCHAR, location VARCHAR, name VARCHAR)
Question: What is the water depth of Sedco 702, located in Nigeria?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the water depth of Sedco 702, located in Nigeria:
```
SELECT water_depth FROM table_name_59 WHERE location = "Nigeria" AND name = "Sedco 702";
``` | 47,865 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (water_depth VARCHAR, location VARCHAR, name VARCHAR)\n\n Question: What is the water depth of Sedco 702, located in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_72 (name VARCHAR, location VARCHAR)
Question: Which is located in Nigeria?
Here is the SQLite query to answer to the question: Which is located in Nigeria?:
`... | Here is the SQLite query to answer the question regarding which entries are located in Nigeria:
```
SELECT name FROM table_name_72 WHERE location = "Nigeria";
``` | 47,866 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_72 (name VARCHAR, location VARCHAR)\n\n Question: Which is located in Nigeria?\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_name_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)
Question: Which type entered service in 1976/1997 and is located in Brazil?
Here is the SQLite qu... | Your SQLite query is almost correct, but you should consider using the `IN` operator to check for multiple entered service years (1976 and 1997). Also, remember to handle the case sensitivity of strings in SQL, as the location "Brazil" might be entered with a capital 'B'. Here is the revised query with these considerat... | 47,867 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (type VARCHAR, location VARCHAR, entered_service VARCHAR)\n\n Question: Which type entered service in 1976/1997 and ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_31 (location VARCHAR, name VARCHAR, type VARCHAR, entered_service VARCHAR)
Question: Where is Transocean Richardson, a semi entered into service in 1988?
Here... | Here's the SQLite query to answer the question regarding the location of Transocean Richardson, a semi entered into service in 1988:
```
SELECT location FROM table_name_31 WHERE type = "semi" AND entered_service = "1988" AND name = "Transocean Richardson"
``` | 47,868 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_31 (location VARCHAR, name VARCHAR, type VARCHAR, entered_service VARCHAR)\n\n Question: Where is Transocean Richardson... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)
Question: What is the total number of Yds/Att where Net Yds was 1818, and Rank was larger than 1?
Here is ... | The SQLite query you provided has a small issue regarding the conditions for the `rank` column. Since `rank` is defined as a `VARCHAR`, we should perform a comparison that works appropriately with string values. However, if the rank values are indeed numeric (e.g., "2", "3", etc.), your query would still be valid as it... | 47,869 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (yds_att VARCHAR, net_yds VARCHAR, rank VARCHAR)\n\n Question: What is the total number of Yds/Att where Net Yds was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (rank INTEGER, attempts VARCHAR, year VARCHAR)
Question: What is the lowest Rank when Attempts was 319, and the Year was larger than 2000?
Here is the SQLi... | Here is the SQLite query to answer the question regarding the lowest rank when attempts were 319 and the year was larger than 2000:
```
SELECT MIN(rank) FROM table_name_46 WHERE attempts = '319' AND year > '2000'
``` | 47,870 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (rank INTEGER, attempts VARCHAR, year VARCHAR)\n\n Question: What is the lowest Rank when Attempts was 319, and the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (attempts VARCHAR, rank VARCHAR, net_yds VARCHAR)
Question: What is the total number of Attempts when Rank was larger than 4, and Net Yds was smaller than 1... | Your SQLite query needs a slight adjustment because the columns `rank` and `net_yds` are stored as VARCHAR, which means that comparisons will be treated as string comparisons rather than numerical comparisons. To appropriately handle the numerical comparisons, you need to cast these columns to integers.
Here’s the cor... | 47,871 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (attempts VARCHAR, rank VARCHAR, net_yds VARCHAR)\n\n Question: What is the total number of Attempts when Rank was l... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (new_conference VARCHAR, team_nickname VARCHAR)
Question: What is the new conference for the Gauchos team?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the new conference for the Gauchos team:
```
SELECT new_conference FROM table_name_28 WHERE team_nickname = "Gauchos"
```
(Note that I've capitalized "Gauchos" to match the team's official nickname, as it may be case-sensitive depending on the database configurat... | 47,872 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (new_conference VARCHAR, team_nickname VARCHAR)\n\n Question: What is the new conference for the Gauchos team?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (new_classification VARCHAR, location VARCHAR)
Question: What is the new classification for La Mirada, California?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the new classification for La Mirada, California:
```
SELECT new_classification FROM table_name_69 WHERE location = "La Mirada, California";
``` | 47,873 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (new_classification VARCHAR, location VARCHAR)\n\n Question: What is the new classification for La Mirada, Californi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (tenure VARCHAR, team_nickname VARCHAR)
Question: What is the tenure for the Tritons team?
Here is the SQLite query to answer to the question: What is the ... | Here is the SQLite query to answer the question about the tenure for the Tritons team:
```
SELECT tenure FROM table_name_28 WHERE team_nickname = "Tritons"
``` | 47,874 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (tenure VARCHAR, team_nickname VARCHAR)\n\n Question: What is the tenure for the Tritons team?\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_name_40 (opponent VARCHAR, march VARCHAR)
Question: Which opponent was present on March 28?
Here is the SQLite query to answer to the question: Which opponent was ... | Your query is almost correct, but the March date should be formatted as a string since it includes a month name. Here is the corrected SQL query to answer the question:
```
SELECT opponent FROM table_name_40 WHERE march = 'March 28';
```
Make sure to adjust the date format based on how the data is stored in your dat... | 47,875 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (opponent VARCHAR, march VARCHAR)\n\n Question: Which opponent was present on March 28?\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_name_73 (game INTEGER, points INTEGER)
Question: What is the mean game number when the points scored were more than 99?
Here is the SQLite query to answer to the q... | Your SQLite query is correctly structured to find the mean game number when the points scored were more than 99. Here it is wrapped in code formatting:
```
SELECT AVG(game) FROM table_name_73 WHERE points > 99;
``` | 47,876 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (game INTEGER, points INTEGER)\n\n Question: What is the mean game number when the points scored were more than 99?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (opponent VARCHAR, game VARCHAR)
Question: Who is the opponent in game 7?
Here is the SQLite query to answer to the question: Who is the opponent in game 7... | Here is the SQLite query to answer the question: Who is the opponent in game 7?:
```
SELECT opponent FROM table_name_21 WHERE game = '7';
``` | 47,877 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (opponent VARCHAR, game VARCHAR)\n\n Question: Who is the opponent in game 7?\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_name_63 (december INTEGER, record VARCHAR, game VARCHAR)
Question: What day in December was the game before game 11 with a record of 7-2-2?
Here is the SQLite quer... | It looks like you're trying to find the date of the game before game 11 with a specific record. To do this, you'll want to select the `december` date for the game directly, rather than summing it. The corrected query should also ensure you're ordering the results correctly to find the right game. Here's a refined versi... | 47,878 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (december INTEGER, record VARCHAR, game VARCHAR)\n\n Question: What day in December was the game before game 11 with... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (december VARCHAR, opponent VARCHAR)
Question: What is the day in December of the game against the Boston Bruins?
Here is the SQLite query to answer to the... | The query you've provided is counting the number of games against the Boston Bruins in December, but it doesn't actually retrieve the specific day. If you want to find the specific day in December of the game against the Boston Bruins, you should select the `december` column instead. Here is the corrected SQL query:
`... | 47,879 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (december VARCHAR, opponent VARCHAR)\n\n Question: What is the day in December of the game against the Boston Bruins... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (december INTEGER, record VARCHAR)
Question: What is the average day in December of the game with a 8-2-3 record?
Here is the SQLite query to answer to the... | Here's the SQLite query you provided, properly wrapped:
```
SELECT AVG(december) FROM table_name_25 WHERE record = "8-2-3";
``` | 47,880 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (december INTEGER, record VARCHAR)\n\n Question: What is the average day in December of the game with a 8-2-3 record... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (seats INTEGER, quantity INTEGER)
Question: How many seats have a quantity over 45?
Here is the SQLite query to answer to the question: How many seats have... | Here is the SQLite query to answer the question of how many seats have a quantity over 45:
```
SELECT SUM(seats) FROM table_name_53 WHERE quantity > 45;
``` | 47,881 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (seats INTEGER, quantity INTEGER)\n\n Question: How many seats have a quantity over 45?\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_name_60 (owner VARCHAR, seats VARCHAR)
Question: Which owner has 84 seats?
Here is the SQLite query to answer to the question: Which owner has 84 seats?:
```
SELEC... | Here is the SQLite query to answer the question: Which owner has 84 seats?:
```
SELECT owner FROM table_name_60 WHERE seats = '84'
``` | 47,882 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (owner VARCHAR, seats VARCHAR)\n\n Question: Which owner has 84 seats?\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_name_93 (delivery VARCHAR, quantity VARCHAR, standing VARCHAR)
Question: Which deliver has 16 and a standing more than 128?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question:
```
SELECT delivery FROM table_name_93 WHERE quantity = '16' AND standing > '128'
``` | 47,883 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (delivery VARCHAR, quantity VARCHAR, standing VARCHAR)\n\n Question: Which deliver has 16 and a standing more than 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_43 (host_city VARCHAR, hosts VARCHAR)
Question: What is the host city that has Alicia Keys listed as a host?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer your question:
```
SELECT host_city FROM table_name_43 WHERE hosts = "Alicia Keys";
``` | 47,884 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (host_city VARCHAR, hosts VARCHAR)\n\n Question: What is the host city that has Alicia Keys listed as a host?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR)
Question: What is the host city of the Singapore Indoor Stadium venue and a Valentine's Day theme?
Here i... | Here is the SQLite query to answer the question regarding the host city of the Singapore Indoor Stadium venue with a Valentine's Day theme:
```
SELECT host_city FROM table_name_24 WHERE venue = "Singapore Indoor Stadium" AND theme = "Valentine's Day";
``` | 47,885 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (host_city VARCHAR, venue VARCHAR, theme VARCHAR)\n\n Question: What is the host city of the Singapore Indoor Stadiu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (year VARCHAR, host_city VARCHAR, hosts VARCHAR)
Question: What year will Bangkok be the host city and Alicia Keys host?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the year Bangkok will be the host city and Alicia Keys will host:
```
SELECT year FROM table_name_78 WHERE host_city = "Bangkok" AND hosts = "Alicia Keys";
``` | 47,886 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (year VARCHAR, host_city VARCHAR, hosts VARCHAR)\n\n Question: What year will Bangkok be the host city and Alicia Ke... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_88 (hosts VARCHAR, host_city VARCHAR, theme VARCHAR)
Question: Who are the hosts from the event with a theme of codehunters and the host city of Bangkok?
Here... | Here is the SQLite query to answer the question regarding the hosts from the event with the theme of "codehunters" and the host city of "Bangkok":
```
SELECT hosts FROM table_name_88 WHERE host_city = "Bangkok" AND theme = "codehunters"
``` | 47,887 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_88 (hosts VARCHAR, host_city VARCHAR, theme VARCHAR)\n\n Question: Who are the hosts from the event with a theme of cod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (hosts VARCHAR, year VARCHAR)
Question: Who are the hosts for the 2004 event?
Here is the SQLite query to answer to the question: Who are the hosts for the ... | Your SQLite query to find the hosts for the 2004 event is correct. Here it is wrapped in code formatting as requested:
```
SELECT hosts FROM table_name_2 WHERE year = "2004";
``` | 47,888 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (hosts VARCHAR, year VARCHAR)\n\n Question: Who are the hosts for the 2004 event?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: What date has a margin of victory of 1 stroke over Greg Kraft?
Here is the SQLite... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_name_21 WHERE margin_of_victory = "1 stroke" AND runner_s__up = "Greg Kraft"
``` | 47,889 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (date VARCHAR, margin_of_victory VARCHAR, runner_s__up VARCHAR)\n\n Question: What date has a margin of victory of 1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_61 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: What was the margin of victory over Steve Rintoul?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the margin of victory over Steve Rintoul:
```
SELECT margin_of_victory FROM table_name_61 WHERE runner_s__up = "Steve Rintoul";
``` | 47,890 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (margin_of_victory VARCHAR, runner_s__up VARCHAR)\n\n Question: What was the margin of victory over Steve Rintoul?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_51 (margin_of_victory VARCHAR, runner_s__up VARCHAR)
Question: What was the margin of victory over Brad Faxon?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the margin of victory over Brad Faxon:
```
SELECT margin_of_victory FROM table_name_51 WHERE runner_s__up = "brad faxon";
``` | 47,891 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (margin_of_victory VARCHAR, runner_s__up VARCHAR)\n\n Question: What was the margin of victory over Brad Faxon?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (years VARCHAR, model VARCHAR)
Question: What years show Model of 2.0 tdi (cr) dpf?
Here is the SQLite query to answer to the question: What years show Mod... | Your SQLite query to find the years that show the model "2.0 tdi (cr) dpf" is correct. Here it is wrapped in code blocks:
```
SELECT years FROM table_name_62 WHERE model = "2.0 tdi (cr) dpf";
``` | 47,892 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (years VARCHAR, model VARCHAR)\n\n Question: What years show Model of 2.0 tdi (cr) dpf?\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_name_28 (power VARCHAR, model VARCHAR, years VARCHAR)
Question: What is the power for model 2.0 tdi (cr) dpf, and a Years of 2010–2011?
Here is the SQLite query t... | Here is the SQLite query to answer the question:
```
SELECT power FROM table_name_28 WHERE model = "2.0 tdi (cr) dpf" AND years = "2010–2011";
``` | 47,893 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (power VARCHAR, model VARCHAR, years VARCHAR)\n\n Question: What is the power for model 2.0 tdi (cr) dpf, and a Yea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR)
Question: What is the torque for Model of 2.0 bitdi (cr) dpf, in 2010–?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the torque for the model "2.0 bitdi (cr) dpf" in the year range "2010–":
```
SELECT torque FROM table_name_37 WHERE model = '2.0 bitdi (cr) dpf' AND years LIKE '2010%';
```
In this query, I have used `LIKE '2010%'` to accommodate any potential variations in t... | 47,894 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (torque VARCHAR, model VARCHAR, years VARCHAR)\n\n Question: What is the torque for Model of 2.0 bitdi (cr) dpf, in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_87 (engine VARCHAR, model VARCHAR, torque VARCHAR)
Question: What is the engine for model 2.0 bitdi (cr) dpf, with a Torque of n·m (lb·ft) @ 1500–2000 rpm?
He... | Here is the SQLite query to answer the question about the engine for the specified model and torque:
```
SELECT engine FROM table_name_87 WHERE model = "2.0 bitdi (cr) dpf" AND torque = "n·m (lb·ft) @ 1500–2000 rpm"
``` | 47,895 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (engine VARCHAR, model VARCHAR, torque VARCHAR)\n\n Question: What is the engine for model 2.0 bitdi (cr) dpf, with ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_6 (court_rank VARCHAR, lineage VARCHAR)
Question: What is the Court Rank of Son of Norihiro's Lineage?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about the Court Rank of Son of Norihiro's Lineage:
```
SELECT court_rank FROM table_name_6 WHERE lineage = "son of norihiro";
``` | 47,896 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_6 (court_rank VARCHAR, lineage VARCHAR)\n\n Question: What is the Court Rank of Son of Norihiro's Lineage?\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_name_47 (Id VARCHAR)
Question: Name the 1811 for 1801 of 1801
Here is the SQLite query to answer to the question: Name the 1811 for 1801 of 1801:
```
SELECT 1811 F... | Your provided SQLite query seems to use column names that resemble numerical values, which is unconventional. In standard SQL, the column names should be valid identifiers, such as strings without quotes or formatted differently.
Assuming that "1811" and "1801" are meant to be actual column names in your database sch... | 47,897 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (Id VARCHAR)\n\n Question: Name the 1811 for 1801 of 1801\n\nHere is the SQLite query to answer to the question: Nam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (Id VARCHAR)
Question: Name the 1861 with 1851 of 5291
Here is the SQLite query to answer to the question: Name the 1861 with 1851 of 5291:
```
SELECT 1861... | It looks like you're trying to query data from the `table_name_97` table based on specific criteria. However, the query you provided needs some adjustments since the column names need to be clarified. If we assume that "1861" and "1851" are the actual column names, your initial query appears to have the right idea but ... | 47,898 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (Id VARCHAR)\n\n Question: Name the 1861 with 1851 of 5291\n\nHere is the SQLite query to answer to the question: Na... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (Id VARCHAR)
Question: Name the 1901 with 1851 of 1961
Here is the SQLite query to answer to the question: Name the 1901 with 1851 of 1961:
```
SELECT 1901... | It seems like the query provided does not correctly align with standard SQL syntax or logic based on the given schema. The attributes (1901, 1851, and 1961) are not defined as columns in your table schema. If these were intended to refer to specific values within the rows of the table, we'd need to clarify the question... | 47,899 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (Id VARCHAR)\n\n Question: Name the 1901 with 1851 of 1961\n\nHere is the SQLite query to answer to the question: Na... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.