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_10342194_3 (amount_of_trees VARCHAR, _that_require_replacement VARCHAR, district VARCHAR)
Question: What is the amount of trees, that require replacement when the d... | Here is the corrected SQLite query to answer the question regarding the amount of trees that require replacement in the district of Motovilikhinsky:
```sql
SELECT amount_of_trees
FROM table_10342194_3
WHERE district = "motovilikhinsky" AND _that_require_replacement = "Yes"
```
This query assumes that you are checki... | 19,100 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10342194_3 (amount_of_trees VARCHAR, _that_require_replacement VARCHAR, district VARCHAR)\n\n Question: What is the amount o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)
Question: What is the total amount of trees when district is leninsky?
Here is the SQLite query to ans... | Your query is almost correct, but if you want the total amount of trees for the district "Leninsky", it would be more appropriate to use the `SUM` function instead of `MAX`. Here's the corrected query:
```sql
SELECT SUM(total_amount_of_trees) FROM table_10342194_3 WHERE district = "Leninsky";
```
This query will pro... | 19,101 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10342194_3 (total_amount_of_trees INTEGER, district VARCHAR)\n\n Question: What is the total amount of trees when district i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10429820_13 (in_ames VARCHAR)
Question: When the value of "since beginning of big 12" is synonymous with its' category, what are the in Ames values?
Here is the SQ... | It looks like there might be some misunderstanding in your query, as the condition `"since_beginning_of_big_12" = "since_beginning_of_big_12"` effectively evaluates to `TRUE` for all rows, which is not likely what you want. If you meant to filter rows based on a specific value or category related to "since beginning of... | 19,102 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10429820_13 (in_ames VARCHAR)\n\n Question: When the value of \"since beginning of big 12\" is synonymous with its' category... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, regular_season VARCHAR)
Question: what's the u.s. open cup status for regular season of 4th, atlantic division
Here is the SQLite ... | Here is the SQLite query to answer the question regarding the U.S. Open Cup status for the regular season of "4th, Atlantic division":
```sql
SELECT us_open_cup FROM table_1046170_5 WHERE regular_season = '4th, Atlantic division';
``` | 19,103 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, regular_season VARCHAR)\n\n Question: what's the u.s. open cup status for regular season of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR)
Question: how many division did not qualify for u.s. open cup in 2003
Here is the SQLite query to ... | To determine how many divisions did not qualify for the U.S. Open Cup in 2003, you need to count the unique divisions that meet the criteria. Here is the correct SQLite query:
```
SELECT COUNT(DISTINCT division) AS divisions_not_qualified
FROM table_1046170_5
WHERE us_open_cup = "Did Not Qualify" AND year = "2003";
``... | 19,104 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1046170_5 (division VARCHAR, us_open_cup VARCHAR, year VARCHAR)\n\n Question: how many division did not qualify for u.s. op... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR)
Question: which round is u.s. open cup division semifinals
Here is the SQLite query to answer to the question: wh... | Here is the SQLite query to answer the question regarding which round is the U.S. Open Cup division semifinals:
```sql
SELECT us_open_cup FROM table_1046170_5 WHERE playoffs = 'division Semifinals';
``` | 19,105 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1046170_5 (us_open_cup VARCHAR, playoffs VARCHAR)\n\n Question: which round is u.s. open cup division semifinals\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_1046170_5 (playoffs VARCHAR, regular_season VARCHAR)
Question: what are all the playoffs for regular season is 1st, atlantic division
Here is the SQLite query to a... | Your SQLite query to get all the playoffs for the regular season that is "1st, Atlantic division" looks correct. Here it is wrapped in the proper format:
```
SELECT playoffs FROM table_1046170_5 WHERE regular_season = "1st, Atlantic division";
``` | 19,106 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1046170_5 (playoffs VARCHAR, regular_season VARCHAR)\n\n Question: what are all the playoffs for regular season is 1st, atla... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)
Question: what are all the playoffs for u.s. open cup in 1st round
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about all the playoffs for the U.S. Open Cup in the 1st round:
```
SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = "1st Round"
``` | 19,107 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)\n\n Question: what are all the playoffs for u.s. open cup in 1st round\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1061075_1 (aggregate VARCHAR)
Question: what is the total number of 2nd leg where aggregate is 7-2
Here is the SQLite query to answer to the question: what is the ... | It looks like there is a small issue in your SQL query. The `COUNT` function should be counting rows, but the way you've written it appears to be incorrect. You should just use `COUNT(*)` to count the total number of records that meet the criteria. Here’s the corrected query:
```sql
SELECT COUNT(*) AS total_2nd_leg FR... | 19,108 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1061075_1 (aggregate VARCHAR)\n\n Question: what is the total number of 2nd leg where aggregate is 7-2\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_1061075_1 (competition VARCHAR, aggregate VARCHAR)
Question: what's the competition where aggregate is 4–7
Here is the SQLite query to answer to the question: wh... | Here is the corrected SQLite query to determine the competition where the aggregate is 4–7:
```
SELECT competition FROM table_1061075_1 WHERE aggregate = '4–7';
```
Make sure to use single quotes for string literals in SQL. | 19,109 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1061075_1 (competition VARCHAR, aggregate VARCHAR)\n\n Question: what's the competition where aggregate is 4–7\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_1061075_1 (round VARCHAR, opponents VARCHAR)
Question: what is the total number of round where opponents is haugar
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding the total number of rounds where opponents are "Haugar":
```
SELECT COUNT(round) FROM table_1061075_1 WHERE opponents = "Haugar";
``` | 19,110 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1061075_1 (round VARCHAR, opponents VARCHAR)\n\n Question: what is the total number of round where opponents is haugar\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1061075_1 (opponents VARCHAR)
Question: what's the 1st leg where opponents is galatasaray
Here is the SQLite query to answer to the question: what's the 1st leg ... | Your SQL query looks almost correct for retrieving the first leg where opponents are "Galatasaray". However, it seems you're just selecting a constant value (1) and not actually obtaining any data related to the specific leg. If you want to retrieve some data from the table, you might want to select additional columns ... | 19,111 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1061075_1 (opponents VARCHAR)\n\n Question: what's the 1st leg where opponents is galatasaray\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_10706961_2 (rd INTEGER, pole_position VARCHAR)
Question: What is the highest Rd that Tom Sneva had the pole position in?
Here is the SQLite query to answer to the ... | Your SQLite query to find the highest `rd` for which Tom Sneva had the pole position is correct. Here’s your query wrapped in code formatting:
```sql
SELECT MAX(rd) FROM table_10706961_2 WHERE pole_position = "Tom Sneva";
```
This query selects the maximum value of `rd` from the `table_10706961_2` table where the `p... | 19,112 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (rd INTEGER, pole_position VARCHAR)\n\n Question: What is the highest Rd that Tom Sneva had the pole position in?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)
Question: How many winning drivers were there in the race that had a fastest lap time of 56.920?
Here is t... | Your SQLite query is correct. It counts the number of winning drivers in the table where the fastest lap time is exactly 56.920. Here is the formatted query:
```
SELECT COUNT(winning_driver) FROM table_10706961_2 WHERE fastest_lap = "56.920";
``` | 19,113 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (winning_driver VARCHAR, fastest_lap VARCHAR)\n\n Question: How many winning drivers were there in the race that ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
Question: How many reports are there in the race that Forsythe Racing won and Teo Fabi had ... | Here is the SQLite query to answer the question:
```
SELECT COUNT(report) FROM table_10706961_2 WHERE winning_team = "Forsythe Racing" AND pole_position = "Teo Fabi"
``` | 19,114 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (report VARCHAR, winning_team VARCHAR, pole_position VARCHAR)\n\n Question: How many reports are there in the rac... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (rd VARCHAR, name VARCHAR)
Question: Which Rd took place at the Indianapolis 500?
Here is the SQLite query to answer to the question: Which Rd took plac... | Here is the SQLite query to answer the question about which Rd took place at the Indianapolis 500:
```
SELECT rd FROM table_10706961_2 WHERE name = "Indianapolis 500";
``` | 19,115 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (rd VARCHAR, name VARCHAR)\n\n Question: Which Rd took place at the Indianapolis 500?\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_10706961_2 (winning_team VARCHAR, winning_driver VARCHAR)
Question: Which teams won when Bobby Rahal was their winning driver?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question about which teams won when Bobby Rahal was their winning driver:
```
SELECT winning_team FROM table_10706961_2 WHERE winning_driver = 'Bobby Rahal';
``` | 19,116 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (winning_team VARCHAR, winning_driver VARCHAR)\n\n Question: Which teams won when Bobby Rahal was their winning d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR)
Question: What was the fastest lap time in the Escort Radar Warning 200?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the fastest lap time in the Escort Radar Warning 200:
```
SELECT fastest_lap FROM table_10706961_2 WHERE name = "Escort Radar Warning 200";
``` | 19,117 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706961_2 (fastest_lap VARCHAR, name VARCHAR)\n\n Question: What was the fastest lap time in the Escort Radar Warning 200?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR)
Question: What report was there for the porsche north america?
Here is the SQLite query to answer to the question... | Here's the SQLite query to answer the question about the report for "Porsche North America":
```
SELECT report FROM table_10707176_2 WHERE winning_team = "Porsche North America";
``` | 19,118 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10707176_2 (report VARCHAR, winning_team VARCHAR)\n\n Question: What report was there for the porsche north america?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10707176_2 (rnd VARCHAR, circuit VARCHAR)
Question: What rnds were there for the phoenix international raceway?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: What rnds were there for the phoenix international raceway?:
```
SELECT rnd FROM table_10707176_2 WHERE circuit = "Phoenix International Raceway"
``` | 19,119 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10707176_2 (rnd VARCHAR, circuit VARCHAR)\n\n Question: What rnds were there for the phoenix international raceway?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR)
Question: Who was the pole position for the rnd equalling 12?
Here is the SQLite query to answer to the question: W... | Your provided SQLite query is correct. Here it is wrapped in code formatting:
```
SELECT pole_position FROM table_10707176_2 WHERE rnd = "12";
``` | 19,120 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10707176_2 (pole_position VARCHAR, rnd VARCHAR)\n\n Question: Who was the pole position for the rnd equalling 12?\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_10707176_2 (report VARCHAR, circuit VARCHAR)
Question: How many reports were the for the cleveland burke lakefront airport circut?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about how many reports were for the Cleveland Burke Lakefront Airport circuit:
```
SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = "Cleveland Burke Lakefront Airport";
``` | 19,121 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10707176_2 (report VARCHAR, circuit VARCHAR)\n\n Question: How many reports were the for the cleveland burke lakefront airpo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10707176_2 (winning_driver VARCHAR, rnd VARCHAR)
Question: How many winning drivers were the for the rnd equalling 5?
Here is the SQLite query to answer to the que... | Your query is correct for counting the number of winning drivers for the round equal to 5. Here's the wrapped code:
```
SELECT COUNT(winning_driver) FROM table_10707176_2 WHERE rnd = "5";
``` | 19,122 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10707176_2 (winning_driver VARCHAR, rnd VARCHAR)\n\n Question: How many winning drivers were the for the rnd equalling 5?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706879_3 (rd INTEGER, name VARCHAR)
Question: The race tony bettenhausen 200 has what smallest rd?
Here is the SQLite query to answer to the question: The race t... | Here is the SQLite query to answer the question about the smallest `rd` for the race "Tony Bettenhausen 200":
```
SELECT MIN(rd) FROM table_10706879_3 WHERE name = "Tony Bettenhausen 200";
``` | 19,123 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706879_3 (rd INTEGER, name VARCHAR)\n\n Question: The race tony bettenhausen 200 has what smallest rd?\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_10706879_3 (winning_team VARCHAR, name VARCHAR)
Question: The winning team of the race, los angeles times 500 is who?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the winning team of the race "Los Angeles Times 500":
```
SELECT winning_team FROM table_10706879_3 WHERE name = "Los Angeles Times 500"
``` | 19,124 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706879_3 (winning_team VARCHAR, name VARCHAR)\n\n Question: The winning team of the race, los angeles times 500 is who?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706879_3 (winning_driver VARCHAR, name VARCHAR)
Question: How many winning drivers in the kraco twin 125 (r2) race were there?
Here is the SQLite query to answer... | Sure! Here is the SQLite query wrapped in code format:
```
SELECT COUNT(winning_driver) FROM table_10706879_3 WHERE name = "Kraco Twin 125 (R2)";
``` | 19,125 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706879_3 (winning_driver VARCHAR, name VARCHAR)\n\n Question: How many winning drivers in the kraco twin 125 (r2) race wer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10706879_3 (name VARCHAR, winning_driver VARCHAR)
Question: What are the races that johnny rutherford has won?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the races that Johnny Rutherford has won:
```
SELECT name FROM table_10706879_3 WHERE winning_driver = "Johnny Rutherford"
``` | 19,126 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706879_3 (name VARCHAR, winning_driver VARCHAR)\n\n Question: What are the races that johnny rutherford has won?\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_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)
Question: How many fastest laps were there for a rd that equals 10?
Here is the SQLite query to answer to the question... | Your provided SQLite query is almost correct, but there is a small issue related to the data type of the `rd` column. Since the `rd` column is defined as `VARCHAR`, you should compare it with a string rather than a number. Here’s the corrected version of the query:
```sql
SELECT COUNT(fastest_lap) FROM table_10706879_... | 19,127 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10706879_3 (fastest_lap VARCHAR, rd VARCHAR)\n\n Question: How many fastest laps were there for a rd that equals 10?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10712301_5 (licence_award_date VARCHAR, region VARCHAR)
Question: What is the license award date for North East England?
Here is the SQLite query to answer to the ... | Here's the SQLite query to find the license award date for North East England:
```
SELECT licence_award_date FROM table_10712301_5 WHERE region = "North East England"
``` | 19,128 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10712301_5 (licence_award_date VARCHAR, region VARCHAR)\n\n Question: What is the license award date for North East England?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)
Question: What is the percentage of growth in 2000-2008 in ethiopia?
Here is the SQLite query t... | Here is the SQLite query to answer the question regarding the percentage of growth in 2000-2008 in Ethiopia:
```
SELECT _percentage_growth__2000_2008_ FROM table_10733530_3 WHERE nation = "Ethiopia"
``` | 19,129 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)\n\n Question: What is the percentage of growth in 2000-2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)
Question: Name the total number of percentage growth 2000-2008 of uganda?
Here is the SQLite qu... | The provided SQLite query looks correct for counting the total number of percentage growth entries for Uganda in the specified table. However, it may be worth noting that the query is counting the entries rather than aggregating or summing the percentage growth values. If you are looking for the total sum of the growth... | 19,130 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ VARCHAR, nation VARCHAR)\n\n Question: Name the total number of percentage growth... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ INTEGER, nation VARCHAR)
Question: What is the maximum percentage grown 2000-2008 in burundi
Here is the SQLite query to... | Here is the SQLite query to answer the question about the maximum percentage grown from 2000 to 2008 in Burundi:
```
SELECT MAX(_percentage_growth__2000_2008_) FROM table_10733530_3 WHERE nation = "Burundi";
``` | 19,131 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10733530_3 (_percentage_growth__2000_2008_ INTEGER, nation VARCHAR)\n\n Question: What is the maximum percentage grown 2000-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
Question: Provide me with the names of all the villages (German) that has 76.3% of Slovenes ... | Here is the SQLite query to answer the question:
```
SELECT village__german_ FROM table_10798421_1 WHERE percent_of_slovenes_1951 = "76.3%"
``` | 19,132 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)\n\n Question: Provide me with the names of all the v... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR)
Question: Give me the minimum number of people in 1991 with 92.5% of Slovenes in 1991.
... | Your SQLite query looks correct for retrieving the minimum number of people in 1991 with 92.5% of Slovenes in 1991. Here it is wrapped as requested:
```
SELECT MIN(number_of_people_1991) FROM table_10798421_1 WHERE percent_of_slovenes_1991 = "92.5%"
``` | 19,133 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10798421_1 (number_of_people_1991 INTEGER, percent_of_slovenes_1991 VARCHAR)\n\n Question: Give me the minimum number of peo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
Question: Provide me with the name of all the village (German) that are part of the village (Slov... | Sure! Here is the SQLite query to retrieve the names of all villages in German that are part of the village "Sele Srednji Kot" in Slovenian:
```sql
SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Srednji Kot";
``` | 19,134 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)\n\n Question: Provide me with the name of all the village... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
Question: Provide me with the name of all the village (German) that are part of the village (Slov... | Here is the SQLite query to answer the question:
```
SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Borovnica"
``` | 19,135 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)\n\n Question: Provide me with the name of all the village... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)
Question: Provide me with the name of the village (German) where there is 96.9% Slovenes in ... | Your SQLite query is correct. Here it is wrapped in the requested format:
```
SELECT village__german_ FROM table_10798421_1 WHERE percent_of_slovenes_1951 = "96.9%"
``` | 19,136 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10798421_1 (village__german_ VARCHAR, percent_of_slovenes_1951 VARCHAR)\n\n Question: Provide me with the name of the villag... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812293_3 (score VARCHAR, date VARCHAR)
Question: What was the score of the game on November 12?
Here is the SQLite query to answer to the question: What was the ... | Here is the SQLite query to retrieve the score of the game on November 12:
```sql
SELECT score FROM table_10812293_3 WHERE date = "November 12";
``` | 19,137 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812293_3 (score VARCHAR, date VARCHAR)\n\n Question: What was the score of the game on November 12?\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_10812293_3 (high_assists VARCHAR, team VARCHAR)
Question: Who had high assists when they played against San Antonio?
Here is the SQLite query to answer to the ques... | Your initial query is close, but it looks like you want to find the players with high assists specifically when they were playing **against** San Antonio, which would likely involve modifying the condition to specify the opposing team instead. Assuming you want to find what players recorded high assists **against** the... | 19,138 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812293_3 (high_assists VARCHAR, team VARCHAR)\n\n Question: Who had high assists when they played against San Antonio?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10812293_3 (high_points VARCHAR, game VARCHAR)
Question: Who scored the most points in game 4?
Here is the SQLite query to answer to the question: Who scored the m... | Your provided SQL query has a small issue. Since `high_points` is a VARCHAR type, we need to ensure that we sort and retrieve the highest score correctly. Additionally, we need to find the maximum points scored specifically in game 4. Here’s the corrected query:
```sql
SELECT high_points
FROM table_10812293_3
WHERE ... | 19,139 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812293_3 (high_points VARCHAR, game VARCHAR)\n\n Question: Who scored the most points in game 4?\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_10812293_3 (location_attendance VARCHAR, date VARCHAR)
Question: Where was the game on November 20?
Here is the SQLite query to answer to the question: Where was t... | Here is the SQLite query to answer the question: Where was the game on November 20?:
```
SELECT location_attendance FROM table_10812293_3 WHERE date = "November 20";
``` | 19,140 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10812293_3 (location_attendance VARCHAR, date VARCHAR)\n\n Question: Where was the game on November 20?\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_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)
Question: The canadian airdate of 11 february 2008 applied to what series number?
Here is the SQLite qu... | Here is the SQLite query to answer the question regarding the series number for the Canadian airdate of February 11, 2008:
```sql
SELECT no_in_series FROM table_10935205_1 WHERE canadian_airdate = "11 February 2008";
```
This query retrieves the `no_in_series` associated with the specified Canadian airdate. If you a... | 19,141 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10935205_1 (no_in_series VARCHAR, canadian_airdate VARCHAR)\n\n Question: The canadian airdate of 11 february 2008 applied t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10935205_1 (production_code INTEGER, us_airdate VARCHAR)
Question: The U.S. airdate of 4 april 2008 had a production code of what?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the U.S. airdate of 4 April 2008 and the corresponding production code:
```
SELECT production_code FROM table_10935205_1 WHERE us_airdate = "4 April 2008";
``` | 19,142 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10935205_1 (production_code INTEGER, us_airdate VARCHAR)\n\n Question: The U.S. airdate of 4 april 2008 had a production cod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)
Question: The U.S. airdate of 8 august 2008 also had canadian airdates of what?
Here is the SQLite query ... | Here is the SQLite query to answer the question about the Canadian airdates for the U.S. airdate of 8 August 2008:
```
SELECT canadian_airdate FROM table_10935205_1 WHERE us_airdate = "8 August 2008"
``` | 19,143 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10935205_1 (canadian_airdate VARCHAR, us_airdate VARCHAR)\n\n Question: The U.S. airdate of 8 august 2008 also had canadian ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10935205_1 (no_in_season VARCHAR, canadian_airdate VARCHAR)
Question: The canadian airdate of 17 march 2008 had how many numbers in the season?
Here is the SQLite ... | Your SQLite query looks good for counting the number of entries in the `no_in_season` column for the specified `canadian_airdate`. Below is the query wrapped in the code block as you requested:
```sql
SELECT COUNT(no_in_season) FROM table_10935205_1 WHERE canadian_airdate = "17 March 2008";
``` | 19,144 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10935205_1 (no_in_season VARCHAR, canadian_airdate VARCHAR)\n\n Question: The canadian airdate of 17 march 2008 had how many... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)
Question: For the episode(s) aired in the U.S. on 4 april 2008, what were the names?
Here is the SQLite query to ans... | Here is the SQLite query to answer your question:
```
SELECT title FROM table_10935205_1 WHERE us_airdate = '4 April 2008'
``` | 19,145 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10935205_1 (title VARCHAR, us_airdate VARCHAR)\n\n Question: For the episode(s) aired in the U.S. on 4 april 2008, what were... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10975034_2 (player VARCHAR, college VARCHAR)
Question: Which player from the 2004 CFL draft attended Wilfrid Laurier?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question regarding which player from the 2004 CFL draft attended Wilfrid Laurier:
```
SELECT player FROM table_10975034_2 WHERE college = "Wilfrid Laurier"
``` | 19,146 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10975034_2 (player VARCHAR, college VARCHAR)\n\n Question: Which player from the 2004 CFL draft attended Wilfrid Laurier?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10975034_2 (position VARCHAR, player VARCHAR)
Question: What position does Christian Leibl-Cote play?
Here is the SQLite query to answer to the question: What posi... | Here is the SQLite query to answer the question about what position Christian Leibl-Cote plays:
```
SELECT position FROM table_10975034_2 WHERE player = "Christian Leibl-Cote"
``` | 19,147 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10975034_2 (position VARCHAR, player VARCHAR)\n\n Question: What position does Christian Leibl-Cote play?\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_10975034_2 (pick__number INTEGER, college VARCHAR)
Question: What is the pick number for Northwestern college?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the pick number for Northwestern college:
```
SELECT pick__number FROM table_10975034_2 WHERE college = "Northwestern";
``` | 19,148 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10975034_2 (pick__number INTEGER, college VARCHAR)\n\n Question: What is the pick number for Northwestern college?\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_10992_3 (city_district__stadtteil_ VARCHAR, foreign_nationals VARCHAR)
Question: What is the number of the city district of stadtteil where foreigners are 5.162?
H... | Here is the SQLite query wrapped in the requested format:
```
SELECT COUNT(city_district__stadtteil_) FROM table_10992_3 WHERE foreign_nationals = "5.162"
``` | 19,149 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, foreign_nationals VARCHAR)\n\n Question: What is the number of the city district... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)
Question: What is the city where the number is 47?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about the city where the number is 47:
```
SELECT city_district__stadtteil_ FROM table_10992_3 WHERE no = "47";
``` | 19,150 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_10992_3 (city_district__stadtteil_ VARCHAR, no VARCHAR)\n\n Question: What is the city where the number is 47?\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_11044765_1 (league VARCHAR, mascot VARCHAR)
Question: Which leagues have Raiders as their mascot?
Here is the SQLite query to answer to the question: Which leagues... | Here is the SQLite query to answer the question regarding which leagues have Raiders as their mascot:
```sql
SELECT league FROM table_11044765_1 WHERE mascot = 'Raiders';
``` | 19,151 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11044765_1 (league VARCHAR, mascot VARCHAR)\n\n Question: Which leagues have Raiders as their mascot?\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_11044765_1 (league VARCHAR, school VARCHAR)
Question: Which leagues is the Galena school in?
Here is the SQLite query to answer to the question: Which leagues is t... | Here is the SQLite query to answer the question about which leagues the Galena school is in:
```
SELECT league FROM table_11044765_1 WHERE school = "Galena"
``` | 19,152 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11044765_1 (league VARCHAR, school VARCHAR)\n\n Question: Which leagues is the Galena school 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_11044765_1 (location VARCHAR, mascot VARCHAR)
Question: What city and state is the Lancers mascot located?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the city and state where the Lancers mascot is located:
```
SELECT location FROM table_11044765_1 WHERE mascot = "Lancers";
``` | 19,153 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR)\n\n Question: What city and state is the Lancers mascot located?\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_11044765_1 (location VARCHAR, mascot VARCHAR)
Question: What city and state are the miners located in?
Here is the SQLite query to answer to the question: What cit... | Here is the SQLite query to answer the question about the city and state where the miners are located:
```sql
SELECT location FROM table_11044765_1 WHERE mascot = 'Miners'
``` | 19,154 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11044765_1 (location VARCHAR, mascot VARCHAR)\n\n Question: What city and state are the miners located in?\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_11044765_1 (school VARCHAR, mascot VARCHAR)
Question: Which school has the Raiders as their mascot?
Here is the SQLite query to answer to the question: Which schoo... | Here is the SQLite query wrapped as you requested:
```
SELECT school FROM table_11044765_1 WHERE mascot = "Raiders";
``` | 19,155 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11044765_1 (school VARCHAR, mascot VARCHAR)\n\n Question: Which school has the Raiders as their mascot?\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_1121352_2 (tournament VARCHAR, date VARCHAR)
Question: Where was the tournament dated nov 3, 2002?
Here is the SQLite query to answer to the question: Where was th... | Here is the SQLite query to answer the question "Where was the tournament dated Nov 3, 2002?":
```
SELECT tournament FROM table_1121352_2 WHERE date = "Nov 3, 2002"
``` | 19,156 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1121352_2 (tournament VARCHAR, date VARCHAR)\n\n Question: Where was the tournament dated nov 3, 2002?\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_1121352_2 (margin_of_victory VARCHAR, date VARCHAR)
Question: Where is the margin of victory dated mar 28, 2004?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about the margin of victory dated March 28, 2004:
```
SELECT margin_of_victory FROM table_1121352_2 WHERE date = "Mar 28, 2004";
``` | 19,157 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1121352_2 (margin_of_victory VARCHAR, date VARCHAR)\n\n Question: Where is the margin of victory dated mar 28, 2004?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1121352_2 (to_par VARCHAR, date VARCHAR)
Question: What is the to par dated may 4, 2003?
Here is the SQLite query to answer to the question: What is the to par dat... | Here is the SQLite query to answer the question about the "to par" dated May 4, 2003:
```
SELECT to_par FROM table_1121352_2 WHERE date = "May 4, 2003";
``` | 19,158 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1121352_2 (to_par VARCHAR, date VARCHAR)\n\n Question: What is the to par dated may 4, 2003?\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_1121352_2 (date VARCHAR, runner_s__up VARCHAR)
Question: What date were the runner ups pat hurst juli inkster?
Here is the SQLite query to answer to the question: ... | The SQLite query you need to retrieve the date(s) for the runner-ups Pat Hurst and Juli Inkster should consider both names separately since they are distinct individuals. Here's a corrected version of the query that uses `OR` to check for both names:
```sql
SELECT date FROM table_1121352_2 WHERE runner_s__up = "Pat Hu... | 19,159 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1121352_2 (date VARCHAR, runner_s__up VARCHAR)\n\n Question: What date were the runner ups pat hurst juli inkster?\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_11210576_4 (final_episode VARCHAR, character VARCHAR)
Question: what's the total number of final epbeingode count with character being rick stetler
Here is the SQL... | Here is the SQLite query to answer the question about the total number of final episodes with the character being Rick Stetler:
```
SELECT COUNT(final_episode) AS Count FROM table_11210576_4 WHERE character = "Rick Stetler"
``` | 19,160 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11210576_4 (final_episode VARCHAR, character VARCHAR)\n\n Question: what's the total number of final epbeingode count with c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11210576_4 (character VARCHAR, fate VARCHAR)
Question: what's the character with fate being deceased: knife wound
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the character with the fate of being deceased due to a knife wound:
```sql
SELECT character FROM table_11210576_4 WHERE fate = 'Deceased: Knife Wound';
``` | 19,161 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11210576_4 (character VARCHAR, fate VARCHAR)\n\n Question: what's the character with fate being deceased: knife wound\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11210576_4 (actor VARCHAR, character VARCHAR)
Question: what's the actor with character being judge joseph ratner
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question of which actor plays the character Judge Joseph Ratner:
```
SELECT actor FROM table_11210576_4 WHERE character = "Judge Joseph Ratner";
``` | 19,162 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11210576_4 (actor VARCHAR, character VARCHAR)\n\n Question: what's the actor with character being judge joseph ratner\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_2 (semi_finalist__number2 VARCHAR, year VARCHAR)
Question: Which team was the second semi finalist in 2007?
Here is the SQLite query to answer to the ques... | To retrieve the second semi-finalist for the year 2007 from the specified table, you can modify your SQL query to properly index the results. Since you're looking for the second semi-finalist, you can use the `LIMIT` clause in combination with `OFFSET`.
Here is the corrected SQLite query:
```sql
SELECT semi_finalist_... | 19,163 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11214772_2 (semi_finalist__number2 VARCHAR, year VARCHAR)\n\n Question: Which team was the second semi finalist in 2007?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR)
Question: How many teams were listed as runner up in 2005 and there the first semi fina... | Here is the SQLite query to answer the question about how many teams were listed as runner up in 2005 with Western Carolina as the first semi finalist:
```
SELECT COUNT(runner_up)
FROM table_11214772_2
WHERE semi_finalist__number1 = 'Western Carolina' AND year = '2005';
``` | 19,164 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR, year VARCHAR)\n\n Question: How many teams were listed as run... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_2 (score VARCHAR, semi_finalist__number1 VARCHAR)
Question: List the scores of all games when Miami were listed as the first Semi finalist
Here is the SQL... | Here is the SQLite query to answer the question about listing the scores of all games when Miami was listed as the first Semi finalist:
```
SELECT score FROM table_11214772_2 WHERE semi_finalist__number1 = "Miami";
``` | 19,165 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11214772_2 (score VARCHAR, semi_finalist__number1 VARCHAR)\n\n Question: List the scores of all games when Miami were listed... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)
Question: When Embry-Riddle made it to the first semi finalist slot, list all the runners up.
Here i... | Here is the SQLite query to answer the question about listing all the runners up when Embry-Riddle made it to the first semi finalist slot:
```
SELECT runner_up FROM table_11214772_2 WHERE semi_finalist__number1 = "Embry-Riddle";
``` | 19,166 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11214772_2 (runner_up VARCHAR, semi_finalist__number1 VARCHAR)\n\n Question: When Embry-Riddle made it to the first semi fin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR)
Question: Where was the final game played in 2007
Here is the SQLite query to answer to the question: Where was the fin... | Here is the SQLite query to answer the question: Where was the final game played in 2007:
```
SELECT location FROM table_11214772_2 WHERE year = '2007';
``` | 19,167 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11214772_2 (location VARCHAR, year VARCHAR)\n\n Question: Where was the final game played in 2007\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_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
Question: Which round had Michael Schumacher in the pole position... | Here is the SQLite query based on the specified criteria:
```sql
SELECT round FROM table_1132600_3
WHERE pole_position = "Michael Schumacher"
AND fastest_lap = "David Coulthard"
AND winning_constructor = "McLaren - Mercedes";
```
This query retrieves the round(s) where Michael Schumacher was in the pole position,... | 19,168 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)\n\n Question: Which round... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR)
Question: How many drivers won the Italian Grand Prix?
Here is the SQLite query to answer to the question: H... | Your query is almost correct, but there seems to be a small issue with the string used for the `grand_prix` filter. It should match the exact name of the Grand Prix as defined in the schema. Assuming it’s actually called "Italian Grand Prix" (capitalized correctly), the query would be:
```sql
SELECT COUNT(DISTINCT win... | 19,169 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1132600_3 (winning_driver VARCHAR, grand_prix VARCHAR)\n\n Question: How many drivers won the Italian Grand Prix?\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_1132600_3 (report VARCHAR, grand_prix VARCHAR)
Question: What was the report of the Belgian Grand Prix?
Here is the SQLite query to answer to the question: What wa... | Here is the SQLite query to answer the question about the report of the Belgian Grand Prix:
```
SELECT report FROM table_1132600_3 WHERE grand_prix = "Belgian Grand Prix";
``` | 19,170 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1132600_3 (report VARCHAR, grand_prix VARCHAR)\n\n Question: What was the report of the Belgian Grand Prix?\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_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR)
Question: Who had the fastest lap in the Belgian Grand Prix?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about who had the fastest lap in the Belgian Grand Prix:
```
SELECT fastest_lap FROM table_1132600_3 WHERE grand_prix = "Belgian Grand Prix";
``` | 19,171 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1132600_3 (fastest_lap VARCHAR, grand_prix VARCHAR)\n\n Question: Who had the fastest lap in the Belgian Grand Prix?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, vacator VARCHAR)
Question: When was the date successor seated when the vacator was charles e. chamberlain (r)?
Here is th... | Here is the SQLite query to answer the question regarding when the date successor was seated for the vacator Charles E. Chamberlain (R):
```sql
SELECT date_successor_seated
FROM table_1134091_4
WHERE vacator = "Charles E. Chamberlain (R)";
``` | 19,172 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, vacator VARCHAR)\n\n Question: When was the date successor seated when the vacator... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)
Question: Who was the successor when the vacator was chester e. holifield (d)?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question "Who was the successor when the vacator was chester e. holifield (d)?":
```
SELECT successor FROM table_1134091_4 WHERE vacator = "Chester E. Holifield (D)"
``` | 19,173 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1134091_4 (successor VARCHAR, vacator VARCHAR)\n\n Question: Who was the successor when the vacator was chester e. holifield... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)
Question: When was the successor seated when the district was California 10th?
Here is the SQLite query... | Your SQLite query is correctly formulated to retrieve the date when the successor was seated for the specified district. Here's the query wrapped in the appropriate formatting:
```
SELECT date_successor_seated FROM table_1134091_4 WHERE district = "California 10th";
``` | 19,174 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1134091_4 (date_successor_seated VARCHAR, district VARCHAR)\n\n Question: When was the successor seated when the district wa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)
Question: Who was the vacator when the date successor seated was august 21, 1973?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding who the vacator was when the date successor was seated on August 21, 1973:
```
SELECT vacator FROM table_1134091_4 WHERE date_successor_seated = 'August 21, 1973';
``` | 19,175 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1134091_4 (vacator VARCHAR, date_successor_seated VARCHAR)\n\n Question: Who was the vacator when the date successor seated ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1134091_4 (district VARCHAR, reason_for_change VARCHAR)
Question: What was the district when the reason for change was died January 1, 1974?
Here is the SQLite que... | Here is the SQLite query to answer the question:
```
SELECT district FROM table_1134091_4 WHERE reason_for_change = "Died January 1, 1974";
``` | 19,176 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1134091_4 (district VARCHAR, reason_for_change VARCHAR)\n\n Question: What was the district when the reason for change was d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (route_name VARCHAR, remarks VARCHAR)
Question: Which routes have "replaced by US 81" listed in their remarks section?
Here is the SQLite query to answ... | The SQLite query to find routes that have "replaced by US 81" listed in their remarks section is as follows:
```
SELECT route_name FROM table_11336756_6 WHERE remarks LIKE "%replaced by US 81%"
```
This query uses the `LIKE` operator with wildcard characters `%` to match any remarks containing the phrase "replaced b... | 19,177 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (route_name VARCHAR, remarks VARCHAR)\n\n Question: Which routes have \"replaced by US 81\" listed in their rema... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
Question: Which junctions have "replaced by bsi-35" listed in their remarks section?
Here is the SQLite query to an... | Here is the corrected SQLite query to answer the question regarding junctions with the specific remark:
```
SELECT junctions FROM table_11336756_6 WHERE remarks LIKE '%replaced by bsi-35%'
```
This query uses the `LIKE` operator with wildcard characters to find any remarks that contain the phrase "replaced by bsi-35... | 19,178 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)\n\n Question: Which junctions have \"replaced by bsi-35\" listed in their re... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
Question: How many junctions have "replaced by bsi-35" listed in their remarks section?
Here is the SQLite query to... | The query you provided is almost correct, but it uses an exact string comparison for the remarks. If you want to count junctions with remarks containing "replaced by bsi-35", you might want to use the `LIKE` operator for a case-insensitive search. Here’s the corrected query:
```
SELECT COUNT(junctions) FROM table_1133... | 19,179 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)\n\n Question: How many junctions have \"replaced by bsi-35\" listed in their... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (length VARCHAR, remarks VARCHAR)
Question: What unit of length is being used for the route with "replaced by us 81" in their remarks section?
Here is t... | Here is the corrected SQLite query to answer the question regarding the unit of length used for the route with "replaced by us 81" in their remarks section:
```
SELECT length FROM table_11336756_6 WHERE remarks LIKE '%replaced by us 81%'
```
This query uses `LIKE` with wildcard `%` to ensure it captures any variatio... | 19,180 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (length VARCHAR, remarks VARCHAR)\n\n Question: What unit of length is being used for the route with \"replaced b... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (population_area VARCHAR, remarks VARCHAR)
Question: Which population areas have "replaced by us 83" listed in their remarks section?
Here is the SQLite... | Here is the corrected SQLite query to answer the question regarding which population areas have "replaced by us 83" listed in their remarks section:
```
SELECT population_area FROM table_11336756_6 WHERE remarks LIKE "%replaced by us 83%"
```
This query uses the `LIKE` operator with wildcards to find any remarks tha... | 19,181 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (population_area VARCHAR, remarks VARCHAR)\n\n Question: Which population areas have \"replaced by us 83\" listed... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11336756_6 (termini VARCHAR, route_name VARCHAR, direction VARCHAR, junctions VARCHAR)
Question: How many termini are there that have "east west" listed in their di... | Your SQLite query is mostly correct, but you should ensure that the string comparisons in the query match the exact case used in the schema. If the data in the columns may have different casing (for example, "East West" vs. "east west"), you may want to use a case-insensitive comparison to capture all variations.
Her... | 19,182 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11336756_6 (termini VARCHAR, route_name VARCHAR, direction VARCHAR, junctions VARCHAR)\n\n Question: How many termini are th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11449311_2 (kickoff_ VARCHAR, a_ VARCHAR, tv VARCHAR, opponent VARCHAR)
Question: Give me the kickoff time of the game that was aired on CBS against the St. Louis C... | The SQLite query you've provided has a slight mistake in the selection of the column. The column name for kickoff time is `kickoff_`, not `kickoff_[a_]`. Here’s the corrected query:
```sql
SELECT kickoff_ FROM table_11449311_2 WHERE tv = "CBS" AND opponent = "St. Louis Cardinals";
```
This query correctly retrieves ... | 19,183 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11449311_2 (kickoff_ VARCHAR, a_ VARCHAR, tv VARCHAR, opponent VARCHAR)\n\n Question: Give me the kickoff time of the game t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR)
Question: Find all the result(s) with the record of 2-13.
Here is the SQLite query to answer to the question: Find all ... | Your SQLite query is correctly structured to find all results with the record of "2-13". Here it is wrapped in the requested format:
```
SELECT result FROM table_11449311_2 WHERE record = "2-13";
``` | 19,184 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11449311_2 (result VARCHAR, record VARCHAR)\n\n Question: Find all the result(s) with the record of 2-13.\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_11542215_3 (vault VARCHAR, total VARCHAR)
Question: What is the vault score for the total of 56.635?
Here is the SQLite query to answer to the question: What is th... | Here is the SQLite query to find the vault score for the total of 56.635:
```
SELECT vault FROM table_11542215_3 WHERE total = "56.635"
``` | 19,185 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11542215_3 (vault VARCHAR, total VARCHAR)\n\n Question: What is the vault score for the total of 56.635?\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_11542215_3 (total VARCHAR, floor_exercise VARCHAR)
Question: What is the total score when the score for floor exercise was 9.287?
Here is the SQLite query to answe... | Your provided SQLite query is correct for retrieving the total score when the score for floor exercise is 9.287. Here it is wrapped in the specified code format:
```
SELECT total FROM table_11542215_3 WHERE floor_exercise = "9.287";
```
Just ensure that the data type for `floor_exercise` is being treated properly in... | 19,186 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11542215_3 (total VARCHAR, floor_exercise VARCHAR)\n\n Question: What is the total score when the score for floor exercise w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)
Question: what's the margin where runner(s)-up is phil mickelson
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the margin where the runner-up is Phil Mickelson:
```
SELECT margin FROM table_11570261_1 WHERE runner_s__up = "Phil Mickelson";
``` | 19,187 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11570261_1 (margin VARCHAR, runner_s__up VARCHAR)\n\n Question: what's the margin where runner(s)-up is phil mickelson\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11570261_1 (year INTEGER, winning_score VARCHAR)
Question: what is the minimum year where winning score is −8 (71-63-69-69=272)
Here is the SQLite query to answer ... | The SQLite query you provided has a syntax issue and incorrectly formats the condition for the winning score. The correct version of the query should compare `winning_score` directly with the string representation of the score `-8`.
Here's the corrected SQL query:
```sql
SELECT MIN(year) FROM table_11570261_1 WHERE ... | 19,188 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11570261_1 (year INTEGER, winning_score VARCHAR)\n\n Question: what is the minimum year where winning score is −8 (71-63-69-... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11570261_1 (championship VARCHAR, winning_score VARCHAR)
Question: what's the championship where winning score is −12 (74-66-65-71=276)
Here is the SQLite query t... | Your SQLite query has a small issue with how the condition for the `winning_score` is specified. You should check for the `winning_score` value directly instead of trying to express it with an equation in the condition. Here's the corrected version of the SQLite query that directly checks for a winning score of `-12`:
... | 19,189 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11570261_1 (championship VARCHAR, winning_score VARCHAR)\n\n Question: what's the championship where winning score is −12 (... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11570261_1 (winning_score VARCHAR)
Question: what's the 54 holes where winning score is −19 (67-66-67-69=269)
Here is the SQLite query to answer to the question: ... | The SQLite query you've provided has a few issues, particularly with the condition for the winning score, which needs to match the format in the database. If you want to find the 54 holes where the winning score is `−19`, you should simply check for that specific score in the `winning_score` column.
Here’s the correct... | 19,190 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11570261_1 (winning_score VARCHAR)\n\n Question: what's the 54 holes where winning score is −19 (67-66-67-69=269)\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_11589522_3 (title VARCHAR, original_air_date VARCHAR)
Question: what's the title where original air date is january18,2009
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the title where the original air date is January 18, 2009:
```
SELECT title FROM table_11589522_3 WHERE original_air_date = "January18,2009";
``` | 19,191 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11589522_3 (title VARCHAR, original_air_date VARCHAR)\n\n Question: what's the title where original air date is january18,2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11589522_3 (original_air_date VARCHAR, written_by VARCHAR)
Question: what's the original air date where written by is iain morris & damon beesley
Here is the SQLi... | Here is the SQLite query to answer the question regarding the original air date where written by Iain Morris & Damon Beesley:
```
SELECT original_air_date FROM table_11589522_3 WHERE written_by = "Iain Morris & Damon Beesley";
``` | 19,192 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11589522_3 (original_air_date VARCHAR, written_by VARCHAR)\n\n Question: what's the original air date where written by is i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1160161_12 (allied_forces VARCHAR, target VARCHAR)
Question: Which Allied Force targetted Woensdrecht?
Here is the SQLite query to answer to the question: Which Al... | Here is the SQLite query to answer the question about which Allied Force targeted Woensdrecht:
```
SELECT allied_forces FROM table_1160161_12 WHERE target = "Woensdrecht";
``` | 19,193 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1160161_12 (allied_forces VARCHAR, target VARCHAR)\n\n Question: Which Allied Force targetted Woensdrecht?\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_1160304_2 (date_of_entry VARCHAR, chart VARCHAR)
Question: What is the date of entry for the UK Albums Top 75 chart?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the date of entry for the UK Albums Top 75 chart:
```
SELECT date_of_entry FROM table_1160304_2 WHERE chart = "UK Albums Top 75"
``` | 19,194 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1160304_2 (date_of_entry VARCHAR, chart VARCHAR)\n\n Question: What is the date of entry for the UK Albums Top 75 chart?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1160304_2 (weeks_on_peak VARCHAR, chart VARCHAR)
Question: What was the total number of weeks on peak for the Ireland Albums Top 75 chart?
Here is the SQLite query... | Here is the SQLite query to find the total number of weeks on peak for the Ireland Albums Top 75 chart:
```
SELECT SUM(CAST(weeks_on_peak AS INTEGER)) FROM table_1160304_2 WHERE chart = "Ireland Albums Top 75"
```
This query assumes that `weeks_on_peak` contains numeric string values that can be cast to integers for... | 19,195 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1160304_2 (weeks_on_peak VARCHAR, chart VARCHAR)\n\n Question: What was the total number of weeks on peak for the Ireland Al... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)
Question: What is the exit date for the Dutch Albums Top 100 Chart?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the exit date for the Dutch Albums Top 100 Chart:
```
SELECT date_of_exit FROM table_1160304_2 WHERE chart = "Dutch Albums Top 100";
``` | 19,196 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1160304_2 (date_of_exit VARCHAR, chart VARCHAR)\n\n Question: What is the exit date for the Dutch Albums Top 100 Chart?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)
Question: what is the total number of constancy where purity is falling
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question: what is the total number of constancy where purity is falling:
```
SELECT COUNT(constancy) FROM table_11609814_1 WHERE purity = "falling";
``` | 19,197 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11609814_1 (constancy VARCHAR, purity VARCHAR)\n\n Question: what is the total number of constancy where purity is falling\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)
Question: what's the permanence of the body where purity is rudra
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the permanence of the body where purity is "rudra":
```
SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "rudra"
``` | 19,198 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)\n\n Question: what's the permanence of the body where purity is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)
Question: what's the permanence of the body where purity is apprehension
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding the permanence of the body where purity is "apprehension":
```
SELECT permanence_of_the_body FROM table_11609814_1 WHERE purity = "apprehension";
``` | 19,199 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_11609814_1 (permanence_of_the_body VARCHAR, purity VARCHAR)\n\n Question: what's the permanence of the body where purity is... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.