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_28190534_1 (constructor VARCHAR, no VARCHAR)
Question: Name the constructor for number 10
Here is the SQLite query to answer to the question: Name the constructor ... | Here is the SQLite query to answer the question of naming the constructor for number 10:
```
SELECT constructor FROM table_28190534_1 WHERE no = '10'
```
(Note: Make sure to use quotes around '10' because it is defined as a VARCHAR in the schema.) | 21,100 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28190534_1 (constructor VARCHAR, no VARCHAR)\n\n Question: Name the constructor for number 10\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_28190534_1 (chassis VARCHAR, driver VARCHAR)
Question: Name the chassis for b. bira
Here is the SQLite query to answer to the question: Name the chassis for b. bir... | Here is the SQLite query to answer the question "Name the chassis for b. bira":
```
SELECT chassis FROM table_28190534_1 WHERE driver = "B. Bira"
``` | 21,101 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28190534_1 (chassis VARCHAR, driver VARCHAR)\n\n Question: Name the chassis for b. bira\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_2818164_8 (no_in_series VARCHAR, directed_by VARCHAR)
Question: the episode directed by art dielhenn was what number in the series?
Here is the SQLite query to an... | Here is the SQLite query to answer the question:
```
SELECT no_in_series FROM table_2818164_8 WHERE directed_by = "Art Dielhenn"
``` | 21,102 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2818164_8 (no_in_series VARCHAR, directed_by VARCHAR)\n\n Question: the episode directed by art dielhenn was what number in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28195898_1 (written_by VARCHAR, directed_by VARCHAR)
Question: Who wrote the episode which was directed by Nick Marck?
Here is the SQLite query to answer to the qu... | Here is the SQLite query you can use to answer the question about who wrote the episode directed by Nick Marck:
```
SELECT written_by FROM table_28195898_1 WHERE directed_by = "Nick Marck"
``` | 21,103 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28195898_1 (written_by VARCHAR, directed_by VARCHAR)\n\n Question: Who wrote the episode which was directed by Nick Marck?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28195898_1 (_number VARCHAR, production_code VARCHAR)
Question: What is the season 4 # for the production code of 4abb07?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about the season 4 # for the production code of 4abb07:
```
SELECT _number FROM table_28195898_1 WHERE production_code = "4abb07"
``` | 21,104 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28195898_1 (_number VARCHAR, production_code VARCHAR)\n\n Question: What is the season 4 # for the production code of 4abb07... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28195898_1 (title VARCHAR, № VARCHAR)
Question: What is the title of episode No. 65?
Here is the SQLite query to answer to the question: What is the title of episo... | Here is the SQLite query to answer the question "What is the title of episode No. 65?":
```
SELECT title FROM table_28195898_1 WHERE "№" = '65'
```
Note that I wrapped the column name `№` in double quotes to ensure it is treated correctly, as it contains a special character. Additionally, the episode number '65' sho... | 21,105 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28195898_1 (title VARCHAR, № VARCHAR)\n\n Question: What is the title of episode No. 65?\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_28195898_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)
Question: What is the production code for the episode with 5.5 million u.s. viewers?
Here is th... | Your SQLite query looks good. Here’s your query encapsulated within code blocks:
```
SELECT production_code FROM table_28195898_1 WHERE us_viewers__millions_ = "5.5";
```
This query will retrieve the `production_code` for any episode that has exactly 5.5 million U.S. viewers. | 21,106 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28195898_1 (production_code VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What is the production code for the episod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28195898_1 (MIN VARCHAR, _number VARCHAR)
Question: What is the series No when the season 4 # is 18?
Here is the SQLite query to answer to the question: What is th... | Your provided query is on the right track, but to clarify the requirements based on the question, here is the corrected SQLite query:
```sql
SELECT MIN AS series_No FROM table_28195898_1 WHERE _number = '18'
```
Make sure that `_number` contains values as strings, hence the comparison is done with '18'. If the `_numb... | 21,107 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28195898_1 (MIN VARCHAR, _number VARCHAR)\n\n Question: What is the series No when the season 4 # is 18?\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_28211674_3 (u21_mens VARCHAR, mixed_restricted VARCHAR, u21_womens VARCHAR)
Question: Who was the U21 Mens winner when Mike Marsden was the mixed restricted winner ... | Your SQLite query is correctly written to retrieve the U21 Mens winner under the specified conditions. Here it is wrapped in code formatting as you requested:
```
SELECT u21_mens FROM table_28211674_3 WHERE mixed_restricted = "Mike Marsden" AND u21_womens = "Claire Nelson";
```
This query will return the U21 Mens wi... | 21,108 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (u21_mens VARCHAR, mixed_restricted VARCHAR, u21_womens VARCHAR)\n\n Question: Who was the U21 Mens winner when M... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211674_3 (mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)
Question: When Naomi Owen won the Womens Singles and Ricardo Walther won the Mens S... | ```
SELECT mixed_veteran FROM table_28211674_3 WHERE womens_singles = "Naomi Owen" AND mens_singles = "Ricardo Walther"
``` | 21,109 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (mixed_veteran VARCHAR, womens_singles VARCHAR, mens_singles VARCHAR)\n\n Question: When Naomi Owen won the Women... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR, u21_womens VARCHAR)
Question: Who won the mixed restricted when Tomasz Rzeszotko won the mixed veteran ... | Here is the SQLite query to answer the question:
```
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Tomasz Rzeszotko" AND u21_womens = "Karina Le Fevre"
``` | 21,110 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR, u21_womens VARCHAR)\n\n Question: Who won the mixed restricted ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211674_3 (date_location VARCHAR, mixed_veteran VARCHAR)
Question: When and where did Eddie Smith win the mixed veteran?
Here is the SQLite query to answer to the... | The provided SQL query counts the occurrences of "Eddie Smith" in the `mixed_veteran` column, but it does not return the date and location where he won the mixed veteran. To retrieve the specific date and location, you need to select those columns instead. Here is the corrected query:
```
SELECT date_location
FROM ta... | 21,111 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (date_location VARCHAR, mixed_veteran VARCHAR)\n\n Question: When and where did Eddie Smith win the mixed veteran... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mens_singles VARCHAR)
Question: When Matt Ware won the mens singles, who won the mixed restricted?
Here is the SQLite query t... | Here is the SQLite query to answer the question: When Matt Ware won the mens singles, who won the mixed restricted?:
```
SELECT mixed_restricted FROM table_28211674_3 WHERE mens_singles = "Matt Ware"
``` | 21,112 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mens_singles VARCHAR)\n\n Question: When Matt Ware won the mens singles, who won the m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)
Question: When Paul Whiting won the mixed veteran, who won the mixed restricted?
Here is the SQLite qu... | Your SQLite query looks correct for answering the question regarding who won the mixed restricted category when Paul Whiting won the mixed veteran. Here’s the formatted SQL query:
```
SELECT mixed_restricted FROM table_28211674_3 WHERE mixed_veteran = "Paul Whiting";
``` | 21,113 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211674_3 (mixed_restricted VARCHAR, mixed_veteran VARCHAR)\n\n Question: When Paul Whiting won the mixed veteran, who won ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)
Question: How many winners have st kilda score at 14.11.95?
Here is the SQLite query to answer to the question:... | It seems there was a slight misunderstanding in your question. The `st_kilda_score` should reflect a numeric score rather than a date-like format. Assuming that you want to retrieve the count of winners for a specific score, here's a corrected version of the query assuming you meant to check for a score representing St... | 21,114 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)\n\n Question: How many winners have st kilda score at 14.11.95?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211103_1 (round INTEGER, hawthorn_score VARCHAR)
Question: What the listed in round when the hawthorn score is 17.7.109?
Here is the SQLite query to answer to th... | Here's the SQLite query to find the round when the Hawthorn score is 17.7.109:
```
SELECT round FROM table_28211103_1 WHERE hawthorn_score = "17.7.109";
``` | 21,115 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (round INTEGER, hawthorn_score VARCHAR)\n\n Question: What the listed in round when the hawthorn score is 17.7.10... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211103_1 (attendance VARCHAR, hawthorn_score VARCHAR)
Question: What is the attendance when the hawthorn score is 18.15.123?
Here is the SQLite query to answer t... | Here's the SQLite query you need to find the attendance when the hawthorn score is 18.15.123:
```sql
SELECT attendance FROM table_28211103_1 WHERE hawthorn_score = "18.15.123";
``` | 21,116 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (attendance VARCHAR, hawthorn_score VARCHAR)\n\n Question: What is the attendance when the hawthorn score is 18.1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211103_1 (hawthorn_score VARCHAR, year VARCHAR)
Question: What is the hawthorn score at the year 2000?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question about the hawthorn score in the year 2000:
```sql
SELECT hawthorn_score FROM table_28211103_1 WHERE year = '2000'
``` | 21,117 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (hawthorn_score VARCHAR, year VARCHAR)\n\n Question: What is the hawthorn score at the year 2000?\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_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)
Question: Who is the winner when the st kilda score is 13.10.88?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the winner when the St Kilda score is 13.10.88:
```
SELECT winner FROM table_28211103_1 WHERE st_kilda_score = "13.10.88"
``` | 21,118 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (winner VARCHAR, st_kilda_score VARCHAR)\n\n Question: Who is the winner when the st kilda score is 13.10.88?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28211103_1 (attendance VARCHAR, st_kilda_score VARCHAR)
Question: What is the attendance when the st kilda score is 13.10.88?
Here is the SQLite query to answer to... | Here is the SQLite query to answer your question:
```
SELECT attendance FROM table_28211103_1 WHERE st_kilda_score = '13.10.88';
``` | 21,119 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28211103_1 (attendance VARCHAR, st_kilda_score VARCHAR)\n\n Question: What is the attendance when the st kilda score is 13.1... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)
Question: How many caps figures for the Doncaster Rovers?
Here is the SQLite query to answer to the question: How man... | Here is the SQLite query to answer the question regarding the number of caps figures for the Doncaster Rovers:
```
SELECT COUNT(cap_s_) FROM table_28286776_52 WHERE club_s_ = "Doncaster Rovers"
``` | 21,120 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)\n\n Question: How many caps figures for the Doncaster Rovers?\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_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)
Question: How many caps figures are there for Norwich City, Coventry City?
Here is the SQLite query to answer to the ... | The initial query provided does not correctly filter for both "Norwich City" and "Coventry City". Instead, it treats "Norwich City, Coventry City" as a single string. To count the caps figures for both clubs, you should use the `IN` clause or use `OR` to separate the conditions. Here’s the corrected query using the `IN... | 21,121 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28286776_52 (cap_s_ VARCHAR, club_s_ VARCHAR)\n\n Question: How many caps figures are there for Norwich City, Coventry City?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)
Question: How many players had 8 goals?
Here is the SQLite query to answer to the question: How many players had 8 go... | It looks like there is a small issue with your query. The `goal_s_` field is defined as a VARCHAR, so when checking for equality with the number `8`, you should use a string comparison. Here is the corrected version of your SQLite query:
```
SELECT COUNT(player) FROM table_28286776_52 WHERE goal_s_ = '8'
```
This qu... | 21,122 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28286776_52 (player VARCHAR, goal_s_ VARCHAR)\n\n Question: How many players had 8 goals?\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_1 (position VARCHAR, nationality VARCHAR)
Question: How many positions does the draft pick whose nationality is Czech Republic play?
Here is the SQLite que... | Here is the correct SQLite query to answer the question about how many positions the draft pick whose nationality is Czech Republic plays:
```
SELECT COUNT(DISTINCT position) FROM table_2840500_1 WHERE nationality = 'Czech Republic';
```
This query counts the distinct positions played by draft picks with the nationa... | 21,123 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_1 (position VARCHAR, nationality VARCHAR)\n\n Question: How many positions does the draft pick whose nationality is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_1 (pick INTEGER, player VARCHAR)
Question: What draft pick number was Ric Jackman?
Here is the SQLite query to answer to the question: What draft pick numb... | Here is the SQLite query to answer the question about Ric Jackman's draft pick number:
```
SELECT MIN(pick) FROM table_2840500_1 WHERE player = "Ric Jackman"
``` | 21,124 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_1 (pick INTEGER, player VARCHAR)\n\n Question: What draft pick number was Ric Jackman?\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_2840500_4 (position VARCHAR, player VARCHAR)
Question: How many draft pick positions did Matt Bradley have?
Here is the SQLite query to answer to the question: How... | Here is the SQLite query to answer the question regarding how many draft pick positions Matt Bradley had:
```sql
SELECT COUNT(position) FROM table_2840500_4 WHERE player = "Matt Bradley";
``` | 21,125 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)\n\n Question: How many draft pick positions did Matt Bradley have?\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_2840500_4 (player VARCHAR, college_junior_club_team VARCHAR)
Question: How many players came from college team reipas lahti (finland)?
Here is the SQLite query to ... | Here is the SQLite query to answer the question of how many players came from the college team Reipas Lahti (Finland):
```
SELECT COUNT(player) FROM table_2840500_4 WHERE college_junior_club_team = "Reipas Lahti (Finland)"
``` | 21,126 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_4 (player VARCHAR, college_junior_club_team VARCHAR)\n\n Question: How many players came from college team reipas la... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)
Question: What position does Antti-Jussi Niemi play?
Here is the SQLite query to answer to the question: What position... | Here is the SQLite query to answer the question about the position Antti-Jussi Niemi plays:
```
SELECT position FROM table_2840500_4 WHERE player = "Antti-Jussi Niemi"
``` | 21,127 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_4 (position VARCHAR, player VARCHAR)\n\n Question: What position does Antti-Jussi Niemi play?\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_2840500_4 (position VARCHAR, college_junior_club_team VARCHAR)
Question: What position does that draft pick play from Lake Superior State University (NCAA)?
Here i... | Here is the SQLite query to answer the question regarding the position of the draft pick from Lake Superior State University (NCAA):
```
SELECT position FROM table_2840500_4 WHERE college_junior_club_team = "Lake Superior State University (NCAA)"
``` | 21,128 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_4 (position VARCHAR, college_junior_club_team VARCHAR)\n\n Question: What position does that draft pick play from La... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_4 (nationality VARCHAR, player VARCHAR)
Question: What is the nationality of Christian Lefebvre?
Here is the SQLite query to answer to the question: What i... | Here is the SQLite query to answer the question regarding the nationality of Christian Lefebvre:
```
SELECT nationality FROM table_2840500_4 WHERE player = "Christian Lefebvre";
``` | 21,129 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_4 (nationality VARCHAR, player VARCHAR)\n\n Question: What is the nationality of Christian Lefebvre?\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_2840500_8 (nationality VARCHAR, player VARCHAR)
Question: Name the number of nationalities for ryan mckie
Here is the SQLite query to answer to the question: Name ... | Here's the SQLite query to answer the question regarding the number of nationalities for Ryan Mckie:
```
SELECT COUNT(DISTINCT nationality) FROM table_2840500_8 WHERE player = "Ryan Mckie";
```
This query uses `COUNT(DISTINCT nationality)` to ensure that each nationality is counted only once, providing an accurate c... | 21,130 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_8 (nationality VARCHAR, player VARCHAR)\n\n Question: Name the number of nationalities for ryan mckie\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_2840500_8 (pick VARCHAR, player VARCHAR)
Question: Name the pick for matthew scorsune
Here is the SQLite query to answer to the question: Name the pick for matthew... | Here is the SQLite query to answer the question: Name the pick for Matthew Scorsune:
```
SELECT pick FROM table_2840500_8 WHERE player = "Matthew Scorsune"
``` | 21,131 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_8 (pick VARCHAR, player VARCHAR)\n\n Question: Name the pick for matthew scorsune\n\nHere is the SQLite query to ans... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)
Question: Name the college for andrej podkonicky
Here is the SQLite query to answer to the question: N... | Here is the SQLite query to answer the question about the college for Andrej Podkonicky:
```
SELECT college_junior_club_team FROM table_2840500_8 WHERE player = "Andrej Podkonicky"
``` | 21,132 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_8 (college_junior_club_team VARCHAR, player VARCHAR)\n\n Question: Name the college for andrej podkonicky\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_2840500_8 (pick INTEGER, player VARCHAR)
Question: Name the most pick for evgeny korolev
Here is the SQLite query to answer to the question: Name the most pick for... | Here is the SQLite query to answer the question of naming the most pick for Evgeny Korolev:
```
SELECT MAX(pick) FROM table_2840500_8 WHERE player = "Evgeny Korolev"
``` | 21,133 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2840500_8 (pick INTEGER, player VARCHAR)\n\n Question: Name the most pick for evgeny korolev\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_28418916_3 (coastal_carolina_head_coach VARCHAR, year VARCHAR)
Question: Who was the coastal Carolina head coach in 2013?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question: Who was the coastal Carolina head coach in 2013?:
```
SELECT coastal_carolina_head_coach FROM table_28418916_3 WHERE year = '2013'
``` | 21,134 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28418916_3 (coastal_carolina_head_coach VARCHAR, year VARCHAR)\n\n Question: Who was the coastal Carolina head coach in 2013... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)
Question: How many head coaches did Kent state golden flashes have?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about how many head coaches the Kent State Golden Flashes had:
```
SELECT COUNT(DISTINCT opponents_head_coach) FROM table_28418916_3 WHERE fbs_opponent = "Kent State Golden Flashes"
```
This query counts only distinct head coaches to give an accurate number of differen... | 21,135 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28418916_3 (opponents_head_coach VARCHAR, fbs_opponent VARCHAR)\n\n Question: How many head coaches did Kent state golden fl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28418916_3 (result VARCHAR, opponents_conference VARCHAR)
Question: What was the result when then opponents conference was Mac (east)?
Here is the SQLite query to ... | Your SQLite query is correctly formulated to answer the question. Here it is wrapped in the requested code format:
```
SELECT result FROM table_28418916_3 WHERE opponents_conference = "MAC (East)";
``` | 21,136 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28418916_3 (result VARCHAR, opponents_conference VARCHAR)\n\n Question: What was the result when then opponents conference w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_1 (nationality VARCHAR, nhl_team VARCHAR)
Question: What nationality is the draft pick player going to Minnesota North Stars?
Here is the SQLite query to a... | Here is the SQLite query to answer the question about the nationality of the draft pick player going to the Minnesota North Stars:
```
SELECT nationality FROM table_2850912_1 WHERE nhl_team = "Minnesota North Stars"
``` | 21,137 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_1 (nationality VARCHAR, nhl_team VARCHAR)\n\n Question: What nationality is the draft pick player going to Minnesota... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_1 (pick__number VARCHAR, college_junior_club_team VARCHAR)
Question: What daft pick number is the player coming from Regina Pats (WHL)?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding the draft pick number of the player coming from Regina Pats (WHL):
```
SELECT pick__number FROM table_2850912_1 WHERE college_junior_club_team = "Regina Pats (WHL)"
``` | 21,138 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_1 (pick__number VARCHAR, college_junior_club_team VARCHAR)\n\n Question: What daft pick number is the player coming ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_1 (player VARCHAR, pick__number VARCHAR)
Question: What player is draft pick 17?
Here is the SQLite query to answer to the question: What player is draft p... | Here is the SQLite query to answer the question "What player is draft pick 17?":
```sql
SELECT player FROM table_2850912_1 WHERE pick__number = '17';
``` | 21,139 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_1 (player VARCHAR, pick__number VARCHAR)\n\n Question: What player is draft pick 17?\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_2850912_1 (college_junior_club_team VARCHAR, pick__number VARCHAR)
Question: What college team did draft pick 18 come from?
Here is the SQLite query to answer to t... | Here is the SQLite query to find out what college team draft pick 18 came from:
```
SELECT college_junior_club_team FROM table_2850912_1 WHERE pick__number = '18'
```
Note: If `pick__number` is stored as a string, it's important to surround the number with quotes, as shown above. | 21,140 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_1 (college_junior_club_team VARCHAR, pick__number VARCHAR)\n\n Question: What college team did draft pick 18 come fr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28498999_5 (to_par VARCHAR, player VARCHAR)
Question: How many times is a to par listed when the player is phil mickelson?
Here is the SQLite query to answer to t... | The SQLite query you provided is correct for counting the occurrences of `to_par` when the player is "Phil Mickelson". Here it is wrapped in code formatting:
```
SELECT COUNT(to_par) FROM table_28498999_5 WHERE player = "Phil Mickelson";
```
This will return the total number of times `to_par` is listed for "Phil Mic... | 21,141 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28498999_5 (to_par VARCHAR, player VARCHAR)\n\n Question: How many times is a to par listed when the player is phil mickels... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28498999_5 (score VARCHAR, player VARCHAR)
Question: What is the score when the player is Matt Kuchar?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question about the score for the player Matt Kuchar:
```
SELECT score FROM table_28498999_5 WHERE player = "Matt Kuchar";
``` | 21,142 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28498999_5 (score VARCHAR, player VARCHAR)\n\n Question: What is the score when the player is Matt Kuchar?\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_28498999_5 (player VARCHAR, score VARCHAR)
Question: What is the player listed when the score is 68-70-68-69=275
Here is the SQLite query to answer to the question... | The provided SQLite query has a syntax issue and does not correctly compare the score due to the arithmetic operation being done within the `WHERE` clause. You need to compare the `score` column to the string representation of the score, not perform an arithmetic operation on it.
Here’s the correct SQLite query to ret... | 21,143 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28498999_5 (player VARCHAR, score VARCHAR)\n\n Question: What is the player listed when the score is 68-70-68-69=275\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28498999_5 (_number VARCHAR, score VARCHAR)
Question: What is the # listed when the score is 70-69-69-70=278?
Here is the SQLite query to answer to the question: W... | It looks like there is a misunderstanding in the SQL query. The condition in the `WHERE` clause should use the column values correctly.
You can query the database for a specific score without needing to calculate directly in the SQL statement. The query might look like this:
```sql
SELECT _number FROM table_28498999_... | 21,144 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28498999_5 (_number VARCHAR, score VARCHAR)\n\n Question: What is the # listed when the score is 70-69-69-70=278?\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_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR)
Question: To which organziation does the winnipeg jets belong to?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the organization to which the Winnipeg Jets belong:
```
SELECT college_junior_club_team FROM table_2850912_12 WHERE nhl_team = "Winnipeg Jets"
``` | 21,145 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_12 (college_junior_club_team VARCHAR, nhl_team VARCHAR)\n\n Question: To which organziation does the winnipeg jets ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_12 (position VARCHAR, player VARCHAR)
Question: What position does allister brown play.
Here is the SQLite query to answer to the question: What position d... | Here is the SQLite query to answer the question about what position Allister Brown plays:
```
SELECT position FROM table_2850912_12 WHERE player = "Allister Brown"
``` | 21,146 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_12 (position VARCHAR, player VARCHAR)\n\n Question: What position does allister brown play.\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_2850912_12 (pick__number INTEGER, college_junior_club_team VARCHAR)
Question: What selection was the springfield olympics (nejhl)?
Here is the SQLite query to answ... | Here's the SQLite query to answer the question about the Springfield Olympics (NEJHL):
```
SELECT MAX(pick__number) FROM table_2850912_12 WHERE college_junior_club_team = "Springfield Olympics (NEJHL)";
``` | 21,147 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_12 (pick__number INTEGER, college_junior_club_team VARCHAR)\n\n Question: What selection was the springfield olympic... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)
Question: List the players for team brynäs if (sweden).
Here is the SQLite query to answer to the que... | Your SQLite query to list the players for the team Brynäs IF (Sweden) is correctly formatted. Here it is again for clarity:
```
SELECT player FROM table_2850912_12 WHERE college_junior_club_team = "Brynäs IF (Sweden)"
``` | 21,148 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_12 (player VARCHAR, college_junior_club_team VARCHAR)\n\n Question: List the players for team brynäs if (sweden).\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2850912_12 (pick__number VARCHAR, nhl_team VARCHAR)
Question: Which draft number did the new jersey devils get?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: Which draft number did the New Jersey Devils get?:
```
SELECT pick__number FROM table_2850912_12 WHERE nhl_team = "New Jersey Devils"
``` | 21,149 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2850912_12 (pick__number VARCHAR, nhl_team VARCHAR)\n\n Question: Which draft number did the new jersey devils get?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, earnings__€_ VARCHAR)
Question: How many cuts did the player who earned 210408 Euro make?
Here is the SQLite query to answer to the ... | The query you've provided is very close, but there's an issue with how the earnings are formatted in the database, especially since it's represented as a string (VARCHAR). To ensure that the comparison works correctly, you should use a string comparison for the earnings.
Here's the corrected query:
```
SELECT cuts_ma... | 21,150 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, earnings__€_ VARCHAR)\n\n Question: How many cuts did the player who earned 210408 Euro make?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)
Question: How many cuts did Gary Clark make?
Here is the SQLite query to answer to the question: How many cuts did G... | Your SQL query is almost correct, but to count the number of cuts made by Gary Clark, you need to use the COUNT() function. Here's the corrected query:
```
SELECT COUNT(cuts_made) AS number_of_cuts FROM table_28540609_2 WHERE player = "Gary Clark"
``` | 21,151 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)\n\n Question: How many cuts did Gary Clark make?\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_28540609_2 (player VARCHAR, starts VARCHAR)
Question: Which player made exactly 26 starts?
Here is the SQLite query to answer to the question: Which player made ex... | It looks like there is a small issue with the original query. Since the `starts` column is defined as a `VARCHAR`, you will need to compare it to the string "26" instead of the integer 26. Here's the corrected query:
```
SELECT player FROM table_28540609_2 WHERE starts = '26'
``` | 21,152 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28540609_2 (player VARCHAR, starts VARCHAR)\n\n Question: Which player made exactly 26 starts?\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_28540609_2 (cuts_made VARCHAR, player VARCHAR)
Question: How many cuts did Bernd Wiesberger make?
Here is the SQLite query to answer to the question: How many cuts... | Your SQLite query is almost correct but you need to use an aggregate function like `COUNT` to get the total number of cuts made by Bernd Wiesberger. Here’s the corrected query:
```
SELECT COUNT(cuts_made) AS total_cuts FROM table_28540609_2 WHERE player = "Bernd Wiesberger"
```
This will give you the total number of... | 21,153 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28540609_2 (cuts_made VARCHAR, player VARCHAR)\n\n Question: How many cuts did Bernd Wiesberger make?\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_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR)
Question: How many earnings values are associated with players who had a best finish of T38?
Here is the SQLit... | Here is the SQLite query to answer the question about how many earnings values are associated with players who had a best finish of T38:
```sql
SELECT COUNT(earnings__) AS earnings_count FROM table_28540609_2 WHERE best_finish = 'T38';
``` | 21,154 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28540609_2 (earnings__ VARCHAR, best_finish VARCHAR)\n\n Question: How many earnings values are associated with players who ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2856898_1 (dividend_per_share__p_ VARCHAR, turnover__£m_ VARCHAR)
Question: How many items appear in the dividend per share when the turnover is 0.42?
Here is the ... | Here is the SQLite query to answer the question of how many items appear in the dividend per share when the turnover is 0.42:
```
SELECT COUNT(dividend_per_share__p_) FROM table_2856898_1 WHERE turnover__£m_ = "0.42"
``` | 21,155 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2856898_1 (dividend_per_share__p_ VARCHAR, turnover__£m_ VARCHAR)\n\n Question: How many items appear in the dividend per sh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2856898_1 (profit_before_tax__£m_ VARCHAR, turnover__£m_ VARCHAR)
Question: What was the profit before tax when the turnover was 431.06?
Here is the SQLite query t... | Here is the SQLite query to answer the question regarding profit before tax when the turnover was 431.06:
```
SELECT profit_before_tax__£m_ FROM table_2856898_1 WHERE turnover__£m_ = "431.06"
``` | 21,156 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2856898_1 (profit_before_tax__£m_ VARCHAR, turnover__£m_ VARCHAR)\n\n Question: What was the profit before tax when the turn... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)
Question: What was the turnover when the profit before tax was 29.47?
Here is the SQLite query to... | Here is the SQLite query to answer the question about the turnover when the profit before tax was 29.47:
```
SELECT turnover__£m_ FROM table_2856898_1 WHERE profit_before_tax__£m_ = "29.47"
``` | 21,157 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2856898_1 (turnover__£m_ VARCHAR, profit_before_tax__£m_ VARCHAR)\n\n Question: What was the turnover when the profit before... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)
Question: What's the singer part number of the buttonholer whose storage case is a green plastic box?
... | Here is the SQLite query to answer the question regarding the singer part number of the buttonholer whose storage case is a green plastic box:
```
SELECT singer_part_number FROM table_28652521_1 WHERE storage_case = "green plastic box"
``` | 21,158 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28652521_1 (singer_part_number VARCHAR, storage_case VARCHAR)\n\n Question: What's the singer part number of the buttonholer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (description VARCHAR, singer_part_number VARCHAR)
Question: What's the description of the buttonholer whose singer part number is 121795 kit 121908 butto... | Here is the SQLite query to answer the question about the description of the buttonholer whose singer part number is "121795 kit 121908 buttonholer":
```
SELECT description FROM table_28652521_1 WHERE singer_part_number = "121795 kit 121908 buttonholer"
``` | 21,159 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28652521_1 (description VARCHAR, singer_part_number VARCHAR)\n\n Question: What's the description of the buttonholer whose s... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (description VARCHAR, storage_case VARCHAR, for_shank_type VARCHAR)
Question: What are all the different descriptions for the buttonholer with cardboard ... | Here is the SQLite query to answer the question regarding the descriptions for the buttonholer with a cardboard box for storage and a low shank type:
```
SELECT description FROM table_28652521_1 WHERE storage_case = "cardboard box" AND for_shank_type = "low"
``` | 21,160 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28652521_1 (description VARCHAR, storage_case VARCHAR, for_shank_type VARCHAR)\n\n Question: What are all the different desc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (storage_case VARCHAR, description VARCHAR)
Question: What's the storage case of the buttonholer described as ivory and red metal?
Here is the SQLite qu... | Here's the SQLite query to find the storage case for the buttonholer described as ivory and red metal:
```
SELECT storage_case FROM table_28652521_1 WHERE description = "ivory and red metal";
``` | 21,161 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28652521_1 (storage_case VARCHAR, description VARCHAR)\n\n Question: What's the storage case of the buttonholer described as... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28652521_1 (for_shank_type VARCHAR, storage_case VARCHAR)
Question: What's the shank type of the buttonholer with red plastic box as storage case?
Here is the SQLi... | Here is the SQLite query to answer the question about the shank type of the buttonholer with a red plastic box as the storage case:
```
SELECT for_shank_type FROM table_28652521_1 WHERE storage_case = "red plastic box"
``` | 21,162 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28652521_1 (for_shank_type VARCHAR, storage_case VARCHAR)\n\n Question: What's the shank type of the buttonholer with red pl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: Who wrote the episode with 7.52 million US viewers?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question of who wrote the episode with 7.52 million US viewers:
```
SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = "7.52"
``` | 21,163 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)\n\n Question: Who wrote the episode with 7.52 million US v... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28688313_1 (episode VARCHAR, _number VARCHAR)
Question: What are the titles of episodes numbered 19?
Here is the SQLite query to answer to the question: What are t... | Your SQLite query is almost correct, but since the `_number` field is defined as a `VARCHAR`, you should enclose the number `19` in quotes to match the data type. Here’s the corrected query:
```sql
SELECT episode FROM table_28688313_1 WHERE _number = '19';
``` | 21,164 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28688313_1 (episode VARCHAR, _number VARCHAR)\n\n Question: What are the titles of episodes numbered 19?\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_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)
Question: Who wrote the episode with 9.81 million US viewers?
Here is the SQLite query to answer ... | Here is the SQLite query to answer the question:
```
SELECT written_by FROM table_28688313_1 WHERE us_viewers__in_millions_ = "9.81"
``` | 21,165 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28688313_1 (written_by VARCHAR, us_viewers__in_millions_ VARCHAR)\n\n Question: Who wrote the episode with 9.81 million US v... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (track_no VARCHAR, track VARCHAR)
Question: How many tracks have the title let love be your energy?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question:
```sql
SELECT COUNT(track_no) FROM table_28715942_2 WHERE track = "Let Love Be Your Energy";
``` | 21,166 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_2 (track_no VARCHAR, track VARCHAR)\n\n Question: How many tracks have the title let love be your energy?\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_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)
Question: Who arranged song(s) with tom lyle on the vocal percussion?
Here is the SQLite query to ... | Here is the SQLite query to answer the question about who arranged songs with Tom Lyle on the vocal percussion:
```sql
SELECT arranger_s_ FROM table_28715942_2 WHERE vocal_percussionist_s_ = 'Tom Lyle';
``` | 21,167 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_2 (arranger_s_ VARCHAR, vocal_percussionist_s_ VARCHAR)\n\n Question: Who arranged song(s) with tom lyle on the voc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track_no VARCHAR)
Question: Who were the original artist(s) for track number 6?
Here is the SQLite query to answer to the ques... | Here is the correct SQLite query to answer the question regarding the original artist(s) for track number 6:
```
SELECT original_artist FROM table_28715942_2 WHERE track_no = '6'
```
Note: Ensure that the value for `track_no` matches the data type in your database. In this case, it's treated as a string, hence the s... | 21,168 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track_no VARCHAR)\n\n Question: Who were the original artist(s) for track number 6?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track VARCHAR)
Question: Who were the original artist(s) on harder to breathe?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the original artist(s) on "Harder to Breathe":
```
SELECT original_artist FROM table_28715942_2 WHERE track = "Harder to Breathe"
``` | 21,169 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, track VARCHAR)\n\n Question: Who were the original artist(s) on harder to breathe?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, arranger_s_ VARCHAR)
Question: Who were the original artist(s) when jack stamp arranged?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about the original artist(s) when Jack Stamp arranged:
```sql
SELECT original_artist FROM table_28715942_2 WHERE arranger_s_ = "Jack Stamp";
``` | 21,170 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_2 (original_artist VARCHAR, arranger_s_ VARCHAR)\n\n Question: Who were the original artist(s) when jack stamp arra... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)
Question: Who is the artist where the vocal percussionist is Benjamin Holder?
Here is the SQLite ... | Here is the SQLite query to answer the question about the artist where the vocal percussionist is Benjamin Holder:
```
SELECT original_artist FROM table_28715942_6 WHERE vocal_percussionist = "Benjamin Holder"
``` | 21,171 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_6 (original_artist VARCHAR, vocal_percussionist VARCHAR)\n\n Question: Who is the artist where the vocal percussion... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28715942_6 (vocal_percussionist VARCHAR, track VARCHAR)
Question: Who is the vocal percussionist for Sex Bomb?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the vocal percussionist for "Sex Bomb":
```
SELECT vocal_percussionist FROM table_28715942_6 WHERE track = "Sex Bomb"
``` | 21,172 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_6 (vocal_percussionist VARCHAR, track VARCHAR)\n\n Question: Who is the vocal percussionist for Sex Bomb?\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_28715942_6 (original_artist VARCHAR, track VARCHAR)
Question: Who is the original artist of "Use Somebody"?
Here is the SQLite query to answer to the question: Who... | Here is the SQLite query to answer the question about the original artist of "Use Somebody":
```
SELECT original_artist FROM table_28715942_6 WHERE track = "Use Somebody"
``` | 21,173 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_6 (original_artist VARCHAR, track VARCHAR)\n\n Question: Who is the original artist of \"Use Somebody\"?\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_28715942_6 (arranger_s_ VARCHAR, track VARCHAR)
Question: Who is the arranger for "I KIssed a Girl"?
Here is the SQLite query to answer to the question: Who is the... | Here is the SQLite query to answer the question about the arranger for "I Kissed a Girl":
```
SELECT arranger_s_ FROM table_28715942_6 WHERE track = "I Kissed a Girl"
``` | 21,174 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_6 (arranger_s_ VARCHAR, track VARCHAR)\n\n Question: Who is the arranger for \"I KIssed a Girl\"?\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_28715942_6 (vocal_percussionist VARCHAR, original_artist VARCHAR)
Question: Who is the percussionist for The Coral?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about the percussionist for The Coral:
```
SELECT vocal_percussionist FROM table_28715942_6 WHERE original_artist = "The Coral"
``` | 21,175 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28715942_6 (vocal_percussionist VARCHAR, original_artist VARCHAR)\n\n Question: Who is the percussionist for The Coral?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR)
Question: What is the charity for the celebrity with an occupation title of actor and singer?
Here is the SQLite q... | Here is the SQLite query to answer the question about the charity for the celebrity with an occupation title of actor and singer:
```
SELECT charity FROM table_28730873_2 WHERE occupation = 'actor and singer';
``` | 21,176 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28730873_2 (charity VARCHAR, occupation VARCHAR)\n\n Question: What is the charity for the celebrity with an occupation titl... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28760804_1 (title VARCHAR, directed_by VARCHAR)
Question: What is the title of the episode Alex Reid directed?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the title of the episode directed by Alex Reid:
```
SELECT title FROM table_28760804_1 WHERE directed_by = "Alex Reid"
``` | 21,177 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28760804_1 (title VARCHAR, directed_by VARCHAR)\n\n Question: What is the title of the episode Alex Reid directed?\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_28760804_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)
Question: Who wrote the episode that got 5.95 million U.S. viewers?
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about who wrote the episode that got 5.95 million U.S. viewers:
```
SELECT written_by FROM table_28760804_1 WHERE us_viewers__million_ = "5.95"
``` | 21,178 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28760804_1 (written_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: Who wrote the episode that got 5.95 million U.S.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28760804_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)
Question: How many million U.S. viewers saw the episode with production code 3X5710?
Here is the... | Here is the SQLite query to answer the question about how many million U.S. viewers saw the episode with production code 3X5710:
```
SELECT us_viewers__million_ FROM table_28760804_1 WHERE production_code = "3X5710"
``` | 21,179 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28760804_1 (us_viewers__million_ VARCHAR, production_code VARCHAR)\n\n Question: How many million U.S. viewers saw the episo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)
Question: How many directors got 6.79 million U.S. viewers from their episodes?
Here is the SQLite q... | Here is the SQLite query to answer the question: How many directors got 6.79 million U.S. viewers from their episodes?:
```
SELECT COUNT(directed_by) FROM table_28760804_1 WHERE us_viewers__million_ = "6.79"
``` | 21,180 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28760804_1 (directed_by VARCHAR, us_viewers__million_ VARCHAR)\n\n Question: How many directors got 6.79 million U.S. viewer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28768469_9 (high_points VARCHAR, date VARCHAR)
Question: Who had the most points in the game on March 7?
Here is the SQLite query to answer to the question: Who ha... | To find out who had the most points in the game on March 7, you can use the following SQLite query:
```sql
SELECT high_points
FROM table_28768469_9
WHERE date = 'March 7'
ORDER BY high_points DESC
LIMIT 1;
```
This query selects the `high_points` for entries with the date "March 7," orders them in descending ord... | 21,181 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28768469_9 (high_points VARCHAR, date VARCHAR)\n\n Question: Who had the most points in the game on March 7?\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_28768469_9 (record VARCHAR, team VARCHAR)
Question: What was the record after the game against Washington?
Here is the SQLite query to answer to the question: What... | Here is the SQLite query to answer the question regarding the record after the game against Washington:
```sql
SELECT record FROM table_28768469_9 WHERE team = 'Washington';
``` | 21,182 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28768469_9 (record VARCHAR, team VARCHAR)\n\n Question: What was the record after the game against Washington?\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_28846752_12 (highest_score VARCHAR, average VARCHAR)
Question: What is the highest score for the player with average of 30.00?
Here is the SQLite query to answer t... | Your provided SQLite query is correct. Here it is wrapped in the appropriate code formatting:
```
SELECT highest_score FROM table_28846752_12 WHERE average = "30.00";
``` | 21,183 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28846752_12 (highest_score VARCHAR, average VARCHAR)\n\n Question: What is the highest score for the player with average of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_12 (innings VARCHAR, average VARCHAR)
Question: How many innings for the player with an average of 22.61?
Here is the SQLite query to answer to the questi... | To count the number of innings for the player with an average of 22.61, you should modify the query to use the `COUNT` function. Here is the SQL query:
```
SELECT COUNT(innings) FROM table_28846752_12 WHERE average = '22.61';
``` | 21,184 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28846752_12 (innings VARCHAR, average VARCHAR)\n\n Question: How many innings for the player with an average of 22.61?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28846752_12 (strike_rate VARCHAR, average VARCHAR)
Question: What is the strike rate for the player with an average of 32.78?
Here is the SQLite query to answer to... | Your SQLite query to find the strike rate for the player with an average of 32.78 is correct. Here it is wrapped in the requested format:
```
SELECT strike_rate FROM table_28846752_12 WHERE average = "32.78"
``` | 21,185 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28846752_12 (strike_rate VARCHAR, average VARCHAR)\n\n Question: What is the strike rate for the player with an average of 3... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (team VARCHAR, stadium VARCHAR)
Question: What is the name of the team when the stadium is listed as Edward Jones Dome?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question about the team name associated with the stadium listed as Edward Jones Dome:
```
SELECT team FROM table_28884858_1 WHERE stadium = "Edward Jones Dome";
``` | 21,186 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (team VARCHAR, stadium VARCHAR)\n\n Question: What is the name of the team when the stadium is listed as Edward J... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (capacity_percentage VARCHAR, total_attendance VARCHAR)
Question: What is the capacity percentage when the total attendance is 509940?
Here is the SQLit... | Your SQLite query needs a small adjustment since the `total_attendance` field is of type `VARCHAR`. When comparing it to an integer value like `509940`, you should wrap the value in quotes. Here’s the corrected query:
```
SELECT capacity_percentage FROM table_28884858_1 WHERE total_attendance = '509940'
``` | 21,187 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (capacity_percentage VARCHAR, total_attendance VARCHAR)\n\n Question: What is the capacity percentage when the to... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR)
Question: What is the name of the stadium when the capacity percentage is 83.9%
Here is the SQLite query ... | Here is the SQLite query to answer the question about the name of the stadium when the capacity percentage is 83.9%:
```
SELECT stadium FROM table_28884858_1 WHERE capacity_percentage = "83.9%"
``` | 21,188 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (stadium VARCHAR, capacity_percentage VARCHAR)\n\n Question: What is the name of the stadium when the capacity pe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (home_games VARCHAR, average_attendance VARCHAR)
Question: How many home games are listed when the average attendance is 79475?
Here is the SQLite query... | Here is the corrected SQLite query to answer the question of how many home games are listed when the average attendance is 79475:
```
SELECT COUNT(home_games) FROM table_28884858_1 WHERE average_attendance = '79475'
```
Make sure to use quotes around the average attendance value since it is stored as a VARCHAR. | 21,189 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (home_games VARCHAR, average_attendance VARCHAR)\n\n Question: How many home games are listed when the average at... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (average_attendance VARCHAR, capacity_percentage VARCHAR)
Question: How many average attendance has a capacity percentage of 96.5%
Here is the SQLite qu... | Here is the SQLite query to answer the question about how many average attendance entries have a capacity percentage of 96.5%:
```
SELECT COUNT(average_attendance) FROM table_28884858_1 WHERE capacity_percentage = "96.5%"
``` | 21,190 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (average_attendance VARCHAR, capacity_percentage VARCHAR)\n\n Question: How many average attendance has a capacit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_1 (home_games VARCHAR, team VARCHAR)
Question: What is the number listed in home games when the team is Seattle Seahawks?
Here is the SQLite query to answ... | Sure! Here is the SQLite query wrapped in the requested format:
```
SELECT home_games FROM table_28884858_1 WHERE team = "Seattle Seahawks";
``` | 21,191 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_1 (home_games VARCHAR, team VARCHAR)\n\n Question: What is the number listed in home games when the team is Seattle... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)
Question: How many teams had a 99.3% capacity rating?
Here is the SQLite query to answer to the question: Ho... | Your SQLite query looks correct for counting the number of teams with a 99.3% capacity rating. Here it is, properly formatted:
```
SELECT COUNT(team) FROM table_28884858_2 WHERE capacity_percentage = "99.3%";
``` | 21,192 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)\n\n Question: How many teams had a 99.3% capacity rating?\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_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)
Question: What was the capacity for the Denver Broncos?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about the capacity for the Denver Broncos:
```
SELECT capacity_percentage FROM table_28884858_2 WHERE team = "Denver Broncos"
``` | 21,193 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, team VARCHAR)\n\n Question: What was the capacity for the Denver Broncos?\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_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR)
Question: What was average attendance when total attendance was 541380?
Here is the SQLite query ... | Here is the SQLite query to answer the question about the average attendance when total attendance was 541380:
```
SELECT average_attendance FROM table_28884858_2 WHERE total_attendance = '541380'
``` | 21,194 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (average_attendance VARCHAR, total_attendance VARCHAR)\n\n Question: What was average attendance when total atten... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)
Question: What team had a capacity of 102.3%?
Here is the SQLite query to answer to the question: What team ... | Here is the SQLite query to answer the question about which team had a capacity of 102.3%:
```
SELECT team FROM table_28884858_2 WHERE capacity_percentage = "102.3%"
``` | 21,195 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (team VARCHAR, capacity_percentage VARCHAR)\n\n Question: What team had a capacity of 102.3%?\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_28884858_2 (total_attendance INTEGER, team VARCHAR)
Question: What was the total attendance of the New York Giants?
Here is the SQLite query to answer to the quest... | The provided query logic seems to be aiming to find the total attendance of the New York Giants, but using `MIN` may not be the correct approach if the goal is to sum all attendance records for that team. If you're looking for the total attendance, you should use the `SUM` function instead. Here’s the corrected SQLite ... | 21,196 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (total_attendance INTEGER, team VARCHAR)\n\n Question: What was the total attendance of the New York Giants?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, average_attendance VARCHAR)
Question: What was the capacity percentage when attendance was 71080?
Here is the SQLite query... | Here is the SQLite query to answer the question regarding the capacity percentage when attendance was 71080:
```
SELECT capacity_percentage FROM table_28884858_2 WHERE average_attendance = '71080'
```
(Note: In the query, the value '71080' is wrapped in quotes to match the VARCHAR data type of `average_attendance`.) | 21,197 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28884858_2 (capacity_percentage VARCHAR, average_attendance VARCHAR)\n\n Question: What was the capacity percentage when att... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28891101_3 (postal_code INTEGER, administrative_capital VARCHAR)
Question: What is the postal code when the administrative capital in Bori?
Here is the SQLite quer... | Here's the SQLite query to answer the question regarding the postal code when the administrative capital is Bori:
```
SELECT postal_code FROM table_28891101_3 WHERE administrative_capital = "Bori";
```
This query directly retrieves the postal code associated with the administrative capital "Bori". | 21,198 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28891101_3 (postal_code INTEGER, administrative_capital VARCHAR)\n\n Question: What is the postal code when the administrati... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)
Question: What is the 2006 censusn population when is the administrative capital is Elem... | The query you provided counts the number of entries with the administrative capital set to "Eleme". However, if you want to retrieve the actual population value rather than count the entries, you should use the following query:
```sql
SELECT census_2006_population FROM table_28891101_3 WHERE administrative_capital = "... | 21,199 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_28891101_3 (census_2006_population VARCHAR, administrative_capital VARCHAR)\n\n Question: What is the 2006 censusn populatio... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.