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_13018091_1 (drawn VARCHAR, club VARCHAR)
Question: How many teams drew the widnes vikings?
Here is the SQLite query to answer to the question: How many teams drew ... | Here is the SQLite query to answer the question of how many teams drew the Widnes Vikings:
```
SELECT COUNT(drawn) FROM table_13018091_1 WHERE club = "Widnes Vikings";
``` | 28,800 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13018091_1 (drawn VARCHAR, club VARCHAR)\n\n Question: How many teams drew the widnes vikings?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13018091_1 (won INTEGER, club VARCHAR)
Question: How many games did whitehaven win?
Here is the SQLite query to answer to the question: How many games did whitehav... | It looks like you want to count the number of games won by the club "Whitehaven". However, the SQL query you provided uses `MIN(won)`, which is not appropriate for counting wins. Instead, you should use the `SUM` function to calculate the total number of wins.
Here is the corrected SQLite query:
```
SELECT SUM(won) F... | 28,801 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13018091_1 (won INTEGER, club VARCHAR)\n\n Question: How many games did whitehaven win?\n\nHere is the SQLite query to answe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR)
Question: What position did the sheffield eagles finish in?
Here is the SQLite query to answer to the question: What po... | To find out what position the Sheffield Eagles finished in, you should use the `MIN` function instead of `MAX`, as a lower position number typically indicates a better ranking (e.g., 1st is better than 2nd). Here's the corrected SQLite query:
```sql
SELECT MIN(position) FROM table_13018091_1 WHERE club = "Sheffield Ea... | 28,802 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13018091_1 (position INTEGER, club VARCHAR)\n\n Question: What position did the sheffield eagles finish in?\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_13023925_2 (date VARCHAR, week VARCHAR)
Question: What was the date of the game in week 14?
Here is the SQLite query to answer to the question: What was the date o... | Your SQLite query looks good, but make sure to keep the week value in quotes since it is likely to be a string in the database schema you provided. Here's the corrected query:
```
SELECT date FROM table_13023925_2 WHERE week = '14'
``` | 28,803 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13023925_2 (date VARCHAR, week VARCHAR)\n\n Question: What was the date of the game in week 14?\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_13015539_1 (points VARCHAR, lost VARCHAR)
Question: What is the total points for the tean with 8 losses?
Here is the SQLite query to answer to the question: What i... | The provided query has a small issue. To get the total points for the team with 8 losses, you need to sum the points instead of counting them. Additionally, you should ensure that the points are converted to a numeric type if they are stored as VARCHAR. Here is the corrected SQLite query:
```
SELECT SUM(CAST(points AS... | 28,804 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13015539_1 (points VARCHAR, lost VARCHAR)\n\n Question: What is the total points for the tean with 8 losses?\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_13015539_1 (lost VARCHAR, club VARCHAR)
Question: How many numbers are given for losses by the Keighley Cougars?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about how many numbers are given for losses by the Keighley Cougars:
```
SELECT COUNT(lost) FROM table_13015539_1 WHERE club = 'Keighley Cougars';
``` | 28,805 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13015539_1 (lost VARCHAR, club VARCHAR)\n\n Question: How many numbers are given for losses by the Keighley Cougars?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1301373_7 (australian_marquee VARCHAR, international_marquee VARCHAR)
Question: Name the australian marquee for alessandro del piero
Here is the SQLite query to an... | Here is the SQLite query to answer the question regarding the Australian marquee for Alessandro Del Piero:
```sql
SELECT australian_marquee FROM table_1301373_7 WHERE international_marquee = "Alessandro Del Piero";
``` | 28,806 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1301373_7 (australian_marquee VARCHAR, international_marquee VARCHAR)\n\n Question: Name the australian marquee for alessand... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)
Question: Name the vice captain for melbourne victory
Here is the SQLite query to answer to the question: N... | There seems to be a small mistake in the SQL query you've provided. The correct syntax should use the `SELECT` statement properly to retrieve the `Vice` captain by selecting it directly without any arithmetic operations. Here's the corrected version of the query:
```sql
SELECT Vice FROM table_1301373_7 WHERE club = "M... | 28,807 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1301373_7 (Vice VARCHAR, captain VARCHAR, club VARCHAR)\n\n Question: Name the vice captain for melbourne victory\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_1301373_7 (captain VARCHAR, international_marquee VARCHAR)
Question: Name the captain for emile heskey
Here is the SQLite query to answer to the question: Name the... | Here is the SQLite query to answer the question about the captain for Emile Heskey:
```
SELECT captain FROM table_1301373_7 WHERE international_marquee = "Emile Heskey"
``` | 28,808 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1301373_7 (captain VARCHAR, international_marquee VARCHAR)\n\n Question: Name the captain for emile heskey\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_13026799_1 (championship VARCHAR, margin VARCHAR)
Question: What championship had a margin of playoff 2?
Here is the SQLite query to answer to the question: What c... | Here is the SQLite query to answer the question about which championship had a margin of "Playoff 2":
```
SELECT championship FROM table_13026799_1 WHERE margin = 'Playoff 2';
``` | 28,809 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_1 (championship VARCHAR, margin VARCHAR)\n\n Question: What championship had a margin of playoff 2?\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_13026799_1 (margin VARCHAR, championship VARCHAR)
Question: What was the margin of the Masters Tournament?
Here is the SQLite query to answer to the question: What... | Your SQLite query is correct for retrieving the margin of the Masters Tournament. Here it is wrapped in the requested format:
```
SELECT margin FROM table_13026799_1 WHERE championship = "Masters Tournament";
``` | 28,810 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_1 (margin VARCHAR, championship VARCHAR)\n\n Question: What was the margin of the Masters Tournament?\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_13026799_1 (winning_score VARCHAR, championship VARCHAR)
Question: What was the winning score of the Masters Tournament?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question: What was the winning score of the Masters Tournament?:
```sql
SELECT winning_score FROM table_13026799_1 WHERE championship = "Masters Tournament";
``` | 28,811 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)\n\n Question: What was the winning score of the Masters Tournament?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)
Question: What was the winning score of the PGA Championship (3)?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question about the winning score of the PGA Championship (3):
```sql
SELECT winning_score FROM table_13026799_1 WHERE championship = "PGA Championship (3)";
``` | 28,812 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_1 (winning_score VARCHAR, championship VARCHAR)\n\n Question: What was the winning score of the PGA Championship (3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR)
Question: What is the number of starts for 1987?
Here is the SQLite query to answer to the question: What is the number o... | Here is the SQLite query to answer the question regarding the number of starts for 1987:
```sql
SELECT COUNT(starts) FROM table_13026799_3 WHERE year = '1987'
``` | 28,813 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_3 (starts VARCHAR, year VARCHAR)\n\n Question: What is the number of starts for 1987?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13026799_3 (scoring_average VARCHAR, earnings__$_ VARCHAR)
Question: What is the scoring aerage for 111419?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question about the scoring average for the earnings value of 111419:
```
SELECT scoring_average FROM table_13026799_3 WHERE earnings__$_ = '111419'
```
Note that I enclosed `111419` in single quotes because the `earnings__$_` column is defined as a `VARCHAR`, so it should be tr... | 28,814 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_3 (scoring_average VARCHAR, earnings__$_ VARCHAR)\n\n Question: What is the scoring aerage for 111419?\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_13026799_3 (money_list_rank VARCHAR, year VARCHAR)
Question: What is the money list rank for 1966?
Here is the SQLite query to answer to the question: What is the ... | Here's the SQLite query to find the money list rank for the year 1966, wrapped in code formatting:
```
SELECT money_list_rank FROM table_13026799_3 WHERE year = '1966'
``` | 28,815 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_3 (money_list_rank VARCHAR, year VARCHAR)\n\n Question: What is the money list rank for 1966?\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_13026799_3 (scoring_average VARCHAR, money_list_rank VARCHAR)
Question: Name the total number of scoring average for money list rank of 174
Here is the SQLite quer... | Your SQLite query is correctly formulated to count the total number of scoring averages for the money list rank of 174. Here it is wrapped in code formatting:
```
SELECT COUNT(scoring_average) FROM table_13026799_3 WHERE money_list_rank = "174"
``` | 28,816 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13026799_3 (scoring_average VARCHAR, money_list_rank VARCHAR)\n\n Question: Name the total number of scoring average for mon... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1302886_1 (county VARCHAR, kerry_number VARCHAR)
Question: What is the county where kerry# is 59740?
Here is the SQLite query to answer to the question: What is th... | Here is the SQLite query to find the county where kerry# is 59740:
```
SELECT county FROM table_1302886_1 WHERE kerry_number = '59740'
``` | 28,817 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1302886_1 (county VARCHAR, kerry_number VARCHAR)\n\n Question: What is the county where kerry# is 59740?\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_1302886_1 (kerry_number VARCHAR, county VARCHAR)
Question: In cook county Kerry# is?
Here is the SQLite query to answer to the question: In cook county Kerry# is?:... | Your SQL query to retrieve the Kerry numbers for Cook County is correct. Here it is formatted as you requested:
```
SELECT kerry_number FROM table_1302886_1 WHERE county = "Cook"
``` | 28,818 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, county VARCHAR)\n\n Question: In cook county Kerry# is?\n\nHere is the SQLite query to answ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, bush_number VARCHAR)
Question: When bush# is 3907, what is Kerry#?
Here is the SQLite query to answer to the question: When bush# ... | Here is the SQLite query to answer the question: When bush# is 3907, what is Kerry#?:
```
SELECT kerry_number FROM table_1302886_1 WHERE bush_number = '3907'
``` | 28,819 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1302886_1 (kerry_number VARCHAR, bush_number VARCHAR)\n\n Question: When bush# is 3907, what is Kerry#?\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_1302886_1 (others_number INTEGER, bush_percentage VARCHAR)
Question: What is the others# when bush% is 57.0%?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question: What is the others# when bush% is 57.0%?:
```
SELECT others_number FROM table_1302886_1 WHERE bush_percentage = "57.0%"
``` | 28,820 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1302886_1 (others_number INTEGER, bush_percentage VARCHAR)\n\n Question: What is the others# when bush% is 57.0%?\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_13036251_1 (the_mole VARCHAR, airdate VARCHAR)
Question: what's the mole with airdate being 8 january 2009
Here is the SQLite query to answer to the question: what... | Here is the SQLite query to answer the question: what's the mole with airdate being 8 January 2009:
```
SELECT the_mole FROM table_13036251_1 WHERE airdate = "8 January 2009";
``` | 28,821 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)\n\n Question: what's the mole with airdate being 8 january 2009\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_13036251_1 (the_mole VARCHAR, prize_money VARCHAR)
Question: what's the mole with prize money being €24,475
Here is the SQLite query to answer to the question: wha... | Here is the SQLite query to answer the question about which mole has prize money of €24,475:
```
SELECT the_mole FROM table_13036251_1 WHERE prize_money = "€24,475";
``` | 28,822 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (the_mole VARCHAR, prize_money VARCHAR)\n\n Question: what's the mole with prize money being €24,475\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_13036251_1 (the_mole VARCHAR, airdate VARCHAR)
Question: what's the the mole with airdate being 5 january 2012
Here is the SQLite query to answer to the question:... | The provided query counts the number of entries for "the mole" with the airdate of January 5, 2012. If you want to retrieve the specific "the mole" entries for that date instead of counting them, you can modify the query as follows:
```sql
SELECT the_mole FROM table_13036251_1 WHERE airdate = "5 January 2012"
```
Thi... | 28,823 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (the_mole VARCHAR, airdate VARCHAR)\n\n Question: what's the the mole with airdate being 5 january 2012\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR)
Question: what's airdate with international destination being scotland
Here is the SQLite query to ... | Here is the SQLite query to answer the question about the airdate with the international destination being Scotland:
```
SELECT airdate FROM table_13036251_1 WHERE international_destination = "Scotland"
``` | 28,824 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (airdate VARCHAR, international_destination VARCHAR)\n\n Question: what's airdate with international destination ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)
Question: what's the mole with winner being frédérique huydts
Here is the SQLite query to answer to the question: wha... | Your query is almost correct, but it looks like the string comparison should also account for potential variations in case sensitivity and the correct use of characters. Here's a refined version of the SQLite query:
```sql
SELECT the_mole FROM table_13036251_1 WHERE winner = 'Frédérique Huydts';
```
This query selec... | 28,825 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (the_mole VARCHAR, winner VARCHAR)\n\n Question: what's the mole with winner being frédérique huydts\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_13036251_1 (runner_up VARCHAR, season VARCHAR)
Question: what's runner-up with season being season 13
Here is the SQLite query to answer to the question: what's ru... | Your SQLite query is correctly written. Here it is wrapped in the appropriate code block:
```
SELECT runner_up FROM table_13036251_1 WHERE season = "season 13";
``` | 28,826 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13036251_1 (runner_up VARCHAR, season VARCHAR)\n\n Question: what's runner-up with season being season 13\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1304443_2 (county VARCHAR, kerry_number VARCHAR)
Question: In what county did 29231 people vote for Kerry?
Here is the SQLite query to answer to the question: In w... | Here's the SQLite query to answer the question about the county where 29,231 people voted for Kerry:
```sql
SELECT county FROM table_1304443_2 WHERE kerry_number = '29231';
```
Note: The value for `kerry_number` is enclosed in single quotes to treat it as a string, which is appropriate given that `kerry_number` is d... | 28,827 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1304443_2 (county VARCHAR, kerry_number VARCHAR)\n\n Question: In what county did 29231 people vote for Kerry?\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_1304443_2 (county VARCHAR, bush_percentage VARCHAR)
Question: What's the name of the county where 48.3% voted for Bush?
Here is the SQLite query to answer to the q... | Your SQLite query is correctly structured to find the county where 48.3% voted for Bush. Here it is, formatted as requested:
```
SELECT county FROM table_1304443_2 WHERE bush_percentage = "48.3%"
``` | 28,828 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)\n\n Question: What's the name of the county where 48.3% voted for Bush?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)
Question: What's the percentage of votes for other candidates in the county where Bush got 51.6% of t... | Here is the SQLite query to answer the question about the percentage of votes for other candidates in the county where Bush got 51.6% of the votes:
```
SELECT others_percentage FROM table_1304443_2 WHERE bush_percentage = "51.6%"
``` | 28,829 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1304443_2 (others_percentage VARCHAR, bush_percentage VARCHAR)\n\n Question: What's the percentage of votes for other candid... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)
Question: What's the name of the county where 54.6% voted for Bush?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about which county voted for Bush with a percentage of 54.6%:
```
SELECT county FROM table_1304443_2 WHERE bush_percentage = "54.6%"
``` | 28,830 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1304443_2 (county VARCHAR, bush_percentage VARCHAR)\n\n Question: What's the name of the county where 54.6% voted for Bush?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13050003_3 (steals VARCHAR, year VARCHAR)
Question: What is the number of steals for 2012
Here is the SQLite query to answer to the question: What is the number of... | Here is the SQLite query to answer the question about the number of steals for the year 2012:
```
SELECT SUM(steals) FROM table_13050003_3 WHERE year = '2012'
```
Note: I changed `COUNT(steals)` to `SUM(steals)` since we typically want to sum the values of steals rather than count the rows unless we specifically nee... | 28,831 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13050003_3 (steals VARCHAR, year VARCHAR)\n\n Question: What is the number of steals for 2012\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_13050003_2 (blocks VARCHAR, points VARCHAR)
Question: Who are the blockers where points are scored by Zach Randolph (24)?
Here is the SQLite query to answer to the... | Here is the SQLite query to find the blockers where points are scored by Zach Randolph (24):
```sql
SELECT blocks FROM table_13050003_2 WHERE points = 'Zach Randolph (24)';
``` | 28,832 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13050003_2 (blocks VARCHAR, points VARCHAR)\n\n Question: Who are the blockers where points are scored by Zach Randolph (24)... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)
Question: How many rebounds were there in 2008?
Here is the SQLite query to answer to the question: How many rebounds w... | Here is the SQLite query to answer the question: How many rebounds were there in 2008?:
```
SELECT SUM(rebounds) FROM table_13050003_2 WHERE year = '2008'
``` | 28,833 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13050003_2 (rebounds VARCHAR, year VARCHAR)\n\n Question: How many rebounds were there in 2008?\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_13050003_2 (blocks VARCHAR, year VARCHAR)
Question: Who had all of the blocks in 2012?
Here is the SQLite query to answer to the question: Who had all of the block... | Your query is close, but the context of the question seems to require identifying unique blocks that were present in 2012, possibly implying that there are no duplicates for "blocks" in that year. If that's your intent, the query looks good for fetching the blocks in 2012. However, if you're looking to ensure you're ch... | 28,834 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13050003_2 (blocks VARCHAR, year VARCHAR)\n\n Question: Who had all of the blocks in 2012?\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_13050003_2 (year INTEGER, blocks VARCHAR)
Question: What year has Nerlens Noel (4) as blocker?
Here is the SQLite query to answer to the question: What year has Ne... | Here is the SQLite query to answer the question about which year has Nerlens Noel (4) as a blocker:
```
SELECT MIN(year) FROM table_13050003_2 WHERE blocks = "Nerlens Noel (4)"
``` | 28,835 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13050003_2 (year INTEGER, blocks VARCHAR)\n\n Question: What year has Nerlens Noel (4) as blocker?\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_1305623_18 (silver_medals INTEGER)
Question: What is the most silver medals?
Here is the SQLite query to answer to the question: What is the most silver medals?:
`... | Your SQLite query is correct for finding the maximum number of silver medals from the given table. Here’s the query wrapped as requested:
```
SELECT MAX(silver_medals) FROM table_1305623_18;
``` | 28,836 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1305623_18 (silver_medals INTEGER)\n\n Question: What is the most silver medals?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)
Question: what are all the gold medals when the silver medals is smaller than 1.0?
Here is the SQLite query... | Here is the SQLite query to answer the question regarding gold medals when the silver medals are smaller than 1.0:
```
SELECT gold_medals FROM table_1305623_18 WHERE silver_medals < 1.0
``` | 28,837 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1305623_18 (gold_medals VARCHAR, silver_medals INTEGER)\n\n Question: what are all the gold medals when the silver medals is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR)
Question: How many numbers were listed under Silver Medals for Portsmouth HS?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about how many numbers were listed under Silver Medals for Portsmouth HS:
```sql
SELECT COUNT(silver_medals) FROM table_1305623_20 WHERE ensemble = "Portsmouth HS";
``` | 28,838 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1305623_20 (silver_medals VARCHAR, ensemble VARCHAR)\n\n Question: How many numbers were listed under Silver Medals for Port... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1305623_20 (total_medals INTEGER)
Question: What was the smallest total number of medals?
Here is the SQLite query to answer to the question: What was the smallest... | Here is the SQLite query to answer the question about the smallest total number of medals:
```
SELECT MIN(total_medals) FROM table_1305623_20;
``` | 28,839 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1305623_20 (total_medals INTEGER)\n\n Question: What was the smallest total number of medals?\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_1305623_20 (gold_medals INTEGER, ensemble VARCHAR)
Question: What is the highest number of gold medals Naugatuck HS won?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question regarding the highest number of gold medals Naugatuck HS won:
```
SELECT MAX(gold_medals) FROM table_1305623_20 WHERE ensemble = "Naugatuck HS"
``` | 28,840 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1305623_20 (gold_medals INTEGER, ensemble VARCHAR)\n\n Question: What is the highest number of gold medals Naugatuck HS won?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)
Question: what is the maximum round for gt3 winner hector lester tim mullen and pole position ... | Your SQLite query looks correct for the specified question. Here it is wrapped in code formatting:
```
SELECT MAX(round) FROM table_13079788_3 WHERE gt3_winner = "Hector Lester Tim Mullen" AND pole_position = "Jonny Cocker Paul Drayson";
```
This query will return the maximum round value where the `gt3_winner` is "H... | 28,841 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (round INTEGER, gt3_winner VARCHAR, pole_position VARCHAR)\n\n Question: what is the maximum round for gt3 winner... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (date VARCHAR, gt3_winner VARCHAR)
Question: what are all the date for gt3 winner oliver bryant matt harris
Here is the SQLite query to answer to the qu... | The provided query seems to be looking for a single winner name, but if "Oliver Bryant" and "Matt Harris" are two separate winners, you might want to use the `IN` clause or the `OR` condition to retrieve the dates for both winners. Here is the corrected SQLite query:
```
SELECT date FROM table_13079788_3 WHERE gt3_win... | 28,842 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (date VARCHAR, gt3_winner VARCHAR)\n\n Question: what are all the date for gt3 winner oliver bryant matt harris\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR)
Question: what are all the date for gtc winners graeme mundy jamie smyth and gt3 winners hector le... | It seems there is a misunderstanding in the query logic. To fetch the dates for the specified GTC winners (Graeme Mundy or Jamie Smyth) and GT3 winners (Hector Lester or Tim Mullen), we need to use the OR operator instead of AND. Here's the corrected SQLite query:
```sql
SELECT date
FROM table_13079788_3
WHERE (gtc_... | 28,843 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (date VARCHAR, gtc_winner VARCHAR, gt3_winner VARCHAR)\n\n Question: what are all the date for gtc winners graeme... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR)
Question: what are all the circuit for 9 september and gt3 winner hector lester allan simonsen
Here ... | Here is the SQLite query to answer the question regarding all circuits for 9 September and GT3 winner Hector Lester Allan Simonsen:
```
SELECT circuit FROM table_13079788_3 WHERE date = "9 September" AND gt3_winner = "Hector Lester Allan Simonsen";
``` | 28,844 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (circuit VARCHAR, date VARCHAR, gt3_winner VARCHAR)\n\n Question: what are all the circuit for 9 september and gt... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)
Question: what are all the circuit for gtc winner graeme mundy jamie smyth and pole position... | The provided query incorrectly assumes that `gtc_winner` should exactly match "Graeme Mundy Jamie Smyth" and that `pole_position` should exactly match "Bradley Ellis Alex Mortimer", which is not likely the case. Instead, you need to use the `IN` clause to check for multiple values for both `gtc_winner` and `pole_positi... | 28,845 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (circuit VARCHAR, gtc_winner VARCHAR, pole_position VARCHAR)\n\n Question: what are all the circuit for gtc winne... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)
Question: what are all the gtc winners for pole position no. 21 team modena
Here is the SQLite query to answ... | Your query is correctly structured to retrieve the gtc winners for the specified pole position. Here it is wrapped in code formatting as requested:
```
SELECT gtc_winner FROM table_13079788_3 WHERE pole_position = "No. 21 Team Modena";
``` | 28,846 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13079788_3 (gtc_winner VARCHAR, pole_position VARCHAR)\n\n Question: what are all the gtc winners for pole position no. 21 t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307572_1 (composition VARCHAR, edge VARCHAR)
Question: What material is made with a rounded, plain edge?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about what material is made with a rounded, plain edge:
```
SELECT composition FROM table_1307572_1 WHERE edge = "Rounded, plain"
``` | 28,847 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307572_1 (composition VARCHAR, edge VARCHAR)\n\n Question: What material is made with a rounded, plain edge?\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_1307572_1 (reverse VARCHAR, diameter VARCHAR)
Question: How many coins have a diameter of 23mm?
Here is the SQLite query to answer to the question: How many coins ... | Here is the SQLite query to answer the question of how many coins have a diameter of 23mm:
```
SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm"
``` | 28,848 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307572_1 (reverse VARCHAR, diameter VARCHAR)\n\n Question: How many coins have a diameter of 23mm?\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_1307572_1 (first_minting VARCHAR, mass VARCHAR)
Question: When was the coin with the mass of 3.7 g first minted?
Here is the SQLite query to answer to the question... | Your SQLite query is correctly structured to retrieve the first minting date for the coin with a mass of 3.7 g. Here is the formatted code block:
```
SELECT first_minting FROM table_1307572_1 WHERE mass = "3.7 g"
```
This query selects the `first_minting` from `table_1307572_1` where the `mass` is equal to "3.7 g". ... | 28,849 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307572_1 (first_minting VARCHAR, mass VARCHAR)\n\n Question: When was the coin with the mass of 3.7 g first minted?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR)
Question: What is the number of population for lithuania?
Here is the SQLite query to answer to the questi... | The SQLite query you provided has a slight misunderstanding in how to retrieve the population number. To get the population associated with Lithuania, you likely want to select the population value instead of counting the entries.
Here's the corrected SQLite query:
```
SELECT population FROM table_1307842_7 WHERE mem... | 28,850 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_7 (population VARCHAR, member_countries VARCHAR)\n\n Question: What is the number of population for lithuania?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_7 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: Name the gdp where gdp per capita 20200
Here is the SQLite query to answer to the que... | Your SQL query needs to ensure that the value for `gdp_per_capita__us$_` is compared correctly. Since the column `gdp_per_capita__us$_` is of type VARCHAR, we should treat the number as a string. Here's the corrected version of the SQLite query:
```
SELECT gdp__billion_us$_ FROM table_1307842_7 WHERE gdp_per_capita__u... | 28,851 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_7 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)\n\n Question: Name the gdp where gdp per capita 20200\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_7 (area__km²_ VARCHAR, population VARCHAR)
Question: Name the total number of area for 775927 population
Here is the SQLite query to answer to the question... | Your SQLite query looks mostly correct, but you should ensure that you handle the population value correctly since it is stored as a `VARCHAR`. It's usually a good practice to compare against a string when dealing with `VARCHAR` fields. Here's a revised version of your query:
```
SELECT COUNT(area__km²_) FROM table_13... | 28,852 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_7 (area__km²_ VARCHAR, population VARCHAR)\n\n Question: Name the total number of area for 775927 population\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR)
Question: What is the gdp of the country with an area of 83871 (km2)?
Here is the SQLite query to answer ... | Here is the corrected SQLite query to answer your question:
```sql
SELECT gdp__billion_us$_ FROM table_1307842_6 WHERE area__km²_ = '83871'
```
Note: The area is treated as a string in the schema, so it should be enclosed in quotes. | 28,853 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, area__km²_ VARCHAR)\n\n Question: What is the gdp of the country with an area of 83871... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)
Question: What was the gdp of the country with a gdp per capita of $18048?
Here is the SQLite q... | Here's the correct SQLite query to answer the question about the GDP of the country with a GDP per capita of $18048. Note that the value for `gdp_per_capita__us$_` should be treated as a string since the column type is VARCHAR. Hence, we should include the dollar sign and correctly quote the value:
```sql
SELECT gdp__... | 28,854 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_6 (gdp__billion_us$_ VARCHAR, gdp_per_capita__us$_ VARCHAR)\n\n Question: What was the gdp of the country with a gdp... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1307842_6 (area__km²_ INTEGER, member_countries VARCHAR)
Question: What is Austria's maximum area (km2)?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding Austria's maximum area (km²):
```
SELECT MAX(area__km²_) FROM table_1307842_6 WHERE member_countries = "Austria"
``` | 28,855 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1307842_6 (area__km²_ INTEGER, member_countries VARCHAR)\n\n Question: What is Austria's maximum area (km2)?\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_13082900_1 (season VARCHAR, rookie_of_the_year VARCHAR)
Question: What is the season for no award given for rookie of the year?
Here is the SQLite query to answer ... | Your SQLite query to find the season where no award was given for rookie of the year looks correct. Here it is wrapped in code formatting as you requested:
```
SELECT season FROM table_13082900_1 WHERE rookie_of_the_year = "No award given";
``` | 28,856 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13082900_1 (season VARCHAR, rookie_of_the_year VARCHAR)\n\n Question: What is the season for no award given for rookie of th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13110459_2 (air_date VARCHAR, overall VARCHAR)
Question: how many air date with overall being 83/95
Here is the SQLite query to answer to the question: how many ... | Your SQLite query to count the number of air dates where the overall rating is "83/95" is correct. Here it is wrapped in code as you requested:
```
SELECT COUNT(air_date) FROM table_13110459_2 WHERE overall = "83/95";
``` | 28,857 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (air_date VARCHAR, overall VARCHAR)\n\n Question: how many air date with overall being 83/95\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_13110459_2 (viewers__m_ VARCHAR, overall VARCHAR)
Question: how many viewers (m) with overall being 91/101
Here is the SQLite query to answer to the question: ho... | Here is the SQLite query to answer the question about how many viewers (m) have an overall rating of 91/101:
```
SELECT COUNT(viewers__m_) FROM table_13110459_2 WHERE overall = '91/101';
``` | 28,858 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (viewers__m_ VARCHAR, overall VARCHAR)\n\n Question: how many viewers (m) with overall being 91/101\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_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR)
Question: what are all the rating with viewers (m) being 2.89
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question regarding what are all the ratings with viewers (m) being 2.89:
```
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.89"
``` | 28,859 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR)\n\n Question: what are all the rating with viewers (m) being 2.89\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_13110459_2 (overall VARCHAR, rating VARCHAR)
Question: what are all the overall with rating being 1.4
Here is the SQLite query to answer to the question: what are ... | Here is the SQLite query to answer the question regarding all the `overall` values with a `rating` of 1.4:
```
SELECT overall FROM table_13110459_2 WHERE rating = "1.4"
``` | 28,860 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (overall VARCHAR, rating VARCHAR)\n\n Question: what are all the overall with rating being 1.4\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_13110459_2 (overall VARCHAR, viewers__m_ VARCHAR)
Question: what are all the overall with viewers (m) being 2.61
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about all the `overall` values with `viewers (m)` being 2.61:
```
SELECT overall FROM table_13110459_2 WHERE viewers__m_ = '2.61'
``` | 28,861 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (overall VARCHAR, viewers__m_ VARCHAR)\n\n Question: what are all the overall with viewers (m) being 2.61\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR)
Question: what are all the rating with viewers (m) being 2.61
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about all the ratings with viewers (m) being 2.61:
```
SELECT rating FROM table_13110459_2 WHERE viewers__m_ = "2.61"
``` | 28,862 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13110459_2 (rating VARCHAR, viewers__m_ VARCHAR)\n\n Question: what are all the rating with viewers (m) being 2.61\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_13114949_3 (year VARCHAR, qualifying_score VARCHAR)
Question: what is the year where the qualifying score was 15.150?
Here is the SQLite query to answer to the que... | Here is the SQLite query to find the year where the qualifying score was 15.150:
```
SELECT year FROM table_13114949_3 WHERE qualifying_score = '15.150';
``` | 28,863 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR)\n\n Question: what is the year where the qualifying score was 15.150?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13114949_3 (event VARCHAR, qualifying_score VARCHAR)
Question: how many times was the qualifying score 60.750?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about how many times the qualifying score was 60.750:
```
SELECT COUNT(event) FROM table_13114949_3 WHERE qualifying_score = "60.750"
``` | 28,864 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (event VARCHAR, qualifying_score VARCHAR)\n\n Question: how many times was the qualifying score 60.750?\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_13114949_3 (year VARCHAR, qualifying_score VARCHAR)
Question: how many times is the qualifying score 61.400?
Here is the SQLite query to answer to the question: ho... | Your SQLite query to count how many times the qualifying score is 61.400 is correct. Here it is wrapped in the requested format:
```
SELECT COUNT(year) FROM table_13114949_3 WHERE qualifying_score = "61.400";
``` | 28,865 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (year VARCHAR, qualifying_score VARCHAR)\n\n Question: how many times is the qualifying score 61.400?\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_13114949_3 (final_rank VARCHAR, event VARCHAR, competition VARCHAR)
Question: what is the final-rank for the uneven bars and the competition is u.s. championships?
... | Here is the SQLite query to answer the question regarding the final rank for the uneven bars at the U.S. Championships:
```
SELECT final_rank FROM table_13114949_3 WHERE event = "Uneven Bars" AND competition = "U.S. Championships"
``` | 28,866 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (final_rank VARCHAR, event VARCHAR, competition VARCHAR)\n\n Question: what is the final-rank for the uneven bars... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)
Question: what is the lowest qualifying rank?
Here is the SQLite query to answer to the question: what is the lowest qualifyin... | Your query is correct for finding the lowest qualifying rank. Here it is wrapped in code format:
```
SELECT MIN(qualifying_rank) FROM table_13114949_3;
``` | 28,867 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER)\n\n Question: what is the lowest qualifying rank?\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_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR)
Question: what is the highest qualifying rank where the comp... | Here is the SQLite query to find the highest qualifying rank where the competition is "Olympic Trials", the final rank is "4", and the qualifying score is "15.100":
```
SELECT MAX(qualifying_rank) FROM table_13114949_3 WHERE competition = "Olympic Trials" AND final_rank = "4" AND qualifying_score = "15.100"
``` | 28,868 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13114949_3 (qualifying_rank INTEGER, qualifying_score VARCHAR, competition VARCHAR, final_rank VARCHAR)\n\n Question: what i... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1315616_1 (kōhaku__number VARCHAR, red_team_host VARCHAR)
Question: In what number kōhaku was the red team host Peggy Hayama?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding in what number kōhaku was the red team host Peggy Hayama:
```
SELECT kōhaku__number FROM table_1315616_1 WHERE red_team_host = "Peggy Hayama"
``` | 28,869 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1315616_1 (kōhaku__number VARCHAR, red_team_host VARCHAR)\n\n Question: In what number kōhaku was the red team host Peggy Ha... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1315616_1 (mediator VARCHAR, kōhaku__number VARCHAR)
Question: Who was the mediator in kōhaku number 53?
Here is the SQLite query to answer to the question: Who wa... | Your SQLite query is almost correct, but since `kōhaku__number` is defined as a VARCHAR in the schema, when comparing it to 53, you should treat 53 as a string. Here’s the corrected query:
```
SELECT mediator FROM table_1315616_1 WHERE kōhaku__number = '53'
```
This ensures that you are correctly comparing the strin... | 28,870 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1315616_1 (mediator VARCHAR, kōhaku__number VARCHAR)\n\n Question: Who was the mediator in kōhaku number 53?\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_1315616_1 (date VARCHAR, mediator VARCHAR, red_team_host VARCHAR)
Question: On what date was Keiichi Ubukata the mediator and Mitsuko Mori the red team host?
Here ... | Here is the SQLite query to answer the question regarding the date when Keiichi Ubukata was the mediator and Mitsuko Mori was the red team host:
```
SELECT date FROM table_1315616_1 WHERE mediator = "Keiichi Ubukata" AND red_team_host = "Mitsuko Mori"
``` | 28,871 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1315616_1 (date VARCHAR, mediator VARCHAR, red_team_host VARCHAR)\n\n Question: On what date was Keiichi Ubukata the mediato... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13169136_1 (year INTEGER)
Question: What is the most recent year?
Here is the SQLite query to answer to the question: What is the most recent year?:
```
SELECT MAX... | Here is the SQLite query to answer the question: What is the most recent year?:
```
SELECT MAX(year) FROM table_13169136_1;
``` | 28,872 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13169136_1 (year INTEGER)\n\n Question: What is the most recent year?\n\nHere is the SQLite query to answer to the question:... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13169136_1 (year VARCHAR, champion VARCHAR)
Question: What year is Jiyai Shin the champion?
Here is the SQLite query to answer to the question: What year is Jiyai ... | To find the year in which Jiyai Shin was the champion, you should modify your query to select the year instead of counting the occurrences. Here is the correct SQLite query:
```
SELECT year FROM table_13169136_1 WHERE champion = "Jiyai Shin"
``` | 28,873 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13169136_1 (year VARCHAR, champion VARCHAR)\n\n Question: What year is Jiyai Shin the champion?\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_13183076_3 (_number VARCHAR, production_code VARCHAR)
Question: What is the # for the episode with a Production code of 3T7057?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question regarding the episode number with a Production code of 3T7057:
```
SELECT _number FROM table_13183076_3 WHERE production_code = "3T7057"
``` | 28,874 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13183076_3 (_number VARCHAR, production_code VARCHAR)\n\n Question: What is the # for the episode with a Production code of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, directed_by VARCHAR)
Question: What is the Original air date for the episode directed by Tricia Brock?
Here is the SQLite qu... | Here is the SQLite query to answer the question regarding the original air date for the episode directed by Tricia Brock:
```
SELECT original_air_date FROM table_13183076_3 WHERE directed_by = "Tricia Brock"
``` | 28,875 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, directed_by VARCHAR)\n\n Question: What is the Original air date for the episode dire... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)
Question: What is the Original air date for the episode written by Peter Ocko?
Here is the SQLite query ... | Here is the SQLite query to answer the question about the original air date for the episode written by Peter Ocko:
```
SELECT original_air_date FROM table_13183076_3 WHERE written_by = "Peter Ocko";
``` | 28,876 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13183076_3 (original_air_date VARCHAR, written_by VARCHAR)\n\n Question: What is the Original air date for the episode writt... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Question: How many U.S. viewers (million) are there for the episode whose Production code is 3T70... | Here is the SQLite query to answer the question regarding U.S. viewers for the episode with the production code "3T7051":
```
SELECT us_viewers__million_ FROM table_13183076_3 WHERE production_code = "3T7051";
``` | 28,877 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13183076_3 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n Question: How many U.S. viewers (million) are there f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jersey VARCHAR)
Question: How many michelo... | Here is the SQLite query to answer the question: How many michelob ultra mountains classification for Darren Lill:
```
SELECT COUNT(michelob_ultra_mountains_classification_gold_polka_dot_jersey)
FROM table_13223187_1
WHERE drury_hotels_most_aggressive_rider_red_jersey = 'Darren Lill';
``` | 28,878 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13223187_1 (michelob_ultra_mountains_classification_gold_polka_dot_jersey VARCHAR, drury_hotels_most_aggressive_rider_red_jerse... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)
Question: What was the release date of Sonic Adventure 2?
Here is the SQLite query to answer to the question: What was t... | Here is the SQLite query to answer the question about the release date of Sonic Adventure 2:
```
SELECT release FROM table_1322904_1 WHERE title = "Sonic Adventure 2";
``` | 28,879 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1322904_1 (release VARCHAR, title VARCHAR)\n\n Question: What was the release date of Sonic Adventure 2?\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_1322904_1 (windows VARCHAR, release VARCHAR)
Question: Was the release on April 8 available on Windows?
Here is the SQLite query to answer to the question: Was the... | Here is the SQLite query that answers the question of whether the release on April 8 was available on Windows:
```
SELECT windows FROM table_1322904_1 WHERE release = "April 8";
``` | 28,880 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1322904_1 (windows VARCHAR, release VARCHAR)\n\n Question: Was the release on April 8 available on Windows?\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_1322904_1 (title VARCHAR, release VARCHAR)
Question: What title was released on August 27?
Here is the SQLite query to answer to the question: What title was relea... | Here is the SQLite query to answer the question about which title was released on August 27:
```
SELECT title FROM table_1322904_1 WHERE release = "August 27";
``` | 28,881 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1322904_1 (title VARCHAR, release VARCHAR)\n\n Question: What title was released on August 27?\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1322914_1 (windows VARCHAR, title VARCHAR)
Question: Is icewind dale available for windows
Here is the SQLite query to answer to the question: Is icewind dale avai... | Here is the SQLite query to answer the question: Is Icewind Dale available for Windows:
```sql
SELECT windows FROM table_1322914_1 WHERE title = "Icewind Dale";
``` | 28,882 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_1322914_1 (windows VARCHAR, title VARCHAR)\n\n Question: Is icewind dale available for windows\n\nHere is the SQLite query t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13237088_28 (no_yds VARCHAR, ast VARCHAR)
Question: List all number of yards with an AST of 8.
Here is the SQLite query to answer to the question: List all number ... | Here is the SQLite query to answer the question of listing all number of yards with an AST of 8:
```
SELECT no_yds FROM table_13237088_28 WHERE ast = '8'
```
(Note that `'8'` is used as a string since the `ast` column is defined as `VARCHAR`.) | 28,883 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13237088_28 (no_yds VARCHAR, ast VARCHAR)\n\n Question: List all number of yards with an AST of 8.\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_13258876_2 (opponent VARCHAR, attendance VARCHAR)
Question: Who did the Seahawks play when the listed attendance was 61615?
Here is the SQLite query to answer to t... | Your query is almost correct, but since the `attendance` column is of type `VARCHAR`, you'll need to compare it as a string. Here's the corrected query wrapped in the required format:
```
SELECT opponent FROM table_13258876_2 WHERE attendance = '61615'
``` | 28,884 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258876_2 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Who did the Seahawks play when the listed attendance was 616... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258876_2 (record VARCHAR, date VARCHAR)
Question: What was the Seahawks record on September 18, 1983?
Here is the SQLite query to answer to the question: What wa... | Here is the SQLite query to answer the question about the Seahawks record on September 18, 1983:
```
SELECT record FROM table_13258876_2 WHERE date = "September 18, 1983"
``` | 28,885 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258876_2 (record VARCHAR, date VARCHAR)\n\n Question: What was the Seahawks record on September 18, 1983?\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_13258876_2 (week INTEGER, game_site VARCHAR)
Question: What week did the Seahawks play at los angeles memorial coliseum?
Here is the SQLite query to answer to the ... | To answer the question about what week the Seahawks played at the Los Angeles Memorial Coliseum, your provided query is very close, but it might also be beneficial to ensure we're specifically looking for the Seahawks. Assuming you have another relevant column that specifies the team, the query might look like this:
`... | 28,886 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258876_2 (week INTEGER, game_site VARCHAR)\n\n Question: What week did the Seahawks play at los angeles memorial coliseum?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258876_2 (result VARCHAR, attendance VARCHAR)
Question: What was the score of the game when the attendance was 48945?
Here is the SQLite query to answer to the q... | Here is the corrected SQLite query to answer the question about the score of the game when the attendance was 48945:
```sql
SELECT result FROM table_13258876_2 WHERE attendance = '48945'
```
Note that the attendance value should be wrapped in quotes since it is stored as a VARCHAR in the database. | 28,887 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258876_2 (result VARCHAR, attendance VARCHAR)\n\n Question: What was the score of the game when the attendance was 48945?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR)
Question: Who did the Seahawks play on September 4, 1983?
Here is the SQLite query to answer to the question: Who did t... | Here is the SQLite query to answer the question "Who did the Seahawks play on September 4, 1983?":
```
SELECT opponent FROM table_13258876_2 WHERE date = "September 4, 1983"
``` | 28,888 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258876_2 (opponent VARCHAR, date VARCHAR)\n\n Question: Who did the Seahawks play on September 4, 1983?\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_13258851_2 (record VARCHAR, game_site VARCHAR)
Question: What was the record set during the game played at Hubert H. Humphrey Metrodome?
Here is the SQLite query t... | Here is the SQLite query that answers the question regarding the record set during the game played at Hubert H. Humphrey Metrodome:
```
SELECT record FROM table_13258851_2 WHERE game_site = "Hubert H. Humphrey Metrodome"
``` | 28,889 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258851_2 (record VARCHAR, game_site VARCHAR)\n\n Question: What was the record set during the game played at Hubert H. Hum... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)
Question: On what date was the game against San Diego Chargers played?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about the date of the game against the San Diego Chargers:
```
SELECT date FROM table_13258851_2 WHERE opponent = "San Diego Chargers";
``` | 28,890 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)\n\n Question: On what date was the game against San Diego Chargers played?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)
Question: What was the date of the game against Kansas City Chiefs?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the date of the game against the Kansas City Chiefs:
```
SELECT date FROM table_13258851_2 WHERE opponent = "Kansas City Chiefs"
``` | 28,891 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258851_2 (date VARCHAR, opponent VARCHAR)\n\n Question: What was the date of the game against Kansas City Chiefs?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258851_2 (result VARCHAR, date VARCHAR)
Question: What was the result of the game played on September 16, 1984?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the result of the game played on September 16, 1984:
```
SELECT result FROM table_13258851_2 WHERE date = "September 16, 1984"
``` | 28,892 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258851_2 (result VARCHAR, date VARCHAR)\n\n Question: What was the result of the game played on September 16, 1984?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR)
Question: On what date did the game end with the result w 43-14?
Here is the SQLite query to answer to the question: On w... | Your SQLite query to find the date when the game ended with the result "W 43-14" is correct. Here it is wrapped for clarity:
```
SELECT date FROM table_13258806_2 WHERE result = "W 43-14";
``` | 28,893 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258806_2 (date VARCHAR, result VARCHAR)\n\n Question: On what date did the game end with the result w 43-14?\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_13258806_2 (attendance VARCHAR, result VARCHAR)
Question: What was the attendance at the game that resulted in w 24-20?
Here is the SQLite query to answer to the ... | Here is the SQLite query that answers the question about the attendance at the game that resulted in "W 24-20":
```
SELECT attendance FROM table_13258806_2 WHERE result = "W 24-20";
``` | 28,894 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258806_2 (attendance VARCHAR, result VARCHAR)\n\n Question: What was the attendance at the game that resulted in w 24-20? ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258806_2 (opponent VARCHAR, record VARCHAR)
Question: Who did they play against in the game that ended in 2-2?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about who they played against in the game that ended in 2-2:
```sql
SELECT opponent FROM table_13258806_2 WHERE record = "2-2";
``` | 28,895 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258806_2 (opponent VARCHAR, record VARCHAR)\n\n Question: Who did they play against in the game that ended in 2-2?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR)
Question: When was the record of 0-1 set?
Here is the SQLite query to answer to the question: When was the record of 0-1 ... | Here's the SQLite query to find out when the record of 0-1 was set:
```sql
SELECT date FROM table_13258806_2 WHERE record = "0-1";
``` | 28,896 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258806_2 (date VARCHAR, record VARCHAR)\n\n Question: When was the record of 0-1 set?\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_13258806_2 (week INTEGER, date VARCHAR)
Question: During what weak of the season was the game played on october 4, 1987?
Here is the SQLite query to answer to the ... | The SQLite query provided is almost correct, but there's a minor adjustment needed to ensure it gives the right result regarding the week of the season for the given date. The query should select the week value directly instead of using `MAX(week)`, as you are looking for the specific week corresponding to that date. H... | 28,897 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258806_2 (week INTEGER, date VARCHAR)\n\n Question: During what weak of the season was the game played on october 4, 1987?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_13258972_2 (attendance VARCHAR, record VARCHAR)
Question: What was the attendance when the record was 1-1?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question about attendance when the record was 1-1:
```
SELECT attendance FROM table_13258972_2 WHERE record = "1-1";
``` | 28,898 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258972_2 (attendance VARCHAR, record VARCHAR)\n\n Question: What was the attendance when the record was 1-1?\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_13258972_2 (week INTEGER, record VARCHAR)
Question: In what week was the record 5-9?
Here is the SQLite query to answer to the question: In what week was the recor... | Here is the SQLite query to determine in what week the record "5-9" was present:
```
SELECT week FROM table_13258972_2 WHERE record = "5-9";
```
This query will return all weeks where the record "5-9" exists. If you need the latest week only, you can modify it to:
```
SELECT MAX(week) FROM table_13258972_2 WHERE re... | 28,899 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_13258972_2 (week INTEGER, record VARCHAR)\n\n Question: In what week was the record 5-9?\n\nHere is the SQLite query to answ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.