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_18963843_1 (_percentage_indian_american VARCHAR, asian_american_population__2010_ VARCHAR)
Question: Name the % indian american for asian population 126965
Here is... | The SQLite query you provided is almost correct, but there is a small issue with the comparison of the `asian_american_population__2010_` column, which is defined as a VARCHAR in the schema. When comparing text values in SQLite, it's important to use quotes around string literals.
Here’s the corrected version of your ... | 33,200 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18963843_1 (_percentage_indian_american VARCHAR, asian_american_population__2010_ VARCHAR)\n\n Question: Name the % indian a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)
Question: Name the % asian american for 23526
Here is the SQLite query t... | Here is the SQLite query to answer the question:
```
SELECT _percentage_asian_american FROM table_18963843_1 WHERE indian_american_population__2010_ = '23526'
``` | 33,201 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18963843_1 (_percentage_asian_american VARCHAR, indian_american_population__2010_ VARCHAR)\n\n Question: Name the % asian am... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)
Question: When buffalo narrows is the name how many measurements of population density per kilometer s... | Your SQLite query to count the number of measurements of population density for "Buffalo Narrows" is correct. Here it is wrapped in the appropriate code block:
```
SELECT COUNT(population_density__per_km²_) FROM table_189598_7 WHERE name = "Buffalo Narrows";
```
This query will return the count of population density... | 33,202 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (population_density__per_km²_ VARCHAR, name VARCHAR)\n\n Question: When buffalo narrows is the name how many measur... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)
Question: When 1233 is the population of 2011 what is the land area in kilometers squared?
Here is th... | Here is the corrected SQLite query to answer the question:
```sql
SELECT land_area__km²_ FROM table_189598_7 WHERE population__2011_ = '1233'
```
Note: The population is stored as a VARCHAR in the database, so it should be compared as a string. | 33,203 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (land_area__km²_ VARCHAR, population__2011_ VARCHAR)\n\n Question: When 1233 is the population of 2011 what is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)
Question: When 6.00 is the land area in kilometers squared what is the highest population of 2011?
He... | Your provided SQLite query is correct for retrieving the highest population from the table for the specified land area. Here it is wrapped in code formatting:
```sql
SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00"
``` | 33,204 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (population__2011_ INTEGER, land_area__km²_ VARCHAR)\n\n Question: When 6.00 is the land area in kilometers squared... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population__2011_ INTEGER, name VARCHAR)
Question: When beauval is the name what is the lowest population of 2011?
Here is the SQLite query to answer to ... | Your SQLite query is almost correct, but it appears that the name in the `WHERE` clause does not match the case sensitivity of “beauval.” If you want to ensure that the query is case-insensitive, you can use the `LOWER()` function. However, if you are certain about the casing, your original query will work fine as is.
... | 33,205 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (population__2011_ INTEGER, name VARCHAR)\n\n Question: When beauval is the name what is the lowest population of 2... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR)
Question: When 4.5 is the percentage of change how many population counts were made for 2011?
He... | Here is the SQLite query to answer the question regarding the number of population counts made for 2011 when the change percentage is 4.5:
```
SELECT COUNT(population__2011_) FROM table_189598_7 WHERE change___percentage_ = "4.5"
``` | 33,206 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (population__2011_ VARCHAR, change___percentage_ VARCHAR)\n\n Question: When 4.5 is the percentage of change how ma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR)
Question: When 14.85 kilometers squared is the land area what is the name?
Here is the SQLite query to answer to t... | Here's the SQLite query to find the name when the land area is 14.85 kilometers squared:
```sql
SELECT name FROM table_189598_7 WHERE land_area__km²_ = "14.85";
``` | 33,207 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189598_7 (name VARCHAR, land_area__km²_ VARCHAR)\n\n Question: When 14.85 kilometers squared is the land area what is the na... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)
Question: What is every state and District of Columbia with 60.0% overwe... | Here is the SQLite query formatted correctly to answer the question about every state and the District of Columbia with 60.0% overweight or obese adults:
```
SELECT state_and_district_of_columbia
FROM table_18958648_1
WHERE overweight__incl_obese__adults = "60.0%"
``` | 33,208 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)\n\n Question: What is every stat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)
Question: What are all percentages of overweight or obese adults for obesity rank of 21?
... | Here is the SQLite query to answer the question regarding the percentages of overweight or obese adults for obesity rank of 21:
```sql
SELECT overweight__incl_obese__adults
FROM table_18958648_1
WHERE obesity_rank = '21';
```
Note: Make sure to use single quotes around the value 21 if it is stored as a VARCHAR in ... | 33,209 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obesity_rank VARCHAR)\n\n Question: What are all percentages of overweig... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)
Question: What is the least obesity rank for the state of Utah?
Here is the SQLite query ... | Here is the SQLite query to answer the question about the least obesity rank for the state of Utah:
```
SELECT MIN(obesity_rank) FROM table_18958648_1 WHERE state_and_district_of_columbia = "Utah"
``` | 33,210 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18958648_1 (obesity_rank INTEGER, state_and_district_of_columbia VARCHAR)\n\n Question: What is the least obesity rank for t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)
Question: How many states or District of Columbia have 65.4% overweight ... | Here is the SQLite query wrapped in code format to answer the question:
```
SELECT COUNT(state_and_district_of_columbia)
FROM table_18958648_1
WHERE overweight__incl_obese__adults = "65.4%";
``` | 33,211 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18958648_1 (state_and_district_of_columbia VARCHAR, overweight__incl_obese__adults VARCHAR)\n\n Question: How many states or... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR)
Question: What is every percentage of overweight or obese adults when 12... | Here is the SQLite query to answer the question regarding every percentage of overweight or obese adults when 12.4% of children and adolescents are obese:
```
SELECT overweight__incl_obese__adults
FROM table_18958648_1
WHERE obese_children_and_adolescents = "12.4%"
``` | 33,212 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18958648_1 (overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR)\n\n Question: What is every perc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film Gomorra?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question: Who directed the film Gomorra?:
```
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Gomorra"
``` | 33,213 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Who directed the film Gomorra?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
Question: What language was spoken in Everlasting Moments?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the language spoken in "Everlasting Moments":
```
SELECT language_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Everlasting Moments"
``` | 33,214 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18994724_1 (language_s_ VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: What language was spoken in Everlastin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR)
Question: What is the original title of the film submitted by Greece?
Here is the SQLite query to a... | Your SQLite query looks correct for retrieving the original title of the film submitted by Greece. Here it is wrapped in the requested format:
```
SELECT original_title FROM table_18994724_1 WHERE submitting_country = "Greece";
``` | 33,215 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18994724_1 (original_title VARCHAR, submitting_country VARCHAR)\n\n Question: What is the original title of the film submitt... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Who directed the film Nuits d'arabie?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question "Who directed the film Nuits d'arabie?":
```
SELECT director_s_ FROM table_18994724_1 WHERE film_title_used_in_nomination = "Nuits d'arabie"
``` | 33,216 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18994724_1 (director_s_ VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Who directed the film Nuits d'arabie?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR)
Question: What is every value for population (2006) with a Romanian mother tongue?
Here is the SQLite q... | Here is the SQLite query to answer the question about every value for population (2006) with a Romanian mother tongue:
```
SELECT population__2006_ FROM table_189893_1 WHERE mother_tongue = "Romanian"
``` | 33,217 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189893_1 (population__2006_ VARCHAR, mother_tongue VARCHAR)\n\n Question: What is every value for population (2006) with a R... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189893_1 (population__2011_ INTEGER)
Question: What is the lowest population(2011)?
Here is the SQLite query to answer to the question: What is the lowest populati... | Your SQLite query to find the lowest population in 2011 is correct. Here is the wrapped code:
```
SELECT MIN(population__2011_) FROM table_189893_1;
``` | 33,218 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189893_1 (population__2011_ INTEGER)\n\n Question: What is the lowest population(2011)?\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_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)
Question: What is the lowest population(2006) when there is a 1.06% in 2011?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the lowest population in 2006 when there is a 1.06% in 2011:
```
SELECT MIN(population__2006_) FROM table_189893_1 WHERE percentage__2011_ = "1.06%"
``` | 33,219 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189893_1 (population__2006_ INTEGER, percentage__2011_ VARCHAR)\n\n Question: What is the lowest population(2006) when there... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR)
Question: How many values for population(2011) correspond to a 1.40% in 2006?
Here is the SQLite qu... | Your SQLite query to count the number of population values for the year 2011 that correspond to a 1.40% in 2006 is correctly formulated. Here it is wrapped properly:
```
SELECT COUNT(population__2011_) FROM table_189893_1 WHERE percentage__2006_ = "1.40%"
```
This query will give you the count of entries in the `pop... | 33,220 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189893_1 (population__2011_ VARCHAR, percentage__2006_ VARCHAR)\n\n Question: How many values for population(2011) correspon... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)
Question: What is every value for percentage(2006) with a Polish mother tongue?
Here is the SQLite quer... | Your SQLite query looks correct for the given question. Here it is wrapped in code formatting:
```
SELECT percentage__2006_ FROM table_189893_1 WHERE mother_tongue = "Polish";
``` | 33,221 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_189893_1 (percentage__2006_ VARCHAR, mother_tongue VARCHAR)\n\n Question: What is every value for percentage(2006) with a Po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)
Question: Which team/s have 48 goals total?
Here is the SQLite query to answer to the question: Which team/s have 48 goals... | The SQLite query you've provided looks for clubs that have exactly 48 goals. However, if you need to sum up goals from a group of records to find teams with a total of 48 goals, you should use the `GROUP BY` clause along with the `HAVING` clause to filter the results based on the total goals. Here’s how the query shoul... | 33,222 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18967450_2 (club VARCHAR, goals VARCHAR)\n\n Question: Which team/s have 48 goals total?\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_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)
Question: Who was the contestant eliminated on episode 8 of RW: Key West season?
Here is t... | Here is the SQLite query to answer the question about the contestant eliminated on episode 8 of RW: Key West season:
```sql
SELECT player FROM table_18974269_1 WHERE original_season = "RW: Key West" AND eliminated = "Episode 8";
``` | 33,223 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, eliminated VARCHAR)\n\n Question: Who was the contestant eliminated on ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)
Question: Who was the female contestant on the Original season of Fresh Meat?
Here is the SQLi... | Here is the SQLite query to answer the question about the female contestant on the Original season of Fresh Meat:
```
SELECT player FROM table_18974269_1 WHERE original_season = "Fresh Meat" AND gender = "Female";
``` | 33,224 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18974269_1 (player VARCHAR, original_season VARCHAR, gender VARCHAR)\n\n Question: Who was the female contestant on the Orig... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18974269_1 (gender VARCHAR, original_season VARCHAR)
Question: What was the gender of the contestant on RR: South Pacific season?
Here is the SQLite query to answe... | Here is the SQLite query to find the gender of the contestant on the RR: South Pacific season:
```
SELECT gender FROM table_18974269_1 WHERE original_season = "RR: South Pacific"
``` | 33,225 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18974269_1 (gender VARCHAR, original_season VARCHAR)\n\n Question: What was the gender of the contestant on RR: South Pacifi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR)
Question: What was the season where Evelyn Smith was on?
Here is the SQLite query to answer to the question: W... | Your SQLite query is correctly formulated to retrieve the season where Evelyn Smith was on. Here it is encapsulated in code formatting:
```
SELECT original_season FROM table_18974269_1 WHERE player = "Evelyn Smith";
``` | 33,226 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_18974269_1 (original_season VARCHAR, player VARCHAR)\n\n Question: What was the season where Evelyn Smith was on?\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_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
Question: How many original Australian performers are there when the Original... | Here is the SQLite query wrapped in the requested format:
```
SELECT COUNT(original_australian_performer) FROM table_1901751_1 WHERE original_west_end_performer = "Jordan Dunne"
``` | 33,227 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)\n\n Question: How many original Austr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)
Question: Who is the Original west end performer for the character Martha?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the Original west end performer for the character Martha:
```
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Martha";
``` | 33,228 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)\n\n Question: Who is the Original west end performer for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_broadway_performer VARCHAR, character VARCHAR)
Question: Who is the original broadway performer for the character Colin Craven?
Here is the SQL... | Here is the SQLite query to answer the question you asked:
```
SELECT original_broadway_performer FROM table_1901751_1 WHERE character = "Colin Craven";
``` | 33,229 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_broadway_performer VARCHAR, character VARCHAR)\n\n Question: Who is the original broadway performer for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)
Question: Who is the original west end performer for the character Neville Craven?
Here is the S... | Here is the SQLite query to answer the question about the original west end performer for the character Neville Craven:
```
SELECT original_west_end_performer FROM table_1901751_1 WHERE character = "Neville Craven";
``` | 33,230 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_west_end_performer VARCHAR, character VARCHAR)\n\n Question: Who is the original west end performer for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR)
Question: Who is the 2005 World AIDS Day Benefit "Dream" Cast when the Original Australian performer is Susan-Ann ... | Here's your SQLite query formatted correctly:
```sql
SELECT 2005 AS _world_aids_day_benefit_dream_cast
FROM table_1901751_1
WHERE original_australian_performer = "Susan-Ann Walker";
``` | 33,231 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR)\n\n Question: Who is the 2005 World AIDS Day Benefit \"Dream\" Cast when t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)
Question: Who is the Original Australian performer when the Original West End... | Here is the SQLite query to answer the question about the Original Australian performer when the Original West End Performer is Linzi Hateley:
```
SELECT original_australian_performer FROM table_1901751_1 WHERE original_west_end_performer = "Linzi Hateley"
``` | 33,232 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1901751_1 (original_australian_performer VARCHAR, original_west_end_performer VARCHAR)\n\n Question: Who is the Original Aus... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001175_1 (wins INTEGER)
Question: Name the minimum wins
Here is the SQLite query to answer to the question: Name the minimum wins:
```
SELECT MIN(wins) FROM tabl... | Here is the SQLite query to find the minimum wins from the specified table:
```
SELECT MIN(wins) FROM table_19001175_1;
``` | 33,233 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001175_1 (wins INTEGER)\n\n Question: Name the minimum wins\n\nHere is the SQLite query to answer to the question: Name th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001175_1 (country VARCHAR, name VARCHAR)
Question: Name the country for hideki noda category:articles with hcards
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the country for "Hideki Noda Category:Articles with hCards":
```sql
SELECT country FROM table_19001175_1 WHERE name = "Hideki Noda Category:Articles with hCards";
``` | 33,234 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001175_1 (country VARCHAR, name VARCHAR)\n\n Question: Name the country for hideki noda category:articles with hcards\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001175_1 (poles VARCHAR, name VARCHAR)
Question: Name the number of poles for stefano livio category:articles with hcards
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question about the number of poles for "Stefano Livio Category:Articles with hCards":
```
SELECT COUNT(poles) FROM table_19001175_1 WHERE name = "Stefano Livio Category:Articles with hCards";
``` | 33,235 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001175_1 (poles VARCHAR, name VARCHAR)\n\n Question: Name the number of poles for stefano livio category:articles with hca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)
Question: Name the points for thierry tassin category:articles with hcards
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the points for "Thierry Tassin Category:Articles with hCards":
```
SELECT points FROM table_19001175_1 WHERE name = 'Thierry Tassin Category:Articles with hCards';
``` | 33,236 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001175_1 (points VARCHAR, name VARCHAR)\n\n Question: Name the points for thierry tassin category:articles with hcards\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001175_1 (wins VARCHAR, name VARCHAR)
Question: Name the number of wins for michele rugolo category:articles with hcards
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the number of wins for Michele Rugolo in the category "articles with hcards":
```
SELECT COUNT(wins) FROM table_19001175_1 WHERE name = "Michele Rugolo Category:Articles with hCards";
``` | 33,237 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001175_1 (wins VARCHAR, name VARCHAR)\n\n Question: Name the number of wins for michele rugolo category:articles with hcar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR)
Question: Name the lg for ermengol
Here is the SQLite query to answer to the question: Name the lg for ermengol:
```
SELEC... | Here is the SQLite query to answer the question: Name the lg for ermengol:
```
SELECT l_g FROM table_19018191_5 WHERE player = "ermengol"
``` | 33,238 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19018191_5 (l_g VARCHAR, player VARCHAR)\n\n Question: Name the lg for ermengol\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_19018191_5 (nat VARCHAR, total_apps VARCHAR)
Question: Name the nat for total apps for 27
Here is the SQLite query to answer to the question: Name the nat for tota... | Here is the correct SQLite query to answer the question:
```
SELECT nat FROM table_19018191_5 WHERE total_apps = '27'
```
(Note: The value '27' should be enclosed in quotes because the `total_apps` column is of type VARCHAR.) | 33,239 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19018191_5 (nat VARCHAR, total_apps VARCHAR)\n\n Question: Name the nat for total apps for 27\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_19018191_5 (l_apps VARCHAR, total_g VARCHAR)
Question: Name the number of apps for total g is 8
Here is the SQLite query to answer to the question: Name the number... | Your SQLite query is almost correct, but since the `total_g` column is defined as a `VARCHAR`, you need to ensure you compare it to a string, like `'8'`. Here is the corrected query wrapped in code format:
```
SELECT COUNT(l_apps) FROM table_19018191_5 WHERE total_g = '8'
``` | 33,240 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19018191_5 (l_apps VARCHAR, total_g VARCHAR)\n\n Question: Name the number of apps for total g is 8\n\nHere is the SQLite qu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19018191_5 (player VARCHAR, l_apps VARCHAR)
Question: Name the player for l apps is 27
Here is the SQLite query to answer to the question: Name the player for l ap... | Here is the SQLite query to answer the question:
```
SELECT player FROM table_19018191_5 WHERE l_apps = '27'
```
(Note: Since `l_apps` is defined as VARCHAR, the value should be enclosed in quotes.) | 33,241 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19018191_5 (player VARCHAR, l_apps VARCHAR)\n\n Question: Name the player for l apps is 27\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_19001916_2 (country VARCHAR, entities VARCHAR)
Question: What are all the countries where the electric company Ebisa has a presence?
Here is the SQLite query to an... | Here is the SQLite query to find all the countries where the electric company Ebisa has a presence:
```
SELECT country FROM table_19001916_2 WHERE entities = "Ebisa";
``` | 33,242 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001916_2 (country VARCHAR, entities VARCHAR)\n\n Question: What are all the countries where the electric company Ebisa has... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001916_2 (country VARCHAR, supply_point VARCHAR)
Question: In how many countries is Itaipu a supply point for electricity?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question of how many countries have Itaipu as a supply point for electricity:
```
SELECT COUNT(DISTINCT country) FROM table_19001916_2 WHERE supply_point = "Itaipu";
``` | 33,243 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001916_2 (country VARCHAR, supply_point VARCHAR)\n\n Question: In how many countries is Itaipu a supply point for electric... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19001916_2 (entities VARCHAR, supply_point VARCHAR)
Question: What are the electric companies drawing power from Itaipu?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about electric companies drawing power from Itaipu:
```
SELECT entities FROM table_19001916_2 WHERE supply_point = "Itaipu"
``` | 33,244 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19001916_2 (entities VARCHAR, supply_point VARCHAR)\n\n Question: What are the electric companies drawing power from Itaipu?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (asia VARCHAR, latin_america_caribbean VARCHAR)
Question: what will the population of Asia be when Latin America/Caribbean is 783 (7.5%)?
Here is the SQ... | The SQLite query you provided is close to answering the question, but it might not pull the correct data based on the format and values in the schema. Assuming the `latin_america_caribbean` column contains the string format of population numbers with percentages, your query structure is correct in intending to filter f... | 33,245 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (asia VARCHAR, latin_america_caribbean VARCHAR)\n\n Question: what will the population of Asia be when Latin Amer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)
Question: what will be the population of Europe when Northern America is 482 (4.7%)?
Here is the SQLite quer... | The SQLite query you provided aims to select the population of Europe from the table based on a specific condition for Northern America. However, the way the `northern_america` value is specified (i.e., including the percentage) is not a standard numeric condition. Assuming you want to retrieve the population of Europe... | 33,246 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (europe VARCHAR, northern_america VARCHAR)\n\n Question: what will be the population of Europe when Northern Ame... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (latin_america_caribbean VARCHAR, asia VARCHAR)
Question: what row is the population of Latin America/Caribbean when Asia is 4,894 (46.1%)?
Here is the... | The provided query needs to be corrected. You want to retrieve the population of Latin America/Caribbean for the specified Asia value, not count the rows. Here’s the corrected SQL query:
```sql
SELECT latin_america_caribbean FROM table_19017269_5 WHERE asia = "4,894 (46.1%)";
```
This query will return the value of t... | 33,247 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (latin_america_caribbean VARCHAR, asia VARCHAR)\n\n Question: what row is the population of Latin America/Caribb... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (africa VARCHAR, oceania VARCHAR)
Question: what will be the population of Africa when Oceania is 67 (0.6%)
Here is the SQLite query to answer to the qu... | The query you have provided seems intended to select the population of Africa given a specific value for Oceania. However, if you want to determine the population of Africa when Oceania has a population of 67 (which is represented as "67 (0.6%)"), the query you wrote is mostly correct but does not account for the actua... | 33,248 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (africa VARCHAR, oceania VARCHAR)\n\n Question: what will be the population of Africa when Oceania is 67 (0.6%)\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)
Question: What is population in the world when 788 (8.1%)?
Here is the SQLite query to answer to the qu... | Based on your provided schema and question, here is the SQLite query to answer the question "What is population in the world when 788 (8.1%)?":
```sql
SELECT world FROM table_19017269_5 WHERE latin_america_caribbean = "788 (8.1%)"
``` | 33,249 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (world INTEGER, latin_america_caribbean VARCHAR)\n\n Question: What is population in the world when 788 (8.1%)?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19017269_5 (world INTEGER)
Question: what is the worlds smallest population?
Here is the SQLite query to answer to the question: what is the worlds smallest popula... | Here is the SQLite query to answer the question about the world's smallest population:
```
SELECT MIN(world) FROM table_19017269_5;
``` | 33,250 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19017269_5 (world INTEGER)\n\n Question: what is the worlds smallest population?\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_19047_2 (year INTEGER)
Question: What is the first year in the competition?
Here is the SQLite query to answer to the question: What is the first year in the compe... | Here's the SQLite query to answer the question about the first year in the competition:
```
SELECT MIN(year) FROM table_19047_2
``` | 33,251 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19047_2 (year INTEGER)\n\n Question: What is the first year in the competition?\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_19047_2 (outcome VARCHAR, opponent_in_the_final VARCHAR)
Question: What is the result in the final versos Jennifer Capriati?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the result in the final versus Jennifer Capriati:
```
SELECT outcome FROM table_19047_2 WHERE opponent_in_the_final = "Jennifer Capriati"
``` | 33,252 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19047_2 (outcome VARCHAR, opponent_in_the_final VARCHAR)\n\n Question: What is the result in the final versos Jennifer Capri... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)
Question: What tournament did she win with a final score of 4–6, 7–5, 6–2?
Here is the SQLite query to a... | Here is the SQLite query to find out what tournament she won with a final score of 4–6, 7–5, 6–2:
```
SELECT championship FROM table_19047_2 WHERE score_in_the_final = "4–6, 7–5, 6–2"
``` | 33,253 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19047_2 (championship VARCHAR, score_in_the_final VARCHAR)\n\n Question: What tournament did she win with a final score of 4... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)
Question: When joj agpangan* is the name how many duration's are there?
Here is the SQLite query to answer to the quest... | It seems you are looking for an SQLite query that counts the number of durations associated with the name "Joj Agpangan*". However, the query provided uses the name "Joj Agpangan*" directly, which may not return results if the name in the database is different (case-sensitive or with different characters).
If you're ... | 33,254 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)\n\n Question: When joj agpangan* is the name how many duration's are there?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)
Question: When davao city is the home or representative town or province... | Here is the SQLite query to answer your question:
```
SELECT COUNT(age) FROM table_19061741_3 WHERE edition = "Clash 2010" AND home_or_representative_town_or_province = "Davao City"
``` | 33,255 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (age VARCHAR, edition VARCHAR, home_or_representative_town_or_province VARCHAR)\n\n Question: When davao city is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)
Question: When winner is the status and 77 is the total days in pbb house what is the... | Here is the SQLite query to answer the question:
```
SELECT edition FROM table_19061741_3 WHERE total_days_in_pbb_house = '77' AND status = 'winner';
``` | 33,256 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (edition VARCHAR, total_days_in_pbb_house VARCHAR, status VARCHAR)\n\n Question: When winner is the status and 7... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR)
Question: When days 1-86 is the duration how many names are there?
Here is the SQLite query to answer to the question: ... | Your SQLite query looks good. Here it is wrapped in the requested format:
```
SELECT COUNT(name) FROM table_19061741_3 WHERE duration = "Days 1-86";
``` | 33,257 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (name VARCHAR, duration VARCHAR)\n\n Question: When days 1-86 is the duration how many names are there?\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_19061741_3 (duration VARCHAR, name VARCHAR)
Question: WHen joaqui mendoza is the name how long is the duration?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the duration when the name is "Joaqui Mendoza":
```
SELECT duration FROM table_19061741_3 WHERE name = "Joaqui Mendoza";
``` | 33,258 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (duration VARCHAR, name VARCHAR)\n\n Question: WHen joaqui mendoza is the name how long is the duration?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19061741_3 (name VARCHAR, home_or_representative_town_or_province VARCHAR)
Question: When guiguinto, bulacan is the home or representative town or province how man... | Here is the SQLite query to answer the question regarding the count of names when "Guiguinto, Bulacan" is the home or representative town or province:
```
SELECT COUNT(name) FROM table_19061741_3 WHERE home_or_representative_town_or_province = "Guiguinto, Bulacan";
``` | 33,259 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19061741_3 (name VARCHAR, home_or_representative_town_or_province VARCHAR)\n\n Question: When guiguinto, bulacan is the hom... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR)
Question: When 3t7458 is the production code who are the writers?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the writers when the production code is "3T7458":
```
SELECT written_by FROM table_19068566_1 WHERE production_code = "3T7458"
``` | 33,260 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19068566_1 (written_by VARCHAR, production_code VARCHAR)\n\n Question: When 3t7458 is the production code who are the writer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)
Question: When there are 3.39 million u.s viewers what is the production code?
Here is the SQLi... | Here's the SQLite query wrapped in code formatting to find the production code when there are 3.39 million U.S. viewers:
```sql
SELECT production_code FROM table_19068566_1 WHERE us_viewers__million_ = "3.39"
``` | 33,261 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19068566_1 (production_code VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: When there are 3.39 million u.s viewers wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code VARCHAR)
Question: When 3t7461 is the production code who is the director?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question "When 3t7461 is the production code who is the director?":
```sql
SELECT directed_by FROM table_19068566_1 WHERE production_code = "3t7461"
``` | 33,262 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19068566_1 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: When 3t7461 is the production code who is the direct... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_1 (score VARCHAR, match_no VARCHAR)
Question: What was the score at the end of the match number 4?
Here is the SQLite query to answer to the question: Wha... | The SQLite query to find the score at the end of match number 4 is as follows:
```
SELECT score FROM table_19072602_1 WHERE match_no = '4';
``` | 33,263 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_1 (score VARCHAR, match_no VARCHAR)\n\n Question: What was the score at the end of the match number 4?\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_19072602_1 (match_no INTEGER, team_usa VARCHAR)
Question: What's the match number where Bill Hoffman plays for Team USA?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the match number where Bill Hoffman plays for Team USA:
```
SELECT match_no FROM table_19072602_1 WHERE team_usa = "Bill Hoffman";
``` | 33,264 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_1 (match_no INTEGER, team_usa VARCHAR)\n\n Question: What's the match number where Bill Hoffman plays for Team USA?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
Question: How many different scores did Team Europe get when Mika Koivuniemi played for them?
Here is the SQLite qu... | The query you've provided is mostly correct, but it doesn't accurately filter the scores for the team associated with Mika Koivuniemi. The `team_europe` field should be checked against the name of the team, not against the player's name. Here's the corrected version of the SQLite query to count the distinct scores for ... | 33,265 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)\n\n Question: How many different scores did Team Europe get when Mika Koivun... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)
Question: What was the score when Tore Torgersen played for Team Europe?
Here is the SQLite query to answer to the ... | It looks like there is a misunderstanding in the query. The column `team_europe` should contain the team name, not the player's name. To correctly write a query to find the score associated with "Tore Torgersen," we would need to include a proper reference to the player's participation in some way. If you were intendin... | 33,266 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_1 (score VARCHAR, team_europe VARCHAR)\n\n Question: What was the score when Tore Torgersen played for Team Europe?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1906515_1 (launch_date VARCHAR, duration__days_ VARCHAR)
Question: Name the launch date for duration days 174.14
Here is the SQLite query to answer to the question... | Here's the SQLite query to answer the question about naming the launch date for duration days 174.14:
```
SELECT launch_date FROM table_1906515_1 WHERE duration__days_ = "174.14"
``` | 33,267 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1906515_1 (launch_date VARCHAR, duration__days_ VARCHAR)\n\n Question: Name the launch date for duration days 174.14\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1906920_1 (host VARCHAR)
Question: What is the total number of 3rd placed teams when the host is University of Manitoba, Winnipeg, Manitoba?
Here is the SQLite que... | The provided query contains a syntax error and doesn't properly count the number of 3rd placed teams. To correctly count the entries in the specified table where the host matches "University of Manitoba, Winnipeg, Manitoba," we need to clarify the criteria for being a "3rd placed team." Since the schema only provides t... | 33,268 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1906920_1 (host VARCHAR)\n\n Question: What is the total number of 3rd placed teams when the host is University of Manitoba,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_3 (progressive_total VARCHAR, team_usa VARCHAR)
Question: When tim mack is on team usa what is the progressive total?
Here is the SQLite query to answer t... | Your SQLite query is correct for retrieving the progressive total when "Tim Mack" is listed as part of "team usa". Here’s the formatted code block:
```sql
SELECT progressive_total FROM table_19072602_3 WHERE team_usa = "Tim Mack";
``` | 33,269 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_3 (progressive_total VARCHAR, team_usa VARCHAR)\n\n Question: When tim mack is on team usa what is the progressive ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR)
Question: When 14 is the match number how many usa teams are there?
Here is the SQLite query to answer to the quest... | Here's the SQLite query wrapped in code formatting:
```
SELECT COUNT(team_usa) FROM table_19072602_3 WHERE match_no = '14';
```
Note: The `match_no` value '14' is treated as a string since the schema defines `match_no` as `VARCHAR`. | 33,270 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_3 (team_usa VARCHAR, match_no VARCHAR)\n\n Question: When 14 is the match number how many usa teams are there?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)
Question: When chris barnes is on team usa how many europe teams are there?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT COUNT(team_europe) FROM table_19072602_3 WHERE team_usa = "Chris Barnes";
``` | 33,271 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19072602_3 (team_europe VARCHAR, team_usa VARCHAR)\n\n Question: When chris barnes is on team usa how many europe teams are ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1908049_1 (league VARCHAR, year VARCHAR)
Question: in the year 1998/99 what was the league
Here is the SQLite query to answer to the question: in the year 1998/99 ... | Here is the SQLite query to answer the question: in the year 1998/99 what was the league:
```
SELECT league FROM table_1908049_1 WHERE year = "1998/99";
``` | 33,272 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908049_1 (league VARCHAR, year VARCHAR)\n\n Question: in the year 1998/99 what was the league\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_1908049_1 (reg_season VARCHAR, year VARCHAR)
Question: in the year 1995/96 what was the reg. season
Here is the SQLite query to answer to the question: in the year... | Your SQL query looks correct for retrieving the regular season for the year 1995/96. Here it is wrapped as per your request:
```
SELECT reg_season FROM table_1908049_1 WHERE year = "1995/96";
``` | 33,273 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908049_1 (reg_season VARCHAR, year VARCHAR)\n\n Question: in the year 1995/96 what was the reg. season\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_1908049_1 (league VARCHAR, playoffs VARCHAR)
Question: in what playoffs the league was in the semifinals
Here is the SQLite query to answer to the question: in wha... | Here is the SQLite query to answer the question about in what playoffs the league was in the semifinals:
```
SELECT playoffs FROM table_1908049_1 WHERE league = "Semifinals";
```
Please note that the original query provided in your question seems to be slightly incorrect because it is selecting the `league` instead ... | 33,274 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908049_1 (league VARCHAR, playoffs VARCHAR)\n\n Question: in what playoffs the league was in the semifinals\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_1908049_1 (year VARCHAR, playoffs VARCHAR)
Question: what was the year where in the playoffs was champions
Here is the SQLite query to answer to the question: what... | Here is the SQLite query to answer the question regarding the year where "playoffs" was "Champions":
```
SELECT year FROM table_1908049_1 WHERE playoffs = "Champions";
``` | 33,275 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908049_1 (year VARCHAR, playoffs VARCHAR)\n\n Question: what was the year where in the playoffs was champions\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_1908049_1 (playoffs VARCHAR, avg_attendance VARCHAR)
Question: what where the playoffs where the avg attendance of the team was 3416
Here is the SQLite query to an... | The SQLite query you provided is almost correct, but you should compare `avg_attendance` as a string because it is defined as `VARCHAR` in the schema. Here’s the corrected version of the query:
```
SELECT playoffs FROM table_1908049_1 WHERE avg_attendance = '3416'
``` | 33,276 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908049_1 (playoffs VARCHAR, avg_attendance VARCHAR)\n\n Question: what where the playoffs where the avg attendance of the t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR)
Question: when did the club Citizen achieve its last top division title?
Here is the SQLite query to answ... | Your query is almost correct; however, to get the specific date when the club "Citizen" achieved its last top division title, you might want to specify that you are looking for the most recent record if there are multiple entries. If you're looking for the date associated with the `last_top_division_title`, we would al... | 33,277 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908877_2 (last_top_division_title VARCHAR, club VARCHAR)\n\n Question: when did the club Citizen achieve its last top divis... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1908877_2 (top_division_titles VARCHAR, position_in_2012_13 VARCHAR)
Question: How many clubs achieved the 5th position in 2012-13?
Here is the SQLite query to ans... | Your provided query is correct for counting the number of clubs that achieved the 5th position in the 2012-13 season given the specified schema. Here is the query wrapped in code formatting for clarity:
```sql
SELECT COUNT(top_division_titles) FROM table_1908877_2 WHERE position_in_2012_13 = "5th";
``` | 33,278 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1908877_2 (top_division_titles VARCHAR, position_in_2012_13 VARCHAR)\n\n Question: How many clubs achieved the 5th position ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)
Question: When interplanet janet is the episode title who is the music by?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question:
```sql
SELECT music_by FROM table_191105_3 WHERE episode_title = "Interplanet Janet";
``` | 33,279 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_3 (music_by VARCHAR, episode_title VARCHAR)\n\n Question: When interplanet janet is the episode title who is the musi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR)
Question: WHen jaime aff and christine langner are the performers what is the subject?
Here is the SQLite query to... | It looks like you want to find the subject when both "Jaime Aff" and "Christine Langner" are the performers, but the query you provided doesn't achieve that. If the performers are recorded in separate rows, you would need a query that checks for each performer. Here’s how you can do that:
```sql
SELECT subject
FROM t... | 33,280 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_3 (subject VARCHAR, performed_by VARCHAR)\n\n Question: WHen jaime aff and christine langner are the performers what ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_3 (first_aired VARCHAR, subject VARCHAR)
Question: If skeletal system is the subject when was it first aired?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about when the subject "Skeletal system" was first aired:
```
SELECT first_aired FROM table_191105_3 WHERE subject = "Skeletal system";
``` | 33,281 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_3 (first_aired VARCHAR, subject VARCHAR)\n\n Question: If skeletal system is the subject when was it first aired?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR)
Question: When zachary sanders is the performer what is the lowerst first aired?
Here is the SQLite query to a... | Here is the SQLite query to answer the question about the lowest "first aired" date when Zachary Sanders is the performer:
```
SELECT MIN(first_aired) FROM table_191105_3 WHERE performed_by = "Zachary Sanders"
``` | 33,282 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_3 (first_aired INTEGER, performed_by VARCHAR)\n\n Question: When zachary sanders is the performer what is the lowerst... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1909647_2 (winnings VARCHAR, wins VARCHAR)
Question: What's the amount of winnings (in $) in the year with 2 wins?
Here is the SQLite query to answer to the questi... | Your SQLite query contains a minor error regarding the type of the `wins` column. Since `wins` is defined as `VARCHAR`, you should compare it to a string representation of the value you are looking for. Here's the corrected query:
```sql
SELECT winnings FROM table_1909647_2 WHERE wins = '2'
``` | 33,283 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1909647_2 (winnings VARCHAR, wins VARCHAR)\n\n Question: What's the amount of winnings (in $) in the year with 2 wins?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR)
Question: What's the number of starts in the year with 19.3 average finish?
Here is the SQLite query to answer to th... | The query you wrote retrieves the minimum number of starts for records with an average finish of "19.3". However, if you're looking for the total number of starts in the year with an average finish of 19.3, you should be using the `SUM()` function instead of `MIN()`. Here’s the correct query:
```
SELECT SUM(starts) FR... | 33,284 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1909647_2 (starts INTEGER, avg_finish VARCHAR)\n\n Question: What's the number of starts in the year with 19.3 average finis... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR)
Question: In what year did the #14 FitzBradshaw Racing compete?
Here is the SQLite query to answer to the question: In wh... | Here is the SQLite query to answer the question about the year in which the #14 FitzBradshaw Racing competed:
```
SELECT year FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing";
``` | 33,285 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1909647_2 (year VARCHAR, team_s_ VARCHAR)\n\n Question: In what year did the #14 FitzBradshaw Racing compete?\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_1909647_2 (avg_finish VARCHAR, year VARCHAR)
Question: What's the average finish in 2008?
Here is the SQLite query to answer to the question: What's the average fi... | Here's the SQLite query to answer the question about the average finish in 2008, formatted as you requested:
```
SELECT avg_finish FROM table_1909647_2 WHERE year = '2008'
```
Note that the year is treated as a string in the query since it is defined as VARCHAR in the schema. | 33,286 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1909647_2 (avg_finish VARCHAR, year VARCHAR)\n\n Question: What's the average finish in 2008?\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_1909647_2 (top_5 INTEGER, team_s_ VARCHAR)
Question: What's #14 FitzBradshaw Racing's top 5 result?
Here is the SQLite query to answer to the question: What's #14 ... | Here is the SQLite query to answer the question about the top 5 result for #14 FitzBradshaw Racing:
```
SELECT MAX(top_5) FROM table_1909647_2 WHERE team_s_ = "#14 FitzBradshaw Racing";
``` | 33,287 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1909647_2 (top_5 INTEGER, team_s_ VARCHAR)\n\n Question: What's #14 FitzBradshaw Racing's top 5 result?\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_191105_4 (first_aired VARCHAR, performed_by VARCHAR)
Question: What is the date for the episode performed by Sue Manchester?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the date for the episode performed by Sue Manchester:
```
SELECT first_aired FROM table_191105_4 WHERE performed_by = "Sue Manchester"
``` | 33,288 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_4 (first_aired VARCHAR, performed_by VARCHAR)\n\n Question: What is the date for the episode performed by Sue Manches... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_191105_4 (music_by VARCHAR, episode_title VARCHAR)
Question: Who is the music by for episode the Elbow Room?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question "Who is the music by for episode the Elbow Room?":
```
SELECT music_by FROM table_191105_4 WHERE episode_title = "Elbow Room";
``` | 33,289 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_4 (music_by VARCHAR, episode_title VARCHAR)\n\n Question: Who is the music by for episode the Elbow Room?\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_191105_4 (episode_title VARCHAR, performed_by VARCHAR)
Question: What is the name of the episode performed by Essra Mohawk
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the name of the episode performed by Essra Mohawk:
```
SELECT episode_title FROM table_191105_4 WHERE performed_by = "Essra Mohawk"
``` | 33,290 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_191105_4 (episode_title VARCHAR, performed_by VARCHAR)\n\n Question: What is the name of the episode performed by Essra Moha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)
Question: When five is the new channel what is the date of original removal?
Here is the ... | Here is the SQLite query to answer the question regarding the date of original removal when "Five" is the new channel:
```
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE new_channel_s_ = "Five"
``` | 33,291 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, new_channel_s_ VARCHAR)\n\n Question: When five is the new channel what is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR)
Question: When bbc two is the original channel what is the date of original removal?
He... | Here is the SQLite query to answer the question about the date of original removal when BBC Two is the original channel:
```
SELECT date_s__of_original_removal FROM table_19114172_11 WHERE original_channel = "BBC Two"
``` | 33,292 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19114172_11 (date_s__of_original_removal VARCHAR, original_channel VARCHAR)\n\n Question: When bbc two is the original chann... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR)
Question: When bbc two is the new channel what is the date of return?
Here is the SQLite query to answ... | ```sql
SELECT date_of_return FROM table_19114172_11 WHERE new_channel_s_ = "BBC Two"
``` | 33,293 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19114172_11 (date_of_return VARCHAR, new_channel_s_ VARCHAR)\n\n Question: When bbc two is the new channel what is the date ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: What's team #2 in the round where team $1 is Ilisiakos?
Here is the SQLite query to answer to t... | Here is the SQLite query that answers the question regarding which team #2 is associated with the team #1 "Ilisiakos":
```
SELECT team__number2 FROM table_19130829_4 WHERE team__number1 = "Ilisiakos"
``` | 33,294 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR)\n\n Question: What's team #2 in the round where team $1 is Ilisiak... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR)
Question: What's the team #2 in the round where team #1 is Iraklis?
Here is the SQLite query to answer to... | ```sql
SELECT team__number2 FROM table_19130829_4 WHERE team__number1 = "Iraklis";
``` | 33,295 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19130829_4 (team__number2 VARCHAR, team__number1 VARCHAR)\n\n Question: What's the team #2 in the round where team #1 is Ira... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)
Question: What's the 1st leg result in the round where team #1 is Iraklis?
Here is the SQLite query to answer to the question: W... | It looks like you want to retrieve the 1st leg result for a specific round where the team is Iraklis. However, your query is not fetching results related to a round or 1st leg. Based on the provided schema, we need more information to correctly formulate the query regarding round results.
Given the table structure yo... | 33,296 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)\n\n Question: What's the 1st leg result in the round where team #1 is Iraklis?\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_19130829_4 (team__number2 VARCHAR)
Question: What's the 2nd leg result in the round where Panionios is team #2?
Here is the SQLite query to answer to the question:... | The provided query is trying to determine the 2nd leg result for a specific team (Panionios) but does not seem to be appropriately structured to retrieve the actual results or the corresponding round. Since the provided schema only contains the team number and not the rounds or leg results, it does not provide sufficie... | 33,297 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19130829_4 (team__number2 VARCHAR)\n\n Question: What's the 2nd leg result in the round where Panionios is team #2?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)
Question: What's the 2nd leg result in the round where team #1 is Iraklis?
Here is the SQLite query to answer to the question: W... | The SQLite query you've provided appears to be a bit off in terms of retrieving the actual "2nd leg result" since it is only selecting a value of `2` as `nd_leg` when `team__number1` is "Iraklis", rather than querying for any specific results or data associated with "Iraklis".
To provide a query that is more aligned w... | 33,298 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19130829_4 (team__number1 VARCHAR)\n\n Question: What's the 2nd leg result in the round where team #1 is Iraklis?\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_19131921_1 (dma INTEGER, format VARCHAR)
Question: What is the dma when the format is rhythmic contemporary?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question:
```
SELECT dma FROM table_19131921_1 WHERE format = "Rhythmic Contemporary";
``` | 33,299 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_19131921_1 (dma INTEGER, format VARCHAR)\n\n Question: What is the dma when the format is rhythmic contemporary?\n\nHere is ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.