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_32 (label VARCHAR, date VARCHAR) Question: Which label is dated February 14, 2002? Here is the SQLite query to answer to the question: Which label is dated Fe...
Here is the SQLite query to answer the question: Which label is dated February 14, 2002?: ``` SELECT label FROM table_name_32 WHERE date = "February 14, 2002"; ```
26,400
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_32 (label VARCHAR, date VARCHAR)\n\n Question: Which label is dated February 14, 2002?\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_name_54 (catalog VARCHAR, format VARCHAR) Question: Which catalog is in cd format? Here is the SQLite query to answer to the question: Which catalog is in cd forma...
Here is the SQLite query to answer the question: Which catalog is in cd format?: ``` SELECT catalog FROM table_name_54 WHERE format = "cd"; ```
26,401
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (catalog VARCHAR, format VARCHAR)\n\n Question: Which catalog is in cd format?\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_9 (event VARCHAR, winner VARCHAR) Question: What event did Mark Teltscher win? Here is the SQLite query to answer to the question: What event did Mark Teltsch...
Here is the SQLite query to answer the question of what event Mark Teltscher won: ``` SELECT event FROM table_name_9 WHERE winner = "Mark Teltscher"; ```
26,402
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (event VARCHAR, winner VARCHAR)\n\n Question: What event did Mark Teltscher win?\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_name_35 (date VARCHAR, city VARCHAR) Question: When was the event in the City of Baden? Here is the SQLite query to answer to the question: When was the event in t...
Here is the SQLite query wrapped in code formatting: ``` SELECT date FROM table_name_35 WHERE city = "Baden"; ```
26,403
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (date VARCHAR, city VARCHAR)\n\n Question: When was the event in the City of Baden?\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_name_80 (event VARCHAR, prize VARCHAR) Question: What event had a prize of €900,000? Here is the SQLite query to answer to the question: What event had a prize of ...
Here is the SQLite query to answer the question about which event had a prize of €900,000: ``` SELECT event FROM table_name_80 WHERE prize = '€900,000'; ```
26,404
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (event VARCHAR, prize VARCHAR)\n\n Question: What event had a prize of €900,000?\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_50 (date VARCHAR, city VARCHAR) Question: When was the event in Dublin? Here is the SQLite query to answer to the question: When was the event in Dublin?: ```...
Here is the SQLite query to answer the question: When was the event in Dublin?: ``` SELECT date FROM table_name_50 WHERE city = "Dublin"; ```
26,405
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (date VARCHAR, city VARCHAR)\n\n Question: When was the event in Dublin?\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_96 (city VARCHAR, prize VARCHAR) Question: What city did an event have a prize of €288,180? Here is the SQLite query to answer to the question: What city did ...
Here is the SQLite query to answer the question about which city had an event with a prize of €288,180: ``` SELECT city FROM table_name_96 WHERE prize = "€288,180"; ```
26,406
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (city VARCHAR, prize VARCHAR)\n\n Question: What city did an event have a prize of €288,180?\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_name_93 (city VARCHAR, winner VARCHAR) Question: What city was the event in when Patrik Antonius won? Here is the SQLite query to answer to the question: What city...
Here is the SQLite query to answer the question about the city where the event took place when Patrik Antonius won: ``` SELECT city FROM table_name_93 WHERE winner = "patrik antonius"; ```
26,407
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (city VARCHAR, winner VARCHAR)\n\n Question: What city was the event in when Patrik Antonius won?\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_71 (winning_constructor VARCHAR, circuit VARCHAR) Question: Who was the winning constructor at the circuit of parioli? Here is the SQLite query to answer to t...
Here is the SQLite query to answer the question regarding the winning constructor at the circuit of Parioli: ```sql SELECT winning_constructor FROM table_name_71 WHERE circuit = "parioli"; ```
26,408
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (winning_constructor VARCHAR, circuit VARCHAR)\n\n Question: Who was the winning constructor at the circuit of pario...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR) Question: When did Gaspare Bona win the Pozzo Circuit? Here is the SQLite query to answer to the quest...
Here is the SQLite query to answer the question: When did Gaspare Bona win the Pozzo Circuit?: ``` SELECT date FROM table_name_98 WHERE winning_driver = "Gaspare Bona" AND name = "Pozzo Circuit"; ```
26,409
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (date VARCHAR, winning_driver VARCHAR, name VARCHAR)\n\n Question: When did Gaspare Bona win the Pozzo Circuit?\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_24 (winning_constructor VARCHAR, name VARCHAR) Question: Who was the winning constructor of the Grand Prix Du Salon ? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the winning constructor of the Grand Prix Du Salon: ```sql SELECT winning_constructor FROM table_name_24 WHERE name = "Grand Prix Du Salon"; ```
26,410
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (winning_constructor VARCHAR, name VARCHAR)\n\n Question: Who was the winning constructor of the Grand Prix Du Salon...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (circuit VARCHAR, winning_driver VARCHAR) Question: Which circuit did françois eysermann win ? Here is the SQLite query to answer to the question: Which ci...
Here is the SQLite query to answer the question: Which circuit did françois eysermann win ?: ``` SELECT circuit FROM table_name_54 WHERE winning_driver = "françois eysermann" ```
26,411
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (circuit VARCHAR, winning_driver VARCHAR)\n\n Question: Which circuit did françois eysermann win ?\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_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR) Question: What is the largest silver with Gold larger than 4, a Nation of united states, and a...
Here is the SQLite query to answer the question you provided: ``` SELECT MAX(silver) FROM table_name_19 WHERE gold > 4 AND nation = "united states" AND total > 26 ```
26,412
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (silver INTEGER, total VARCHAR, gold VARCHAR, nation VARCHAR)\n\n Question: What is the largest silver with Gold lar...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR) Question: How many silvers have a Nation of hungary, and a Rank larger than 10? Here is the SQLite query to ...
Here is the SQLite query that answers the question regarding the number of silvers that have a Nation of Hungary and a Rank larger than 10: ``` SELECT COUNT(silver) FROM table_name_30 WHERE nation = "hungary" AND rank > 10 ```
26,413
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (silver VARCHAR, nation VARCHAR, rank VARCHAR)\n\n Question: How many silvers have a Nation of hungary, and a Rank l...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_24 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR) Question: Which silver has a Gold smaller than 12, a Rank smaller than 5, and a Bronze of 5? H...
Here is the SQLite query to answer the question: ```sql SELECT silver FROM table_name_24 WHERE gold < 12 AND rank < 5 AND bronze = 5; ```
26,414
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (silver VARCHAR, bronze VARCHAR, gold VARCHAR, rank VARCHAR)\n\n Question: Which silver has a Gold smaller than 12, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR) Question: Who did they play on August 12? Here is the SQLite query to answer to the question: Who did they play on August ...
Here is the SQLite query to answer the question: Who did they play on August 12?: ``` SELECT opponent FROM table_name_48 WHERE date = "August 12"; ```
26,415
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (opponent VARCHAR, date VARCHAR)\n\n Question: Who did they play on August 12?\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_92 (model VARCHAR, seats VARCHAR) Question: Which model has 175 seats? Here is the SQLite query to answer to the question: Which model has 175 seats?: ``` SEL...
Your provided query is almost correct, but since the `seats` column is defined as `VARCHAR`, you should consider the value as a string in your query. Here’s the corrected SQLite query: ``` SELECT model FROM table_name_92 WHERE seats = '175' ```
26,416
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (model VARCHAR, seats VARCHAR)\n\n Question: Which model has 175 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_41 (year_built VARCHAR, model VARCHAR) Question: In what year was the ctc-3 model built? Here is the SQLite query to answer to the question: In what year was ...
Here is the SQLite query to answer the question: In what year was the ctc-3 model built?: ``` SELECT year_built FROM table_name_41 WHERE model = "ctc-3"; ```
26,417
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (year_built VARCHAR, model VARCHAR)\n\n Question: In what year was the ctc-3 model built?\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_57 (seats INTEGER, model VARCHAR) Question: How many seats does the BTC-5 model have? Here is the SQLite query to answer to the question: How many seats does ...
Here is the SQLite query to answer the question about how many seats the BTC-5 model has: ``` SELECT SUM(seats) FROM table_name_57 WHERE model = "BTC-5"; ```
26,418
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (seats INTEGER, model VARCHAR)\n\n Question: How many seats does the BTC-5 model have?\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_name_37 (fleet_id VARCHAR, year_built VARCHAR, seats VARCHAR) Question: For the train built in 2012 with less than 179 seats, what is the Fleet ID? Here is the SQL...
Here is the SQLite query to answer your question: ``` SELECT fleet_id FROM table_name_37 WHERE year_built = "2012" AND seats < 179 ```
26,419
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (fleet_id VARCHAR, year_built VARCHAR, seats VARCHAR)\n\n Question: For the train built in 2012 with less than 179 s...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_48 (record VARCHAR, attendance VARCHAR) Question: What was the record at the game attended by 10,389? Here is the SQLite query to answer to the question: What...
Here is the SQLite query to answer the question regarding the record at the game attended by 10,389: ``` SELECT record FROM table_name_48 WHERE attendance = "10,389" ```
26,420
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (record VARCHAR, attendance VARCHAR)\n\n Question: What was the record at the game attended by 10,389?\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_name_99 (score VARCHAR, loss VARCHAR) Question: What was the score of the game that had a loss of Drese (2-2)? 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 had a loss of "Drese (2-2)": ``` SELECT score FROM table_name_99 WHERE loss = "Drese (2-2)" ```
26,421
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (score VARCHAR, loss VARCHAR)\n\n Question: What was the score of the game that had a loss of Drese (2-2)?\n\nHere i...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR) Question: What is the score of the game attended by 25,034? 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 attended by 25,034: ``` SELECT score FROM table_name_85 WHERE attendance = "25,034"; ```
26,422
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (score VARCHAR, attendance VARCHAR)\n\n Question: What is the score of the game attended by 25,034?\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_name_74 (year INTEGER, tournament VARCHAR) Question: How often are the Olympic games hosted? Here is the SQLite query to answer to the question: How often are the ...
The provided query does not directly answer the question of how often the Olympic Games are hosted. Instead, it calculates the average year of the Olympic Games, which may not accurately reflect their frequency. To determine how often the Olympic Games are hosted, you could count the number of Olympic events over the...
26,423
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (year INTEGER, tournament VARCHAR)\n\n Question: How often are the Olympic games hosted?\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_29 (tournament VARCHAR, year VARCHAR) Question: Where was the 1984 Olympics hosted? Here is the SQLite query to answer to the question: Where was the 1984 Oly...
Here is the SQLite query to answer the question: Where was the 1984 Olympics hosted?: ``` SELECT tournament FROM table_name_29 WHERE year = '1984' ```
26,424
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_29 (tournament VARCHAR, year VARCHAR)\n\n Question: Where was the 1984 Olympics hosted?\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_52 (year_of_issue VARCHAR, issue_price VARCHAR) Question: How many years was the issue price $19.95? Here is the SQLite query to answer to the question: How m...
Here is the SQLite query to answer the question of how many years the issue price was $19.95: ``` SELECT COUNT(year_of_issue) FROM table_name_52 WHERE issue_price = '19.95'; ```
26,425
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (year_of_issue VARCHAR, issue_price VARCHAR)\n\n Question: How many years was the issue price $19.95?\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_79 (composition VARCHAR, issue_price VARCHAR) Question: Which composition has an issue price of $99.00? Here is the SQLite query to answer to the question: Wh...
Here is the SQLite query to answer the question: Which composition has an issue price of $99.00?: ``` SELECT composition FROM table_name_79 WHERE issue_price = "$99.00" ```
26,426
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (composition VARCHAR, issue_price VARCHAR)\n\n Question: Which composition has an issue price of $99.00?\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_35 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR) Question: Tier of 2, and a Season of 2000–01 is what European competitions? Here is the SQLit...
Here is the SQLite query to answer the question regarding the tier of 2 and the season of 2000–01: ``` SELECT european_competitions FROM table_name_35 WHERE tier = '2' AND season = '2000–01' ```
26,427
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR)\n\n Question: Tier of 2, and a Season of 2000–01 is wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (league VARCHAR, season VARCHAR) Question: Season of 2012–13 is what league? Here is the SQLite query to answer to the question: Season of 2012–13 is what ...
Here is the SQLite query to answer the question "Season of 2012–13 is what league?": ``` SELECT league FROM table_name_68 WHERE season = "2012–13" ```
26,428
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (league VARCHAR, season VARCHAR)\n\n Question: Season of 2012–13 is what league?\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_49 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR) Question: Tier of 2, and a Season of 2004–05 is what European competitions? Here is the SQLit...
Here is the SQLite query to answer the question regarding the tier of 2 and the season of 2004–05: ``` SELECT european_competitions FROM table_name_49 WHERE tier = '2' AND season = '2004–05'; ```
26,429
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (european_competitions VARCHAR, tier VARCHAR, season VARCHAR)\n\n Question: Tier of 2, and a Season of 2004–05 is wh...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (operator VARCHAR, rank VARCHAR) Question: Which operator has a rank of 7? Here is the SQLite query to answer to the question: Which operator has a rank of...
Here is the SQLite query to answer the question: Which operator has a rank of 7?: ``` SELECT operator FROM table_name_20 WHERE rank = '7'; ```
26,430
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (operator VARCHAR, rank VARCHAR)\n\n Question: Which operator has a rank of 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_60 (rank INTEGER, source_of_copper VARCHAR) Question: What's the lowest ranking source of copper, copper ore, concentrated and leached? Here is the SQLite que...
Your query is almost correct, but it seems to be looking for a specific source of copper rather than all three sources combined. If you want to find the lowest ranking source among "copper", "copper ore", "concentrated", and "leached", you will need to adjust your WHERE clause to include all those options. Here’s how y...
26,431
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (rank INTEGER, source_of_copper VARCHAR)\n\n Question: What's the lowest ranking source of copper, copper ore, conce...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR) Question: What was Stéphan Perrot rank average? Here is the SQLite query to answer to the question: What was Stéphan Perrot ra...
Here is the SQLite query to find Stéphan Perrot's rank average: ``` SELECT AVG(rank) FROM table_name_61 WHERE name = "Stéphan Perrot"; ```
26,432
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_61 (rank INTEGER, name VARCHAR)\n\n Question: What was Stéphan Perrot rank average?\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_91 (rank INTEGER, name VARCHAR) Question: What was Maxim Podoprigora's lowest rank? Here is the SQLite query to answer to the question: What was Maxim Podopri...
Here is the SQLite query to answer the question: What was Maxim Podoprigora's lowest rank?: ``` SELECT MIN(rank) FROM table_name_91 WHERE name = "Maxim Podoprigora"; ```
26,433
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (rank INTEGER, name VARCHAR)\n\n Question: What was Maxim Podoprigora's lowest rank?\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_81 (away_captain VARCHAR, venue VARCHAR) Question: Who is the away captain for Kingsmead? Here is the SQLite query to answer to the question: Who is the away ...
Here is the SQLite query to answer the question about the away captain for Kingsmead: ``` SELECT away_captain FROM table_name_81 WHERE venue = "Kingsmead"; ```
26,434
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (away_captain VARCHAR, venue VARCHAR)\n\n Question: Who is the away captain for Kingsmead?\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_name_28 (first_year_aired VARCHAR, prize VARCHAR) Question: What was the first year that had a prize of 50,000? Here is the SQLite query to answer to the question:...
Your query is almost correct, but to find the first year that had a prize of 50,000, you should also order the results and limit the output to just the first record. Here is the revised query: ``` SELECT first_year_aired FROM table_name_28 WHERE prize = "50,000" ORDER BY first_year_aired LIMIT 1; ``` This query ...
26,435
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (first_year_aired VARCHAR, prize VARCHAR)\n\n Question: What was the first year that had a prize of 50,000?\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_79 (first_year_aired VARCHAR, name VARCHAR) Question: What year did Zone Rouge first air? Here is the SQLite query to answer to the question: What year did Zo...
Here is the SQLite query to answer the question of what year Zone Rouge first aired, wrapped in code blocks: ``` SELECT first_year_aired FROM table_name_79 WHERE name = "Zone Rouge"; ```
26,436
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_79 (first_year_aired VARCHAR, name VARCHAR)\n\n Question: What year did Zone Rouge first air?\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_name_74 (host VARCHAR, country VARCHAR) Question: What was the host of Horrid Henry? Here is the SQLite query to answer to the question: What was the host of Horri...
It looks like there might be a misunderstanding regarding the use of the country in your query. Assuming "Horrid Henry" is actually the title of a show or the name of a program, the search should be based on that title rather than a country. If we would like to filter by the title "Horrid Henry", we should use a cond...
26,437
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (host VARCHAR, country VARCHAR)\n\n Question: What was the host of Horrid Henry?\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_37 (launched INTEGER, location VARCHAR, ship VARCHAR) Question: What is the average launch date of the vmv-1 vessel in Germany? Here is the SQLite query to an...
Your SQLite query is correctly structured to calculate the average launch date of the "vmv-1" vessel in Germany. Here it is wrapped in a code block: ``` SELECT AVG(launched) FROM table_name_37 WHERE location = "germany" AND ship = "vmv-1" ``` This query will return the average value of the `launched` dates for the s...
26,438
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (launched INTEGER, location VARCHAR, ship VARCHAR)\n\n Question: What is the average launch date of the vmv-1 vessel...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (location VARCHAR, date VARCHAR) Question: Which location has a date of may 21? Here is the SQLite query to answer to the question: Which location has a da...
Here is the SQLite query to answer the question of which location has a date of May 21: ```sql SELECT location FROM table_name_95 WHERE date = "may 21"; ```
26,439
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (location VARCHAR, date VARCHAR)\n\n Question: Which location has a date of may 21?\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_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR) Question: What is the total Decile that has a state authority, fairlie area and roll smarter...
Your query looks almost correct, but there seems to be a misunderstanding regarding "roll smarter than 206". Based on your description, if "smarter than" implies that the roll number should be greater than 206, then the query should reflect that. Here’s the corrected SQLite query: ``` SELECT COUNT(decile) FROM table_...
26,440
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (decile VARCHAR, roll VARCHAR, authority VARCHAR, area VARCHAR)\n\n Question: What is the total Decile that has a st...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (area VARCHAR, name VARCHAR) Question: What area is named Mackenzie college? Here is the SQLite query to answer to the question: What area is named Mackenz...
Here is the SQLite query to answer the question: What area is named Mackenzie college?: ```sql SELECT area FROM table_name_50 WHERE name = "Mackenzie college"; ```
26,441
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (area VARCHAR, name VARCHAR)\n\n Question: What area is named Mackenzie college?\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_9 (pts INTEGER, coach VARCHAR, loss VARCHAR) Question: What is the highest percent of Bruce Arena when he loses more than 11 games? Here is the SQLite query t...
The query you provided aims to find the maximum points for Bruce Arena when he loses more than 11 games, but it incorrectly uses the `pts` field. To compute the highest percent of wins (assuming you need to calculate a percentage and that a different calculation is needed), we need the total games to be determined, whi...
26,442
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (pts INTEGER, coach VARCHAR, loss VARCHAR)\n\n Question: What is the highest percent of Bruce Arena when he loses mor...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR) Question: What is the sum of points when Bruce Arena has 21 wins? Here is the SQLite query to answer to the ques...
The SQL query you provided has a small issue with the data type of the `wins` column. Since `wins` is defined as a `VARCHAR`, it should be compared as a string. Here’s the corrected query: ```sql SELECT SUM(pts) FROM table_name_96 WHERE wins = '21' AND coach = 'Bruce Arena'; ``` This query sums up the points (pts) f...
26,443
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (pts INTEGER, wins VARCHAR, coach VARCHAR)\n\n Question: What is the sum of points when Bruce Arena has 21 wins?\n\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR) Question: What was the outcome of the game played on 19-Sep-2006? Here is the SQLite query to answer to the question: What ...
Your SQLite query looks good! It correctly selects the `outcome` from `table_name_68` where the `date` matches "19-Sep-2006". Just a small note on date formatting; if the date in your database follows a specific format, ensure it aligns with what you are querying. Here is the wrapped code for clarity: ``` SELECT outc...
26,444
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (outcome VARCHAR, date VARCHAR)\n\n Question: What was the outcome of the game played on 19-Sep-2006?\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_56 (tournament VARCHAR, date VARCHAR) Question: Where was the tournament played on Oct. 8, 2006? Here is the SQLite query to answer to the question: Where was...
Here is the SQLite query to answer the question where the tournament was played on Oct. 8, 2006: ``` SELECT tournament FROM table_name_56 WHERE date = "Oct. 8, 2006"; ```
26,445
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (tournament VARCHAR, date VARCHAR)\n\n Question: Where was the tournament played on Oct. 8, 2006?\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_47 (score VARCHAR, tournament VARCHAR) Question: What is the final score of the tournament played in Clearwater, Florida? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question about the final score of the tournament played in Clearwater, Florida: ``` SELECT score FROM table_name_47 WHERE tournament = "Clearwater, Florida"; ```
26,446
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (score VARCHAR, tournament VARCHAR)\n\n Question: What is the final score of the tournament played in Clearwater, Fl...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR) Question: What is the score of the game that was played against Maria Kondratieva? Here is the SQLite query to answer to ...
Here is the SQLite query to answer the question about the score of the game that was played against Maria Kondratieva: ``` SELECT score FROM table_name_35 WHERE opponent = "Maria Kondratieva" ```
26,447
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_35 (score VARCHAR, opponent VARCHAR)\n\n Question: What is the score of the game that was played against Maria Kondrati...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR) Question: What was the surface of the game that resulted in a final score of 6-1 7-5? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question regarding the surface of the game that resulted in a final score of 6-1 7-5: ``` SELECT surface FROM table_name_90 WHERE score = "6-1 7-5"; ```
26,448
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (surface VARCHAR, score VARCHAR)\n\n Question: What was the surface of the game that resulted in a final score of 6-...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (attendance INTEGER, time VARCHAR) Question: What was the Attendance when the Time was 2:13? Here is the SQLite query to answer to the question: What was t...
Here is the SQLite query to answer the question about attendance when the time was 2:13: ```sql SELECT attendance FROM table_name_34 WHERE time = '2:13'; ```
26,449
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (attendance INTEGER, time VARCHAR)\n\n Question: What was the Attendance when the Time was 2:13?\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_name_90 (attendance INTEGER, record VARCHAR) Question: What was the attendance when the record was 77-54? Here is the SQLite query to answer to the question: What ...
```sql SELECT attendance FROM table_name_90 WHERE record = "77-54"; ```
26,450
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (attendance INTEGER, record VARCHAR)\n\n Question: What was the attendance when the record was 77-54?\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_25 (overs INTEGER, player VARCHAR) Question: What did Xavier Doherty (Tasmania) set as his highest Overs? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question about Xavier Doherty's highest Overs: ``` SELECT MAX(overs) FROM table_name_25 WHERE player = "xavier doherty (tasmania)" ```
26,451
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (overs INTEGER, player VARCHAR)\n\n Question: What did Xavier Doherty (Tasmania) set as his highest Overs?\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_17 (country VARCHAR, player VARCHAR) Question: What country does Tiger Woods play for? Here is the SQLite query to answer to the question: What country does T...
Here is the SQLite query to answer the question: What country does Tiger Woods play for?: ``` SELECT country FROM table_name_17 WHERE player = "Tiger Woods"; ```
26,452
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (country VARCHAR, player VARCHAR)\n\n Question: What country does Tiger Woods play for?\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_50 (place VARCHAR, country VARCHAR) Question: What place did the player from England come in? Here is the SQLite query to answer to the question: What place d...
Here is the SQLite query to answer the question about what place the player from England came in: ``` SELECT place FROM table_name_50 WHERE country = "England"; ```
26,453
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (place VARCHAR, country VARCHAR)\n\n Question: What place did the player from England come in?\n\nHere is the SQLite...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_20 (english_title VARCHAR, original_title VARCHAR) Question: What's the English Title of Fanny Och Alexander? Here is the SQLite query to answer to the questi...
Here is the SQLite query to answer the question: ``` SELECT english_title FROM table_name_20 WHERE original_title = "Fanny Och Alexander"; ```
26,454
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_20 (english_title VARCHAR, original_title VARCHAR)\n\n Question: What's the English Title of Fanny Och Alexander?\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_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR) Question: What was the original title that was directed by Alain Resnais in Fra...
Here is the SQLite query to answer the question about the original title directed by Alain Resnais in France before 1986: ``` SELECT original_title FROM table_name_22 WHERE year < '1986' AND country = 'france' AND director_s_ = 'alain resnais' ```
26,455
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (original_title VARCHAR, director_s_ VARCHAR, year VARCHAR, country VARCHAR)\n\n Question: What was the original tit...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_60 (year VARCHAR, original_title VARCHAR) Question: What was the year of Megáll az Idö? Here is the SQLite query to answer to the question: What was the year ...
Here is the SQLite query to answer the question about the year of "Megáll az Idö": ``` SELECT year FROM table_name_60 WHERE original_title = "Megáll az Idö"; ```
26,456
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_60 (year VARCHAR, original_title VARCHAR)\n\n Question: What was the year of Megáll az Idö?\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_2 (name VARCHAR, avg_g VARCHAR, gp_gs VARCHAR) Question: Avg/G smaller than 225.5, and a GP-GS of 8–0 has what name? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question you posed: ``` SELECT name FROM table_name_2 WHERE avg_g < 225.5 AND gp_gs = "8–0"; ```
26,457
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (name VARCHAR, avg_g VARCHAR, gp_gs VARCHAR)\n\n Question: Avg/G smaller than 225.5, and a GP-GS of 8–0 has what name...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR) Question: Avg/G that has a GP-GS of 13–13, and a Effic smaller than 114.23 has what total of numbers? Here is...
Here is your SQLite query wrapped in the appropriate format: ``` SELECT COUNT(avg_g) FROM table_name_82 WHERE gp_gs = "13–13" AND effic < 114.23 ```
26,458
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_82 (avg_g VARCHAR, gp_gs VARCHAR, effic VARCHAR)\n\n Question: Avg/G that has a GP-GS of 13–13, and a Effic smaller tha...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_54 (effic VARCHAR, avg_g VARCHAR) Question: Avg/G of 2.7 is what effic? Here is the SQLite query to answer to the question: Avg/G of 2.7 is what effic?: ``` S...
Certainly! Here is the SQLite query wrapped in the requested format: ``` SELECT effic FROM table_name_54 WHERE avg_g = 2.7; ```
26,459
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (effic VARCHAR, avg_g VARCHAR)\n\n Question: Avg/G of 2.7 is what effic?\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_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR) Question: Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effic larger than 394 is what total? Here is th...
Here is the SQLite query to answer the question regarding the average per game (Avg/G) that has an Att-Cmp-Int of 1–1–0 and an Effic larger than 394: ``` SELECT COUNT(avg_g) FROM table_name_62 WHERE att_cmp_int = '1–1–0' AND effic > 394 ```
26,460
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (avg_g VARCHAR, att_cmp_int VARCHAR, effic VARCHAR)\n\n Question: Avg/G that has a Att-Cmp-Int of 1–1–0, and an Effi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR) Question: Which area has a Decile of 9, and a Roll of 31? Here is the SQLite query to answer to the question: ...
Your query is correctly formulated for the question provided. Here it is wrapped in the requested code block: ``` SELECT area FROM table_name_98 WHERE decile = '9' AND roll = '31'; ``` Please note that I wrapped the numeric values in quotes. This may depend on how your database schema defines those fields (as VARCHA...
26,461
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (area VARCHAR, decile VARCHAR, roll VARCHAR)\n\n Question: Which area has a Decile of 9, and a Roll of 31?\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_68 (decile VARCHAR, years VARCHAR) Question: How many deciles have Years of 9–13? Here is the SQLite query to answer to the question: How many deciles have Ye...
Here is the SQLite query to count how many deciles have Years of 9–13: ``` SELECT COUNT(decile) FROM table_name_68 WHERE years = '9–13'; ```
26,462
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (decile VARCHAR, years VARCHAR)\n\n Question: How many deciles have Years of 9–13?\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_55 (name VARCHAR, decile VARCHAR, roll VARCHAR) Question: What is the name with a Decile less than 10, and a Roll of 297? Here is the SQLite query to answer t...
Here is the SQLite query to answer the question: ``` SELECT name FROM table_name_55 WHERE decile < 10 AND roll = 297 ```
26,463
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_55 (name VARCHAR, decile VARCHAR, roll VARCHAR)\n\n Question: What is the name with a Decile less than 10, and a Roll o...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_1 (name VARCHAR, roll VARCHAR, years VARCHAR) Question: Which name has a Roll larger than 297, and Years of 7–13? Here is the SQLite query to answer to the qu...
Your provided query is almost correct, but there seems to be a minor issue regarding the interpretation of the "Years" condition. If "Years" contains a range like "7–13", then it should be treated as a single value that exactly matches "7–13". If you're looking to check for a numeric range of years (e.g., from 7 throug...
26,464
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_1 (name VARCHAR, roll VARCHAR, years VARCHAR)\n\n Question: Which name has a Roll larger than 297, and Years of 7–13?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_97 (years VARCHAR, name VARCHAR) Question: Which years have a Name of ladbrooks school? Here is the SQLite query to answer to the question: Which years have a...
Here is the SQLite query to answer the question: Which years have a Name of ladbrooks school?: ``` SELECT years FROM table_name_97 WHERE name = "ladbrooks school" ```
26,465
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (years VARCHAR, name VARCHAR)\n\n Question: Which years have a Name of ladbrooks school?\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 (roll INTEGER, decile VARCHAR, area VARCHAR) Question: What is the total of the roll with a Decile of 8, and an Area of hororata? Here is the SQLite query ...
Here is the SQLite query to answer your question: ``` SELECT SUM(roll) FROM table_name_73 WHERE decile = '8' AND area = 'hororata'; ```
26,466
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (roll INTEGER, decile VARCHAR, area VARCHAR)\n\n Question: What is the total of the roll with a Decile of 8, and 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 (laps INTEGER, finish VARCHAR) Question: What is the highest number of laps that also has a finish total of 8? Here is the SQLite query to answer to the qu...
Here is the SQLite query to answer the question about the highest number of laps that also has a finish total of 8: ``` SELECT MAX(laps) FROM table_name_98 WHERE finish = '8'; ```
26,467
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (laps INTEGER, finish VARCHAR)\n\n Question: What is the highest number of laps that also has a finish total of 8?\n...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR) Question: Which qual also has a finish total of 9? Here is the SQLite query to answer to the question: Which qual also has a...
The provided query is almost correct but might not account for the possibility of having different 'finish' values that could be represented numerically or in other formats. However, based on your specification, if the `finish` value is strictly "9" as a string in the database, your query is fine. Here’s the SQLite q...
26,468
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (qual VARCHAR, finish VARCHAR)\n\n Question: Which qual also has a finish total of 9?\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_80 (qual VARCHAR, laps VARCHAR, year VARCHAR) Question: Which qual has both 200 total laps and took place in 1957? Here is the SQLite query to answer to the q...
Here is the SQLite query to answer the question about which qual has both 200 total laps and took place in 1957: ``` SELECT qual FROM table_name_80 WHERE laps = '200' AND year = '1957'; ```
26,469
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (qual VARCHAR, laps VARCHAR, year VARCHAR)\n\n Question: Which qual has both 200 total laps and took place in 1957?\...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR) Question: What is the code name when the Southbridge shows as amd-766, via-vt82c686b? Here is the SQLite query to ...
Here is the SQLite query to answer the question about the code name when the Southbridge shows as "amd-766, via-vt82c686b": ``` SELECT code_name FROM table_name_26 WHERE southbridge = "amd-766, via-vt82c686b"; ```
26,470
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (code_name VARCHAR, southbridge VARCHAR)\n\n Question: What is the code name when the Southbridge shows as amd-766, ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_56 (southbridge VARCHAR, cpu_support VARCHAR) Question: What is the Southbridge when the CPU support was athlon, athlonxp, duron( socketa ), alpha21264? Here ...
The SQLite query you provided does not accurately reflect the requirement of checking for any of the specified CPU supports. Instead, you should use the SQL `IN` clause to query for multiple values in the `cpu_support` field. Here is the corrected query: ``` SELECT southbridge FROM table_name_56 WHERE cpu_support IN (...
26,471
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_56 (southbridge VARCHAR, cpu_support VARCHAR)\n\n Question: What is the Southbridge when the CPU support was athlon, at...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (code_name VARCHAR, fsb___ht__mhz_ VARCHAR) Question: What is the code name when the FSB / HT (MHz) is 100 (fsb)? Here is the SQLite query to answer to the...
Here is the SQLite query to answer the question about the code name when the FSB / HT (MHz) is 100 (fsb): ``` SELECT code_name FROM table_name_12 WHERE fsb___ht__mhz_ = '100 (fsb)'; ```
26,472
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (code_name VARCHAR, fsb___ht__mhz_ VARCHAR)\n\n Question: What is the code name when the FSB / HT (MHz) is 100 (fsb)...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_50 (fsb___ht__mhz_ VARCHAR, southbridge VARCHAR) Question: What is the FSB / HT (MHz) when the Southbridge is amd-8131 amd-8132? Here is the SQLite query to a...
Here is the correct SQLite query to answer the question about the FSB / HT (MHz) when the Southbridge is "amd-8131 amd-8132": ``` SELECT fsb___ht__mhz_ FROM table_name_50 WHERE southbridge = "amd-8131" OR southbridge = "amd-8132" ``` This query checks for either of the specified Southbridge values. If you're looking...
26,473
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (fsb___ht__mhz_ VARCHAR, southbridge VARCHAR)\n\n Question: What is the FSB / HT (MHz) when the Southbridge is amd-8...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR) Question: What shows for Southbridge when the Model number is amd-640 chipset? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question regarding what shows for Southbridge when the Model number is "amd-640 chipset": ``` SELECT southbridge FROM table_name_7 WHERE model = "amd-640 chipset"; ```
26,474
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_7 (southbridge VARCHAR, model VARCHAR)\n\n Question: What shows for Southbridge when the Model number is amd-640 chipse...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_34 (stadium VARCHAR, sport VARCHAR, league VARCHAR) Question: Which stadium is for football with the China League One? Here is the SQLite query to answer to t...
Your SQLite query looks correct. Here it is wrapped in the requested format: ``` SELECT stadium FROM table_name_34 WHERE sport = "football" AND league = "china league one"; ```
26,475
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (stadium VARCHAR, sport VARCHAR, league VARCHAR)\n\n Question: Which stadium is for football with the China League O...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR) Question: Which tier is for football at Tianhe Stadium? Here is the SQLite query to answer to the question: ...
Here is the SQLite query to answer the question: Which tier is for football at Tianhe Stadium?: ``` SELECT tier FROM table_name_62 WHERE sport = "football" AND stadium = "Tianhe Stadium"; ```
26,476
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (tier VARCHAR, sport VARCHAR, stadium VARCHAR)\n\n Question: Which tier is for football at Tianhe Stadium?\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_70 (llws VARCHAR, city VARCHAR) Question: Which Little League World Series took place in Parsippany? Here is the SQLite query to answer to the question: Which...
Your query to find which Little League World Series took place in Parsippany is correct. Here it is wrapped in code format: ``` SELECT llws FROM table_name_70 WHERE city = "parsippany"; ```
26,477
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (llws VARCHAR, city VARCHAR)\n\n Question: Which Little League World Series took place in Parsippany?\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_27 (tennessee VARCHAR, georgia VARCHAR) Question: What is the Tennessee that Georgia of kevin butler is in? Here is the SQLite query to answer to the question...
Here is the SQLite query to answer the question regarding the Tennessee that corresponds to Georgia of Kevin Butler: ``` SELECT tennessee FROM table_name_27 WHERE georgia = "kevin butler"; ```
26,478
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (tennessee VARCHAR, georgia VARCHAR)\n\n Question: What is the Tennessee that Georgia of kevin butler is in?\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_11 (tennessee VARCHAR, kentucky VARCHAR) Question: What is the Tennessee with a Kentucky of Larry Seiple Here is the SQLite query to answer to the question: W...
Here is the SQLite query to answer the question regarding the Tennessee associated with Kentucky of Larry Seiple: ```sql SELECT tennessee FROM table_name_11 WHERE kentucky = "Larry Seiple"; ```
26,479
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (tennessee VARCHAR, kentucky VARCHAR)\n\n Question: What is the Tennessee with a Kentucky of Larry Seiple\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_10 (year INTEGER, kentucky VARCHAR) Question: What is the total Year of jeff van note ( Kentucky) Here is the SQLite query to answer to the question: What is ...
Here is the SQLite query to answer the question regarding the total Year of Jeff Van Note in Kentucky: ``` SELECT SUM(year) FROM table_name_10 WHERE kentucky = "jeff van note"; ```
26,480
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_10 (year INTEGER, kentucky VARCHAR)\n\n Question: What is the total Year of jeff van note ( Kentucky)\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_name_51 (built VARCHAR, period VARCHAR) Question: How many cabins were built in the time between 1967-1987? Here is the SQLite query to answer to the question: How...
To count the number of cabins built in the time period between 1967 and 1987, you need to use the `COUNT` function in your SQL query. The query should be like this: ```sql SELECT COUNT(*) FROM table_name_51 WHERE period = '1967-1987'; ```
26,481
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_51 (built VARCHAR, period VARCHAR)\n\n Question: How many cabins were built in the time between 1967-1987?\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_43 (period VARCHAR, built VARCHAR, model VARCHAR) Question: Between which years were there 241 fokker 70 model cabins built? Here is the SQLite query to answe...
The provided query does not correctly address the requirement to find the periods during which 241 Fokker 70 model cabins were built. Instead, it checks for records where the `built` value is less than 241, which does not fulfill the question about the number of cabins. To properly answer the question and find the per...
26,482
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (period VARCHAR, built VARCHAR, model VARCHAR)\n\n Question: Between which years were there 241 fokker 70 model cabi...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR) Question: Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12 Here is the SQLite query to answer to the ...
```sql SELECT SUM(year) FROM table_name_43 WHERE engine_s_ = "brm p202 3.0 v12 brm p200 3.0 v12"; ```
26,483
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_43 (year INTEGER, engine_s_ VARCHAR)\n\n Question: Name the sum of year for engine of brm p202 3.0 v12 brm p200 3.0 v12...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_12 (chassis VARCHAR, tyres VARCHAR, year VARCHAR) Question: Name the chassis for 1970 and tyres of d Here is the SQLite query to answer to the question: Name ...
Your query has a small mistake in the `year` condition because you're comparing a string against an integer. The `year` column is defined as `VARCHAR`, so you should compare it as a string. Here’s the corrected query: ``` SELECT chassis FROM table_name_12 WHERE tyres = 'd' AND year = '1970' ```
26,484
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (chassis VARCHAR, tyres VARCHAR, year VARCHAR)\n\n Question: Name the chassis for 1970 and tyres of d\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_24 (points VARCHAR, year VARCHAR) Question: Name the point for 1974 Here is the SQLite query to answer to the question: Name the point for 1974: ``` SELECT po...
Here is the SQLite query to answer the question "Name the point for 1974": ``` SELECT points FROM table_name_24 WHERE year = '1974' ```
26,485
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (points VARCHAR, year VARCHAR)\n\n Question: Name the point for 1974\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_33 (chassis VARCHAR, year VARCHAR) Question: Name the chassis of 1961 Here is the SQLite query to answer to the question: Name the chassis of 1961: ``` SELECT...
Here is the SQLite query to answer the question: Name the chassis of 1961: ``` SELECT chassis FROM table_name_33 WHERE year = '1961' ```
26,486
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (chassis VARCHAR, year VARCHAR)\n\n Question: Name the chassis of 1961\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_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR) Question: What is the year opened for Chicagoland Speedway with a seating smaller than 75,000? H...
It looks like you're trying to select the year opened for Chicagoland Speedway with specific seating criteria, but there are some errors in your SQL query. If you want to find the year opened instead of the average, you should select the `year_opened` directly. Also, the seating should be treated as a numeric value for...
26,487
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (year_opened INTEGER, track_name VARCHAR, seating VARCHAR)\n\n Question: What is the year opened for Chicagoland Spe...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR) Question: What type of photos of Angelina Jolie cost $500,000? Here is the SQLite query to answer...
Here is the SQLite query to answer the question about the type of photos of Angelina Jolie that cost $500,000: ```sql SELECT type FROM table_name_21 WHERE reported_price = "$500,000" AND person_s_ = "angelina jolie"; ```
26,488
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_21 (type VARCHAR, reported_price VARCHAR, person_s_ VARCHAR)\n\n Question: What type of photos of Angelina Jolie cost $...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_90 (publication_date VARCHAR, person_s_ VARCHAR, reported_price VARCHAR, publisher_s_ VARCHAR) Question: What was the publication date of the photos of Sean Pr...
Here is the SQLite query to answer the question you provided: ``` SELECT publication_date FROM table_name_90 WHERE reported_price = "$500,000" AND publisher_s_ = "People" AND person_s_ = "Sean Preston Federline"; ```
26,489
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (publication_date VARCHAR, person_s_ VARCHAR, reported_price VARCHAR, publisher_s_ VARCHAR)\n\n Question: What was t...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_38 (winner VARCHAR, date VARCHAR) Question: Who won on 28 May? Here is the SQLite query to answer to the question: Who won on 28 May?: ``` SELECT winner FROM ...
Here is the SQLite query to answer the question: Who won on 28 May?: ``` SELECT winner FROM table_name_38 WHERE date = "28 May"; ```
26,490
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_38 (winner VARCHAR, date VARCHAR)\n\n Question: Who won on 28 May?\n\nHere is the SQLite query to answer to the questio...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_9 (country VARCHAR, film_title_used_in_nomination VARCHAR) Question: Which country is the film Tent of Miracles from? Here is the SQLite query to answer to th...
Here is the SQLite query to answer the question about the country of the film "Tent of Miracles": ``` SELECT country FROM table_name_9 WHERE film_title_used_in_nomination = "Tent of Miracles"; ```
26,491
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_9 (country VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Which country is the film Tent of Miracles fro...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_30 (country VARCHAR, director VARCHAR) Question: Which country is the director Roland Verhavert from? Here is the SQLite query to answer to the question: Whic...
Here is the SQLite query to answer the question about the country of director Roland Verhavert: ``` SELECT country FROM table_name_30 WHERE director = "Roland Verhavert"; ```
26,492
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_30 (country VARCHAR, director VARCHAR)\n\n Question: Which country is the director Roland Verhavert from?\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_name_14 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR) Question: What is the title of the German film that is originally called Ma...
Here is the SQLite query to answer the question: ``` SELECT film_title_used_in_nomination FROM table_name_14 WHERE language = "german" AND original_name = "Mama, Ich Lebe" ```
26,493
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (film_title_used_in_nomination VARCHAR, language VARCHAR, original_name VARCHAR)\n\n Question: What is the title of ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR) Question: Which director is from Italy? Here is the SQLite query to answer to the question: Which director is from Ital...
Here is the SQLite query to answer the question: Which director is from Italy?: ``` SELECT director FROM table_name_41 WHERE country = 'Italy'; ```
26,494
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (director VARCHAR, country VARCHAR)\n\n Question: Which director is from Italy?\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_name_99 (country VARCHAR, director VARCHAR) Question: Where is the director Dariush Mehrjui from? Here is the SQLite query to answer to the question: Where is the ...
Here is the SQLite query to answer the question "Where is the director Dariush Mehrjui from?": ``` SELECT country FROM table_name_99 WHERE director = "Dariush Mehrjui" ```
26,495
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_99 (country VARCHAR, director VARCHAR)\n\n Question: Where is the director Dariush Mehrjui from?\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_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR) Question: Who were the Investing Dragons in the episode that first aired on 18 J...
Here is the SQLite query to answer the question about the Investing Dragons in the episode that first aired on 18 January 2005 with the entrepreneur Tracey Herrtage: ``` SELECT investing_dragon_s_ FROM table_name_65 WHERE first_aired = "18 January 2005" AND entrepreneur_s_ = "Tracey Herrtage" ```
26,496
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (investing_dragon_s_ VARCHAR, first_aired VARCHAR, entrepreneur_s_ VARCHAR)\n\n Question: Who were the Investing Dra...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR) Question: What is the average money requested in the episode first aired o...
Here is the SQLite query to answer the question about the average money requested in the episode first aired on 18 January 2005 by the company/product name IV Cam: ```sql SELECT AVG(money_requested__) AS avg_money_requested FROM table_name_96 WHERE first_aired = '18 January 2005' AND company_or_product_name = 'IV Ca...
26,497
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (money_requested__ INTEGER, first_aired VARCHAR, company_or_product_name VARCHAR)\n\n Question: What is the average ...
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```: Schema: CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR) Question: What is the population for Rank 11? Here is the SQLite query to answer to the question: What is the population...
Here is the SQLite query to answer the question: What is the population for Rank 11?: ``` SELECT population FROM table_name_95 WHERE rank = '11' ``` (Note: The rank is treated as a string since the schema defines it as a VARCHAR.)
26,498
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (population VARCHAR, rank VARCHAR)\n\n Question: What is the population for Rank 11?\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_47 (trailers VARCHAR, formed_from VARCHAR) Question: Name the trailers for formed from pan/pul/res cars Here is the SQLite query to answer to the question: Na...
Here is the SQLite query to name the trailers for formed from pan/pul/res cars: ``` SELECT trailers FROM table_name_47 WHERE formed_from = "pan/pul/res cars" ```
26,499
[ { "from": "human", "value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_47 (trailers VARCHAR, formed_from VARCHAR)\n\n Question: Name the trailers for formed from pan/pul/res cars\n\nHere is ...