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_23612439_2 (opponent VARCHAR, date VARCHAR)
Question: Which opponents are on the date July 22?
Here is the SQLite query to answer to the question: Which opponents ... | Here is the SQLite query to answer the question about which opponents are on the date July 22:
```
SELECT opponent FROM table_23612439_2 WHERE date = "July 22";
``` | 36,400 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)\n\n Question: Which opponents are on the date July 22?\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_23612439_2 (opponent VARCHAR, date VARCHAR)
Question: Which opponents are on the date September 5?
Here is the SQLite query to answer to the question: Which oppone... | Here's the SQLite query to answer the question regarding which opponents are on the date September 5:
```sql
SELECT opponent FROM table_23612439_2 WHERE date = "September 5";
``` | 36,401 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (opponent VARCHAR, date VARCHAR)\n\n Question: Which opponents are on the date September 5?\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_23612439_2 (final_score VARCHAR, date VARCHAR)
Question: What is the final score when July 16 is the date?
Here is the SQLite query to answer to the question: What... | Here's the SQLite query to retrieve the final score for the date July 16:
```
SELECT final_score FROM table_23612439_2 WHERE date = "July 16";
``` | 36,402 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (final_score VARCHAR, date VARCHAR)\n\n Question: What is the final score when July 16 is the date?\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_23612439_2 (date VARCHAR, location VARCHAR)
Question: On which date is Taylor Field the location?
Here is the SQLite query to answer to the question: On which date... | Here is the SQLite query to find the date when Taylor Field is the location:
```
SELECT date FROM table_23612439_2 WHERE location = "Taylor Field"
``` | 36,403 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (date VARCHAR, location VARCHAR)\n\n Question: On which date is Taylor Field the location?\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_2361788_1 (regular_season VARCHAR, year VARCHAR)
Question: Name the number of regular season for 2007
Here is the SQLite query to answer to the question: Name the ... | Here is the SQLite query to answer the question about the number of regular seasons for 2007:
```
SELECT COUNT(regular_season) FROM table_2361788_1 WHERE year = '2007'
``` | 36,404 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2361788_1 (regular_season VARCHAR, year VARCHAR)\n\n Question: Name the number of regular season for 2007\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_2361788_1 (year INTEGER, playoffs VARCHAR)
Question: Name the most year for conference finals
Here is the SQLite query to answer to the question: Name the most yea... | Your SQLite query is correct for retrieving the most recent year for conference finals based on the provided schema. Here's the code wrapped in triple backticks:
```
SELECT MAX(year) FROM table_2361788_1 WHERE playoffs = 'Conference Finals';
```
Note that I changed the double quotes to single quotes for the string i... | 36,405 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2361788_1 (year INTEGER, playoffs VARCHAR)\n\n Question: Name the most year for conference finals\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_2361911_2 (regular_season VARCHAR, playoffs VARCHAR)
Question: Name the regular season for final playoffs
Here is the SQLite query to answer to the question: Name ... | Here is the SQLite query to answer the question: Name the regular season for final playoffs:
```
SELECT regular_season FROM table_2361911_2 WHERE playoffs = 'Final';
``` | 36,406 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2361911_2 (regular_season VARCHAR, playoffs VARCHAR)\n\n Question: Name the regular season for final playoffs\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_2361911_2 (division INTEGER)
Question: Name the least division
Here is the SQLite query to answer to the question: Name the least division:
```
SELECT MIN(division... | Here is the SQLite query to answer the question "Name the least division":
```
SELECT MIN(division) FROM table_2361911_2;
``` | 36,407 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2361911_2 (division INTEGER)\n\n Question: Name the least division\n\nHere is the SQLite query to answer to the question: Na... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)
Question: Name the regular season for usisl d-3 pro league did not qualify
Here is the SQLite ... | Here is the SQLite query to answer the question about the regular season for the USISL D-3 Pro league that did not qualify:
```
SELECT regular_season FROM table_2361911_2 WHERE league = "USISL D-3 Pro league" AND playoffs = "Did not qualify"
``` | 36,408 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2361911_2 (regular_season VARCHAR, league VARCHAR, playoffs VARCHAR)\n\n Question: Name the regular season for usisl d-3 pro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619005_3 (position VARCHAR, cfl_team VARCHAR)
Question: What was the position of the player from Saskatchewan Roughriders?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the position of the player from Saskatchewan Roughriders:
```
SELECT position FROM table_23619005_3 WHERE cfl_team = "Saskatchewan Roughriders";
``` | 36,409 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619005_3 (position VARCHAR, cfl_team VARCHAR)\n\n Question: What was the position of the player from Saskatchewan Roughrid... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619005_3 (cfl_team VARCHAR, position VARCHAR)
Question: What CFL team was the player playing on SB position drafted for?
Here is the SQLite query to answer to th... | Your SQLite query looks good for retrieving the CFL team associated with the player playing at the "SB" position. Here it is wrapped correctly:
```
SELECT cfl_team FROM table_23619005_3 WHERE position = 'SB';
```
Note that I've used single quotes for the string "SB", which is conventional in SQL. Both single and dou... | 36,410 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619005_3 (cfl_team VARCHAR, position VARCHAR)\n\n Question: What CFL team was the player playing on SB position drafted fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)
Question: What was Michael Shaver's position?
Here is the SQLite query to answer to the question: What was Michael Sh... | Here is the SQLite query to answer the question: What was Michael Shaver's position?:
```
SELECT position FROM table_23619005_3 WHERE player = "Michael Shaver";
``` | 36,411 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)\n\n Question: What was Michael Shaver's position?\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_23619005_3 (player VARCHAR, cfl_team VARCHAR)
Question: How many different players got drafted for the Ottawa Renegades?
Here is the SQLite query to answer to the ... | Your query is almost correct, but to ensure that it counts only distinct players, you should use `COUNT(DISTINCT player)`. Here's the revised query:
```
SELECT COUNT(DISTINCT player) FROM table_23619005_3 WHERE cfl_team = "Ottawa Renegades"
``` | 36,412 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619005_3 (player VARCHAR, cfl_team VARCHAR)\n\n Question: How many different players got drafted for the Ottawa Renegades?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)
Question: What's Doug Borden's position?
Here is the SQLite query to answer to the question: What's Doug Borden's pos... | Here is the SQLite query to answer the question: What's Doug Borden's position?:
```
SELECT position FROM table_23619005_3 WHERE player = "Doug Borden"
``` | 36,413 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619005_3 (position VARCHAR, player VARCHAR)\n\n Question: What's Doug Borden's position?\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_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR)
Question: What's the percentage of all immigrants in 2007 in the... | Here is the SQLite query wrapped in the requested format:
```
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2008 = "1.7%"
``` | 36,414 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2008 VARCHAR)\n\n Question: What's the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR)
Question: How many different percentages of immigrants in 2006 can there be for Morocco?
H... | To answer the question of how many different percentages of immigrants in 2006 can there be for Morocco, you should use the `COUNT` function along with `DISTINCT` to ensure that you're counting only the unique percentages. Here’s the corrected SQLite query:
```
SELECT COUNT(DISTINCT _percentage_of_all_immigrants_2006)... | 36,415 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2006 VARCHAR, country VARCHAR)\n\n Question: How many different percentages of imm... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
Question: What's the percentage of immigrants in 2004 in the cou... | Here is the SQLite query to answer the specified question:
```
SELECT _percentage_of_all_immigrants_2004
FROM table_23619212_1
WHERE _percentage_of_all_immigrants_2006 = "2.1%"
``` | 36,416 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2004 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)\n\n Question: What's the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)
Question: What's the percentage of the immigrants in 2007 in the... | Here is the SQLite query to answer the question regarding the percentage of immigrants in 2007 for the country with 14.1% of the immigrants in 2006:
```
SELECT _percentage_of_all_immigrants_2007 FROM table_23619212_1 WHERE _percentage_of_all_immigrants_2006 = "14.1%"
``` | 36,417 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2006 VARCHAR)\n\n Question: What's the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR)
Question: How many different percentages of immigrants are there... | Here is the SQLite query to answer the question regarding the different percentages of immigrants for the year 2007 in countries where the percentage of immigrants in 2005 is 1.2%:
```
SELECT COUNT(DISTINCT _percentage_of_all_immigrants_2007)
FROM table_23619212_1
WHERE _percentage_of_all_immigrants_2005 = "1.2%"
``... | 36,418 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619212_1 (_percentage_of_all_immigrants_2007 VARCHAR, _percentage_of_all_immigrants_2005 VARCHAR)\n\n Question: How many d... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2362486_1 (outcome VARCHAR, score_in_the_final VARCHAR)
Question: What was the outcome in the championship where the final score was 6–7(1), 2–6, 6–4, 7–5, 6–7(2)?
... | Here is the SQLite query to answer the question about the outcome in the championship with the specified final score:
```
SELECT outcome FROM table_2362486_1 WHERE score_in_the_final = "6–7(1), 2–6, 6–4, 7–5, 6–7(2)"
``` | 36,419 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2362486_1 (outcome VARCHAR, score_in_the_final VARCHAR)\n\n Question: What was the outcome in the championship where the fin... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2362486_1 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)
Question: Who were the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3)?
Her... | Here is the SQLite query to answer the question about the opponents in the final where the score was 6–4, 2–6, 6–4, 7–6(3):
```
SELECT opponents_in_the_final FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)"
``` | 36,420 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2362486_1 (opponents_in_the_final VARCHAR, score_in_the_final VARCHAR)\n\n Question: Who were the opponents in the final whe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)
Question: Which championship had a final score of 6–4, 2–6, 6–4, 7–6(3)?
Here is the SQLite query to a... | Here is the SQLite query to answer the question regarding which championship had a final score of 6–4, 2–6, 6–4, 7–6(3):
```
SELECT championship FROM table_2362486_1 WHERE score_in_the_final = "6–4, 2–6, 6–4, 7–6(3)"
``` | 36,421 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2362486_1 (championship VARCHAR, score_in_the_final VARCHAR)\n\n Question: Which championship had a final score of 6–4, 2–6,... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2362606_1 (score_in_final VARCHAR, year VARCHAR)
Question: What was the score in the final in 1988?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to answer the question about the score in the final in 1988:
```
SELECT score_in_final FROM table_2362606_1 WHERE year = '1988'
``` | 36,422 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2362606_1 (score_in_final VARCHAR, year VARCHAR)\n\n Question: What was the score in the final in 1988?\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_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)
Question: Name the london great britain for championship record
Here is the SQLite query... | Here is the SQLite query to answer the question: Name the london great britain for championship record:
```
SELECT london_, _great_britain FROM table_23619492_3 WHERE world_record = 'Championship record';
``` | 36,423 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619492_3 (london_ VARCHAR, _great_britain VARCHAR, world_record VARCHAR)\n\n Question: Name the london great britain for c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR)
Question: Name the total number of african record
Here is the SQLite query to answer to the ques... | Here's the SQLite query to count the total number of African records:
```sql
SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record";
``` | 36,424 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23619492_3 (paula_radcliffe___gbr__ VARCHAR, world_record VARCHAR)\n\n Question: Name the total number of african record\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)
Question: Who are thebmix artists when tears for fears is artist 1 and eric prydz is artist 2?
... | Here is the SQLite query to answer the question regarding the mix artists when "Tears for Fears" is artist 1 and "Eric Prydz" is artist 2:
```
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Tears for Fears" AND artist_2 = "Eric Prydz"
``` | 36,425 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)\n\n Question: Who are thebmix artists when tears for fea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)
Question: Which level has marvin gaye as artist 1 and david bowie as artist 2?
Here is the SQLite qu... | Certainly! Here is the SQLite query wrapped in code formatting as you requested:
```
SELECT level FROM table_23649244_1 WHERE artist_1 = "Marvin Gaye" AND artist_2 = "David Bowie";
``` | 36,426 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR, artist_2 VARCHAR)\n\n Question: Which level has marvin gaye as artist 1 and dav... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)
Question: Which level has grandmaster flash as artist 1?
Here is the SQLite query to answer to the question: Which lev... | Here is the SQLite query to answer the question regarding which level has Grandmaster Flash as artist 1:
```
SELECT level FROM table_23649244_1 WHERE artist_1 = "Grandmaster Flash";
``` | 36,427 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)\n\n Question: Which level has grandmaster flash as artist 1?\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_23649244_1 (level VARCHAR, artist_1 VARCHAR)
Question: Which level has wale as artist 1?
Here is the SQLite query to answer to the question: Which level has wale a... | Your SQLite query to find the level where "Wale" is the artist 1 is correct. Here it is wrapped as you requested:
```
SELECT level FROM table_23649244_1 WHERE artist_1 = "Wale";
``` | 36,428 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23649244_1 (level VARCHAR, artist_1 VARCHAR)\n\n Question: Which level has wale as artist 1?\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_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR)
Question: Which mix artists have shlomo as artist 1?
Here is the SQLite query to answer to the question: Which mi... | Your query looks good for retrieving the mix artists where the artist 1 is "Shlomo". Just make sure that the string casing matches exactly if the database is case-sensitive. Here is your query wrapped in code blocks:
```
SELECT mix_artist FROM table_23649244_1 WHERE artist_1 = "Shlomo";
``` | 36,429 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23649244_1 (mix_artist VARCHAR, artist_1 VARCHAR)\n\n Question: Which mix artists have shlomo as artist 1?\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_23647668_2 (season VARCHAR, champion VARCHAR)
Question: How many season had Melgar as a champion?
Here is the SQLite query to answer to the question: How many seas... | Here is the SQLite query to answer the question about how many seasons had Melgar as a champion:
```
SELECT COUNT(season) FROM table_23647668_2 WHERE champion = "Melgar";
``` | 36,430 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23647668_2 (season VARCHAR, champion VARCHAR)\n\n Question: How many season had Melgar as a champion?\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_23647668_2 (third_place VARCHAR, season VARCHAR)
Question: Who was in third place in the 1980 season?
Here is the SQLite query to answer to the question: Who was i... | Here is the SQLite query to answer the question about who was in third place in the 1980 season:
```
SELECT third_place FROM table_23647668_2 WHERE season = '1980';
``` | 36,431 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23647668_2 (third_place VARCHAR, season VARCHAR)\n\n Question: Who was in third place in the 1980 season?\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_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)
Question: Name the open cup for usl pdl for did not qualify
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question:
```
SELECT open_cup FROM table_2365150_1 WHERE league = "USL PDL" AND playoffs = "Did not qualify";
``` | 36,432 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2365150_1 (open_cup VARCHAR, league VARCHAR, playoffs VARCHAR)\n\n Question: Name the open cup for usl pdl for did not quali... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR)
Question: Name the total number of open cup for 1996
Here is the SQLite query to answer to the question: Name the total ... | Here is the SQLite query to answer the question about the total number of open cups for the year 1996:
```
SELECT COUNT(open_cup) FROM table_2365150_1 WHERE year = '1996'
```
Note: The year is treated as a string in your schema, so it should be enclosed in quotes. | 36,433 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2365150_1 (open_cup VARCHAR, year VARCHAR)\n\n Question: Name the total number of open cup for 1996\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_2365150_1 (open_cup VARCHAR, playoffs VARCHAR)
Question: Name the open cup for division finals
Here is the SQLite query to answer to the question: Name the open cu... | Here is the SQLite query wrapped in code formatting:
```
SELECT open_cup FROM table_2365150_1 WHERE playoffs = "division Finals";
``` | 36,434 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2365150_1 (open_cup VARCHAR, playoffs VARCHAR)\n\n Question: Name the open cup for division finals\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_23670057_1 (position VARCHAR, height__m_ VARCHAR)
Question: Name the position for 2.16
Here is the SQLite query to answer to the question: Name the position for 2.... | Here is the SQLite query you provided, wrapped as requested:
```
SELECT position FROM table_23670057_1 WHERE height__m_ = "2.16"
``` | 36,435 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_1 (position VARCHAR, height__m_ VARCHAR)\n\n Question: Name the position for 2.16\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_23670057_1 (no VARCHAR, height__m_ VARCHAR)
Question: Name the number for 1.96 height
Here is the SQLite query to answer to the question: Name the number for 1.96 ... | Here is the SQLite query to answer the question of naming the number for a height of 1.96:
```sql
SELECT no FROM table_23670057_1 WHERE height__m_ = "1.96";
``` | 36,436 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_1 (no VARCHAR, height__m_ VARCHAR)\n\n Question: Name the number for 1.96 height\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_1 (height__m_ VARCHAR, no VARCHAR)
Question: Name the height for number 7
Here is the SQLite query to answer to the question: Name the height for number 7... | Here is the SQLite query to answer the question: Name the height for number 7:
```
SELECT height__m_ FROM table_23670057_1 WHERE no = '7'
``` | 36,437 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_1 (height__m_ VARCHAR, no VARCHAR)\n\n Question: Name the height for number 7\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR)
Question: name the player for number 5
Here is the SQLite query to answer to the question: name the player for number 5:
``... | Here is the SQLite query to answer the question of naming the player for number 5:
```
SELECT player FROM table_23670057_1 WHERE no = '5'
``` | 36,438 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_1 (player VARCHAR, no VARCHAR)\n\n Question: name the player for number 5\n\nHere is the SQLite query to answer to ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_4 (height__f_ VARCHAR, position VARCHAR)
Question: For all players playing at the center, list the height in feet.
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question regarding players playing at the center and their heights in feet:
```sql
SELECT height__f_ FROM table_23670057_4 WHERE position = "Center"
``` | 36,439 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_4 (height__f_ VARCHAR, position VARCHAR)\n\n Question: For all players playing at the center, list the height in f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)
Question: Display the serial numbers for the players who play at the center.
Here is the SQLite query to answer to the qu... | Your SQLite query to display the serial numbers for the players who play at the center is correct. Here it is wrapped in code format:
```
SELECT no FROM table_23670057_4 WHERE position = "Center";
``` | 36,440 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_4 (no VARCHAR, position VARCHAR)\n\n Question: Display the serial numbers for the players who play at the center.\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_4 (year_born INTEGER, player VARCHAR)
Question: What is the date of birth for basket baller called ido kozikaro
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the date of birth for basketball player Ido Kozikaro:
```sql
SELECT MAX(year_born) AS date_of_birth FROM table_23670057_4 WHERE player = "Ido Kozikaro";
``` | 36,441 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_4 (year_born INTEGER, player VARCHAR)\n\n Question: What is the date of birth for basket baller called ido kozikaro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)
Question: How tall is the basket ball player lior eliyahu in meters?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the height of the basketball player Lior Eliyahu in meters:
```
SELECT height__m_ FROM table_23670057_4 WHERE player = "Lior Eliyahu"
``` | 36,442 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_4 (height__m_ VARCHAR, player VARCHAR)\n\n Question: How tall is the basket ball player lior eliyahu in meters?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
Question: What was the average score for the couple that had 4 dances?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question regarding the average score for the couple that had 4 dances:
```
SELECT average FROM table_23662356_3 WHERE number_of_dances = '4'
```
Note: The value for `number_of_dances` is enclosed in quotes because it is defined as a `VARCHAR` in the schema. | 36,443 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)\n\n Question: What was the average score for the couple that had 4 da... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)
Question: How many averages were listed for the couple who had 12 dances?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about how many averages were listed for the couple who had 12 dances:
```
SELECT COUNT(average) FROM table_23662356_3 WHERE number_of_dances = '12'
```
Note that the value '12' is treated as a string since the column `number_of_dances` is defined as `VARCHAR`. | 36,444 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23662356_3 (average VARCHAR, number_of_dances VARCHAR)\n\n Question: How many averages were listed for the couple who had 12... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR)
Question: How many total points were earned from the couple that averaged 29.0 points?
Here is the SQLite... | Your provided SQLite query is mostly correct, but if you want to find the total points earned for the couple that averaged exactly 29.0 points, you should use `SUM` instead of `MAX`, as you want to aggregate all points earned for that average. Here’s the corrected query:
```
SELECT SUM(total_points_earned) FROM table_... | 36,445 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23662356_3 (total_points_earned INTEGER, average VARCHAR)\n\n Question: How many total points were earned from the couple th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
Question: What album was the song It's going so badly on?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to find the album that the song "It's Going So Badly" is on:
```
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "It's Going So Badly";
``` | 36,446 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)\n\n Question: What album was the song It's going so badly on?\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_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)
Question: What album was the song My Chariot on?
Here is the SQLite query to answer to the question: What albu... | Here is the SQLite query to answer the question: What album was the song My Chariot on?:
```
SELECT album_s_ FROM table_23667534_1 WHERE song_s__title = "My Chariot"
``` | 36,447 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, song_s__title VARCHAR)\n\n Question: What album was the song My Chariot on?\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_23667534_1 (singer_s_ VARCHAR, song_s__title VARCHAR)
Question: Who sand He's Bigfoot?
Here is the SQLite query to answer to the question: Who sand He's Bigfoot?:
... | Here is the SQLite query to answer the question "Who sang He's Bigfoot?":
```
SELECT singer_s_ FROM table_23667534_1 WHERE song_s__title = "He's Bigfoot"
``` | 36,448 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23667534_1 (singer_s_ VARCHAR, song_s__title VARCHAR)\n\n Question: Who sand He's Bigfoot?\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_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR)
Question: What album was the song Shimmy Jimmy from the episode titled Toy to the world ... | Here is the SQLite query to answer your question:
```
SELECT album_s_ FROM table_23667534_1 WHERE episode_title = "Toy to the World" AND song_s__title = "Shimmy Jimmy"
``` | 36,449 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23667534_1 (album_s_ VARCHAR, episode_title VARCHAR, song_s__title VARCHAR)\n\n Question: What album was the song Shimmy Jim... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_5 (player VARCHAR, height__m_ VARCHAR)
Question: which players have a height of 2.07m?
Here is the SQLite query to answer to the question: which players ... | Here is the SQLite query to answer the question about which players have a height of 2.07m:
```
SELECT player FROM table_23670057_5 WHERE height__m_ = "2.07";
``` | 36,450 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_5 (player VARCHAR, height__m_ VARCHAR)\n\n Question: which players have a height of 2.07m? \n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)
Question: Which clubs have players with height 2.14m?
Here is the SQLite query to answer to the question: Whi... | Here is the SQLite query to answer the question of which clubs have players with a height of 2.14m:
```
SELECT current_club FROM table_23670057_5 WHERE height__m_ = '2.14';
``` | 36,451 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_5 (current_club VARCHAR, height__m_ VARCHAR)\n\n Question: Which clubs have players with height 2.14m?\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_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR)
Question: Which players were born in 1983 and play as forward position?
Here is the SQLite query t... | Here is the SQLite query to answer the question about which players were born in 1983 and play as forward position:
```
SELECT player FROM table_23670057_5 WHERE year_born = '1983' AND position = 'Forward';
``` | 36,452 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_5 (player VARCHAR, year_born VARCHAR, position VARCHAR)\n\n Question: Which players were born in 1983 and play as f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
Question: What is every current club for the player Artūrs Štālbergs?
Here is the SQLite query to answer to the q... | Your SQLite query to find every current club for the player Artūrs Štālbergs is correct. Here it is wrapped in code formatting:
```
SELECT current_club FROM table_23670057_7 WHERE player = "Artūrs Štālbergs";
``` | 36,453 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)\n\n Question: What is every current club for the player Artūrs Štālbergs?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_7 (player VARCHAR, height__m_ VARCHAR)
Question: How many players have a height of 2.07?
Here is the SQLite query to answer to the question: How many play... | Here is the SQLite query to answer the question of how many players have a height of 2.07:
```
SELECT COUNT(player) FROM table_23670057_7 WHERE height__m_ = "2.07";
``` | 36,454 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (player VARCHAR, height__m_ VARCHAR)\n\n Question: How many players have a height of 2.07?\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_23670057_7 (year_born INTEGER, current_club VARCHAR)
Question: What is the latest year born when the current club is Barons LMT?
Here is the SQLite query to answer... | Your SQLite query to find the latest year born when the current club is "Barons LMT" is correct. Here it is wrapped in the requested format:
```
SELECT MAX(year_born) FROM table_23670057_7 WHERE current_club = "Barons LMT";
``` | 36,455 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (year_born INTEGER, current_club VARCHAR)\n\n Question: What is the latest year born when the current club is Bar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)
Question: How many current clubs have the player Aigars Vitols?
Here is the SQLite query to answer to the questio... | Here's the SQLite query to answer the question of how many current clubs the player Aigars Vitols has:
```
SELECT COUNT(DISTINCT current_club) FROM table_23670057_7 WHERE player = "Aigars Vitols";
``` | 36,456 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (current_club VARCHAR, player VARCHAR)\n\n Question: How many current clubs have the player Aigars Vitols?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)
Question: What is every year born for height of 1.88?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the years born for a height of 1.88:
```
SELECT year_born FROM table_23670057_7 WHERE height__m_ = "1.88"
``` | 36,457 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (year_born VARCHAR, height__m_ VARCHAR)\n\n Question: What is every year born for height of 1.88?\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_23670057_7 (no VARCHAR, player VARCHAR)
Question: What is every number when the player is Aigars Vitols?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about every number when the player is Aigars Vitols:
```
SELECT no FROM table_23670057_7 WHERE player = "Aigars Vitols"
``` | 36,458 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23670057_7 (no VARCHAR, player VARCHAR)\n\n Question: What is every number when the player is Aigars Vitols?\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_2367847_2 (high_schools INTEGER, district_wide VARCHAR)
Question: Name the most high schools for 31851
Here is the SQLite query to answer to the question: Name the... | Here is the corrected SQLite query to answer the question about the most high schools for district 31851:
```
SELECT high_schools FROM table_2367847_2 WHERE district_wide = '31851' ORDER BY high_schools DESC LIMIT 1;
```
This query selects the number of high schools associated with the district `31851` and sorts the ... | 36,459 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2367847_2 (high_schools INTEGER, district_wide VARCHAR)\n\n Question: Name the most high schools for 31851\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_2367847_2 (district_wide INTEGER, other_programs_ VARCHAR, _adjustments VARCHAR)
Question: Name the most district wide for 1639 other programs
Here is the SQLite q... | The provided SQLite query has a mistake in the condition part of the `WHERE` clause. It is trying to use a bitwise AND operator (`&`) instead of checking for equality. Instead, it should be checking whether the `other_programs_` value is equal to `1639`.
The corrected query should look like this:
```sql
SELECT MAX(d... | 36,460 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2367847_2 (district_wide INTEGER, other_programs_ VARCHAR, _adjustments VARCHAR)\n\n Question: Name the most district wide f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR)
Question: Name the total number of elementary schools for 31851
Here is the SQLite query to answer to... | Here's the corrected SQLite query to count the total number of elementary schools for the district identified by 31851:
```
SELECT COUNT(elementary_schools) FROM table_2367847_2 WHERE district_wide = '31851';
```
Note that I'm treating `31851` as a string by enclosing it in quotes, assuming the `district_wide` colum... | 36,461 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2367847_2 (elementary_schools VARCHAR, district_wide VARCHAR)\n\n Question: Name the total number of elementary schools for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR)
Question: Name the most middle schools for 2005-2006
Here is the SQLite query to answer to the question: Name the ... | Your query is almost correct, but it seems you may want to retrieve not just the maximum number of middle schools, but also the specific record that contains that maximum number for the year 2005-2006. Here’s how you can do that using a subquery:
```sql
SELECT middle_schools
FROM table_2367847_2
WHERE year = '2005-2... | 36,462 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2367847_2 (middle_schools INTEGER, year VARCHAR)\n\n Question: Name the most middle schools for 2005-2006\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)
Question: If the polling average in July 2009 was 7.2%, what was it in May 2009?
Here is the SQLite query to answer... | Here is the SQLite query to answer the question regarding the polling average in May 2009 based on the provided July 2009 average:
```sql
SELECT may_2009 FROM table_23680576_2 WHERE jul_2009 = "7.2%"
``` | 36,463 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_2 (may_2009 VARCHAR, jul_2009 VARCHAR)\n\n Question: If the polling average in July 2009 was 7.2%, what was it in M... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR)
Question: What was the polling average in Aug 2009 when is was 5.0% in Sep 2009?
Here is the SQLite query to answer... | Your query seems to be targeting the wrong data and table name since the schema you provided only includes data for August and September 2008, not for August and September 2009.
However, based on the schema you've given, and if we assume that you actually meant to refer to the August and September values for 2008, th... | 36,464 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_2 (aug_2008 VARCHAR, sep_2008 VARCHAR)\n\n Question: What was the polling average in Aug 2009 when is was 5.0% in S... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)
Question: How many polling percentages were there in October 2008 when is was 30.8% in Aug 2008?
Here is the SQLite... | Here is the SQLite query to answer the question regarding the number of polling percentages in October 2008 when it was 30.8% in August 2008:
```
SELECT COUNT(oct_2008) FROM table_23680576_2 WHERE aug_2008 = "30.8%"
``` | 36,465 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_2 (oct_2008 VARCHAR, aug_2008 VARCHAR)\n\n Question: How many polling percentages were there in October 2008 when i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (party VARCHAR, dec_2008 VARCHAR)
Question: Name the party/s when the polling percentage was 6.3% in Dec 2008.
Here is the SQLite query to answer to the... | Your SQLite query looks good for retrieving the party names with a polling percentage of 6.3% in December 2008. Here it is formatted as requested:
```
SELECT party FROM table_23680576_2 WHERE dec_2008 = "6.3%"
``` | 36,466 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_2 (party VARCHAR, dec_2008 VARCHAR)\n\n Question: Name the party/s when the polling percentage was 6.3% in Dec 2008... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_2 (nov_2008 VARCHAR, aug_2008 VARCHAR)
Question: What was the polling percentage in Nov 2008 when it was 1.7% in Aug 2008?
Here is the SQLite query to ans... | Here is the SQLite query that answers the question based on the provided schema:
```sql
SELECT nov_2008 FROM table_23680576_2 WHERE aug_2008 = "1.7%"
``` | 36,467 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_2 (nov_2008 VARCHAR, aug_2008 VARCHAR)\n\n Question: What was the polling percentage in Nov 2008 when it was 1.7% i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR)
Question: What is the week 32 result when week 33 is 31.9%?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to find the week 32 result when week 33 is 31.9%:
```
SELECT week_32 FROM table_23680576_3 WHERE week_33 = "31.9%"
``` | 36,468 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_3 (week_32 VARCHAR, week_33 VARCHAR)\n\n Question: What is the week 32 result when week 33 is 31.9%?\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_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)
Question: List all week 37 results when week 33 is 14.3%.
Here is the SQLite query to answer to the question: List al... | Here is the SQLite query to answer the question:
```
SELECT week_37 FROM table_23680576_3 WHERE week_33 = "14.3%"
``` | 36,469 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_3 (week_37 VARCHAR, week_33 VARCHAR)\n\n Question: List all week 37 results when week 33 is 14.3%.\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_23680576_3 (week_36 VARCHAR, week_32 VARCHAR)
Question: List the full amount of week 36 results when week 32 is 13.2%.
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the full amount of week 36 results when week 32 is 13.2%:
```
SELECT COUNT(week_36) FROM table_23680576_3 WHERE week_32 = '13.2%';
``` | 36,470 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23680576_3 (week_36 VARCHAR, week_32 VARCHAR)\n\n Question: List the full amount of week 36 results when week 32 is 13.2%.\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (est VARCHAR, land_area__km²_ VARCHAR)
Question: On what year was the local government area with a surface of 4563 square kilometers established?
Here i... | The SQLite query you provided is almost correct, but it is important to ensure that the land area comparison is accurate. Since the `land_area__km²_` is defined as a VARCHAR type in the schema, the value should be compared as a string. Additionally, ensure you are checking for any inconsistencies in whitespace or other... | 36,471 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685890_2 (est VARCHAR, land_area__km²_ VARCHAR)\n\n Question: On what year was the local government area with a surface of... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)
Question: Which major town is located within the Outback Areas Community Development Trust?
Here is ... | ```sql
SELECT major_town FROM table_23685890_2 WHERE local_government_area = "Outback Areas Community Development Trust";
``` | 36,472 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685890_2 (major_town VARCHAR, local_government_area VARCHAR)\n\n Question: Which major town is located within the Outback ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR)
Question: How many towns exist on the government area with a surface of 110 square kilometers?
Here is the SQLi... | Your SQLite query seems to have an inconsistency regarding the logic of calculating the number of towns based on the surface area. Instead of using `MIN(towns)`, you should use `COUNT(towns)` to count the number of towns in the specified area. Here’s the corrected query:
```sql
SELECT COUNT(towns) FROM table_23685890_... | 36,473 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685890_2 (towns INTEGER, land_area__km²_ VARCHAR)\n\n Question: How many towns exist on the government area with a surface... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR)
Question: What type of local government area is Yalata?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about what type of local government area is Yalata:
```
SELECT type FROM table_23685890_2 WHERE local_government_area = "Yalata";
``` | 36,474 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685890_2 (type VARCHAR, local_government_area VARCHAR)\n\n Question: What type of local government area is Yalata?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)
Question: What was the 2006 population count of the local government area where Coober Pedy is located?
Here is t... | Here is the SQLite query to answer the question about the 2006 population count of the local government area where Coober Pedy is located:
```
SELECT pop_2006 FROM table_23685890_2 WHERE major_town = "Coober Pedy"
``` | 36,475 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685890_2 (pop_2006 VARCHAR, major_town VARCHAR)\n\n Question: What was the 2006 population count of the local government a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR)
Question: During what week was the game attended by 20114 people?
Here is the SQLite query to answer to the question:... | The provided SQLite query contains a small error because the `attendance` column is defined as a VARCHAR, and thus comparisons should be made using quotes around the string. Here is the corrected query:
```sql
SELECT week FROM table_23685152_2 WHERE attendance = '20114';
```
This query will return the week during whi... | 36,476 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685152_2 (week INTEGER, attendance VARCHAR)\n\n Question: During what week was the game attended by 20114 people?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23685152_2 (record VARCHAR, date VARCHAR)
Question: What was the record in game played on July 28?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the record in the game played on July 28:
```
SELECT record FROM table_23685152_2 WHERE date = "July 28";
``` | 36,477 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685152_2 (record VARCHAR, date VARCHAR)\n\n Question: What was the record in game played on July 28?\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_23685152_2 (record VARCHAR, opponent VARCHAR)
Question: What was the record in the game against Eskimos?
Here is the SQLite query to answer to the question: What w... | Here is the SQLite query to answer the question about the record in the game against Eskimos:
```
SELECT record FROM table_23685152_2 WHERE opponent = "Eskimos"
``` | 36,478 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23685152_2 (record VARCHAR, opponent VARCHAR)\n\n Question: What was the record in the game against Eskimos?\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_23696862_6 (name VARCHAR, wsop_earnings VARCHAR)
Question: Whose WSOP earnings were $36,372?
Here is the SQLite query to answer to the question: Whose WSOP earnin... | Your SQLite query looks good, but the syntax for string literals in SQL does not require double quotes for the value. Instead, you should use single quotes. Here’s the corrected version of your query wrapped in code tags:
```
SELECT name FROM table_23696862_6 WHERE wsop_earnings = '$36,372'
```
This query will corre... | 36,479 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23696862_6 (name VARCHAR, wsop_earnings VARCHAR)\n\n Question: Whose WSOP earnings were $36,372? \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_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)
Question: The person who had 0 WSOP earnings had how man WSOP cashes?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the person who had 0 WSOP earnings and how many WSOP cashes they had:
```
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "0"
``` | 36,480 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)\n\n Question: The person who had 0 WSOP earnings had how man WSOP ca... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)
Question: Who had 2 WSOP cashes and was 6th in final place?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question: Who had 2 WSOP cashes and was 6th in final place?:
```
SELECT name FROM table_23696862_6 WHERE wsop_cashes = '2' AND final_place = '6th'
``` | 36,481 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23696862_6 (name VARCHAR, wsop_cashes VARCHAR, final_place VARCHAR)\n\n Question: Who had 2 WSOP cashes and was 6th in final... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER)
Question: What is the smallest amount of WSOP bracelets anyone had?
Here is the SQLite query to answer to the question: What is... | Here is the SQLite query to answer the question about the smallest amount of WSOP bracelets anyone had:
```
SELECT MIN(wsop_bracelets) FROM table_23696862_6;
``` | 36,482 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23696862_6 (wsop_bracelets INTEGER)\n\n Question: What is the smallest amount of WSOP bracelets anyone had?\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_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)
Question: The person who had $126,796 WSOP earnings had how many WSOP cashes?
Here is the SQLite query to ... | Here is the SQLite query to answer the question about the person who had $126,796 WSOP earnings and their corresponding WSOP cashes:
```
SELECT wsop_cashes FROM table_23696862_6 WHERE wsop_earnings = "$126,796"
``` | 36,483 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23696862_6 (wsop_cashes VARCHAR, wsop_earnings VARCHAR)\n\n Question: The person who had $126,796 WSOP earnings 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_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)
Question: What is the high 10 profile number when the high profile is 80?
Here is the SQLite query to answ... | The SQLite query to answer the question about the high 10 profile number when the high profile is 80 should be as follows:
```sql
SELECT high_10_profile FROM table_237036_2 WHERE high_profile = '80';
```
Note: In the provided query, `MAX` is inappropriate if you're looking for a specific `high_10_profile` correspondi... | 36,484 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_237036_2 (high_10_profile INTEGER, high_profile VARCHAR)\n\n Question: What is the high 10 profile number when the high prof... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR)
Question: What is the baseline extended and main profiles when level is 1.3?
Here i... | Here is the SQLite query to answer the question about the baseline extended and main profiles when the level is 1.3:
```sql
SELECT MIN(baseline), _extended_and_main_profiles FROM table_237036_2 WHERE level = '1.3';
``` | 36,485 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_237036_2 (_extended_and_main_profiles VARCHAR, baseline INTEGER, level VARCHAR)\n\n Question: What is the baseline extended ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR)
Question: What level has 11880 macroblocks and high 10 profile is 6000?
Here is the SQLite... | Here is the corrected SQLite query to answer the question:
```
SELECT level FROM table_237036_2 WHERE macroblocks_s = '11880' AND high_10_profile = '6000'
```
In this query, the values for `macroblocks_s` and `high_10_profile` are wrapped in single quotes because they are stored as strings in the database schema. | 36,486 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_237036_2 (level VARCHAR, macroblocks_s VARCHAR, high_10_profile VARCHAR)\n\n Question: What level has 11880 macroblocks and ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)
Question: What are the luma samples at level 1.3?
Here is the SQLite query to answer to the question: What are the... | Here is the SQLite query to answer the question about luma samples at level 1.3:
```
SELECT luma_samples_s FROM table_237036_2 WHERE level = '1.3';
``` | 36,487 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_237036_2 (luma_samples_s VARCHAR, level VARCHAR)\n\n Question: What are the luma samples at level 1.3?\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_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)
Question: What is the high 10 profile when high profile is 160?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about what the high 10 profile is when the high profile is 160:
```
SELECT high_10_profile FROM table_237036_2 WHERE high_profile = '160'
```
Please note that the value `160` is enclosed in quotes because it is a string type in the schema you provided. | 36,488 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_237036_2 (high_10_profile VARCHAR, high_profile VARCHAR)\n\n Question: What is the high 10 profile when high profile is 160?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)
Question: What is the original air date if the ratings is 1.92 million?
Here is the SQLite query... | Here is the SQLite query to answer the question about the original air date where the ratings are 1.92 million:
```
SELECT original_air_date FROM table_23705843_1 WHERE ratings__millions_ = "1.92"
``` | 36,489 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23705843_1 (original_air_date VARCHAR, ratings__millions_ VARCHAR)\n\n Question: What is the original air date if the rating... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR)
Question: What is the name of the writer when the ratings was 2.61 million?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about the writer when the ratings were 2.61 million:
```
SELECT writer FROM table_23705843_1 WHERE ratings__millions_ = "2.61"
``` | 36,490 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23705843_1 (writer VARCHAR, ratings__millions_ VARCHAR)\n\n Question: What is the name of the writer when the ratings was 2.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR)
Question: Who directed the episode written by Tony O'Grady (pseudonym of brian clemens)?
Here is the SQLite que... | Here is the SQLite query to answer the question:
```
SELECT directed_by FROM table_2370579_1 WHERE written_by = "Tony O'Grady (pseudonym of brian clemens)"
``` | 36,491 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2370579_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: Who directed the episode written by Tony O'Grady (pseudony... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)
Question: What is the production number for episode 23?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question: What is the production number for episode 23?:
```
SELECT prod__number FROM table_2370579_1 WHERE episode__number = '23';
``` | 36,492 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2370579_1 (prod__number INTEGER, episode__number VARCHAR)\n\n Question: What is the production number for episode 23?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)
Question: What is the colloquial translation of (s)he will sing?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the colloquial translation of "(s)he will sing":
```
SELECT romanian__colloquial_ FROM table_23710609_2 WHERE english = "(s)he will sing"
``` | 36,493 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23710609_2 (romanian__colloquial_ VARCHAR, english VARCHAR)\n\n Question: What is the colloquial translation of (s)he will s... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR)
Question: What was the date of the game played in El Paso, Texas?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the date of the game played in El Paso, Texas:
```
SELECT date FROM table_23718905_6 WHERE city = "El Paso, Texas"
``` | 36,494 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (date VARCHAR, city VARCHAR)\n\n Question: What was the date of the game played in El Paso, Texas?\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_23718905_6 (matchup_results VARCHAR, city VARCHAR)
Question: How many different matchup/results appear in San Diego, California?
Here is the SQLite query to answer... | The SQLite query to answer the question about how many different matchup/results appear in San Diego, California is:
```
SELECT COUNT(DISTINCT matchup_results) FROM table_23718905_6 WHERE city = "San Diego, California";
``` | 36,495 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (matchup_results VARCHAR, city VARCHAR)\n\n Question: How many different matchup/results appear in San Diego, Cal... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23718905_6 (television VARCHAR, matchup_results VARCHAR)
Question: How many different items appear in the television column when the results where Iowa State 14, Mi... | Your SQLite query counts the total occurrences of the television entries for the specified matchup results, but it does not count distinct items. To get the number of different items in the television column for that specific matchup result, you should use the `DISTINCT` keyword. Here’s the corrected query:
```
SELECT... | 36,496 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (television VARCHAR, matchup_results VARCHAR)\n\n Question: How many different items appear in the television col... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)
Question: How many different items appear in he attendance column at Sun Devil Stadium?
Here is the SQLite query t... | The query you've provided is almost correct, but it needs a slight adjustment to count only distinct items in the attendance column. Here is the corrected SQLite query:
```
SELECT COUNT(DISTINCT attendance) FROM table_23718905_6 WHERE stadium = "Sun Devil Stadium";
```
This query counts the number of distinct attend... | 36,497 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (attendance VARCHAR, stadium VARCHAR)\n\n Question: How many different items appear in he attendance column at Su... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)
Question: In what bowl game was the result Oklahoma 31, Stanford 27?
Here is the SQLite query to answer to ... | Here is the SQLite query you requested:
```
SELECT bowl_game FROM table_23718905_6 WHERE matchup_results = "Oklahoma 31, Stanford 27"
``` | 36,498 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (bowl_game VARCHAR, matchup_results VARCHAR)\n\n Question: In what bowl game was the result Oklahoma 31, Stanford... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23718905_6 (television VARCHAR, date VARCHAR)
Question: What was the television that was dated December 28, 2009?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the television that was dated December 28, 2009:
```
SELECT television FROM table_23718905_6 WHERE date = "December 28, 2009"
``` | 36,499 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23718905_6 (television VARCHAR, date VARCHAR)\n\n Question: What was the television that was dated December 28, 2009?\n\nHer... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.