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_name_54 (time VARCHAR, song_title VARCHAR)
Question: How long is the song titled burning love?
Here is the SQLite query to answer to the question: How long is the ... | Here is the SQLite query to answer the question regarding the length of the song titled "burning love":
```
SELECT time FROM table_name_54 WHERE song_title = "burning love"
``` | 49,000 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_54 (time VARCHAR, song_title VARCHAR)\n\n Question: How long is the song titled burning love?\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_name_34 (release_date VARCHAR, song_title VARCHAR)
Question: When was the song titled if you talk in your sleep released?
Here is the SQLite query to answer to the... | Here is the SQLite query wrapped in the specified code format:
```
SELECT release_date FROM table_name_34 WHERE song_title = "if you talk in your sleep";
``` | 49,001 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (release_date VARCHAR, song_title VARCHAR)\n\n Question: When was the song titled if you talk in your sleep released... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (city VARCHAR, state VARCHAR, year VARCHAR)
Question: What is the city that is located in California when the year is greater than 2009?
Here is the SQLite... | Here is the SQLite query to answer the question:
```
SELECT city FROM table_name_46 WHERE state = "California" AND year > 2009;
``` | 49,002 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (city VARCHAR, state VARCHAR, year VARCHAR)\n\n Question: What is the city that is located in California when the ye... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)
Question: What is the host in a year greater than 1989 and when the venue is the Staples Center l... | Here is the SQLite query to answer the question regarding the host in a year greater than 1989 when the venue is the Staples Center located in California:
```
SELECT host FROM table_name_12 WHERE year > 1989 AND state = "california" AND venue = "staples center";
``` | 49,003 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_12 (host VARCHAR, venue VARCHAR, year VARCHAR, state VARCHAR)\n\n Question: What is the host in a year greater than 198... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_5 (venue VARCHAR, state VARCHAR, year VARCHAR)
Question: What is the venue in 2011, when the state is California?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the venue in 2011 when the state is California:
```
SELECT venue FROM table_name_5 WHERE state = "California" AND year = "2011";
``` | 49,004 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (venue VARCHAR, state VARCHAR, year VARCHAR)\n\n Question: What is the venue in 2011, when the state is California?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)
Question: What is the wards/branches of the fort smith Arkansas stake?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the wards/branches of the Fort Smith Arkansas stake:
```
SELECT wards__branches_in_arkansas FROM table_name_89 WHERE stake = "fort smith arkansas";
``` | 49,005 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (wards__branches_in_arkansas VARCHAR, stake VARCHAR)\n\n Question: What is the wards/branches of the fort smith Arka... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR)
Question: What stake has realtor for American equity realty as their occupation?
Here is the SQLite query to answer to ... | Here is the SQLite query to answer the question:
```
SELECT stake FROM table_name_98 WHERE occupation = 'realtor for American equity realty';
``` | 49,006 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_98 (stake VARCHAR, occupation VARCHAR)\n\n Question: What stake has realtor for American equity realty as their occupat... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)
Question: What is the organized date of the stake with an occupation of senior buyer for Wal-mart?
Here is the SQLi... | Here is the SQLite query to answer the question about the organized date of the stake with an occupation of senior buyer for Wal-mart:
```
SELECT organized FROM table_name_67 WHERE occupation = "senior buyer for Wal-mart";
``` | 49,007 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (organized VARCHAR, occupation VARCHAR)\n\n Question: What is the organized date of the stake with an occupation of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (wards__branches_in_arkansas INTEGER, stake VARCHAR)
Question: What is the sum of the wards/branches in Arkansas of the North Little Rock Arkansas stake?
H... | Here is the SQLite query to answer the question about the sum of the wards/branches in Arkansas for the North Little Rock Arkansas stake:
```sql
SELECT SUM(wards__branches_in_arkansas)
FROM table_name_93
WHERE stake = "north little rock arkansas";
``` | 49,008 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (wards__branches_in_arkansas INTEGER, stake VARCHAR)\n\n Question: What is the sum of the wards/branches in Arkansas... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)
Question: What stake has 16 wards/branches in Arkansas?
Here is the SQLite query to answer to the ques... | Your SQLite query is close, but the `wards__branches_in_arkansas` column is of type `VARCHAR`, meaning it stores text. Therefore, you should compare it to a string rather than a numeric value. Here’s the corrected query:
```
SELECT stake FROM table_name_97 WHERE wards__branches_in_arkansas = '16'
``` | 49,009 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_97 (stake VARCHAR, wards__branches_in_arkansas VARCHAR)\n\n Question: What stake has 16 wards/branches in Arkansas?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_59 (stable VARCHAR, current_rank VARCHAR)
Question: What is Stable, when Current Rank is F1 Jūryō 14 West?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question: What is Stable, when Current Rank is F1 Jūryō 14 West?:
```sql
SELECT stable FROM table_name_59 WHERE current_rank = "F1 Jūryō 14 West";
``` | 49,010 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (stable VARCHAR, current_rank VARCHAR)\n\n Question: What is Stable, when Current Rank is F1 Jūryō 14 West?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR)
Question: What is Ring Name, when Current Rank is E0 Maegashira 9 West?
Here is the SQLite query to answer to the... | Your SQLite query is almost correct, but you should make sure that the value for `current_rank` matches the case in the database. If the rank is stored in a case-sensitive manner, the value should match exactly, including case.
Here's the corrected version of your query:
```sql
SELECT ring_name FROM table_name_48 WHE... | 49,011 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (ring_name VARCHAR, current_rank VARCHAR)\n\n Question: What is Ring Name, when Current Rank is E0 Maegashira 9 West... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (birthplace VARCHAR, ring_name VARCHAR)
Question: What is Birthplace, when Ring Name is Masunoyama Tomoharu?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the birthplace when the ring name is Masunoyama Tomoharu:
```
SELECT birthplace FROM table_name_70 WHERE ring_name = "Masunoyama Tomoharu";
``` | 49,012 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (birthplace VARCHAR, ring_name VARCHAR)\n\n Question: What is Birthplace, when Ring Name is Masunoyama Tomoharu?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (current_rank VARCHAR, ring_name VARCHAR)
Question: What is Current Rank, when Ring Name is Tamaasuka Daisuke?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the current rank when the ring name is "Tamaasuka Daisuke":
```
SELECT current_rank FROM table_name_4 WHERE ring_name = "Tamaasuka Daisuke";
``` | 49,013 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (current_rank VARCHAR, ring_name VARCHAR)\n\n Question: What is Current Rank, when Ring Name is Tamaasuka Daisuke?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR)
Question: What is Ring Name, when Stable is Kasugano, and when Birthplace is Z Mtskheta , Georgia?
... | Here is the SQLite query to answer your question:
```
SELECT ring_name FROM table_name_49 WHERE stable = "Kasugano" AND birthplace = "Z Mtskheta, Georgia"
``` | 49,014 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (ring_name VARCHAR, stable VARCHAR, birthplace VARCHAR)\n\n Question: What is Ring Name, when Stable is Kasugano, an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (current_rank VARCHAR, ring_name VARCHAR)
Question: What is Current Rank, when Ring Name is Kimurayama Mamoru?
Here is the SQLite query to answer to the qu... | Here is the SQLite query to answer the question regarding the Current Rank when the Ring Name is Kimurayama Mamoru:
```
SELECT current_rank FROM table_name_63 WHERE ring_name = "Kimurayama Mamoru";
``` | 49,015 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (current_rank VARCHAR, ring_name VARCHAR)\n\n Question: What is Current Rank, when Ring Name is Kimurayama Mamoru?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)
Question: Who was the Interview Subject on the Date when there were Pictorials of Christie Brinkley?
Here i... | Here is the SQLite query wrapped as requested:
```
SELECT interview_subject FROM table_name_89 WHERE pictorials = "christie brinkley";
``` | 49,016 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_89 (interview_subject VARCHAR, pictorials VARCHAR)\n\n Question: Who was the Interview Subject on the Date when there w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR)
Question: In the issue in which the Interview subject was Jesse Jackson, who were there Pictorials of?
Here... | Here is the SQLite query to answer your question:
```
SELECT pictorials FROM table_name_84 WHERE interview_subject = "jesse jackson";
``` | 49,017 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_84 (pictorials VARCHAR, interview_subject VARCHAR)\n\n Question: In the issue in which the Interview subject was Jesse ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_68 (centerfold_model VARCHAR, interview_subject VARCHAR)
Question: Who was the Centerfold model in the issue in which the Interview subject was Paul Simon?
He... | Here is the SQLite query to answer the question about the Centerfold model in the issue where the Interview subject was Paul Simon:
```
SELECT centerfold_model FROM table_name_68 WHERE interview_subject = "Paul Simon"
``` | 49,018 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_68 (centerfold_model VARCHAR, interview_subject VARCHAR)\n\n Question: Who was the Centerfold model in the issue in whi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (centerfold_model VARCHAR, interview_subject VARCHAR)
Question: Who was the Centerfold model in the issue in which the Interview subject was José Napoleón D... | Here is the SQLite query that answers the question regarding the Centerfold model in the issue with the interview subject José Napoleón Duarte:
```
SELECT centerfold_model FROM table_name_96 WHERE interview_subject = "José Napoleón Duarte"
``` | 49,019 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (centerfold_model VARCHAR, interview_subject VARCHAR)\n\n Question: Who was the Centerfold model in the issue in whi... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (cover_model VARCHAR, interview_subject VARCHAR)
Question: Who was the Cover model in the issue in which the Interview subject was Joan Collins?
Here is th... | Here is the SQLite query wrapped in code formatting:
```
SELECT cover_model FROM table_name_67 WHERE interview_subject = "Joan Collins";
``` | 49,020 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (cover_model VARCHAR, interview_subject VARCHAR)\n\n Question: Who was the Cover model in the issue in which the Int... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)
Question: Which date has a round more than 9?
Here is the SQLite query to answer to the question: Which date has a round more... | Here is the SQLite query to answer the question: Which date has a round more than 9?:
```
SELECT date FROM table_name_85 WHERE round > 9
``` | 49,021 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_85 (date VARCHAR, round INTEGER)\n\n Question: Which date has a round more than 9?\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_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)
Question: Who is the driver that one for the winning tpc team qi-meritus that has a round more... | Here is the SQLite query to answer the question regarding the winning driver for the team "tpc team qi-meritus" with a round greater than 8:
```
SELECT winning_driver FROM table_name_76 WHERE winning_team = "tpc team qi-meritus" AND round > 8
``` | 49,022 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_76 (winning_driver VARCHAR, winning_team VARCHAR, round VARCHAR)\n\n Question: Who is the driver that one for the winni... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR)
Question: What is the time of 12 December 2009 with record start?
Here is the SQLite query to answer to the qu... | Here is the SQLite query you requested, formatted appropriately:
```
SELECT time FROM table_name_81 WHERE record = "start" AND date = "12 december 2009";
``` | 49,023 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_81 (time VARCHAR, record VARCHAR, date VARCHAR)\n\n Question: What is the time of 12 December 2009 with record start?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_70 (nation VARCHAR, athlete_s_ VARCHAR)
Question: What is Elizabeth Yarnold's nation?
Here is the SQLite query to answer to the question: What is Elizabeth Ya... | Your SQLite query to find Elizabeth Yarnold's nation looks correct. Here it is wrapped in the requested code format:
```
SELECT nation FROM table_name_70 WHERE athlete_s_ = "elizabeth yarnold";
``` | 49,024 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_70 (nation VARCHAR, athlete_s_ VARCHAR)\n\n Question: What is Elizabeth Yarnold's nation?\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_name_59 (location VARCHAR, unit VARCHAR)
Question: What country is the Jiufotang Formation located in?
Here is the SQLite query to answer to the question: What cou... | Here is the SQLite query to answer the question about the location of the Jiufotang Formation:
```
SELECT location FROM table_name_59 WHERE unit = "jiufotang formation";
``` | 49,025 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_59 (location VARCHAR, unit VARCHAR)\n\n Question: What country is the Jiufotang Formation located in?\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_name_73 (authors VARCHAR, location VARCHAR)
Question: Which author is located in Mexico?
Here is the SQLite query to answer to the question: Which author is locate... | Your SQLite query is mostly correct, but it's a good practice to ensure that the case sensitivity of strings is handled properly, as SQLite is case-sensitive by default for text comparisons. To account for different cases, you may want to use the `LOWER()` function for a case-insensitive search.
Here’s the improved ve... | 49,026 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_73 (authors VARCHAR, location VARCHAR)\n\n Question: Which author is located in Mexico?\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_name_3 (location VARCHAR, authors VARCHAR)
Question: Where is wang li duan cheng located?
Here is the SQLite query to answer to the question: Where is wang li duan... | Here is the SQLite query to answer the question: Where is wang li duan cheng located?:
```
SELECT location FROM table_name_3 WHERE authors = "wang li duan cheng"
``` | 49,027 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_3 (location VARCHAR, authors VARCHAR)\n\n Question: Where is wang li duan cheng located?\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_name_40 (status VARCHAR, name VARCHAR)
Question: What is the status of the pterosaur named Cathayopterus?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question regarding the status of the pterosaur named Cathayopterus:
```
SELECT status FROM table_name_40 WHERE name = "Cathayopterus";
``` | 49,028 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (status VARCHAR, name VARCHAR)\n\n Question: What is the status of the pterosaur named Cathayopterus?\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_name_74 (years_in_orlando VARCHAR, school_club_team VARCHAR)
Question: Which Years in Orlando has a School/Club Team of texas tech?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question: Which Years in Orlando has a School/Club Team of texas tech?:
```
SELECT years_in_orlando FROM table_name_74 WHERE school_club_team = 'texas tech'
``` | 49,029 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_74 (years_in_orlando VARCHAR, school_club_team VARCHAR)\n\n Question: Which Years in Orlando has a School/Club Team of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_57 (nationality VARCHAR, player VARCHAR, years_in_orlando VARCHAR)
Question: Which Nationality has a Player of keith bogans, and a Years in Orlando of 2006–200... | Here is the SQLite query to answer the question about which nationality has a player of Keith Bogans and a years in Orlando of 2006–2009:
```
SELECT nationality FROM table_name_57 WHERE player = "keith bogans" AND years_in_orlando = "2006–2009"
``` | 49,030 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_57 (nationality VARCHAR, player VARCHAR, years_in_orlando VARCHAR)\n\n Question: Which Nationality has a Player of keit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)
Question: What is Pat Burke's Nationality?
Here is the SQLite query to answer to the question: What is Pat Burke's Na... | Here is the SQLite query to answer the question: What is Pat Burke's Nationality?:
```
SELECT nationality FROM table_name_34 WHERE player = "Pat Burke";
``` | 49,031 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (nationality VARCHAR, player VARCHAR)\n\n Question: What is Pat Burke's Nationality?\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_name_36 (school_club_team VARCHAR, player VARCHAR)
Question: Which School/Club Team has a Player of michael bradley?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question: Which School/Club Team has a Player of michael bradley?:
```
SELECT school_club_team FROM table_name_36 WHERE player = "michael bradley"
``` | 49,032 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_36 (school_club_team VARCHAR, player VARCHAR)\n\n Question: Which School/Club Team has a Player of michael bradley?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (years_in_orlando VARCHAR, school_club_team VARCHAR)
Question: Which Years in Orlando has a School/Club Team of kentucky?
Here is the SQLite query to answe... | Your SQLite query is correctly structured to retrieve the "years_in_orlando" where the "school_club_team" is "kentucky". Here it is, wrapped in the appropriate code block:
```
SELECT years_in_orlando FROM table_name_96 WHERE school_club_team = "kentucky";
``` | 49,033 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (years_in_orlando VARCHAR, school_club_team VARCHAR)\n\n Question: Which Years in Orlando has a School/Club Team of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_16 (school_club_team VARCHAR, player VARCHAR)
Question: Which School/Club Team has a Player of jud buechler?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question of which School/Club Team has a Player of jud buechler:
```
SELECT school_club_team FROM table_name_16 WHERE player = "jud buechler";
``` | 49,034 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_16 (school_club_team VARCHAR, player VARCHAR)\n\n Question: Which School/Club Team has a Player of jud buechler?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER)
Question: What is the position for years under 1999?
Here is the SQLite query to answer to the question: What is the position fo... | Here is the SQLite query to answer the question about the position for years under 1999:
```
SELECT pos FROM table_name_2 WHERE year < 1999
``` | 49,035 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_2 (pos VARCHAR, year INTEGER)\n\n Question: What is the position for years under 1999?\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_name_46 (year INTEGER, team VARCHAR)
Question: What is the average year for Team Oreca?
Here is the SQLite query to answer to the question: What is the average yea... | Here is the correct SQLite query to find the average year for Team Oreca:
```
SELECT AVG(year) FROM table_name_46 WHERE team = "Oreca";
``` | 49,036 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (year INTEGER, team VARCHAR)\n\n Question: What is the average year for Team Oreca?\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_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)
Question: Which Position has an Against larger than 17, and a Team of juventus, and a Drawn... | Here is the SQLite query to answer the question:
```
SELECT MIN(position) FROM table_name_50 WHERE against > 17 AND team = "juventus" AND drawn < 4
``` | 49,037 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (position INTEGER, drawn VARCHAR, against VARCHAR, team VARCHAR)\n\n Question: Which Position has an Against larger ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)
Question: Which Lost has an Against of 49 and a Played smaller than 20?
Here is the SQLite query to answer ... | Your SQLite query is almost correct, but it seems like you're trying to count the rows that meet the criteria. If you want to find the specific "lost" entries that meet those criteria, you should select the "lost" column instead.
Here’s the revised query:
```
SELECT lost FROM table_name_63 WHERE against = '49' AND p... | 49,038 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (lost VARCHAR, against VARCHAR, played VARCHAR)\n\n Question: Which Lost has an Against of 49 and a Played smaller t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR)
Question: In which championship had a previous champion of "defeated Justin Corino in tournament final"... | Sure! Here is the SQLite query wrapped in code format:
```
SELECT championship FROM table_name_69 WHERE previous_champion_s_ = "defeated Justin Corino in tournament final"
``` | 49,039 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_69 (championship VARCHAR, previous_champion_s_ VARCHAR)\n\n Question: In which championship had a previous champion of ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)
Question: Which location had previous champions of Mike Webb and Nick Fahrenheit?
Here is the SQLite query... | The provided SQLite query assumes that the `previous_champion_s_` field stores a concatenated string of names. However, if the database allows previous champions to be stored individually, and we want to find locations that had both Mike Webb and Nick Fahrenheit as previous champions, we need to check for their presenc... | 49,040 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (location VARCHAR, previous_champion_s_ VARCHAR)\n\n Question: Which location had previous champions of Mike Webb an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR)
Question: Who were the previous champions from the event won on May 1, 2010?
Here is the SQLite query to a... | Here is the SQLite query to answer the question: Who were the previous champions from the event won on May 1, 2010?:
```
SELECT previous_champion_s_ FROM table_name_40 WHERE date_won = "May 1, 2010";
``` | 49,041 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_40 (previous_champion_s_ VARCHAR, date_won VARCHAR)\n\n Question: Who were the previous champions from the event won on... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR)
Question: Who is the current champion for the event in Beverly, MA, with previ... | Your query needs a slight modification to properly check for the condition where previous champions include both "Mike Webb" and "Nick Fahrenheit". The current query assumes the previous champions are stored as a single concatenated string, which is generally not a good practice for relational databases. However, if it... | 49,042 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_19 (current_champion_s_ VARCHAR, location VARCHAR, previous_champion_s_ VARCHAR)\n\n Question: Who is the current champ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_44 (current_champion_s_ VARCHAR, championship VARCHAR)
Question: Who is the current champion in the NECW Heavyweight Championship?
Here is the SQLite query to... | Here's the SQLite query to find out who the current champion in the NECW Heavyweight Championship is:
```
SELECT current_champion_s_ FROM table_name_44 WHERE championship = "NECW Heavyweight Championship";
``` | 49,043 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (current_champion_s_ VARCHAR, championship VARCHAR)\n\n Question: Who is the current champion in the NECW Heavyweigh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_65 (location VARCHAR, championship VARCHAR)
Question: Which location held the Iron 8 Championship tournament?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about which location held the Iron 8 Championship tournament:
```
SELECT location FROM table_name_65 WHERE championship = "Iron 8 Championship";
``` | 49,044 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_65 (location VARCHAR, championship VARCHAR)\n\n Question: Which location held the Iron 8 Championship tournament?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR)
Question: What is the capacity of 3500v volts?
Here is the SQLite query to answer to the question: What is the capacity of... | Here is the SQLite query to answer the question about the capacity of 3500v volts:
```
SELECT capacity FROM table_name_4 WHERE volts = '3500v';
``` | 49,045 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_4 (capacity VARCHAR, volts VARCHAR)\n\n Question: What is the capacity of 3500v volts?\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_name_44 (volts VARCHAR, energy_to_weight_ratio VARCHAR)
Question: How many volts has an energy-to-weight ratio of 54 kj/kg to 2.0v?
Here is the SQLite query to ans... | The query you've provided is almost correct, but it doesn't directly answer the question about how many volts have an energy-to-weight ratio of 54 kj/kg to 2.0v. If you're looking to count the distinct volts that match that energy-to-weight ratio, you would want to use a `COUNT` function in your query. Here’s the corre... | 49,046 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_44 (volts VARCHAR, energy_to_weight_ratio VARCHAR)\n\n Question: How many volts has an energy-to-weight ratio of 54 kj/... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (capacity VARCHAR, volts VARCHAR, power_to_weight_ratio VARCHAR)
Question: What is the capacity with 2.7v volts and a power-to-weight ratio of 5.44 w/kg c/1... | Here is the SQLite query to answer the question you provided:
```
SELECT capacity FROM table_name_11 WHERE volts = "2.7v" AND power_to_weight_ratio = "5.44 w/kg c/1 (1.875a)"
``` | 49,047 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (capacity VARCHAR, volts VARCHAR, power_to_weight_ratio VARCHAR)\n\n Question: What is the capacity with 2.7v volts ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)
Question: Which season led to a position of 13, and a head coach of Protasov Lyutyi Talalayev Balakhnin Ba... | Here is the SQLite query to answer the question about which season led to a position of 13 and a head coach of Protasov Lyutyi Talalayev Balakhnin Baidachny:
```
SELECT season FROM table_name_24 WHERE pos = '13' AND head_coach = 'Protasov Lyutyi Talalayev Balakhnin Baidachny';
``` | 49,048 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_24 (season VARCHAR, pos VARCHAR, head_coach VARCHAR)\n\n Question: Which season led to a position of 13, and a head coa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR)
Question: Which week had the highest attendance with 58,701?
Here is the SQLite query to answer to the question: Which w... | The SQLite query you provided is almost correct for identifying which week had an attendance of 58,701. However, since you want to retrieve the week number corresponding to that specific attendance, you should select the week directly instead of using `MAX()`. Here’s the corrected query:
```
SELECT week FROM table_nam... | 49,049 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (week INTEGER, attendance VARCHAR)\n\n Question: Which week had the highest attendance with 58,701?\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_name_50 (week INTEGER, opponent VARCHAR)
Question: What was the score of the game against the San Diego Chargers?
Here is the SQLite query to answer to the questio... | The provided query attempts to sum the values in the `week` column for games against the San Diego Chargers. However, this may not accurately reflect a score, as the schema does not include a score column.
If the goal is to merely retrieve the `week` when they played against the San Diego Chargers, a different approa... | 49,050 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (week INTEGER, opponent VARCHAR)\n\n Question: What was the score of the game against the San Diego Chargers?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_90 (date VARCHAR, week VARCHAR, attendance VARCHAR)
Question: When was the attendance less than 44,851 during the first 4 weeks of the season?
Here is the SQL... | The SQLite query you provided seems to have a slight mistake. The condition for attendance should check for values less than "44,851" rather than equal to "44,851". Additionally, to correctly filter the weeks, you should use a numerical comparison for the week.
Here's the corrected query:
```
SELECT date
FROM table_... | 49,051 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_90 (date VARCHAR, week VARCHAR, attendance VARCHAR)\n\n Question: When was the attendance less than 44,851 during the f... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR)
Question: On week 13 what was the score of the game?
Here is the SQLite query to answer to the question: On week 13 what was... | Your SQLite query to find out the score of the game on week 13 is well-structured. Here it is wrapped in the required format:
```
SELECT result FROM table_name_11 WHERE week = '13'
```
Note that I have enclosed the week value in single quotes to treat it as a string, which is consistent with the VARCHAR type declarat... | 49,052 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_11 (result VARCHAR, week VARCHAR)\n\n Question: On week 13 what was the score of the game?\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_name_87 (week INTEGER, attendance VARCHAR)
Question: What week had 58,025 in attendance?
Here is the SQLite query to answer to the question: What week had 58,025 i... | The provided query does not correctly answer the question. We need to select the specific week that had an attendance of 58,025, rather than summing the weeks. Here's the correct query:
```sql
SELECT week FROM table_name_87 WHERE attendance = "58,025";
``` | 49,053 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (week INTEGER, attendance VARCHAR)\n\n Question: What week had 58,025 in attendance?\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_name_26 (date VARCHAR, attendance VARCHAR)
Question: When was the game that had 58,025 people in attendance?
Here is the SQLite query to answer to the question: Wh... | Here is the SQLite query to answer the question about when the game had 58,025 people in attendance:
```
SELECT date FROM table_name_26 WHERE attendance = "58,025"
``` | 49,054 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_26 (date VARCHAR, attendance VARCHAR)\n\n Question: When was the game that had 58,025 people in attendance?\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_name_58 (drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR)
Question: What is the lowest number of Drawn games for Team Mackenzie where the Played is less... | Your SQLite query to find the lowest number of drawn games for Team Mackenzie where the played games are less than 11 and the points are greater than 7 is almost correct. However, it's important to ensure that the comparison for `points` works properly since it is stored as VARCHAR. You should cast it to an integer for... | 49,055 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_58 (drawn INTEGER, team VARCHAR, played VARCHAR, points VARCHAR)\n\n Question: What is the lowest number of Drawn games... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR)
Question: What number of Points are shown for Team Paulistano where the Drawn is less than 2 ... | Your SQLite query is almost correct, but it seems you might be misunderstanding the purpose of the COUNT function. COUNT will return the number of rows that match the criteria, not the actual points value. If you want to retrieve the points for Team Paulistano where Drawn is less than 2 and Against is less than 15, you... | 49,056 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_95 (points VARCHAR, against VARCHAR, drawn VARCHAR, team VARCHAR)\n\n Question: What number of Points are shown for Tea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR)
Question: What is the Lowest lost for Team Ypiranga-SP where the games Played is more than 10 ... | Your SQLite query looks mostly correct, but it has a small mistake in the column name for checking the 'against' condition. You are using `against` instead of `goals` (assuming 'against' is the name of the team against whom they played, not the goals). You likely meant to filter based on the goals against.
Assuming y... | 49,057 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_71 (lost INTEGER, against VARCHAR, played VARCHAR, team VARCHAR)\n\n Question: What is the Lowest lost for Team Ypirang... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)
Question: What is the highest number of Played games with a Position smaller than 2 and Drawn games less t... | Here is the SQLite query to answer the question you provided:
```
SELECT MAX(played) FROM table_name_13 WHERE position < 2 AND drawn < 4;
``` | 49,058 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_13 (played INTEGER, position VARCHAR, drawn VARCHAR)\n\n Question: What is the highest number of Played games with a Po... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)
Question: What is the average number of runner-up that National University, which has m... | The SQLite query you've written only requires a small correction to ensure that we treat `total_championships` as an integer, since it is currently defined as a `VARCHAR`. Here’s the refined query:
```sql
SELECT AVG(runner_up)
FROM table_name_62
WHERE university = "national university"
AND CAST(total_championships ... | 49,059 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_62 (runner_up INTEGER, university VARCHAR, total_championships VARCHAR)\n\n Question: What is the average number of run... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR)
Question: Who was on the Progressive ticket when John T. Norton was on the Democratic ticket?
Here ... | Here is the SQLite query to answer the question about who was on the Progressive ticket when John T. Norton was on the Democratic ticket:
```
SELECT progressive_ticket FROM table_name_28 WHERE democratic_ticket = "John T. Norton"
``` | 49,060 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (progressive_ticket VARCHAR, democratic_ticket VARCHAR)\n\n Question: Who was on the Progressive ticket when John T.... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)
Question: What name is under the Socialist ticket when Thomas J. Kreuzer was on the Democratic ticket?... | Your SQLite query looks correct for the given schema and question. Here is the formatted response with the code wrapped properly:
```
SELECT socialist_ticket FROM table_name_92 WHERE democratic_ticket = "thomas j. kreuzer";
```
This query will return the name under the Socialist ticket for the row where Thomas J. Kr... | 49,061 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_92 (socialist_ticket VARCHAR, democratic_ticket VARCHAR)\n\n Question: What name is under the Socialist ticket when Tho... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR)
Question: Who ran under the Republican ticket when Frank H. Hiscock ran under the Progressive ticket... | Your SQLite query looks good for answering the question. Here it is wrapped correctly:
```
SELECT republican_ticket FROM table_name_49 WHERE progressive_ticket = "frank h. hiscock";
```
This query will retrieve the names of the candidates who ran under the Republican ticket at the same time Frank H. Hiscock was on t... | 49,062 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_49 (republican_ticket VARCHAR, progressive_ticket VARCHAR)\n\n Question: Who ran under the Republican ticket when Frank... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR)
Question: What name ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis... | Here is the SQLite query to answer the question regarding the name that ran for the Prohibition ticket when the Progressive ticket was Eugene M. Travis:
```
SELECT prohibition_ticket FROM table_name_14 WHERE progressive_ticket = "Eugene M. Travis"
``` | 49,063 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (prohibition_ticket VARCHAR, progressive_ticket VARCHAR)\n\n Question: What name ran for the Prohibition ticket when... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR)
Question: When Coleridge A. Hart ran under the Prohibition ticket who ran under the Indepen... | Here is the corrected SQLite query to answer the question, assuming "Coleridge A. Hart" ran under the Prohibition ticket:
```
SELECT independence_league_ticket FROM table_name_93 WHERE prohibition_ticket = "Coleridge A. Hart"
``` | 49,064 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (independence_league_ticket VARCHAR, prohibition_ticket VARCHAR)\n\n Question: When Coleridge A. Hart ran under the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)
Question: With the Republican ticket of Frank M. Williams who was the Progressive ticket?
Here is t... | Here is the SQLite query to answer the question regarding the Progressive ticket associated with the Republican ticket of Frank M. Williams:
```
SELECT progressive_ticket FROM table_name_63 WHERE republican_ticket = "frank m. williams"
``` | 49,065 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (progressive_ticket VARCHAR, republican_ticket VARCHAR)\n\n Question: With the Republican ticket of Frank M. William... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR)
Question: What kind of Prohibition ticket that has a Office of lieutenant governor?
Here is the SQLite query t... | Here is the SQLite query to answer the question about what kind of Prohibition ticket has an office of lieutenant governor:
```sql
SELECT prohibition_ticket FROM table_name_91 WHERE office = "lieutenant governor";
``` | 49,066 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_91 (prohibition_ticket VARCHAR, office VARCHAR)\n\n Question: What kind of Prohibition ticket that has a Office of lieu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)
Question: Which Socialist Labor ticket has a Office of secretary of state?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question about which Socialist Labor ticket has an office of secretary of state:
```
SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state";
``` | 49,067 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)\n\n Question: Which Socialist Labor ticket has a Office of secretar... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)
Question: What kind of Republican ticket has a Prohibition ticket of stephen mead wing?
Here is the... | Your provided SQLite query is correct for the given question. Here it is again, wrapped in code formatting:
```
SELECT republican_ticket FROM table_name_27 WHERE prohibition_ticket = "stephen mead wing"
```
This query selects the `republican_ticket` from the `table_name_27` table where the `prohibition_ticket` match... | 49,068 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (republican_ticket VARCHAR, prohibition_ticket VARCHAR)\n\n Question: What kind of Republican ticket has a Prohibiti... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)
Question: What is the kind of Democratic ticket has a Office of comptroller?
Here is the SQLite query to answer... | Here is the SQLite query that answers the question about the kind of Democratic ticket that has an Office of comptroller:
```
SELECT democratic_ticket FROM table_name_14 WHERE office = 'comptroller';
``` | 49,069 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_14 (democratic_ticket VARCHAR, office VARCHAR)\n\n Question: What is the kind of Democratic ticket has a Office of comp... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)
Question: Which Prohibition ticket has a Socialist Labor ticket of joseph smith?
Here is the S... | Your SQLite query is correct. Here it is formatted properly:
```
SELECT prohibition_ticket FROM table_name_34 WHERE socialist_labor_ticket = "joseph smith";
``` | 49,070 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_34 (prohibition_ticket VARCHAR, socialist_labor_ticket VARCHAR)\n\n Question: Which Prohibition ticket has a Socialist ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)
Question: What is the lowest grid number when Colin Edwards is the rider?
Here is the SQLite query to answer to the question:... | Your query is almost correct, but the string comparison for the rider name should be case-sensitive based on how the data is stored. If you want to ensure that it matches regardless of case (as "Colin Edwards" could be stored differently), you might want to use the `LOWER()` function or adjust the case to match what's ... | 49,071 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_46 (grid INTEGER, rider VARCHAR)\n\n Question: What is the lowest grid number when Colin Edwards is the rider?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
Question: What is the time/retired when there are less than 22 laps and honda is the manufacturer... | Here is the SQLite query to answer the question regarding the time retired when there are less than 22 laps and Honda is the manufacturer:
```
SELECT time_retired FROM table_name_67 WHERE laps < 22 AND manufacturer = "honda"
``` | 49,072 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)\n\n Question: What is the time/retired when there are les... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (laps INTEGER, grid VARCHAR)
Question: What is the average number of laps when the grid number is 9?
Here is the SQLite query to answer to the question: Wh... | Here is the corrected SQLite query to find the average number of laps when the grid number is 9, ensuring that the grid is compared as a string:
```
SELECT AVG(laps) FROM table_name_48 WHERE grid = '9'
``` | 49,073 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (laps INTEGER, grid VARCHAR)\n\n Question: What is the average number of laps when the grid number is 9?\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_name_27 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)
Question: What is the highest number of laps when honda is the manufacturer and the grid number is 12?
H... | Here is the SQLite query to answer the question about finding the highest number of laps when "honda" is the manufacturer and the grid number is 12:
```sql
SELECT MAX(laps) FROM table_name_27 WHERE manufacturer = 'honda' AND grid = '12';
``` | 49,074 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_27 (laps INTEGER, manufacturer VARCHAR, grid VARCHAR)\n\n Question: What is the highest number of laps when honda is th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_28 (rider VARCHAR, grid VARCHAR)
Question: Who is the rider when the grid number is 3?
Here is the SQLite query to answer to the question: Who is the rider wh... | Here is the SQLite query to answer the question: Who is the rider when the grid number is 3?:
```
SELECT rider FROM table_name_28 WHERE grid = '3'
``` | 49,075 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_28 (rider VARCHAR, grid VARCHAR)\n\n Question: Who is the rider when the grid number is 3?\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_name_93 (laps VARCHAR, time_retired VARCHAR)
Question: How many laps were driven when the time/retired is +44.284?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question about how many laps were driven when the time/retired is +44.284:
```
SELECT COUNT(laps) FROM table_name_93 WHERE time_retired = "+44.284"
``` | 49,076 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_93 (laps VARCHAR, time_retired VARCHAR)\n\n Question: How many laps were driven when the time/retired is +44.284?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)
Question: What is the value of the coin weighing 10.5 g and made of cupronickel?
Here is the SQLite qu... | Here is the SQLite query to answer the question regarding the value of the coin weighing 10.5 g and made of cupronickel:
```
SELECT value FROM table_name_52 WHERE composition = "cupronickel" AND weight = "10.5 g"
``` | 49,077 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (value VARCHAR, composition VARCHAR, weight VARCHAR)\n\n Question: What is the value of the coin weighing 10.5 g and... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_67 (composition VARCHAR, €_equiv VARCHAR)
Question: What is the coin with a € equivalency of 0.30 made of?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question regarding the coin with a € equivalency of 0.30:
```
SELECT composition FROM table_name_67 WHERE €_equiv = "0.30"
``` | 49,078 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_67 (composition VARCHAR, €_equiv VARCHAR)\n\n Question: What is the coin with a € equivalency of 0.30 made of?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)
Question: What is the coin that weighs 3 g made of?
Here is the SQLite query to answer to the question: What is the c... | Here is the SQLite query to answer the question about the coin that weighs 3 g:
```
SELECT composition FROM table_name_33 WHERE weight = "3 g";
``` | 49,079 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_33 (composition VARCHAR, weight VARCHAR)\n\n Question: What is the coin that weighs 3 g made of?\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_name_80 (diameter VARCHAR, €_equiv VARCHAR)
Question: What is the diameter of the coin with a € equivalence of 0.60?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the diameter of the coin with a € equivalence of 0.60:
```
SELECT diameter FROM table_name_80 WHERE €_equiv = "0.60"
``` | 49,080 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_80 (diameter VARCHAR, €_equiv VARCHAR)\n\n Question: What is the diameter of the coin with a € equivalence of 0.60?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (weight VARCHAR, diameter VARCHAR)
Question: How much does the coin with a 14mm diameter weigh?
Here is the SQLite query to answer to the question: How muc... | Here is the SQLite query to answer the question about the weight of the coin with a 14mm diameter:
```
SELECT weight FROM table_name_52 WHERE diameter = '14mm';
``` | 49,081 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (weight VARCHAR, diameter VARCHAR)\n\n Question: How much does the coin with a 14mm diameter weigh?\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_name_5 (coverage VARCHAR, frequency VARCHAR)
Question: What is the coverage for the 99.5mhz frequency?
Here is the SQLite query to answer to the question: What is ... | Your SQLite query is correct for retrieving the coverage associated with the frequency of 99.5mhz. Here it is wrapped in code blocks as you requested:
```
SELECT coverage FROM table_name_5 WHERE frequency = "99.5mhz";
``` | 49,082 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_5 (coverage VARCHAR, frequency VARCHAR)\n\n Question: What is the coverage for the 99.5mhz frequency?\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_name_63 (power__kw_ VARCHAR, coverage VARCHAR)
Question: What is the power in kW corresponding to the station that covers General Santos?
Here is the SQLite query ... | Here is the SQLite query to answer the question regarding the power in kW corresponding to the station that covers General Santos:
```sql
SELECT power__kw_ FROM table_name_63 WHERE coverage = "General Santos";
``` | 49,083 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (power__kw_ VARCHAR, coverage VARCHAR)\n\n Question: What is the power in kW corresponding to the station that cover... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR)
Question: What is the branding for the station with a frequency of 93.1mhz and a coverage of Zamboan... | Here is the SQLite query to answer the question:
```
SELECT branding FROM table_name_45 WHERE frequency = "93.1mhz" AND coverage = "Zamboanga"
``` | 49,084 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_45 (branding VARCHAR, frequency VARCHAR, coverage VARCHAR)\n\n Question: What is the branding for the station with a fr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)
Question: What is the frequency for the 10kw station with DXEZ as its callsign?
Here is the SQLit... | Here is the SQLite query wrapped in the code block as you requested:
```
SELECT frequency FROM table_name_25 WHERE power__kw_ = "10kw" AND callsign = "DXEZ";
``` | 49,085 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_25 (frequency VARCHAR, power__kw_ VARCHAR, callsign VARCHAR)\n\n Question: What is the frequency for the 10kw station w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)
Question: What is the frequency for the station with DYBT as its callsign?
Here is the SQLite query to answer to the ... | Here's the SQLite query to answer the question about the frequency for the station with the callsign DYBT:
```
SELECT frequency FROM table_name_53 WHERE callsign = "DYBT";
``` | 49,086 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_53 (frequency VARCHAR, callsign VARCHAR)\n\n Question: What is the frequency for the station with DYBT as its callsign?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)
Question: What is the branding for the station with a frequency of 93.1mhz and a callsign of DWRX?
... | Here is the SQLite query to answer the question:
```
SELECT branding FROM table_name_23 WHERE frequency = "93.1mhz" AND callsign = "DWRX"
``` | 49,087 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_23 (branding VARCHAR, frequency VARCHAR, callsign VARCHAR)\n\n Question: What is the branding for the station with a fr... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_75 (total_passengers INTEGER, location VARCHAR, rank VARCHAR)
Question: Can you tell me the lowest Total Passengers than has the Location of salvador, and the ... | Here is the SQLite query to answer the question about the lowest total passengers for the location "salvador" with a rank larger than 5:
```
SELECT MIN(total_passengers) FROM table_name_75 WHERE location = "salvador" AND rank > 5
``` | 49,088 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_75 (total_passengers INTEGER, location VARCHAR, rank VARCHAR)\n\n Question: Can you tell me the lowest Total Passengers... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_48 (annual_change VARCHAR, location VARCHAR)
Question: Can you tell me the Annual change that has the Location of manaus?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the Annual change that has the Location of manaus:
```
SELECT annual_change FROM table_name_48 WHERE location = "manaus";
``` | 49,089 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_48 (annual_change VARCHAR, location VARCHAR)\n\n Question: Can you tell me the Annual change that has the Location of m... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR)
Question: What is the average number of cuts made when there were more than 2 tournaments play... | Your SQLite query to find the average number of cuts made when there were more than 2 tournaments played in 2011 is mostly correct, but there is a small discrepancy concerning the data type of `year`. Since `year` is defined as a `VARCHAR`, you should use quotes around the year value in the query. Here is the corrected... | 49,090 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_50 (cuts_made INTEGER, tournaments_played VARCHAR, year VARCHAR)\n\n Question: What is the average number of cuts made ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, scoring_average VARCHAR)
Question: What is the total number of wins with 10 cuts made and a score average under 74.09?
He... | Here is the SQLite query to answer the question regarding the total number of wins with 10 cuts made and a scoring average under 74.09:
```
SELECT COUNT(wins) FROM table_name_52 WHERE cuts_made = '10' AND scoring_average < '74.09'
``` | 49,091 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_52 (wins VARCHAR, cuts_made VARCHAR, scoring_average VARCHAR)\n\n Question: What is the total number of wins with 10 cu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_96 (shot_pct VARCHAR, skip VARCHAR)
Question: What is Madeleine Dupont's shot pct.?
Here is the SQLite query to answer to the question: What is Madeleine Dupo... | Here is the SQLite query to answer the question: What is Madeleine Dupont's shot pct.?:
```
SELECT shot_pct FROM table_name_96 WHERE skip = "madeleine dupont"
``` | 49,092 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_96 (shot_pct VARCHAR, skip VARCHAR)\n\n Question: What is Madeleine Dupont's shot pct.?\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_name_41 (score VARCHAR, high_assists VARCHAR)
Question: Can you tell me the Score that has the High assists of rafer alston (8)?
Here is the SQLite query to answer... | Your SQLite query is almost correct, but it seems that you are attempting to match the `high_assists` column directly against the string "rafer alston (8)", which may not yield the desired result if it is not exactly how the data is stored in the column. Instead, you should check for any rows where `high_assists` is eq... | 49,093 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_41 (score VARCHAR, high_assists VARCHAR)\n\n Question: Can you tell me the Score that has the High assists of rafer als... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_17 (high_points VARCHAR, high_rebounds VARCHAR)
Question: Can you tell me the High points that has the High rebounds of rafer alston (9)?
Here is the SQLite q... | It seems there is a misunderstanding in the query regarding the condition used to filter the records. You want to find the high points for Rafer Alston where the high rebounds are specifically 9. Here’s the corrected SQLite query:
```sql
SELECT high_points FROM table_name_17 WHERE high_rebounds = '9';
```
Make sure t... | 49,094 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_17 (high_points VARCHAR, high_rebounds VARCHAR)\n\n Question: Can you tell me the High points that has the High rebound... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)
Question: Can you tell me the Score that has the Date of april 8?
Here is the SQLite query to answer to the question: Can you... | ```sql
SELECT score FROM table_name_22 WHERE date = "april 8";
``` | 49,095 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_22 (score VARCHAR, date VARCHAR)\n\n Question: Can you tell me the Score that has the Date of april 8?\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_name_87 (attendance INTEGER, game_site VARCHAR)
Question: What's the highest attendance for a game the Texan's played at Arrowhead Stadium?
Here is the SQLite quer... | The provided SQL query is mostly correct, but it seems to lack a condition to filter for the Texans' games specifically. If so, you would need to ensure that you have the appropriate condition to filter by the Texans' games, which is not specified in the schema provided. Assuming that you have a way to identify the gam... | 49,096 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_87 (attendance INTEGER, game_site VARCHAR)\n\n Question: What's the highest attendance for a game the Texan's played at... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)
Question: Who did the Texan's play on Week 4?
Here is the SQLite query to answer to the question: Who did the Texan's play... | Here is the SQLite query to answer the question: Who did the Texan's play on Week 4?:
```
SELECT opponent FROM table_name_37 WHERE week = "4";
``` | 49,097 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_37 (opponent VARCHAR, week VARCHAR)\n\n Question: Who did the Texan's play on Week 4?\n\nHere is the SQLite query to an... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR)
Question: What's the date for HOF week?
Here is the SQLite query to answer to the question: What's the date for HOF week?:
```... | Here is the SQLite query to answer the question about the date for HOF week:
```
SELECT date FROM table_name_63 WHERE week = "hof";
``` | 49,098 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_63 (date VARCHAR, week VARCHAR)\n\n Question: What's the date for HOF week?\n\nHere is the SQLite query to answer to th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR)
Question: What is Total, when FA Cup is 1 0 (3)?
Here is the SQLite query to answer to the question: What is Total, when FA... | Your provided SQLite query to retrieve the "Total" when "FA Cup" is "1 0 (3)" is correct. Here it is wrapped in code formatting:
```
SELECT total FROM table_name_77 WHERE fa_cup = "1 0 (3)";
``` | 49,099 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_name_77 (total VARCHAR, fa_cup VARCHAR)\n\n Question: What is Total, when FA Cup is 1 0 (3)?\n\nHere is the SQLite query to ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.