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_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR)
Question: How many students enrolled in 2005 at New Hampshire Institute of Art?
Here is the SQLite query to a... | To get the count of students who enrolled in 2005 at the New Hampshire Institute of Art, you should use the `COUNT` function in your SQL query. Here's the corrected query:
```
SELECT COUNT(enrollment__2005_) AS total_students
FROM table_2076490_1
WHERE school = 'New Hampshire Institute of Art';
``` | 6,700 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076490_1 (enrollment__2005_ VARCHAR, school VARCHAR)\n\n Question: How many students enrolled in 2005 at New Hampshire Inst... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR)
Question: Name the most founded for enrollment 2005 being 1285
Here is the SQLite query to answer to the que... | Here is the corrected SQLite query to answer the question about finding the most founded for enrollment in 2005 being 1285. The 'enrollment__2005_' column should be treated as a string, so you need to compare it as such:
```sql
SELECT MAX(founded) FROM table_2076533_1 WHERE enrollment__2005_ = '1285'
``` | 6,701 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (founded INTEGER, enrollment__2005_ VARCHAR)\n\n Question: Name the most founded for enrollment 2005 being 1285\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR)
Question: Name the main location for public and masters university
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the main location for public and masters universities:
```
SELECT main_location FROM table_2076533_1 WHERE control = "Public" AND type = "Masters university"
``` | 6,702 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (main_location VARCHAR, control VARCHAR, type VARCHAR)\n\n Question: Name the main location for public and masters... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR)
Question: Name the type for mcminnville
Here is the SQLite query to answer to the question: Name the type for mcmin... | ```sql
SELECT type FROM table_2076533_1 WHERE main_location = "McMinnville";
``` | 6,703 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (type VARCHAR, main_location VARCHAR)\n\n Question: Name the type for mcminnville\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR)
Question: Name the control for albany
Here is the SQLite query to answer to the question: Name the control for a... | Here is the SQLite query to answer the question "Name the control for albany":
```
SELECT control FROM table_2076533_1 WHERE main_location = "Albany";
``` | 6,704 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (control VARCHAR, main_location VARCHAR)\n\n Question: Name the control for albany\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_2076533_1 (founded INTEGER, school VARCHAR)
Question: Name the least founded for gutenberg college
Here is the SQLite query to answer to the question: Name the lea... | Here is the SQLite query to answer the question regarding the least founded year for Gutenberg College:
```
SELECT MIN(founded) FROM table_2076533_1 WHERE school = "Gutenberg College";
``` | 6,705 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (founded INTEGER, school VARCHAR)\n\n Question: Name the least founded for gutenberg college\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_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR)
Question: Name the type for 1245 enrollment
Here is the SQLite query to answer to the question: Name the type f... | Here is the SQLite query to answer the question about naming the type for 1245 enrollment:
```
SELECT type FROM table_2076533_1 WHERE enrollment__2005_ = '1245'
``` | 6,706 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2076533_1 (type VARCHAR, enrollment__2005_ VARCHAR)\n\n Question: Name the type for 1245 enrollment\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_207795_1 (published_in_russian VARCHAR, type_of_work VARCHAR, published_in_english VARCHAR)
Question: when type of work is novel and published in english is 1977, w... | Here is the SQLite query to answer the question about what was published in Russian when the type of work is a novel and published in English in 1977:
```
SELECT published_in_russian FROM table_207795_1 WHERE type_of_work = "novel" AND published_in_english = "1977"
``` | 6,707 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_207795_1 (published_in_russian VARCHAR, type_of_work VARCHAR, published_in_english VARCHAR)\n\n Question: when type of work ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR)
Question: How many types of work is хромая судьба?
Here is the SQLite query to answer to the question: How m... | Here is the SQLite query to answer the question of how many types of work are associated with the title "Хромая судьба":
```
SELECT COUNT(type_of_work) FROM table_207795_1 WHERE russian_title = "Хромая судьба";
``` | 6,708 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_207795_1 (type_of_work VARCHAR, russian_title VARCHAR)\n\n Question: How many types of work is хромая судьба?\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_207795_1 (russian_title VARCHAR, english_title VARCHAR)
Question: What is the russian title of the ugly swans?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the Russian title of "The Ugly Swans":
```
SELECT russian_title FROM table_207795_1 WHERE english_title = "The Ugly Swans"
``` | 6,709 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_207795_1 (russian_title VARCHAR, english_title VARCHAR)\n\n Question: What is the russian title of the ugly swans?\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_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)
Question: when it published in english is n/a and published in russian i... | Here is the SQLite query to answer the question:
```
SELECT type_of_work FROM table_207795_1 WHERE published_in_english = "N/A" AND published_in_russian = "1986"
``` | 6,710 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_207795_1 (type_of_work VARCHAR, published_in_english VARCHAR, published_in_russian VARCHAR)\n\n Question: when it published ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20803065_1 (senator VARCHAR, religion VARCHAR)
Question: List the presbyterian members of the senate.
Here is the SQLite query to answer to the question: List the ... | Here is the SQLite query to list the Presbyterian members of the Senate:
```
SELECT senator FROM table_20803065_1 WHERE religion = "Presbyterian";
``` | 6,711 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20803065_1 (senator VARCHAR, religion VARCHAR)\n\n Question: List the presbyterian members of the senate.\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_20803065_1 (state VARCHAR, senator VARCHAR)
Question: Which state does congressman jim demint represent?
Here is the SQLite query to answer to the question: Which ... | Here's the SQLite query wrapped in the requested format:
```
SELECT state FROM table_20803065_1 WHERE senator = "Jim DeMint";
``` | 6,712 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20803065_1 (state VARCHAR, senator VARCHAR)\n\n Question: Which state does congressman jim demint represent?\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_20819379_2 (tie_no VARCHAR, team_2 VARCHAR)
Question: Name the total number of tie number for team 2 osijek
Here is the SQLite query to answer to the question: Nam... | Here is the SQLite query to answer the question of naming the total number of tie numbers for team 2 Osijek:
```
SELECT COUNT(tie_no) FROM table_20819379_2 WHERE team_2 = "Osijek";
``` | 6,713 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20819379_2 (tie_no VARCHAR, team_2 VARCHAR)\n\n Question: Name the total number of tie number for team 2 osijek\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_20823568_3 (total_placings_s_ INTEGER)
Question: What is the minimum number of total placings?
Here is the SQLite query to answer to the question: What is the mini... | Here is the SQLite query to find the minimum number of total placings:
```
SELECT MIN(total_placings_s_) FROM table_20823568_3
``` | 6,714 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20823568_3 (total_placings_s_ INTEGER)\n\n Question: What is the minimum number of total placings?\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_20849830_1 (result VARCHAR, record VARCHAR)
Question: What was the result of the game with the record of 3-1?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question regarding the result of the game with the record of 3-1:
```
SELECT result FROM table_20849830_1 WHERE record = "3-1"
``` | 6,715 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20849830_1 (result VARCHAR, record VARCHAR)\n\n Question: What was the result of the game with the record of 3-1?\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_20849830_1 (date VARCHAR, record VARCHAR)
Question: What was the date of the game with the record of 2-1?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question: What was the date of the game with the record of 2-1?:
```sql
SELECT date FROM table_20849830_1 WHERE | 6,716 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20849830_1 (date VARCHAR, record VARCHAR)\n\n Question: What was the date of the game with the record of 2-1?\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_20849830_1 (game INTEGER)
Question: How many games were there in the 1966 season?
Here is the SQLite query to answer to the question: How many games were there in ... | The query you provided uses `MAX(game)`, which returns the highest game number rather than counting the total number of games in the 1966 season. To count the number of games, you should use the `COUNT` function and filter for the 1966 season.
Assuming the `game` column contains values that can be interpreted to indi... | 6,717 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20849830_1 (game INTEGER)\n\n Question: How many games were there in the 1966 season?\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_20849830_1 (game VARCHAR, record VARCHAR)
Question: What game number had a record of 3-1?
Here is the SQLite query to answer to the question: What game number had ... | Your SQLite query to find the game number that had a record of 3-1 is correctly structured. Here it is wrapped in code format:
```
SELECT game FROM table_20849830_1 WHERE record = "3-1";
``` | 6,718 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20849830_1 (game VARCHAR, record VARCHAR)\n\n Question: What game number had a record of 3-1?\n\nHere is the SQLite query to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR)
Question: What happened when the new points was 1705?
Here is the SQLite query to answer to the question: What happ... | Here is the SQLite query to answer the question about what happened when the new points was 1705:
```
SELECT status FROM table_20855452_4 WHERE new_points = '1705'
```
Note: In the query, I wrapped `1705` in quotes to match the datatype of the `new_points` column, which is defined as `VARCHAR`. | 6,719 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20855452_4 (status VARCHAR, new_points VARCHAR)\n\n Question: What happened when the new points was 1705?\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_20855452_4 (new_points INTEGER, points VARCHAR)
Question: What was the max when they score 2200?
Here is the SQLite query to answer to the question: What was the m... | Here is the corrected SQLite query to answer the question "What was the max when they score 2200?":
```sql
SELECT MAX(new_points) FROM table_20855452_4 WHERE points = '2200';
```
This query finds the maximum value of `new_points` for the records in `table_20855452_4` where the `points` equals '2200'. Note that since... | 6,720 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20855452_4 (new_points INTEGER, points VARCHAR)\n\n Question: What was the max when they score 2200?\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_20855452_4 (points VARCHAR, player VARCHAR)
Question: How many points did agnieszka radwańska score?
Here is the SQLite query to answer to the question: How many p... | Here is the SQLite query to answer the question about how many points Agnieszka Radwańska scored:
```
SELECT SUM(points) AS total_points FROM table_20855452_4 WHERE player = "Agnieszka Radwańska";
```
This query will sum all the points scored by Agnieszka Radwańska in the specified table. | 6,721 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)\n\n Question: How many points did agnieszka radwańska score?\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_20855452_4 (points VARCHAR, player VARCHAR)
Question: How many points did shahar pe'er score?
Here is the SQLite query to answer to the question: How many points d... | Here is the SQLite query to answer the question about how many points Shahar Pe'er scored:
```
SELECT SUM(points) AS total_points FROM table_20855452_4 WHERE player = "Shahar Pe'er"
``` | 6,722 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20855452_4 (points VARCHAR, player VARCHAR)\n\n Question: How many points did shahar pe'er score?\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_20872722_1 (weight VARCHAR, college VARCHAR)
Question: What is the weight for western ontario college?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question about the weight for Western Ontario college:
```sql
SELECT weight FROM table_20872722_1 WHERE college = "Western Ontario";
``` | 6,723 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20872722_1 (weight VARCHAR, college VARCHAR)\n\n Question: What is the weight for western ontario college?\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_20872722_1 (position VARCHAR, round VARCHAR)
Question: How many positions have round 3?
Here is the SQLite query to answer to the question: How many positions have... | Here is the corrected SQLite query to count how many positions have round 3:
```sql
SELECT COUNT(position) FROM table_20872722_1 WHERE round = '3';
```
Make sure to use quotes around the round value since it is defined as a VARCHAR in the schema. | 6,724 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20872722_1 (position VARCHAR, round VARCHAR)\n\n Question: How many positions have round 3?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR)
Question: Which position has 225lb as weight?
Here is the SQLite query to answer to the question: Which position has ... | Here is the SQLite query to answer the question: Which position has 225lb as weight?:
```
SELECT position FROM table_20872722_1 WHERE weight = "225lb";
``` | 6,725 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20872722_1 (position VARCHAR, weight VARCHAR)\n\n Question: Which position has 225lb as weight?\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_20872722_1 (round INTEGER)
Question: What is the round?
Here is the SQLite query to answer to the question: What is the round?:
```
SELECT MIN(round) FROM table_20... | Here is the SQLite query to answer the question "What is the round?":
```
SELECT MIN(round) FROM table_20872722_1
``` | 6,726 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20872722_1 (round INTEGER)\n\n Question: What is the round?\n\nHere is the SQLite query to answer to the question: What is t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20872722_1 (height VARCHAR, position VARCHAR)
Question: What is the height of the cornerback position?
Here is the SQLite query to answer to the question: What is ... | It looks like you intended to retrieve the height of the cornerback position, but the provided query counts the number of entries instead. To get the height of the cornerback position, you should select the height instead of counting it. Here’s the correct SQL query:
```
SELECT height FROM table_20872722_1 WHERE posit... | 6,727 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20872722_1 (height VARCHAR, position VARCHAR)\n\n Question: What is the height of the cornerback position?\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_20887670_1 (year_joined INTEGER)
Question: What is the most recent year joined?
Here is the SQLite query to answer to the question: What is the most recent year jo... | Your SQLite query to find the most recent year joined is correct. Here it is wrapped in the requested code format:
```
SELECT MAX(year_joined) FROM table_20887670_1;
``` | 6,728 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (year_joined INTEGER)\n\n Question: What is the most recent year joined?\n\nHere is the SQLite query to answer to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)
Question: what is the affiliation of the hilltoppers mascot?
Here is the SQLite query to answer to the question: w... | The SQLite query to find the affiliation of the "Hilltoppers" mascot is as follows:
```
SELECT affiliation FROM table_20887670_1 WHERE mascot = "Hilltoppers"
``` | 6,729 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, mascot VARCHAR)\n\n Question: what is the affiliation of the hilltoppers mascot?\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_20887670_1 (affiliation VARCHAR, colors VARCHAR)
Question: what is the affiliation of the colors maroon and white?
Here is the SQLite query to answer to the quest... | The provided SQLite query correctly retrieves the affiliation for the specific color combination "Maroon and White". However, if you are looking for affiliations that may have either color (i.e., if there are separate entries for "Maroon" and "White"), you might consider modifying the query to check for both colors.
H... | 6,730 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (affiliation VARCHAR, colors VARCHAR)\n\n Question: what is the affiliation of the colors maroon and white? \n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)
Question: what is the number of enrollment of the central institution?
Here is the SQLite query to answer to t... | To count the number of enrollments for the central institution, you would use the `COUNT()` function in your query. Here's the corrected SQLite query:
```
SELECT COUNT(enrollment) AS number_of_enrollments
FROM table_20887670_1
WHERE institution = "Central";
``` | 6,731 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (enrollment VARCHAR, institution VARCHAR)\n\n Question: what is the number of enrollment of the central instituti... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20887670_1 (institution VARCHAR, location VARCHAR)
Question: what is the name of the institution of the sparta, wi location?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about the name of the institution for the Sparta, WI location:
```
SELECT institution FROM table_20887670_1 WHERE location = "Sparta, WI"
``` | 6,732 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (institution VARCHAR, location VARCHAR)\n\n Question: what is the name of the institution of the sparta, wi locat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)
Question: in what year did the colors red and gold join?
Here is the SQLite query to answer to the question: in wh... | The query you've written seems to count the occurrences of the colors "Red and Gold" rather than specifically answering the question about the year they joined. To find out the year when both colors were joined, you would need to look for entries with those specific colors.
Assuming that each color may have its own ro... | 6,733 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20887670_1 (year_joined VARCHAR, colors VARCHAR)\n\n Question: in what year did the colors red and gold join?\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_20884163_2 (circuit VARCHAR, winner VARCHAR)
Question: What circuit did rick kelly win on?
Here is the SQLite query to answer to the question: What circuit did ric... | Your SQLite query to find out what circuit Rick Kelly won on is correct. Here it is wrapped in code format for clarity:
```
SELECT circuit FROM table_20884163_2 WHERE winner = "Rick Kelly";
``` | 6,734 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20884163_2 (circuit VARCHAR, winner VARCHAR)\n\n Question: What circuit did rick kelly win on?\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_20884163_2 (circuit VARCHAR, race_title VARCHAR)
Question: What circuit features the placemakers v8 supercars race?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding which circuit features the PlaceMakers V8 Supercars race:
```
SELECT circuit FROM table_20884163_2 WHERE race_title = "PlaceMakers V8 Supercars";
``` | 6,735 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20884163_2 (circuit VARCHAR, race_title VARCHAR)\n\n Question: What circuit features the placemakers v8 supercars race?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR)
Question: What dates was the falken tasmania challenge race that had triple eight race engineering as th... | Here is the SQLite query to answer the question:
```
SELECT date FROM table_20884163_2 WHERE team = "Triple Eight Race Engineering" AND race_title = "Falken Tasmania Challenge"
``` | 6,736 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20884163_2 (date VARCHAR, team VARCHAR, race_title VARCHAR)\n\n Question: What dates was the falken tasmania challenge race ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20884163_2 (report VARCHAR, race_title VARCHAR)
Question: What was the report for the winton race?
Here is the SQLite query to answer to the question: What was the... | Here is the SQLite query to answer the question about the report for the Winton race:
```
SELECT report FROM table_20884163_2 WHERE race_title = "Winton"
``` | 6,737 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20884163_2 (report VARCHAR, race_title VARCHAR)\n\n Question: What was the report for the winton race?\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_20903658_1 (medium VARCHAR, title_subject VARCHAR)
Question: What medium was used for the sculpture of George Harold Baker?
Here is the SQLite query to answer to ... | Here's the SQLite query wrapped as requested:
```
SELECT medium FROM table_20903658_1 WHERE title_subject = "George Harold Baker";
``` | 6,738 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20903658_1 (medium VARCHAR, title_subject VARCHAR)\n\n Question: What medium was used for the sculpture of George Harold Bak... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, date_painted_created VARCHAR)
Question: Who was the subject of the sculpture created in 1982?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question: Who was the subject of the sculpture created in 1982? :
```
SELECT title_subject FROM table_20903658_1 WHERE date_painted_created = "1982"
``` | 6,739 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, date_painted_created VARCHAR)\n\n Question: Who was the subject of the sculpture created ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR)
Question: Who was the subject of the bronze sculpture who was a colonist and soldier in Vi... | Here is the SQLite query wrapped in code blocks:
```
SELECT title_subject FROM table_20903658_1 WHERE medium = "Bronze" AND public_office = "colonist and soldier in Ville Marie, New France";
``` | 6,740 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20903658_1 (title_subject VARCHAR, medium VARCHAR, public_office VARCHAR)\n\n Question: Who was the subject of the bronze sc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20903658_1 (public_office VARCHAR, date_painted_created VARCHAR)
Question: What was the public office of the subject whose sculpture was created in 1954?
Here is ... | Here's the SQLite query to answer the question regarding the public office of the subject whose sculpture was created in 1954:
```
SELECT public_office FROM table_20903658_1 WHERE date_painted_created = '1954';
``` | 6,741 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20903658_1 (public_office VARCHAR, date_painted_created VARCHAR)\n\n Question: What was the public office of the subject who... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR)
Question: What medium was used for the sculpture by Ernest Richard Gause?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the medium used for the sculpture by Ernest Richard Gause:
```
SELECT medium FROM table_20903658_1 WHERE artist = "Ernest Richard Gause";
``` | 6,742 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20903658_1 (medium VARCHAR, artist VARCHAR)\n\n Question: What medium was used for the sculpture by Ernest Richard Gause? \n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Name the originl title for no stars in the jungle
Here is the SQLite query to ... | Certainly! Here is the SQLite query to answer the question about the original title for "No Stars in the Jungle":
```sql
SELECT original_title FROM table_20963074_1 WHERE film_title_used_in_nomination = "No Stars in the Jungle";
``` | 6,743 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Name the originl title for no stars... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)
Question: Name the original title for not nominated result with report on... | Here is the SQLite query to answer the question:
```
SELECT original_title FROM table_20963074_1 WHERE result = "Not Nominated" AND film_title_used_in_nomination = "Report on Death"
``` | 6,744 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20963074_1 (original_title VARCHAR, result VARCHAR, film_title_used_in_nomination VARCHAR)\n\n Question: Name the original t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)
Question: Name the total number of results for octubre
Here is the SQLite query to answer to the question: Name... | Here is the SQLite query to answer the question regarding the total number of results for "octubre":
```
SELECT COUNT(result) FROM table_20963074_1 WHERE original_title = "octubre";
``` | 6,745 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20963074_1 (result VARCHAR, original_title VARCHAR)\n\n Question: Name the total number of results for octubre\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_20963074_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)
Question: Name the film title for la boca del lobo
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question: Name the film title for "la boca del lobo":
```
SELECT film_title_used_in_nomination FROM table_20963074_1 WHERE original_title = "La boca del lobo"
``` | 6,746 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20963074_1 (film_title_used_in_nomination VARCHAR, original_title VARCHAR)\n\n Question: Name the film title for la boca del... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20963074_1 (year__ceremony_ VARCHAR, original_title VARCHAR)
Question: Name the year for reportaje a la muerte
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question "Name the year for reportaje a la muerte":
```sql
SELECT year__ceremony_ FROM table_20963074_1 WHERE original_title = "Reportaje a la muerte";
``` | 6,747 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20963074_1 (year__ceremony_ VARCHAR, original_title VARCHAR)\n\n Question: Name the year for reportaje a la muerte\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_20942925_1 (directed_by VARCHAR, _number VARCHAR)
Question: How many directors for #15?
Here is the SQLite query to answer to the question: How many directors for ... | Your SQLite query is almost correct, but you should ensure that the `_number` is treated as a string since it is declared as `VARCHAR` in the schema. You may need to wrap `15` in quotes. Here’s the corrected query:
```
SELECT COUNT(directed_by) FROM table_20942925_1 WHERE _number = '15'
```
This query counts the num... | 6,748 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20942925_1 (directed_by VARCHAR, _number VARCHAR)\n\n Question: How many directors for #15?\n\nHere is the SQLite query to a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20942925_1 (directed_by VARCHAR, production_code VARCHAR)
Question: What is every director with production code of NABF13?
Here is the SQLite query to answer to th... | Your SQLite query to find every director with a production code of NABF13 is correct. Here’s the query wrapped in the appropriate code block:
```
SELECT directed_by FROM table_20942925_1 WHERE production_code = "NABF13";
``` | 6,749 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20942925_1 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: What is every director with production code of NABF1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
Question: What are all values for U.S. viewers(millions) with Kevin Curran as a writer?
Here is the ... | Here is the SQLite query to answer the question about U.S. viewers (millions) with Kevin Curran as a writer:
```
SELECT us_viewers__millions_ FROM table_20942925_1 WHERE written_by = "Kevin Curran"
``` | 6,750 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20942925_1 (us_viewers__millions_ VARCHAR, written_by VARCHAR)\n\n Question: What are all values for U.S. viewers(millions) ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR)
Question: How many titles for the production code of NABF07?
Here is the SQLite query to answer to the question... | Sure! Here is the SQLite query formatted correctly:
```
SELECT COUNT(title) FROM table_20942925_1 WHERE production_code = "NABF07";
``` | 6,751 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20942925_1 (title VARCHAR, production_code VARCHAR)\n\n Question: How many titles for the production code of NABF07?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)
Question: Name the episode for 18-49 rating being 3.6
Here is the SQLite query to answer to the question: Name... | Your query is counting the number of episodes with a rating of 3.6, but if you want to retrieve the names of the episodes themselves, you need to select the `episode` instead of counting them. Here is the corrected SQLite query:
```sql
SELECT episode FROM table_20971444_3 WHERE rating__18_49_ = "3.6";
``` | 6,752 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (episode VARCHAR, rating__18_49_ VARCHAR)\n\n Question: Name the episode for 18-49 rating being 3.6\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_20971444_3 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)
Question: Name the rank timeslot for 11.59 viewers
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question of naming the rank timeslot for 11.59 viewers:
```sql
SELECT rank__timeslot_ FROM table_20971444_3 WHERE viewers__millions_ = "11.59"
``` | 6,753 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, viewers__millions_ VARCHAR)\n\n Question: Name the rank timeslot for 11.59 viewers\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20971444_3 (first_air_date VARCHAR, episode VARCHAR)
Question: Name the first air date for 9 episode
Here is the SQLite query to answer to the question: Name the f... | Here is the SQLite query to answer the question about naming the first air date for episode 9, wrapped in code formatting:
```
SELECT first_air_date FROM table_20971444_3 WHERE episode = '9'
``` | 6,754 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (first_air_date VARCHAR, episode VARCHAR)\n\n Question: Name the first air date for 9 episode\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_20971444_3 (rank__timeslot_ VARCHAR, share__18_49_ VARCHAR)
Question: Name the rank timeslot for 18-49 share being 13
Here is the SQLite query to answer to the que... | It looks like you want to find the `rank__timeslot_` where the `share__18_49_` is equal to 13. The query you've provided counts the number of records with the specified share, but you need to retrieve the actual `rank__timeslot_`.
Here's the corrected query to select the `rank__timeslot_`:
```sql
SELECT rank__timesl... | 6,755 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, share__18_49_ VARCHAR)\n\n Question: Name the rank timeslot for 18-49 share being 13\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR)
Question: Name the total number of rank timeslot for 18-49 being 3.1
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about the total number of rank timeslots for the 18-49 rating being 3.1:
```
SELECT COUNT(rank__timeslot_) FROM table_20971444_3 WHERE rating__18_49_ = "3.1";
``` | 6,756 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (rank__timeslot_ VARCHAR, rating__18_49_ VARCHAR)\n\n Question: Name the total number of rank timeslot for 18-49 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR)
Question: Name the total number for 18-49 share being 18-49 being 3.1
Here is the SQLite query to answer... | Here is the SQLite query to answer the question about the total number of entries for the 18-49 share rating being 3.1:
```
SELECT COUNT(share__18_49_) FROM table_20971444_3 WHERE rating__18_49_ = '3.1';
``` | 6,757 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20971444_3 (share__18_49_ VARCHAR, rating__18_49_ VARCHAR)\n\n Question: Name the total number for 18-49 share being 18-49 b... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20996923_20 (date VARCHAR, bowl_game VARCHAR)
Question: What was the date for the Champs Sports Bowl?
Here is the SQLite query to answer to the question: What was ... | Here's the SQLite query to retrieve the date for the Champs Sports Bowl:
```sql
SELECT date FROM table_20996923_20 WHERE bowl_game = "Champs Sports Bowl";
``` | 6,758 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20996923_20 (date VARCHAR, bowl_game VARCHAR)\n\n Question: What was the date for the Champs Sports Bowl?\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_20996923_20 (date VARCHAR, city VARCHAR)
Question: What is the date when the city is San Antonio, Texas?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer to the question: What is the date when the city is San Antonio, Texas?:
```
SELECT date FROM table_20996923_20 WHERE city = "San Antonio, Texas";
``` | 6,759 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20996923_20 (date VARCHAR, city VARCHAR)\n\n Question: What is the date when the city is San Antonio, Texas?\n\nHere is the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR)
Question: What is the city when the Television network was the NFL Network?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer your question:
```
SELECT city FROM table_20996923_20 WHERE television = "NFL Network"
``` | 6,760 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_20996923_20 (city VARCHAR, television VARCHAR)\n\n Question: What is the city when the Television network was the NFL Networ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21007615_1 (opponent VARCHAR, sun_devils_points VARCHAR)
Question: How many opponents did the Sun Devils play when they scored 41 points?
Here is the SQLite query ... | Here is the SQLite query to answer the question regarding how many opponents the Sun Devils played when they scored 41 points:
```
SELECT COUNT(opponent) FROM table_21007615_1 WHERE sun_devils_points = '41'
```
(Note: Since `sun_devils_points` is defined as VARCHAR in the schema, the value '41' should be enclosed in... | 6,761 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21007615_1 (opponent VARCHAR, sun_devils_points VARCHAR)\n\n Question: How many opponents did the Sun Devils play when they ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21007615_1 (record VARCHAR, sun_devils_points VARCHAR)
Question: What was the record for the Sun Devils when they scored 44 points?
Here is the SQLite query to ans... | Here is the corrected SQLite query to answer the question about the record for the Sun Devils when they scored 44 points:
```
SELECT record FROM table_21007615_1 WHERE sun_devils_points = '44'
```
This assumes that `sun_devils_points` is stored as a string in the database. If it should be treated as an integer, you ... | 6,762 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21007615_1 (record VARCHAR, sun_devils_points VARCHAR)\n\n Question: What was the record for the Sun Devils when they scored... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21012786_2 (length_weight_of_missile VARCHAR, diameter_of_torsion_spring VARCHAR)
Question: When the torsion spring diameter is 38.4cm what would be the length or w... | Here is the SQLite query to answer the question regarding the length or weight of the missile when the torsion spring diameter is 38.4cm:
```
SELECT length_weight_of_missile FROM table_21012786_2 WHERE diameter_of_torsion_spring = "38.4cm"
``` | 6,763 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21012786_2 (length_weight_of_missile VARCHAR, diameter_of_torsion_spring VARCHAR)\n\n Question: When the torsion spring diam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21025437_5 (written_by VARCHAR, viewers__millions_ VARCHAR)
Question: Who wrote the episode that had 8.84 million viewers?
Here is the SQLite query to answer to th... | Here is the SQLite query you can use to find out who wrote the episode that had 8.84 million viewers:
```
SELECT written_by FROM table_21025437_5 WHERE viewers__millions_ = "8.84"
``` | 6,764 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21025437_5 (written_by VARCHAR, viewers__millions_ VARCHAR)\n\n Question: Who wrote the episode that had 8.84 million viewer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21025437_5 (viewers__millions_ VARCHAR, episode_no VARCHAR)
Question: How many million viewers watched episode number 20?
Here is the SQLite query to answer to the... | Here is the corrected SQLite query to answer the question regarding how many million viewers watched episode number 20. It includes proper handling for the episode number being stored as a string:
```
SELECT viewers__millions_ FROM table_21025437_5 WHERE episode_no = '20'
``` | 6,765 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21025437_5 (viewers__millions_ VARCHAR, episode_no VARCHAR)\n\n Question: How many million viewers watched episode number 20... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21025437_5 (title VARCHAR, written_by VARCHAR)
Question: What was the title of the episode written by Keith Temple?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the given question:
```
SELECT title FROM table_21025437_5 WHERE written_by = "Keith Temple"
``` | 6,766 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21025437_5 (title VARCHAR, written_by VARCHAR)\n\n Question: What was the title of the episode written by Keith Temple?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21025437_3 (series_no INTEGER)
Question: what is the lowest value under the column series no.?
Here is the SQLite query to answer to the question: what is the lowe... | Your SQLite query to find the lowest value under the column `series_no` is correctly structured. Here it is wrapped appropriately:
```
SELECT MIN(series_no) FROM table_21025437_3;
``` | 6,767 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21025437_3 (series_no INTEGER)\n\n Question: what is the lowest value under the column series no.?\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_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)
Question: When there are 7.4 million viewers how many episodes are there?
Here is the SQLite query to a... | Here is the SQLite query to answer the question: When there are 7.4 million viewers how many episodes are there?:
```
SELECT COUNT(episode) FROM table_2102945_1 WHERE viewers__in_millions_ = "7.4"
``` | 6,768 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2102945_1 (episode VARCHAR, viewers__in_millions_ VARCHAR)\n\n Question: When there are 7.4 million viewers how many episod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
Question: When 24:31 is the run time how many measurements of viewers (in millions) are there?
Here is ... | Your SQLite query is correctly structured to count the number of measurements of viewers (in millions) when the run time is "24:31". Below is the query wrapped in code formatting as you requested:
```
SELECT COUNT(viewers__in_millions_) FROM table_2102945_1 WHERE run_time = "24:31"
```
This query will return the cou... | 6,769 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)\n\n Question: When 24:31 is the run time how many measurements o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)
Question: When 24:31 is the run time how many millions of viewers are there?
Here is the SQLite query t... | Certainly! Here is the SQLite query to answer the question regarding the number of millions of viewers when the run time is "24:31":
```
SELECT viewers__in_millions_ FROM table_2102945_1 WHERE run_time = "24:31"
``` | 6,770 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2102945_1 (viewers__in_millions_ VARCHAR, run_time VARCHAR)\n\n Question: When 24:31 is the run time how many millions of vi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)
Question: When there are 7.5 million viewers what is the archive?
Here is the SQLite query to answer to ... | Here is the SQLite query wrapped in code brackets:
```
SELECT archive FROM table_2102945_1 WHERE viewers__in_millions_ = "7.5"
``` | 6,771 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2102945_1 (archive VARCHAR, viewers__in_millions_ VARCHAR)\n\n Question: When there are 7.5 million viewers what is the arch... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)
Question: Name the broadcast network for saitama prefecture
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question regarding the broadcast network for Saitama Prefecture:
```
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Saitama Prefecture";
``` | 6,772 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)\n\n Question: Name the broadcast network for saitama prefect... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)
Question: Name the broadcast network for chiba prefecture
Here is the SQLite query to answer to the... | Here's the SQLite query to answer the question, formatted as requested:
```
SELECT broadcast_network FROM table_21076286_2 WHERE broadcast_scope = "Chiba Prefecture"
``` | 6,773 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21076286_2 (broadcast_network VARCHAR, broadcast_scope VARCHAR)\n\n Question: Name the broadcast network for chiba prefectur... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR)
Question: Name the broadcast day and timings for tv saitama
Here is the SQLite ... | Here's the SQLite query to answer the question about the broadcast day and timings for TV Saitama:
```
SELECT broadcast_day_and_timings__in_jst__ FROM table_21076286_2 WHERE broadcast_network = "TV Saitama"
``` | 6,774 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21076286_2 (broadcast_day_and_timings__in_jst__ VARCHAR, broadcast_network VARCHAR)\n\n Question: Name the broadcast day and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21092427_1 (opponent VARCHAR, opponents VARCHAR)
Question: Name the opponent for opponents being 12
Here is the SQLite query to answer to the question: Name the op... | Here's the SQLite query to answer the question of naming the opponent for opponents being 12:
```
SELECT opponent FROM table_21092427_1 WHERE opponents = '12'
```
Note: The value '12' is enclosed in single quotes assuming that it is stored as a VARCHAR in the database. If 'opponents' is indeed an integer, you can om... | 6,775 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21092427_1 (opponent VARCHAR, opponents VARCHAR)\n\n Question: Name the opponent for opponents being 12\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_21092427_1 (result VARCHAR, record VARCHAR)
Question: Name the result for 9-1 record
Here is the SQLite query to answer to the question: Name the result for 9-1 re... | Here is the SQLite query to answer the question regarding the result for the 9-1 record:
```
SELECT result FROM table_21092427_1 WHERE record = '9-1';
``` | 6,776 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21092427_1 (result VARCHAR, record VARCHAR)\n\n Question: Name the result for 9-1 record\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_21092427_1 (opponents INTEGER, record VARCHAR)
Question: Name the most opponents for 8-1 record
Here is the SQLite query to answer to the question: Name the most o... | Your query is nearly correct, but it may not convey the intended meaning clearly. If you want to find the opponent(s) associated with the maximum number of opponents for the '8-1' record, you might want to consider using the following query, which will show which opponent has the maximum opponents count, based on the r... | 6,777 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21092427_1 (opponents INTEGER, record VARCHAR)\n\n Question: Name the most opponents for 8-1 record\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_21132404_1 (seats_2006 VARCHAR, _percentage_1997 VARCHAR)
Question: How many seats in 2006 has a % 1997 rating of 38.9?
Here is the SQLite query to answer to the q... | Here is the SQLite query you provided to answer the question regarding how many seats in 2006 correspond to a % 1997 rating of 38.9:
```
SELECT COUNT(seats_2006) FROM table_21132404_1 WHERE _percentage_1997 = "38.9"
``` | 6,778 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21132404_1 (seats_2006 VARCHAR, _percentage_1997 VARCHAR)\n\n Question: How many seats in 2006 has a % 1997 rating of 38.9?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)
Question: What was the % 2006 rating in 2006 where there were 5 seats?
Here is the SQLite query to answer... | Your SQLite query has a small issue with the data types being queried. The `seats_2006` column is defined as `VARCHAR`, so the comparison should be made with a string value. Here is the corrected query wrapped in code format:
```
SELECT _percentage_2006 FROM table_21132404_1 WHERE seats_2006 = '5'
``` | 6,779 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, seats_2006 VARCHAR)\n\n Question: What was the % 2006 rating in 2006 where there were ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, political_parties VARCHAR)
Question: How many time was the political party the social democratic party of germany?
Here is th... | Your SQLite query looks mostly correct. However, to ensure proper formatting, let’s wrap it properly in the required code block. Here’s the query:
```sql
SELECT COUNT(_percentage_2006) FROM table_21132404_1 WHERE political_parties = "Social Democratic Party of Germany";
```
This query will count the number of times ... | 6,780 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21132404_1 (_percentage_2006 VARCHAR, political_parties VARCHAR)\n\n Question: How many time was the political party the soc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR)
Question: How many political parties had a %2006 rating of 43.5?
Here is the SQLite query to answe... | Your SQLite query to count the number of political parties with a %2006 rating of 43.5 is correct. Here's the query wrapped properly:
```
SELECT COUNT(political_parties) FROM table_21132404_1 WHERE _percentage_2006 = "43.5";
``` | 6,781 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21132404_1 (political_parties VARCHAR, _percentage_2006 VARCHAR)\n\n Question: How many political parties had a %2006 rating... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)
Question: How many seats were there in 2001 when there were 11 seats in 2006?
Here is the SQLite query to answe... | Here's the SQLite query to answer the question about how many seats there were in 2001 when there were 11 seats in 2006:
```
SELECT MIN(seats_2001) FROM table_21132404_1 WHERE seats_2006 = '11'
```
Note that `seats_2006` should be compared to a string ('11') since it is defined as `VARCHAR` in the schema. | 6,782 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21132404_1 (seats_2001 INTEGER, seats_2006 VARCHAR)\n\n Question: How many seats were there in 2001 when there were 11 seats... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR)
Question: Name the won promotion for 1987
Here is the SQLite query to answer to the question: Name the won promot... | Here is the SQLite query to answer the question: Name the won promotion for 1987:
```sql
SELECT won_promotion FROM table_2119448_3 WHERE season = '1987';
``` | 6,783 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, season VARCHAR)\n\n Question: Name the won promotion for 1987\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_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)
Question: Name the won promotion for kalmar ff
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question about the won promotion for Kalmar FF:
```
SELECT won_promotion FROM table_2119448_3 WHERE lost_promotion_playoffs = "Kalmar FF"
``` | 6,784 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2119448_3 (won_promotion VARCHAR, lost_promotion_playoffs VARCHAR)\n\n Question: Name the won promotion for kalmar ff\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)
Question: If the matches for NQF is 2009, what is the position?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question:
```
SELECT position FROM table_21223773_2 WHERE matches_for_nqf = "2009"
``` | 6,785 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21223773_2 (position VARCHAR, matches_for_nqf VARCHAR)\n\n Question: If the matches for NQF is 2009, what is the position?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR)
Question: What was Robin's score when she was eliminated?
Here is the SQLite query to answer to the question: What was ... | To find Robin's score when she was eliminated, you need to select the score from the `result` field where Robin is mentioned and the result indicates elimination. Based on the provided schema and your original query, I will modify it to correctly return the score:
```sql
SELECT result FROM table_21234111_10 WHERE robi... | 6,786 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21234111_10 (robin VARCHAR, result VARCHAR)\n\n Question: What was Robin's score when she was eliminated?\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_21234111_10 (song VARCHAR, robin VARCHAR)
Question: What song did Robin perform with a result of 4.0?
Here is the SQLite query to answer to the question: What song... | The given SQLite query contains an incorrect condition for selecting the row where Robin performed with a result of 4.0. The `robin` column should be checked against the string "4.0" instead of being interpreted as a performance result. Assuming that we want to find the song corresponding to a performance result of 4.0... | 6,787 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21234111_10 (song VARCHAR, robin VARCHAR)\n\n Question: What song did Robin perform with a result of 4.0?\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_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR)
Question: Among deaths 106 000 how many is crude rate.
Here is the SQLite query to answer to the question: Am... | Here is the SQLite query wrapped in code formatting:
```
SELECT crude_death_rate FROM table_21258_1 WHERE deaths = "106 000";
``` | 6,788 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21258_1 (crude_death_rate VARCHAR, deaths VARCHAR)\n\n Question: Among deaths 106 000 how many is crude rate.\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_21258_1 (natural_increase VARCHAR, births VARCHAR)
Question: where births is 388 000 how many number is natural increase
Here is the SQLite query to answer to the ... | Your SQLite query to find the count of `natural_increase` values where `births` is "388 000" looks good; however, if you want to retrieve the actual `natural_increase` value for that specific `births` count instead of a count, you may want to select the `natural_increase` directly.
Here's how to write the query to fe... | 6,789 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21258_1 (natural_increase VARCHAR, births VARCHAR)\n\n Question: where births is 388 000 how many number is natural increase... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR)
Question: period between 1985 - 1990 have minimum infant mortality rate of what.
Here is the SQLite query t... | Your query is almost correct, but it seems like you're trying to get the minimum infant mortality rate for the period specified as a range (from 1985 to 1990), which should likely involve checking for entries that fall within those years. Assuming the `period` field contains entries like "1985", "1986", ..., "1990", yo... | 6,790 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21258_1 (infant_mortality_rate INTEGER, period VARCHAR)\n\n Question: period between 1985 - 1990 have minimum infant mortali... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21260421_1 (winner VARCHAR, score VARCHAR)
Question: How many winners scored exactly 202 (-11)?
Here is the SQLite query to answer to the question: How many winner... | Here is the SQLite query to answer the question of how many winners scored exactly 202 (-11):
```
SELECT COUNT(winner) FROM table_21260421_1 WHERE score = "202 (-11)"
``` | 6,791 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21260421_1 (winner VARCHAR, score VARCHAR)\n\n Question: How many winners scored exactly 202 (-11)?\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_21260421_1 (score VARCHAR, location VARCHAR)
Question: How many tournaments were held at Alabama?
Here is the SQLite query to answer to the question: How many tour... | Here is the SQLite query to answer the question of how many tournaments were held at Alabama:
```
SELECT COUNT(score) FROM table_21260421_1 WHERE location = 'Alabama';
``` | 6,792 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21260421_1 (score VARCHAR, location VARCHAR)\n\n Question: How many tournaments were held at Alabama?\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_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
Question: Where was the tourney when Louisville won the regular season?
Here is the SQL... | ```sql
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Louisville";
``` | 6,793 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)\n\n Question: Where was the tourney when Louisvi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
Question: Where was the tourney when UCLA won the regular season?
Here is the SQLite q... | Your SQLite query is correctly formulated to answer the question regarding the tournament venue when UCLA won the regular season. Here it is wrapped in the code block as you requested:
```
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "UCLA";
``` | 6,794 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)\n\n Question: Where was the tourney when UCLA w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)
Question: Where was the tourney when Weber State won the regular season?
Here is the S... | Your SQLite query is correctly structured to answer the question regarding the tournament venue when Weber State won the regular season. Here it is wrapped as you requested:
```
SELECT tournament_venue__city_ FROM table_21269441_4 WHERE regular_season_winner = "Weber State"
``` | 6,795 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21269441_4 (tournament_venue__city_ VARCHAR, regular_season_winner VARCHAR)\n\n Question: Where was the tourney when Weber ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)
Question: Which drivers won $40,000 in the NASCAR Winston Cup?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question about which drivers won $40,000 in the NASCAR Winston Cup:
```
SELECT driver FROM table_21297652_1 WHERE series = "NASCAR Winston Cup" AND winnings = "$40,000"
``` | 6,796 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21297652_1 (driver VARCHAR, series VARCHAR, winnings VARCHAR)\n\n Question: Which drivers won $40,000 in the NASCAR Winston ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21297652_1 (series VARCHAR, position VARCHAR)
Question: What series is at the position 7?
Here is the SQLite query to answer to the question: What series is at the... | Here is the SQLite query to answer the question: What series is at the position 7?:
```
SELECT series FROM table_21297652_1 WHERE position = '7'
``` | 6,797 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21297652_1 (series VARCHAR, position VARCHAR)\n\n Question: What series is at the position 7?\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_21297652_1 (series VARCHAR, points VARCHAR)
Question: In what series did the driver get 30 points?
Here is the SQLite query to answer to the question: In what seri... | Here is the SQLite query to answer the question about the series in which the driver got 30 points:
```
SELECT series FROM table_21297652_1 WHERE points = '30'
``` | 6,798 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21297652_1 (series VARCHAR, points VARCHAR)\n\n Question: In what series did the driver get 30 points?\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_21297652_1 (winnings VARCHAR, driver VARCHAR)
Question: How much did Dale Jarrett win?
Here is the SQLite query to answer to the question: How much did Dale Jarret... | Here is the SQLite query to answer the question about how much Dale Jarrett won:
```
SELECT winnings FROM table_21297652_1 WHERE driver = "Dale Jarrett"
``` | 6,799 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_21297652_1 (winnings VARCHAR, driver VARCHAR)\n\n Question: How much did Dale Jarrett win?\n\nHere is the SQLite query to an... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.