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_27409644_1 (location VARCHAR, manager VARCHAR)
Question: Where is the team that is managed by richard barnwell from?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Where is the team that is managed by Richard Barnwell from?:
```
SELECT location FROM table_27409644_1 WHERE manager = "Richard Barnwell"
``` | 39,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_27409644_1 (location VARCHAR, manager VARCHAR)\n\n Question: Where is the team that is managed by richard barnwell from?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27409644_1 (ground VARCHAR, club VARCHAR)
Question: What is the home location for team flora tallinn?
Here is the SQLite query to answer to the question: What is t... | Here is the SQLite query to answer the question about the home location for team Flora Tallinn:
```
SELECT ground FROM table_27409644_1 WHERE club = "Flora Tallinn";
``` | 39,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_27409644_1 (ground VARCHAR, club VARCHAR)\n\n Question: What is the home location for team flora tallinn?\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_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)
Question: How many viewers watched the episode written by shana goldberg-meehan & greg malins?
Here ... | Here is the SQLite query to answer the question about how many viewers watched the episode written by Shana Goldberg-Meehan & Greg Malins:
```
SELECT us_viewers__million_ FROM table_27403436_1 WHERE written_by = "Shana Goldberg-Meehan & Greg Malins";
``` | 39,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_27403436_1 (us_viewers__million_ VARCHAR, written_by VARCHAR)\n\n Question: How many viewers watched the episode written by ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27403436_1 (no VARCHAR, production_code VARCHAR)
Question: which number lists the production code as 2j5809
Here is the SQLite query to answer to the question: whi... | Here is the SQLite query to answer the question regarding which number lists the production code as 2j5809:
```
SELECT no FROM table_27403436_1 WHERE production_code = '2j5809'
``` | 39,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_27403436_1 (no VARCHAR, production_code VARCHAR)\n\n Question: which number lists the production code as 2j5809\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_274117_5 (position VARCHAR, player VARCHAR)
Question: What position was Bob Lilly?
Here is the SQLite query to answer to the question: What position was Bob Lilly?... | Here is the SQLite query to answer the question: What position was Bob Lilly?:
```
SELECT position FROM table_274117_5 WHERE player = "Bob Lilly"
``` | 39,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_274117_5 (position VARCHAR, player VARCHAR)\n\n Question: What position was Bob Lilly?\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_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)
Question: What are seasons by team for Pro Bowl appearances of the player who was an OL and had... | Your SQLite query to find the seasons by team for Pro Bowl appearances of the player who was an OL and had 11 appearances is almost correct, but it seems like you might need to treat the `number` column as a string since the schema defines it as `VARCHAR`. Assuming the `number` refers to the appearances and needs to be... | 39,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_274117_5 (seasons_by_team VARCHAR, position VARCHAR, number VARCHAR)\n\n Question: What are seasons by team for Pro Bowl app... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_274117_5 (position VARCHAR, year_of_induction_into_pro_football_hall_of_fame VARCHAR)
Question: What position was the player who was inducted into the Pro Football ... | Here is the SQLite query to answer the question about the position of the player inducted into the Pro Football Hall of Fame in 1980:
```
SELECT position FROM table_274117_5 WHERE year_of_induction_into_pro_football_hall_of_fame = "1980"
``` | 39,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_274117_5 (position VARCHAR, year_of_induction_into_pro_football_hall_of_fame VARCHAR)\n\n Question: What position was the pl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_274117_5 (year_of_induction_into_pro_football_hall_of_fame VARCHAR, player VARCHAR)
Question: When was Will Shields inducted into the Pro Football Hall of Fame?
He... | Here is the SQLite query to answer the question regarding Will Shields' induction into the Pro Football Hall of Fame:
```
SELECT year_of_induction_into_pro_football_hall_of_fame FROM table_274117_5 WHERE player = "Will Shields"
``` | 39,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_274117_5 (year_of_induction_into_pro_football_hall_of_fame VARCHAR, player VARCHAR)\n\n Question: When was Will Shields indu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_274117_5 (number INTEGER)
Question: What is the fewest amount of Pro Bowl appearances any of the players had?
Here is the SQLite query to answer to the question: ... | Certainly! Here is the SQLite query wrapped as you requested:
```
SELECT MIN(number) FROM table_274117_5;
``` | 39,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_274117_5 (number INTEGER)\n\n Question: What is the fewest amount of Pro Bowl appearances any of the players had? \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_27434_2 (live_births_per_year VARCHAR, life_expectancy_total VARCHAR)
Question: How many live births per year do people with a life expectancy of 65.1 have?
Here i... | Your provided SQLite query is correct for retrieving the number of live births per year for people with a life expectancy of 65.1. However, if you want to count the total number of live births per year for that specific life expectancy, you might consider aggregating the results. Here is the adjusted query if you're in... | 39,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_27434_2 (live_births_per_year VARCHAR, life_expectancy_total VARCHAR)\n\n Question: How many live births per year do people ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27434_2 (period VARCHAR, life_expectancy_total VARCHAR)
Question: What period was the life expectancy at 62.4?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the period when the life expectancy was 62.4:
```
SELECT period FROM table_27434_2 WHERE life_expectancy_total = "62.4"
``` | 39,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_27434_2 (period VARCHAR, life_expectancy_total VARCHAR)\n\n Question: What period was the life expectancy at 62.4?\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_27435931_1 (year VARCHAR, continent VARCHAR)
Question: In what year is australia/oceania listed?
Here is the SQLite query to answer to the question: In what year ... | The provided query counts the number of years associated with the continent "Australia/Oceania". However, if you want to retrieve the specific years in which "Australia/Oceania" is listed, you should use the DISTINCT keyword or just select the year directly. Here's how you can do that:
```sql
SELECT DISTINCT year FROM... | 39,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_27435931_1 (year VARCHAR, continent VARCHAR)\n\n Question: In what year is australia/oceania listed? \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_27435931_1 (elevation_m VARCHAR, year VARCHAR)
Question: what was the elevation in september 2009?
Here is the SQLite query to answer to the question: what was the... | The provided query needs a small adjustment because it assumes that the "year" field contains the full date format including the month. If the column only stores the year as a VARCHAR, then you need a different approach to filter by both the month and the year, which isn't specified in the schema. However, if "Septembe... | 39,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_27435931_1 (elevation_m VARCHAR, year VARCHAR)\n\n Question: what was the elevation in september 2009?\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_27435931_1 (continent VARCHAR, country VARCHAR)
Question: what is the continent in which the country russia is listed?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question about the continent in which the country Russia is listed:
```
SELECT continent FROM table_27435931_1 WHERE country = "Russia"
``` | 39,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_27435931_1 (continent VARCHAR, country VARCHAR)\n\n Question: what is the continent in which the country russia is listed?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27435931_1 (elevation_ft INTEGER, year VARCHAR)
Question: what was the lowest elevation in april 2006?
Here is the SQLite query to answer to the question: what was... | The SQLite query to answer the question "what was the lowest elevation in April 2006?" using the provided schema is as follows:
```
SELECT MIN(elevation_ft) FROM table_27435931_1 WHERE year = "April 2006";
``` | 39,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_27435931_1 (elevation_ft INTEGER, year VARCHAR)\n\n Question: what was the lowest elevation in april 2006?\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_27435931_1 (elevation_ft VARCHAR, country VARCHAR)
Question: what is elevation of tanzania?
Here is the SQLite query to answer to the question: what is elevation o... | To correctly answer the question of what the elevation of Tanzania is, you should use a query that selects the elevation rather than counting it. Here's the appropriate SQLite query:
```
SELECT elevation_ft FROM table_27435931_1 WHERE country = "Tanzania";
``` | 39,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_27435931_1 (elevation_ft VARCHAR, country VARCHAR)\n\n Question: what is elevation of tanzania?\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_27435931_1 (elevation_ft VARCHAR, continent VARCHAR)
Question: what is the elevation of south america?
Here is the SQLite query to answer to the question: what is... | Here is the SQLite query to answer the question regarding the elevation of South America:
```
SELECT elevation_ft FROM table_27435931_1 WHERE continent = "South America"
``` | 39,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_27435931_1 (elevation_ft VARCHAR, continent VARCHAR)\n\n Question: what is the elevation of south america? \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_27437601_2 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)
Question: List the season above 241.0 that was handled by brad tanenbaum.
Here is the ... | Here is the corrected SQLite query to answer the question of listing the seasons above 241.0 that were handled by Brad Tannenbaum:
```
SELECT no_in_season FROM table_27437601_2 WHERE directed_by = "brad tanenbaum" AND no_in_series > 241.0
``` | 39,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_27437601_2 (no_in_season VARCHAR, directed_by VARCHAR, no_in_series VARCHAR)\n\n Question: List the season above 241.0 that ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR)
Question: List the 1st air date for season 12.
Here is the SQLite query to answer to the question: Lis... | It appears there's a small issue with the query you've provided. You need to ensure that you are retrieving the earliest air date (1st air date) for season 12. Assuming that the `no_in_season` field contains values as a string, you should look for rows where `no_in_season` is '12' and then retrieve the minimum air date... | 39,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_27437601_2 (original_air_date VARCHAR, no_in_season VARCHAR)\n\n Question: List the 1st air date for season 12.\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_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR)
Question: List the series number for season 12.
Here is the SQLite query to answer to the question: List th... | The query you've provided counts the number of series numbers for season 12, but it does not list them. To list the series numbers for season 12, you should use the following query:
```sql
SELECT no_in_series FROM table_27437601_2 WHERE no_in_season = '12';
```
This will retrieve all the series numbers that correspon... | 39,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_27437601_2 (no_in_series VARCHAR, no_in_season VARCHAR)\n\n Question: List the series number for season 12.\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_27441210_13 (year VARCHAR, country VARCHAR)
Question: How many years was the country Belgium?
Here is the SQLite query to answer to the question: How many years wa... | Here is the SQLite query to answer the question about how many years the country Belgium appears in the table:
```
SELECT COUNT(year) FROM table_27441210_13 WHERE country = "Belgium"
``` | 39,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_27441210_13 (year VARCHAR, country VARCHAR)\n\n Question: How many years was the country Belgium?\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_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR)
Question: What number-one single is performed by artist Pep's?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about what number-one single is performed by artist Pep's:
```
SELECT number_one_single_s_ FROM table_27441210_17 WHERE artist = "Pep's"
``` | 39,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_27441210_17 (number_one_single_s_ VARCHAR, artist VARCHAR)\n\n Question: What number-one single is performed by artist Pep's... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR)
Question: Where were the auditions held in the episode that aired on january 27, 2011?
Here is the SQL... | Here is the SQLite query to answer the question about where the auditions were held in the episode that aired on January 27, 2011:
```sql
SELECT audition_city FROM table_27455867_1 WHERE episode_air_date = "January 27, 2011";
``` | 39,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_27455867_1 (audition_city VARCHAR, episode_air_date VARCHAR)\n\n Question: Where were the auditions held in the episode that... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR)
Question: In how many different audition cities were the Bridgestone arena auditions held?
Here is the S... | Your SQLite query is almost correct but it can be improved to ensure that you count distinct audition cities. You should use `COUNT DISTINCT` to get the number of different audition cities. Here’s the revised query:
```
SELECT COUNT(DISTINCT audition_city) FROM table_27455867_1 WHERE audition_venue = "Bridgestone Aren... | 39,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_27455867_1 (audition_city VARCHAR, audition_venue VARCHAR)\n\n Question: In how many different audition cities were the Brid... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)
Question: When was the callback audition date for the audition city from the episode aired on ... | Here is the SQLite query to answer the question regarding the callback audition date for the audition city from the episode aired on February 2, 2011:
```
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 2, 2011"
``` | 39,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_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)\n\n Question: When was the callback audition date for ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR)
Question: When were the callback auditions at Hilton Riverside Hotel held?
Here is the SQLite q... | Here is the SQLite query to answer the question about when the callback auditions at Hilton Riverside Hotel were held:
```
SELECT callback_audition_date FROM table_27455867_1 WHERE callback_venue = "Hilton Riverside Hotel"
``` | 39,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_27455867_1 (callback_audition_date VARCHAR, callback_venue VARCHAR)\n\n Question: When were the callback auditions at Hilton... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR)
Question: What was the callback venue for the audition city in the episode aired on January 20, 2011?
... | Here is the SQLite query to answer the question regarding the callback venue for the audition city in the episode aired on January 20, 2011:
```
SELECT callback_venue FROM table_27455867_1 WHERE episode_air_date = "January 20, 2011";
``` | 39,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_27455867_1 (callback_venue VARCHAR, episode_air_date VARCHAR)\n\n Question: What was the callback venue for the audition cit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)
Question: When were the callback auditions for the audition city in the episode aired on Febru... | Your SQLite query is correctly written to retrieve the callback audition date for the specific episode aired on February 9, 2011. Here it is wrapped in the required code block format:
```
SELECT callback_audition_date FROM table_27455867_1 WHERE episode_air_date = "February 9, 2011"
``` | 39,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_27455867_1 (callback_audition_date VARCHAR, episode_air_date VARCHAR)\n\n Question: When were the callback auditions for the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)
Question: How many episodes did Eve Weston write?
Here is the SQLite query to answer to the question: How man... | Here is the SQLite query to answer the question of how many episodes Eve Weston wrote:
```
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston"
``` | 39,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_27462177_1 (no_in_series VARCHAR, written_by VARCHAR)\n\n Question: How many episodes did Eve Weston write?\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_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
Question: How many millions of US viewers watched the episode written by Jack Sanderson?
Here is the... | Your SQLite query is mostly correct, but to get the total number of millions of US viewers, you might want to modify it to aggregate the results in case there are multiple entries written by Jack Sanderson. Here’s how you can do that:
```sql
SELECT SUM(us_viewers__millions_) AS total_viewers
FROM table_27462177_1
WH... | 39,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_27462177_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)\n\n Question: How many millions of US viewers watched the epi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)
Question: Name who wrote the production code 322
Here is the SQLite query to answer to the question: Name who wr... | Here is the SQLite query to answer the question: Name who wrote the production code 322:
```sql
SELECT written_by FROM table_27462209_1 WHERE prod_code = '322';
```
(Note: Since `prod_code` is defined as VARCHAR in the schema, it should be treated as a string in the query, thus using single quotes around 322.) | 39,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_27462209_1 (written_by VARCHAR, prod_code VARCHAR)\n\n Question: Name who wrote the production code 322\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_27469019_2 (television_network VARCHAR, television_channel VARCHAR)
Question: What is the television network with the television channel of Astro Pelangi & Astro Bi... | It seems there might be a small misunderstanding in your query. The condition you're using checks for a single channel named "Astro Pelangi & Astro Bintang". Instead, it looks like you're trying to find the television network for two separate channels: "Astro Pelangi" and "Astro Bintang". You can achieve this using the... | 39,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_27469019_2 (television_network VARCHAR, television_channel VARCHAR)\n\n Question: What is the television network with the te... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27469019_2 (status VARCHAR, television_channel VARCHAR)
Question: What was the status of the series that was run by tv channel Mediacorp tv12 Suria?
Here is the SQ... | Here is the SQLite query to answer the question about the status of the series that was run by the TV channel Mediacorp TV12 Suria:
```
SELECT status FROM table_27469019_2 WHERE television_channel = "MediaCorp TV12 Suria"
``` | 39,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_27469019_2 (status VARCHAR, television_channel VARCHAR)\n\n Question: What was the status of the series that was run by tv c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)
Question: What was the world rank by QS in 2013 for the University of Otago?
Here is the SQL... | Here is the SQLite query to answer the question about the world rank by QS in 2013 for the University of Otago:
```
SELECT world_rank_by_qs_, _2013
FROM table_27484208_1
WHERE members = "University of Otago";
``` | 39,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_27484208_1 (world_rank_by_qs_ VARCHAR, _2013 VARCHAR, members VARCHAR)\n\n Question: What was the world rank by QS in 2013 f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR)
Question: What was the world rank by ARWU in 2013 of the University of Tübingen?
Here is t... | Here is the SQLite query to answer the question regarding the world rank by ARWU in 2013 of the University of Tübingen:
```
SELECT world_rank_by_arwu_, _2013 FROM table_27484208_1 WHERE members = "University of Tübingen"
``` | 39,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_27484208_1 (world_rank_by_arwu_ VARCHAR, _2013 VARCHAR, members VARCHAR)\n\n Question: What was the world rank by ARWU in 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27481781_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)
Question: How many episodes have 18.73 million viewers?
Here is the SQLite query to answer to the que... | Your SQLite query looks correct for counting the number of episodes with 18.73 million viewers. However, the value in the `viewers__millions_` column should be compared as a string. Here's the formatted query:
```
SELECT COUNT(no_in_series) FROM table_27481781_2 WHERE viewers__millions_ = "18.73"
```
This query will ... | 39,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_27481781_2 (no_in_series VARCHAR, viewers__millions_ VARCHAR)\n\n Question: How many episodes have 18.73 million viewers?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487712_1 (result VARCHAR, district VARCHAR)
Question: What was the result of the election for georgia's 3rd district?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the result of the election for Georgia's 3rd district:
```
SELECT result FROM table_27487712_1 WHERE district = "Georgia's 3rd";
``` | 39,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_27487712_1 (result VARCHAR, district VARCHAR)\n\n Question: What was the result of the election for georgia's 3rd district?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487712_1 (incumbent VARCHAR, district VARCHAR)
Question: Who was the incumbent from georgia's 8th district?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about who was the incumbent from Georgia's 8th district:
```
SELECT incumbent FROM table_27487712_1 WHERE district = "Georgia's 8th";
``` | 39,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_27487712_1 (incumbent VARCHAR, district VARCHAR)\n\n Question: Who was the incumbent from georgia's 8th district?\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_27487712_1 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election with incumbent bob barr?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question regarding the result of the election with incumbent Bob Barr:
```
SELECT result FROM table_27487712_1 WHERE incumbent = "Bob Barr";
``` | 39,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_27487712_1 (result VARCHAR, incumbent VARCHAR)\n\n Question: What was the result of the election with incumbent bob barr?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487712_1 (result VARCHAR, incumbent VARCHAR)
Question: What was the result of the election with incumbent john lewis?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about the result of the election with incumbent John Lewis:
```
SELECT result FROM table_27487712_1 WHERE incumbent = 'John Lewis';
``` | 39,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_27487712_1 (result VARCHAR, incumbent VARCHAR)\n\n Question: What was the result of the election with incumbent john lewis?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487712_1 (incumbent VARCHAR, elected VARCHAR)
Question: Who was the incumbent for the election in 1978?
Here is the SQLite query to answer to the question: Who w... | It seems there is a slight misunderstanding in your query. If you want to find the incumbent for the election in 1978, you should check the record corresponding to that year. Generally, the `elected` column would denote the electoral event, so you should be filtering based on that column and potentially include a year ... | 39,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_27487712_1 (incumbent VARCHAR, elected VARCHAR)\n\n Question: Who was the incumbent for the election in 1978?\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_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR)
Question: Who are the judges in the Netherlands for the season airing 28 November 2011 – 24 December... | Your SQLite query looks good, but it should take into consideration that the `air_dates` column might not match exactly due to formatting issues or potential representation of date ranges. To handle this better, you might want to check for air dates that fall within the specified range.
Here's a refined version of th... | 39,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_27487310_5 (judges VARCHAR, country VARCHAR, air_dates VARCHAR)\n\n Question: Who are the judges in the Netherlands for the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487310_5 (name VARCHAR, network VARCHAR)
Question: What is the version aired on SBS 6 called?
Here is the SQLite query to answer to the question: What is the ver... | Here is the SQLite query to answer the question: What is the version aired on SBS 6 called?:
```
SELECT name FROM table_27487310_5 WHERE network = "SBS 6"
``` | 39,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_27487310_5 (name VARCHAR, network VARCHAR)\n\n Question: What is the version aired on SBS 6 called?\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_27487310_5 (air_dates VARCHAR, network VARCHAR)
Question: What are the air dates of the show in ABS-CBN?
Here is the SQLite query to answer to the question: What a... | Here is the SQLite query to answer the question regarding the air dates of the show in ABS-CBN:
```
SELECT air_dates FROM table_27487310_5 WHERE network = "ABS-CBN";
``` | 39,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_27487310_5 (air_dates VARCHAR, network VARCHAR)\n\n Question: What are the air dates of the show in ABS-CBN?\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_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR)
Question: Who is the host on the series aired on 18 January 2012?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the host on the series aired on 18 January 2012:
```
SELECT host_s_ FROM table_27487310_5 WHERE air_dates = "18 January 2012"
``` | 39,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_27487310_5 (host_s_ VARCHAR, air_dates VARCHAR)\n\n Question: Who is the host on the series aired on 18 January 2012?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487310_5 (name VARCHAR, host_s_ VARCHAR)
Question: What is the name of the series with the unknown host?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about the name of the series with the unknown host:
```
SELECT name FROM table_27487310_5 WHERE host_s_ = "unknown"
``` | 39,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_27487310_5 (name VARCHAR, host_s_ VARCHAR)\n\n Question: What is the name of the series with the unknown host?\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_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR)
Question: What is every value for points per game if passing yards per game is 179.6?
Here is ... | Here is the SQLite query to answer the question about every value for points per game if passing yards per game is 179.6:
```
SELECT points_per_game FROM table_27487336_1 WHERE passing_yards_per_game = "179.6"
``` | 39,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_27487336_1 (points_per_game VARCHAR, passing_yards_per_game VARCHAR)\n\n Question: What is every value for points per game i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (sacks VARCHAR, interceptions VARCHAR)
Question: What is every value for sacks if interceptions is 19?
Here is the SQLite query to answer to the questio... | Here is the SQLite query that answers your question:
```
SELECT sacks FROM table_27487336_1 WHERE interceptions = "19"
``` | 39,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_27487336_1 (sacks VARCHAR, interceptions VARCHAR)\n\n Question: What is every value for sacks if interceptions is 19?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)
Question: What is every value for passing yards per game if rushing yards per game is 11... | Here is the SQLite query to answer the question regarding passing yards per game when rushing yards per game is 113.6:
```
SELECT passing_yards_per_game FROM table_27487336_1 WHERE rushing_yards_per_game = "113.6"
``` | 39,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_27487336_1 (passing_yards_per_game VARCHAR, rushing_yards_per_game VARCHAR)\n\n Question: What is every value for passing ya... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, sacks VARCHAR)
Question: What is every value for rushing yards per game if sacks if 25?
Here is the SQLite query to ans... | Here is the SQLite query wrapped in code as requested:
```
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE sacks = "25"
``` | 39,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_27487336_1 (rushing_yards_per_game VARCHAR, sacks VARCHAR)\n\n Question: What is every value for rushing yards per game if s... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (rushing_yards_per_game VARCHAR, season VARCHAR)
Question: What is every value for rushing yards per game if the season is 1984?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding every value for rushing yards per game if the season is 1984:
```sql
SELECT rushing_yards_per_game FROM table_27487336_1 WHERE season = "1984";
``` | 39,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_27487336_1 (rushing_yards_per_game VARCHAR, season VARCHAR)\n\n Question: What is every value for rushing yards per game if ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27487336_1 (season VARCHAR, sacks VARCHAR)
Question: How many seasons have a sacks of 39?
Here is the SQLite query to answer to the question: How many seasons have... | Here is the SQLite query to answer the question of how many seasons have a sacks count of 39:
```sql
SELECT COUNT(season) FROM table_27487336_1 WHERE sacks = "39";
``` | 39,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_27487336_1 (season VARCHAR, sacks VARCHAR)\n\n Question: How many seasons have a sacks of 39?\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_27496841_3 (average VARCHAR, rank_by_average VARCHAR)
Question: Name the average for rank of 3
Here is the SQLite query to answer to the question: Name the average... | Your SQLite query has a small issue with the comparison of `rank_by_average` as it is of type VARCHAR; you should ideally compare it with a string. Here is the corrected version:
```sql
SELECT average FROM table_27496841_3 WHERE rank_by_average = '3'
``` | 39,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_27496841_3 (average VARCHAR, rank_by_average VARCHAR)\n\n Question: Name the average for rank of 3\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_27496841_3 (total_points VARCHAR, place VARCHAR)
Question: Name the total points for 2
Here is the SQLite query to answer to the question: Name the total points fo... | Here is the SQLite query to answer the question: Name the total points for 2:
```
SELECT total_points FROM table_27496841_3 WHERE place = '2'
``` | 39,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_27496841_3 (total_points VARCHAR, place VARCHAR)\n\n Question: Name the total points for 2\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_27501030_7 (decision VARCHAR, opponent VARCHAR)
Question: What is the decision when the opponents are atlanta thrashers?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question:
```
SELECT decision FROM table_27501030_7 WHERE opponent = "Atlanta Thrashers"
``` | 39,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_27501030_7 (decision VARCHAR, opponent VARCHAR)\n\n Question: What is the decision when the opponents are atlanta thrashers?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501030_7 (game VARCHAR, points VARCHAR)
Question: How many game entries are there when the points are 57?
Here is the SQLite query to answer to the question: How... | Here is the SQLite query to answer the question: How many game entries are there when the points are 57?:
```
SELECT COUNT(game) FROM table_27501030_7 WHERE points = '57'
``` | 39,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_27501030_7 (game VARCHAR, points VARCHAR)\n\n Question: How many game entries are there when the points are 57?\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_27501971_2 (año INTEGER)
Question: What is the smallest año?
Here is the SQLite query to answer to the question: What is the smallest año?:
```
SELECT MIN(año) FRO... | Here is the SQLite query to find the smallest año:
```
SELECT MIN(año) FROM table_27501971_2;
``` | 39,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_27501971_2 (año INTEGER)\n\n Question: What is the smallest año?\n\nHere is the SQLite query to answer to the question: What... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (premio VARCHAR, categoría VARCHAR)
Question: How many premio are there when "Artist of the Year" was the categoria?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the count of "premio" when "Artist of the Year" was the "categoría":
```
SELECT COUNT(premio) FROM table_27501971_2 WHERE categoría = "Artist of the Year";
``` | 39,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_27501971_2 (premio VARCHAR, categoría VARCHAR)\n\n Question: How many premio are there when \"Artist of the Year\" was the c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501971_2 (resultado VARCHAR, country VARCHAR)
Question: What was the resultado when E.E.U.U was the country?
Here is the SQLite query to answer to the question: ... | Your SQL query to find the `resultado` when the country is "E.E.U.U" is correctly written. Here it is wrapped in the code block:
```
SELECT resultado FROM table_27501971_2 WHERE country = "E.E.U.U";
``` | 39,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_27501971_2 (resultado VARCHAR, country VARCHAR)\n\n Question: What was the resultado when E.E.U.U was the country?\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_27501971_2 (categoría VARCHAR, country VARCHAR)
Question: What was the categoria when E.E.U.U was the country?
Here is the SQLite query to answer to the question: ... | Your SQLite query to find the `categoría` when the country is "E.E.U.U" is correct. Here it is wrapped in the requested format:
```
SELECT categoría FROM table_27501971_2 WHERE country = "E.E.U.U";
``` | 39,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_27501971_2 (categoría VARCHAR, country VARCHAR)\n\n Question: What was the categoria when E.E.U.U was the country?\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_27501971_2 (country VARCHAR, año VARCHAR)
Question: When the año was 2012, who was the county?
Here is the SQLite query to answer to the question: When the año was... | Here is the SQLite query to answer the question: When the año was 2012, who was the county?:
```
SELECT country FROM table_27501971_2 WHERE año = '2012'
``` | 39,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_27501971_2 (country VARCHAR, año VARCHAR)\n\n Question: When the año was 2012, who was the county?\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_27504682_1 (written_by VARCHAR, directed_by VARCHAR)
Question: Name who wrote the episode by lawrence trilling
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question: Name who wrote the episode by Lawrence Trilling:
```
SELECT written_by FROM table_27504682_1 WHERE directed_by = "Lawrence Trilling"
``` | 39,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_27504682_1 (written_by VARCHAR, directed_by VARCHAR)\n\n Question: Name who wrote the episode by lawrence trilling\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_27504682_1 (original_air_date VARCHAR, written_by VARCHAR)
Question: Name the air date for alex taub
Here is the SQLite query to answer to the question: Name the a... | Here is the SQLite query to answer the question about the air date for Alex Taub:
```sql
SELECT original_air_date FROM table_27504682_1 WHERE written_by = "Alex Taub";
``` | 39,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_27504682_1 (original_air_date VARCHAR, written_by VARCHAR)\n\n Question: Name the air date for alex taub\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27501030_8 (opponent VARCHAR, game VARCHAR)
Question: How many games were numbered 69?
Here is the SQLite query to answer to the question: How many games were numb... | Your provided query is almost correct, but you should ensure that the game number is treated as a string since it's specified as a VARCHAR in the schema. Here's the corrected SQLite query:
```sql
SELECT COUNT(opponent) FROM table_27501030_8 WHERE game = '69'
``` | 39,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_27501030_8 (opponent VARCHAR, game VARCHAR)\n\n Question: How many games were numbered 69?\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_27501030_8 (march VARCHAR, opponent VARCHAR)
Question: How many times did they play the pittsburgh penguins?
Here is the SQLite query to answer to the question: Ho... | Here is the SQLite query to answer the question of how many times they played the Pittsburgh Penguins:
```
SELECT COUNT(march) FROM table_27501030_8 WHERE opponent = "Pittsburgh Penguins"
``` | 39,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_27501030_8 (march VARCHAR, opponent VARCHAR)\n\n Question: How many times did they play the pittsburgh penguins?\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_27529608_21 (qtr_final__week_ INTEGER, genre VARCHAR, age_s_ VARCHAR)
Question: What is the earliest quarterfinal week when the genre is dancing and the act is 32?
... | Here is the SQLite query to answer the question regarding the earliest quarterfinal week when the genre is dancing and the act is 32:
```
SELECT MIN(qtr_final__week_)
FROM table_27529608_21
WHERE genre = "Dancing" AND age_s_ = "32";
``` | 39,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_27529608_21 (qtr_final__week_ INTEGER, genre VARCHAR, age_s_ VARCHAR)\n\n Question: What is the earliest quarterfinal week w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)
Question: What is the quarterfinal week for Austin Anderson?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question regarding the quarterfinal week for Austin Anderson:
```
SELECT MIN(qtr_final__week_) FROM table_27529608_21 WHERE name_name_of_act = "Austin Anderson"
``` | 39,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_27529608_21 (qtr_final__week_ INTEGER, name_name_of_act VARCHAR)\n\n Question: What is the quarterfinal week for Austin Ande... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27529608_21 (genre VARCHAR, age_s_ VARCHAR)
Question: What is the genre for the group with ages 29-30?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question regarding the genre for the group with ages 29-30:
```
SELECT genre FROM table_27529608_21 WHERE age_s_ = "29-30";
``` | 39,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_27529608_21 (genre VARCHAR, age_s_ VARCHAR)\n\n Question: What is the genre for the group with ages 29-30?\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_27529608_21 (age_s_ VARCHAR, act VARCHAR)
Question: What is the age of the act who is a rapper?
Here is the SQLite query to answer to the question: What is the age... | Here is the SQLite query formatted as requested:
```
SELECT age_s_ FROM table_27529608_21 WHERE act = "Rapper"
``` | 39,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_27529608_21 (age_s_ VARCHAR, act VARCHAR)\n\n Question: What is the age of the act who is a rapper?\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_27529608_21 (hometown VARCHAR, name_name_of_act VARCHAR)
Question: What is the hometown of Plutonic?
Here is the SQLite query to answer to the question: What is th... | Here is the SQLite query to answer the question about the hometown of Plutonic:
```
SELECT hometown FROM table_27529608_21 WHERE name_name_of_act = "Plutonic";
``` | 39,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_27529608_21 (hometown VARCHAR, name_name_of_act VARCHAR)\n\n Question: What is the hometown of Plutonic?\n\nHere is the SQLi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR)
Question: How many semi-final weeks are there for acts from Pittsburgh, Pennsylvania?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding the number of semi-final weeks for acts from Pittsburgh, Pennsylvania:
```sql
SELECT COUNT(semi_final__week_)
FROM table_27529608_21
WHERE hometown = "Pittsburgh, Pennsylvania";
``` | 39,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_27529608_21 (semi_final__week_ VARCHAR, hometown VARCHAR)\n\n Question: How many semi-final weeks are there for acts from Pi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_275162_1 (margin_of_victory VARCHAR, location VARCHAR)
Question: What was the margin of victory for the event in lake forest, illinois?
Here is the SQLite query to... | Here is the SQLite query wrapped as you requested:
```
SELECT margin_of_victory FROM table_275162_1 WHERE location = "Lake Forest, Illinois"
``` | 39,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_275162_1 (margin_of_victory VARCHAR, location VARCHAR)\n\n Question: What was the margin of victory for the event in lake fo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_275162_1 (to_par VARCHAR, player VARCHAR)
Question: What was zach johnson's score to par?
Here is the SQLite query to answer to the question: What was zach johnson... | Here is the SQLite query to answer the question: What was Zach Johnson's score to par?:
```
SELECT to_par FROM table_275162_1 WHERE player = "Zach Johnson"
``` | 39,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_275162_1 (to_par VARCHAR, player VARCHAR)\n\n Question: What was zach johnson's score to par?\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_275162_1 (score VARCHAR, course VARCHAR)
Question: What was the winning score at bellerive country club?
Here is the SQLite query to answer to the question: What w... | Here is the SQLite query to answer the question about the winning score at Bellerive Country Club:
```
SELECT score FROM table_275162_1 WHERE course = 'Bellerive country club';
``` | 39,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_275162_1 (score VARCHAR, course VARCHAR)\n\n Question: What was the winning score at bellerive country club?\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_275162_1 (course VARCHAR, location VARCHAR)
Question: How many courses are located in carmel, indiana?
Here is the SQLite query to answer to the question: How many... | Here is the SQLite query to answer the question about how many courses are located in Carmel, Indiana:
```
SELECT COUNT(course) FROM table_275162_1 WHERE location = "Carmel, Indiana";
``` | 39,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_275162_1 (course VARCHAR, location VARCHAR)\n\n Question: How many courses are located in carmel, indiana?\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_27514362_7 (status VARCHAR, entrant VARCHAR)
Question: How many status figures does James Finch have?
Here is the SQLite query to answer to the question: How many ... | Here is the SQLite query to answer the question of how many status figures James Finch has:
```
SELECT COUNT(status) FROM table_27514362_7 WHERE entrant = "James Finch";
``` | 39,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_27514362_7 (status VARCHAR, entrant VARCHAR)\n\n Question: How many status figures does James Finch have?\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_27514362_7 (car_make VARCHAR, driver VARCHAR)
Question: What is the car make for Sterling Marlin?
Here is the SQLite query to answer to the question: What is the c... | Here is the SQLite query to answer the question about the car make for Sterling Marlin:
```
SELECT car_make FROM table_27514362_7 WHERE driver = "Sterling Marlin";
``` | 39,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_27514362_7 (car_make VARCHAR, driver VARCHAR)\n\n Question: What is the car make for Sterling Marlin?\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_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)
Question: What is the finish position for cars by Pontiac driven by Bobby Hamilton?
Here is the SQLite q... | Here is the SQLite query to answer the question regarding the finish position for cars by Pontiac driven by Bobby Hamilton:
```
SELECT pos FROM table_27514362_7 WHERE car_make = "Pontiac" AND driver = "Bobby Hamilton";
``` | 39,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_27514362_7 (pos VARCHAR, car_make VARCHAR, driver VARCHAR)\n\n Question: What is the finish position for cars by Pontiac dri... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27515452_3 (contestant VARCHAR, sizes VARCHAR)
Question: who are the participants that wear clothing in 33-23-36
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about participants who wear clothing in the size 33-23-36:
```sql
SELECT contestant FROM table_27515452_3 WHERE sizes = '33-23-36';
``` | 39,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_27515452_3 (contestant VARCHAR, sizes VARCHAR)\n\n Question: who are the participants that wear clothing in 33-23-36\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27515452_3 (age INTEGER, hometown VARCHAR)
Question: what is the oldest and lives in veraguas
Here is the SQLite query to answer to the question: what is the oldes... | Your provided SQLite query is almost correct, but it would be beneficial to also retrieve the full record of the person who is the oldest in Veraguas. This includes both the age and hometown.
To additionally fetch the details such as the age and hometown of the person with the maximum age living in Veraguas, you can ... | 39,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_27515452_3 (age INTEGER, hometown VARCHAR)\n\n Question: what is the oldest and lives in veraguas\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_27515452_3 (hometown VARCHAR, contestant VARCHAR)
Question: where is the participant marelissa him from
Here is the SQLite query to answer to the question: where i... | Here is the SQLite query to answer the question: where is the participant Marelissa Him from:
```
SELECT hometown FROM table_27515452_3 WHERE contestant = "Marelissa Him"
``` | 39,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_27515452_3 (hometown VARCHAR, contestant VARCHAR)\n\n Question: where is the participant marelissa him from\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_27515452_3 (agency VARCHAR, sizes VARCHAR)
Question: which company has a person that can wear clothing in 33-23-36
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question regarding which company has a person that can wear clothing in 33-23-36:
```
SELECT agency FROM table_27515452_3 WHERE sizes = "33-23-36";
``` | 39,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_27515452_3 (agency VARCHAR, sizes VARCHAR)\n\n Question: which company has a person that can wear clothing in 33-23-36\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27515452_3 (height VARCHAR, sizes VARCHAR)
Question: how tall is someone who is able to wear 33-24-35
Here is the SQLite query to answer to the question: how tall ... | Here is the SQLite query to answer the question about how tall someone is who is able to wear 33-24-35:
```
SELECT height FROM table_27515452_3 WHERE sizes = '33-24-35';
``` | 39,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_27515452_3 (height VARCHAR, sizes VARCHAR)\n\n Question: how tall is someone who is able to wear 33-24-35\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_27533947_1 (total_points INTEGER, best_winning_average VARCHAR)
Question: If the best winning average is 7.3-71, what are the total points?
Here is the SQLite quer... | Here is the SQLite query to answer the question about the total points when the best winning average is 7.3-71:
```sql
SELECT total_points FROM table_27533947_1 WHERE best_winning_average = '7.3-71';
``` | 39,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_27533947_1 (total_points INTEGER, best_winning_average VARCHAR)\n\n Question: If the best winning average is 7.3-71, what ar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (games_lost VARCHAR, best_run VARCHAR)
Question: if the best run was 138, what is the amount of games lost?
Here is the SQLite query to answer to the qu... | Your SQLite query is almost correct, but since `best_run` is defined as a `VARCHAR` data type in the schema, the value `138` should be enclosed in quotes. Here’s the corrected query:
```
SELECT games_lost FROM table_27533947_1 WHERE best_run = '138'
```
This query retrieves the number of games lost where the best ru... | 39,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_27533947_1 (games_lost VARCHAR, best_run VARCHAR)\n\n Question: if the best run was 138, what is the amount of games lost?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (best_winning_average VARCHAR, games_won VARCHAR)
Question: If the games won are 5, what is the best winning average?
Here is the SQLite query to answer... | Here is the SQLite query to answer your question:
```
SELECT best_winning_average FROM table_27533947_1 WHERE games_won = '5'
``` | 39,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_27533947_1 (best_winning_average VARCHAR, games_won VARCHAR)\n\n Question: If the games won are 5, what is the best winning ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (total_points INTEGER, players VARCHAR)
Question: If the player is William Jakes, what are the total points?
Here is the SQLite query to answer to the q... | The provided query uses `MIN(total_points)`, which seems to be unnecessary if you are just looking for the total points for a specific player. If you want to directly retrieve the total points for William Jakes, you can simply use `SUM(total_points)` or just select the total points without aggregation, depending on how... | 39,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_27533947_1 (total_points INTEGER, players VARCHAR)\n\n Question: If the player is William Jakes, what are the total points?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (players VARCHAR, grand_average VARCHAR)
Question: If the grand average is 12.76-202, who is the player?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the player with the grand average of "12.76-202":
```
SELECT players FROM table_27533947_1 WHERE grand_average = "12.76-202";
``` | 39,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_27533947_1 (players VARCHAR, grand_average VARCHAR)\n\n Question: If the grand average is 12.76-202, who is the player?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27533947_1 (games_won VARCHAR, best_winning_average VARCHAR)
Question: How many players had a best winning average of 20?
Here is the SQLite query to answer to the... | Your SQLite query looks mostly correct, but it is more common to use `COUNT(*)` to count the number of records rather than counting a specific column that may contain `NULL` values. Here's how you can write the query:
```sql
SELECT COUNT(*) FROM table_27533947_1 WHERE best_winning_average = "20";
```
This will retur... | 39,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_27533947_1 (games_won VARCHAR, best_winning_average VARCHAR)\n\n Question: How many players had a best winning average of 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_4 (record VARCHAR, date VARCHAR)
Question: What was the October 22 record?
Here is the SQLite query to answer to the question: What was the October 22 rec... | Your SQLite query to find the record for October 22 looks good. Here it is wrapped in code format:
```
SELECT record FROM table_27537518_4 WHERE date = "October 22";
``` | 39,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_27537518_4 (record VARCHAR, date VARCHAR)\n\n Question: What was the October 22 record?\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_27537518_4 (attendance INTEGER, score VARCHAR)
Question: What was the 6-4 score's maximum attendance?
Here is the SQLite query to answer to the question: What was ... | Your SQL query is correct. Here it is wrapped in the appropriate code block:
```
SELECT MAX(attendance) FROM table_27537518_4 WHERE score = "6-4";
``` | 39,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_27537518_4 (attendance INTEGER, score VARCHAR)\n\n Question: What was the 6-4 score's maximum attendance?\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_27537518_4 (score VARCHAR, game VARCHAR)
Question: What was the score for game #1?
Here is the SQLite query to answer to the question: What was the score for game ... | Here's the SQLite query to find the score for game #1:
```sql
SELECT score FROM table_27537518_4 WHERE game = '1'
```
Note that if the `game` column is stored as a string, you should use quotes around the value '1'. If it's stored as an integer, then your original query would be correct, but it's always a good idea ... | 39,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_27537518_4 (score VARCHAR, game VARCHAR)\n\n Question: What was the score for game #1?\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_27537518_4 (record VARCHAR, date VARCHAR)
Question: What was the record for the October 16 game?
Here is the SQLite query to answer to the question: What was the r... | Here is the SQLite query to answer the question about the record for the October 16 game:
```sql
SELECT record FROM table_27537518_4 WHERE date = "October 16";
``` | 39,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_27537518_4 (record VARCHAR, date VARCHAR)\n\n Question: What was the record for the October 16 game?\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_27537518_6 (record VARCHAR, first_star VARCHAR)
Question: What was the record in the game whose first star was J. Oduya?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the record in the game whose first star was J. Oduya:
```sql
SELECT record FROM table_27537518_6 WHERE first_star = "J. Oduya"
``` | 39,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_27537518_6 (record VARCHAR, first_star VARCHAR)\n\n Question: What was the record in the game whose first star was J. Oduya?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_6 (score VARCHAR, first_star VARCHAR)
Question: What was the score of the game whose first star was O. Pavelec?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question about the score of the game whose first star was O. Pavelec:
```
SELECT score FROM table_27537518_6 WHERE first_star = "O. Pavelec"
``` | 39,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_27537518_6 (score VARCHAR, first_star VARCHAR)\n\n Question: What was the score of the game whose first star was O. Pavelec?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_6 (decision VARCHAR, date VARCHAR)
Question: Who made the decision in the game played on December 26?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question: Who made the decision in the game played on December 26?:
```
SELECT decision FROM table_27537518_6 WHERE date = "December 26";
``` | 39,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_27537518_6 (decision VARCHAR, date VARCHAR)\n\n Question: Who made the decision in the game played on December 26?\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_27537518_6 (location VARCHAR, attendance VARCHAR)
Question: Where was the game seen by 10056 people played?
Here is the SQLite query to answer to the question: Whe... | Here is the correct SQLite query to answer the question:
```sql
SELECT location FROM table_27537518_6 WHERE attendance = '10056'
```
Note that the attendance should be treated as a string since the column is defined as `VARCHAR`. | 39,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_27537518_6 (location VARCHAR, attendance VARCHAR)\n\n Question: Where was the game seen by 10056 people played?\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_27537518_6 (first_star VARCHAR, record VARCHAR)
Question: Who was the first star of the game with record of 17-11-5?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about who was the first star of the game with a record of 17-11-5:
```sql
SELECT first_star FROM table_27537518_6 WHERE record = '17-11-5';
``` | 39,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_27537518_6 (first_star VARCHAR, record VARCHAR)\n\n Question: Who was the first star of the game with record of 17-11-5?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_6 (decision VARCHAR, first_star VARCHAR)
Question: Who made the decisions in the game whose first star was V. Lecavalier?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question:
```
SELECT decision FROM table_27537518_6 WHERE first_star = "V. Lecavalier"
``` | 39,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_27537518_6 (decision VARCHAR, first_star VARCHAR)\n\n Question: Who made the decisions in the game whose first star was V. L... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_27537518_7 (score VARCHAR, record VARCHAR)
Question: What was the final score the game where the Thrashers over-all record went to 22-16-6?
Here is the SQLite quer... | Here is the SQLite query to answer the question regarding the final score of the game where the Thrashers' overall record went to 22-16-6:
```
SELECT score FROM table_27537518_7 WHERE record = "22-16-6"
``` | 39,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_27537518_7 (score VARCHAR, record VARCHAR)\n\n Question: What was the final score the game where the Thrashers over-all reco... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.