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_19834691_4 (timeslot VARCHAR, _number VARCHAR)
Question: name the total number of timeslot for number 1
Here is the SQLite query to answer to the question: name th... | Here is the SQLite query to answer the question of naming the total number of timeslots for number 1:
```
SELECT COUNT(timeslot) FROM table_19834691_4 WHERE _number = '1'
``` | 20,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_19834691_4 (timeslot VARCHAR, _number VARCHAR)\n\n Question: name the total number of timeslot for number 1\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_1984697_53 (city___town VARCHAR, principal VARCHAR)
Question: Where's the school that Mark Fletcher is the principal of?
Here is the SQLite query to answer to the ... | Here is the SQLite query you can use to find the school where Mark Fletcher is the principal:
```
SELECT city___town FROM table_1984697_53 WHERE principal = "Mark Fletcher"
``` | 20,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_1984697_53 (city___town VARCHAR, principal VARCHAR)\n\n Question: Where's the school that Mark Fletcher is the principal of?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_53 (website VARCHAR, size VARCHAR)
Question: How many websites are there for the school with 1939 students?
Here is the SQLite query to answer to the quest... | The provided query looks mostly correct, but it seems to be comparing the `size` column to a number instead of a string, which is the case for the schema provided. Assuming `size` is stored as a string in the database and you want to count the websites for a school with `size` equal to "1939", the correct query should ... | 20,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_1984697_53 (website VARCHAR, size VARCHAR)\n\n Question: How many websites are there for the school with 1939 students?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_1984697_53 (principal VARCHAR, school VARCHAR)
Question: Who's the principal of Edgewood High School?/
Here is the SQLite query to answer to the question: Who's th... | Here is the corrected SQLite query to find out who the principal of Edgewood High School is:
```
SELECT principal FROM table_1984697_53 WHERE school = "Edgewood High School";
``` | 20,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_1984697_53 (principal VARCHAR, school VARCHAR)\n\n Question: Who's the principal of Edgewood High School?/\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_1984697_53 (city___town VARCHAR, school VARCHAR)
Question: Where is Bloomington High School North?
Here is the SQLite query to answer to the question: Where is Blo... | Here's the corrected SQLite query to answer the question about the location of Bloomington High School North:
```
SELECT city___town FROM table_1984697_53 WHERE school = "Bloomington High School North";
```
Please note the correction in the capitalization of "School". | 20,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_1984697_53 (city___town VARCHAR, school VARCHAR)\n\n Question: Where is Bloomington High School North?\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_19908651_3 (pole_position VARCHAR, race_name VARCHAR)
Question: Who was on the pole position in the Texaco/Havoline 200 race?
Here is the SQLite query to answer to... | Here is the SQLite query to answer the question about who was on the pole position in the Texaco/Havoline 200 race:
```
SELECT pole_position FROM table_19908651_3 WHERE race_name = "Texaco/Havoline 200"
``` | 20,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_19908651_3 (pole_position VARCHAR, race_name VARCHAR)\n\n Question: Who was on the pole position in the Texaco/Havoline 200 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19908651_3 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)
Question: Who did the fastest lap in the race won by Paul Tracy, with Emerson Fittip... | Your SQLite query is correct for retrieving the fastest lap from the specified race. Here it is wrapped as requested:
```
SELECT fastest_lap FROM table_19908651_3 WHERE pole_position = "Emerson Fittipaldi" AND winning_driver = "Paul Tracy"
``` | 20,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_19908651_3 (fastest_lap VARCHAR, pole_position VARCHAR, winning_driver VARCHAR)\n\n Question: Who did the fastest lap in the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19908651_3 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)
Question: What's the report of the race won by Michael Andretti, with Nigel Mansell driving... | Here is the SQLite query to answer the question of what's the report of the race won by Michael Andretti, with Nigel Mansell driving the fastest lap:
```
SELECT report FROM table_19908651_3 WHERE winning_driver = "Michael Andretti" AND fastest_lap = "Nigel Mansell"
``` | 20,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_19908651_3 (report VARCHAR, winning_driver VARCHAR, fastest_lap VARCHAR)\n\n Question: What's the report of the race won by ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR)
Question: Who was at the pole position in the ITT Automotive Grand Prix of Detroit, wo... | Here is the SQLite query to answer the question regarding the pole position in the ITT Automotive Grand Prix of Detroit, won by Paul Tracy:
```
SELECT pole_position FROM table_19908651_3 WHERE winning_driver = "Paul Tracy" AND race_name = "ITT Automotive Grand Prix of Detroit"
``` | 20,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_19908651_3 (pole_position VARCHAR, winning_driver VARCHAR, race_name VARCHAR)\n\n Question: Who was at the pole position in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code 4akj08?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question: Who directed the episode with production code 4akj08?:
```
SELECT directed_by FROM table_19929970_1 WHERE production_code = "4akj08"
``` | 20,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_19929970_1 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: Who directed the episode with production code 4akj08... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_19929970_1 (directed_by VARCHAR, production_code VARCHAR)
Question: Who directed the episode with production code 4akj01?
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about who directed the episode with production code 4akj01:
```
SELECT directed_by FROM table_19929970_1 WHERE production_code = "4akj01"
``` | 20,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_19929970_1 (directed_by VARCHAR, production_code VARCHAR)\n\n Question: Who directed the episode with production code 4akj01... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20007413_6 (torque VARCHAR, year VARCHAR)
Question: What are the torque characteristics of the model made in 1996?
Here is the SQLite query to answer to the questi... | Sure! Here is the SQLite query that answers the question about the torque characteristics of the model made in 1996:
```
SELECT torque FROM table_20007413_6 WHERE year = "1996"
``` | 20,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_20007413_6 (torque VARCHAR, year VARCHAR)\n\n Question: What are the torque characteristics of the model made in 1996?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20007413_6 (compression_ratio VARCHAR, rpo VARCHAR, applications VARCHAR)
Question: What's the compression ratio of the model with L35 RPO and 5 applications?
Here... | Your SQLite query looks almost correct, but since the `applications` column is likely of type VARCHAR based on the schema, you should surround the value "5" with quotes. Here's the revised query:
```sql
SELECT compression_ratio FROM table_20007413_6 WHERE rpo = "L35" AND applications = "5"
``` | 20,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_20007413_6 (compression_ratio VARCHAR, rpo VARCHAR, applications VARCHAR)\n\n Question: What's the compression ratio of the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20007413_6 (torque VARCHAR, applications VARCHAR)
Question: What are the torque characteristics of the model with 346 applications?
Here is the SQLite query to ans... | Here is the SQLite query to answer the question regarding the torque characteristics of the model with 346 applications:
```
SELECT torque FROM table_20007413_6 WHERE applications = '346'
```
Please note that since the `applications` column is of type VARCHAR, the value '346' should be enclosed in single quotes. | 20,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_20007413_6 (torque VARCHAR, applications VARCHAR)\n\n Question: What are the torque characteristics of the model with 346 ap... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20016339_1 (team VARCHAR, motorcycle VARCHAR)
Question: What's the name of the team who had a Honda motorcycle?
Here is the SQLite query to answer to the question:... | Here's the SQLite query to find the name of the team that had a Honda motorcycle:
```
SELECT team FROM table_20016339_1 WHERE motorcycle = 'Honda';
``` | 20,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_20016339_1 (team VARCHAR, motorcycle VARCHAR)\n\n Question: What's the name of the team who had a Honda motorcycle?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20016339_1 (poles VARCHAR, motorcycle VARCHAR)
Question: What's the number of poles in the season where the team had a Kalex motorcycle?
Here is the SQLite query t... | To get the total number of poles in the season where the team had a Kalex motorcycle, you would want to use the `SUM` function to aggregate the poles. Assuming that the `poles` column contains numeric values indicating the number of poles, here is the corrected SQLite query:
```sql
SELECT SUM(CAST(poles AS INTEGER)) A... | 20,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_20016339_1 (poles VARCHAR, motorcycle VARCHAR)\n\n Question: What's the number of poles in the season where the team had a K... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20016339_1 (fastest_laps VARCHAR, team VARCHAR)
Question: How many fastest laps did I.C. Team have?
Here is the SQLite query to answer to the question: How many fa... | Your SQLite query to count the fastest laps for the "I.C. Team" is correctly formulated. Here it is wrapped in code formatting:
```
SELECT COUNT(fastest_laps) FROM table_20016339_1 WHERE team = "I.C. Team";
```
Make sure that the team name matches exactly with how it is stored in the database, including any spaces o... | 20,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_20016339_1 (fastest_laps VARCHAR, team VARCHAR)\n\n Question: How many fastest laps did I.C. Team have?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20016339_1 (class VARCHAR, pts VARCHAR, team VARCHAR)
Question: What's Italtrans Racing Team's, with 0 pts, class?
Here is the SQLite query to answer to the questi... | The SQLite query you provided has a small syntax issue when comparing the `pts` column. Since `pts` is defined as a `VARCHAR`, the value `0` should be quoted as a string. Here is the corrected version of the query:
```
SELECT class FROM table_20016339_1 WHERE pts = '0' AND team = 'Italtrans Racing Team'
```
Make sure... | 20,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_20016339_1 (class VARCHAR, pts VARCHAR, team VARCHAR)\n\n Question: What's Italtrans Racing Team's, with 0 pts, class?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2008069_2 (conventional VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
Question: Name the conventional for تاغارما
Here is the SQLite query to answer to the question: N... | Here is the SQLite query to answer the question: Name the conventional for تاغارما:
```
SELECT conventional FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = 'تاغارما'
``` | 20,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_2008069_2 (conventional VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)\n\n Question: Name the conventional for تاغارما\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_2008069_2 (uyghur___k̢ona_yezik̢__ VARCHAR, chinese VARCHAR)
Question: Name the uyghur for 瓦恰
Here is the SQLite query to answer to the question: Name the uyghur ... | Here's the SQLite query to find the Uyghur name for 瓦恰:
```
SELECT uyghur___k̢ona_yezik̢__ FROM table_2008069_2 WHERE chinese = "瓦恰"
``` | 20,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_2008069_2 (uyghur___k̢ona_yezik̢__ VARCHAR, chinese VARCHAR)\n\n Question: Name the uyghur for 瓦恰\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_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
Question: Name the conventional for defter
Here is the SQLite query to answer to the question: Na... | Here is the SQLite query to answer the question:
```
SELECT conventional FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "Defter"
``` | 20,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_2008069_2 (conventional VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)\n\n Question: Name the conventional for defter\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_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)
Question: Name the pinyin for تىزناپ
Here is the SQLite query to answer to the question: Name the pinyi... | Here's the SQLite query to find the pinyin for the Uyghur term "تىزناپ":
```sql
SELECT pinyin FROM table_2008069_2 WHERE uyghur___k̢ona_yezik̢__ = "تىزناپ";
``` | 20,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_2008069_2 (pinyin VARCHAR, uyghur___k̢ona_yezik̢__ VARCHAR)\n\n Question: Name the pinyin for تىزناپ\n\nHere is the SQLite q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2008069_2 (pinyin VARCHAR, conventional VARCHAR)
Question: Name the pinyin for mazar
Here is the SQLite query to answer to the question: Name the pinyin for mazar:... | Here is the SQLite query to answer the question: Name the pinyin for mazar:
```
SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar";
``` | 20,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_2008069_2 (pinyin VARCHAR, conventional VARCHAR)\n\n Question: Name the pinyin for mazar\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_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)
Question: Name the pinyin for kɵkyar k̡irƣiz yezisi
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question about naming the pinyin for "kɵkyar k̡irƣiz yezisi":
```
SELECT pinyin FROM table_2008069_2 WHERE uyghur___yenɡi_yezik̢__ = "kɵkyar k̡irƣiz yezisi"
``` | 20,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_2008069_2 (pinyin VARCHAR, uyghur___yenɡi_yezik̢__ VARCHAR)\n\n Question: Name the pinyin for kɵkyar k̡irƣiz yezisi\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2012187_3 (team_s_ VARCHAR, top_10 VARCHAR)
Question: What team or teams with 18 in the top 10?
Here is the SQLite query to answer to the question: What team or te... | Here is the SQLite query to answer the question about which team or teams have 18 in the top 10:
```
SELECT team_s_ FROM table_2012187_3 WHERE top_10 = '18';
```
Note that I have used single quotes around '18' since `top_10` is defined as a VARCHAR in the schema. | 20,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_2012187_3 (team_s_ VARCHAR, top_10 VARCHAR)\n\n Question: What team or teams with 18 in the top 10?\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_2012187_3 (wins INTEGER, position VARCHAR)
Question: How many wins in the 4th position?
Here is the SQLite query to answer to the question: How many wins in the 4t... | The query you've written looks for the minimum wins in the 4th position, which is not what the question is asking. To find out how many wins there are specifically in the 4th position, you should use the SUM function instead to add up all the wins. Here's the corrected query:
```
SELECT SUM(wins) FROM table_2012187_3 ... | 20,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_2012187_3 (wins INTEGER, position VARCHAR)\n\n Question: How many wins in the 4th position?\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_2015453_1 (date VARCHAR, attendance VARCHAR)
Question: What date was the attendance 22000?
Here is the SQLite query to answer to the question: What date was the at... | Your SQLite query is almost correct. However, since the `attendance` column is defined as a VARCHAR, you should treat the value `22000` as a string by enclosing it in single quotes. Here’s the corrected query:
```
SELECT date FROM table_2015453_1 WHERE attendance = '22000'
``` | 20,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_2015453_1 (date VARCHAR, attendance VARCHAR)\n\n Question: What date was the attendance 22000?\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_2015453_1 (remarks VARCHAR, date VARCHAR)
Question: What are the remarks for 8 October 2008?
Here is the SQLite query to answer to the question: What are the remar... | Your provided SQLite query is correct for retrieving the remarks for the specified date. Here it is, wrapped in the requested code format:
```
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008";
``` | 20,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_2015453_1 (remarks VARCHAR, date VARCHAR)\n\n Question: What are the remarks for 8 October 2008?\n\nHere is the SQLite query... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2015453_1 (res VARCHAR, team__number2 VARCHAR)
Question: What was the res for the game against Payam?
Here is the SQLite query to answer to the question: What was ... | Here is the SQLite query to answer the question about the result for the game against Payam:
```
SELECT res FROM table_2015453_1 WHERE team__number2 = "Payam"
``` | 20,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_2015453_1 (res VARCHAR, team__number2 VARCHAR)\n\n Question: What was the res for the game against Payam?\n\nHere is the SQL... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2015453_1 (team__number1 VARCHAR, date VARCHAR)
Question: Who was team #1 on 9 September 2006?
Here is the SQLite query to answer to the question: Who was team #1 ... | Here is the SQLite query to answer the question: Who was team #1 on 9 September 2006?:
```
SELECT team__number1 FROM table_2015453_1 WHERE date = "9 September 2006"
``` | 20,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_2015453_1 (team__number1 VARCHAR, date VARCHAR)\n\n Question: Who was team #1 on 9 September 2006?\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_2015453_1 (attendance INTEGER)
Question: What was the largest attendance?
Here is the SQLite query to answer to the question: What was the largest attendance?:
```... | Here is the SQLite query to answer the question about the largest attendance:
```
SELECT MAX(attendance) FROM table_2015453_1;
``` | 20,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_2015453_1 (attendance INTEGER)\n\n Question: What was the largest attendance?\n\nHere is the SQLite query to answer to the q... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR)
Question: What position is the player who went to Regina?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question about the position of the player who went to Regina:
```
SELECT position FROM table_20170644_3 WHERE college = "Regina";
``` | 20,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_20170644_3 (position VARCHAR, college VARCHAR)\n\n Question: What position is the player who went to Regina? \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_20170644_3 (player VARCHAR, cfl_team VARCHAR)
Question: Which player is on the BC Lions?
Here is the SQLite query to answer to the question: Which player is on th... | Here is the SQLite query to answer the question: Which player is on the BC Lions? :
```
SELECT player FROM table_20170644_3 WHERE cfl_team = "BC Lions";
``` | 20,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_20170644_3 (player VARCHAR, cfl_team VARCHAR)\n\n Question: Which player is on the BC Lions? \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_20170644_3 (pick__number VARCHAR, college VARCHAR)
Question: What number picks were the players who went to Calgary?
Here is the SQLite query to answer to the que... | Here is the SQLite query to retrieve the number picks for players who went to Calgary:
```
SELECT pick__number FROM table_20170644_3 WHERE college = "Calgary";
``` | 20,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_20170644_3 (pick__number VARCHAR, college VARCHAR)\n\n Question: What number picks were the players who went to Calgary? \n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20205538_4 (title VARCHAR, episode__number VARCHAR)
Question: What was the title for episode 2?
Here is the SQLite query to answer to the question: What was the ti... | Here is the corrected SQLite query to answer the question about the title for episode 2:
```sql
SELECT title FROM table_20205538_4 WHERE episode__number = '2'
```
Note: The episode number is stored as a VARCHAR, so it should be compared as a string. | 20,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_20205538_4 (title VARCHAR, episode__number VARCHAR)\n\n Question: What was the title for episode 2?\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_20205538_4 (episode__number VARCHAR, series__number VARCHAR)
Question: What is the episode number for series 17?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question regarding the episode number for series 17:
```
SELECT episode__number FROM table_20205538_4 WHERE series__number = '17'
``` | 20,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_20205538_4 (episode__number VARCHAR, series__number VARCHAR)\n\n Question: What is the episode number for series 17?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__1st_ VARCHAR)
Question: What season did SV Darmstadt 98 end up at RL Süd (1st)?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question about what season SV Darmstadt 98 ended up at RL Süd (1st):
```
SELECT season FROM table_20217456_7 WHERE rl_süd__1st_ = "SV Darmstadt 98";
``` | 20,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_20217456_7 (season VARCHAR, rl_süd__1st_ VARCHAR)\n\n Question: What season did SV Darmstadt 98 end up at RL Süd (1st)?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20217456_7 (rl_süd__1st_ VARCHAR, rl_südwest__1st_ VARCHAR)
Question: Who was RL Süd (1st) when FK Pirmasens was RL Südwest (1st)?
Here is the SQLite query to answ... | Here's the SQLite query you need to answer the question:
```
SELECT rl_süd__1st_ FROM table_20217456_7 WHERE rl_südwest__1st_ = "FK Pirmasens"
``` | 20,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_20217456_7 (rl_süd__1st_ VARCHAR, rl_südwest__1st_ VARCHAR)\n\n Question: Who was RL Süd (1st) when FK Pirmasens was RL Südw... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR)
Question: What season was Freiburger FC the RL Süd (2nd) team?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question: What season was Freiburger FC the RL Süd (2nd) team?:
```
SELECT season FROM table_20217456_7 WHERE rl_süd__2nd_ = "Freiburger FC"
``` | 20,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_20217456_7 (season VARCHAR, rl_süd__2nd_ VARCHAR)\n\n Question: What season was Freiburger FC the RL Süd (2nd) team?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20236726_2 (serial_no VARCHAR, wd_no VARCHAR)
Question: Name the total number of serial number for 24 wd no
Here is the SQLite query to answer to the question: Nam... | Here is the SQLite query to answer the question:
```
SELECT COUNT(serial_no) FROM table_20236726_2 WHERE wd_no = '24';
``` | 20,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_20236726_2 (serial_no VARCHAR, wd_no VARCHAR)\n\n Question: Name the total number of serial number for 24 wd no\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_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)
Question: Name the total number of wd number for lms number being 7638
Here is the SQLite query to answer to the questio... | Your provided SQLite query is almost correct, but please note that the `lms_no` is stored as a `VARCHAR` in the schema, so it needs to be enclosed in single quotes. Here is the corrected version:
```sql
SELECT COUNT(wd_no) FROM table_20236726_2 WHERE lms_no = '7638'
``` | 20,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_20236726_2 (wd_no VARCHAR, lms_no VARCHAR)\n\n Question: Name the total number of wd number for lms number being 7638\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20236726_2 (builder VARCHAR, wd_no VARCHAR)
Question: Name the builder for wd number being 22
Here is the SQLite query to answer to the question: Name the builder ... | Here is the correct SQLite query to answer the question:
```sql
SELECT builder FROM table_20236726_2 WHERE wd_no = '22';
```
Please note that the `wd_no` is treated as a string, so it should be enclosed in single quotes. | 20,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_20236726_2 (builder VARCHAR, wd_no VARCHAR)\n\n Question: Name the builder for wd number being 22\n\nHere is the SQLite quer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20236726_2 (lms_no VARCHAR, serial_no VARCHAR)
Question: Name the lms number for serial number being 372
Here is the SQLite query to answer to the question: Name t... | Here is the corrected SQLite query to answer the question regarding the lms number for the serial number 372:
```sql
SELECT lms_no FROM table_20236726_2 WHERE serial_no = '372';
```
Note: The serial number is treated as a string since the column is defined as VARCHAR, hence it should be enclosed in single quotes. | 20,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_20236726_2 (lms_no VARCHAR, serial_no VARCHAR)\n\n Question: Name the lms number for serial number being 372\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_20236726_2 (builder VARCHAR, serial_no VARCHAR)
Question: Name the builder for serial number being 377
Here is the SQLite query to answer to the question: Name the... | Here is the correct SQLite query to retrieve the builder for the serial number 377, wrapped in code format:
```
SELECT builder FROM table_20236726_2 WHERE serial_no = '377';
```
Note: Ensure that the serial number is treated as a string by enclosing it in single quotes since it is defined as a `VARCHAR` in the schem... | 20,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_20236726_2 (builder VARCHAR, serial_no VARCHAR)\n\n Question: Name the builder for serial number being 377\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_20360535_2 (directed_by VARCHAR, television_order VARCHAR)
Question: who directed s01e13
Here is the SQLite query to answer to the question: who directed s01e13:
`... | Here is the SQLite query to answer the question: who directed s01e13:
```sql
SELECT directed_by FROM table_20360535_2 WHERE television_order = "S01E13";
``` | 20,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_20360535_2 (directed_by VARCHAR, television_order VARCHAR)\n\n Question: who directed s01e13\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_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: what is the television order of the episode dire... | Here is the corrected SQLite query to answer the question about the television order of the episode directed by Ben Jones, written by J. M. DeMatteis, and originally aired on February 6, 2009:
```
SELECT television_order FROM table_20360535_2
WHERE directed_by = "Ben Jones"
AND written_by = "J. M. DeMatteis"
AND or... | 20,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_20360535_2 (television_order VARCHAR, original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)\n\n Question: what... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20360535_2 (written_by VARCHAR, television_order VARCHAR)
Question: who wrote s01e06
Here is the SQLite query to answer to the question: who wrote s01e06:
```
SELE... | Here is the SQLite query to answer the question: who wrote s01e06:
```
SELECT written_by FROM table_20360535_2 WHERE television_order = "s01e06"
``` | 20,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_20360535_2 (written_by VARCHAR, television_order VARCHAR)\n\n Question: who wrote s01e06\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_20360535_4 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)
Question: what is the original air date of the episode directed by Ben Jones and wri... | Your SQL query looks good! Here it is wrapped in code formatting:
```
SELECT original_air_date FROM table_20360535_4 WHERE directed_by = "Ben Jones" AND written_by = "Steven Melching";
``` | 20,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_20360535_4 (original_air_date VARCHAR, directed_by VARCHAR, written_by VARCHAR)\n\n Question: what is the original air date ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20466963_9 (guest_1 VARCHAR, guest_4 VARCHAR)
Question: How many people are guest 1 on episodes where guest 4 is Des Kelly?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question:
```
SELECT COUNT(guest_1) FROM table_20466963_9 WHERE guest_4 = "Des Kelly";
``` | 20,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_20466963_9 (guest_1 VARCHAR, guest_4 VARCHAR)\n\n Question: How many people are guest 1 on episodes where guest 4 is Des Kel... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR)
Question: On episodes where guest 1 is Jim White, who was guest 3?
Here is the SQLite query to answer to the question... | Your SQLite query is correct and effectively retrieves the information you need. Here it is wrapped in code format as per your request:
```
SELECT guest_3 FROM table_20466963_9 WHERE guest_1 = "Jim White";
``` | 20,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_20466963_9 (guest_3 VARCHAR, guest_1 VARCHAR)\n\n Question: On episodes where guest 1 is Jim White, who was guest 3?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20500097_1 (points VARCHAR, poles INTEGER)
Question: How many points did he win in the race with more than 1.0 poles?
Here is the SQLite query to answer to the que... | Your query retrieves the points for races with more than 1.0 poles, but if you want to find out the total number of points won in those races, you should use the `SUM` function. Here's the corrected query to get the total points:
```
SELECT SUM(points) AS total_points FROM table_20500097_1 WHERE poles > 1.0
```
Make ... | 20,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_20500097_1 (points VARCHAR, poles INTEGER)\n\n Question: How many points did he win in the race with more than 1.0 poles?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20500097_1 (team VARCHAR, series VARCHAR)
Question: What team did he compete for in the GP3 series?
Here is the SQLite query to answer to the question: What team d... | Here is the SQLite query to answer the question about the team competed in the GP3 series:
```
SELECT team FROM table_20500097_1 WHERE series = "GP3 series";
``` | 20,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_20500097_1 (team VARCHAR, series VARCHAR)\n\n Question: What team did he compete for in the GP3 series?\n\nHere is the SQLit... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR)
Question: Who took first place in week 6?
Here is the SQLite query to answer to the question: Who took first p... | The SQL query you provided is counting the number of entries for first place in week 6 but does not actually retrieve who took first place. If you want to find out who took first place in week 6, the query should select `first_place` instead. Here’s the correct query:
```
SELECT first_place FROM table_2054561_2 WHERE ... | 20,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_2054561_2 (first_place VARCHAR, no_of_weeks VARCHAR)\n\n Question: Who took first place in week 6?\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_20549371_3 (epa_rated_highway_fuel_economy VARCHAR, type_of_powertrain VARCHAR)
Question: What is the epa highway fuel economy for an electric suv?
Here is the SQL... | Here is the SQLite query to answer the question regarding the EPA highway fuel economy for an electric SUV:
```
SELECT epa_rated_highway_fuel_economy FROM table_20549371_3 WHERE type_of_powertrain = "Electric SUV"
``` | 20,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_20549371_3 (epa_rated_highway_fuel_economy VARCHAR, type_of_powertrain VARCHAR)\n\n Question: What is the epa highway fuel e... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)
Question: What vehicle has an epa highway fuel economy of 109 mpg-e?
Here is the SQLite query ... | Here is the SQLite query to answer the question regarding the vehicle with an EPA highway fuel economy of 109 mpg-e:
```
SELECT vehicle FROM table_20549371_3 WHERE epa_rated_highway_fuel_economy = "109 mpg-e"
``` | 20,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_20549371_3 (vehicle VARCHAR, epa_rated_highway_fuel_economy VARCHAR)\n\n Question: What vehicle has an epa highway fuel econ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (shareholder VARCHAR, percent_of_votes VARCHAR)
Question: What shareholder has 2.55 percent of votes?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about which shareholder has 2.55 percent of votes:
```
SELECT shareholder FROM table_206419_3 WHERE percent_of_votes = "2.55"
``` | 20,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_206419_3 (shareholder VARCHAR, percent_of_votes VARCHAR)\n\n Question: What shareholder has 2.55 percent of votes? \n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (shareholder VARCHAR, percent_of_capital VARCHAR)
Question: What shareholder has 3.63 percent of capital?
Here is the SQLite query to answer to the quest... | Your SQLite query looks correct for retrieving the shareholder that has 3.63 percent of capital. Here it is wrapped properly:
```
SELECT shareholder FROM table_206419_3 WHERE percent_of_capital = "3.63";
``` | 20,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_206419_3 (shareholder VARCHAR, percent_of_capital VARCHAR)\n\n Question: What shareholder has 3.63 percent of capital? \n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
Question: What is the s B share for the shareholder that has 2.55 percent of votes?
Here is the SQLite quer... | The SQLite query you provided is almost correct, but it's important to ensure the comparison with `percent_of_votes` includes the correct format. Here’s the corrected query:
```
SELECT s_b_share FROM table_206419_3 WHERE percent_of_votes = "2.55"
```
This query will directly retrieve the `s_b_share` for the sharehold... | 20,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_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)\n\n Question: What is the s B share for the shareholder that has 2.55... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (percent_of_capital VARCHAR, s_b_share VARCHAR)
Question: What is the percent of capital for the shareholder that has a s B share of 8256534?
Here is the... | Here is the SQLite query to answer the question regarding the percent of capital for the shareholder with a s B share of 8256534:
```
SELECT percent_of_capital FROM table_206419_3 WHERE s_b_share = '8256534'
``` | 20,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_206419_3 (percent_of_capital VARCHAR, s_b_share VARCHAR)\n\n Question: What is the percent of capital for the shareholder th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)
Question: What is the s B share for the shareholder that has 2.12 percent of votes?
Here is the SQLite quer... | Your query looks correct to retrieve the `s_b_share` for the shareholder with 2.12 percent of votes. However, if you want to retrieve the exact `s_b_share` without using `MIN`, you can directly select it like this:
```sql
SELECT s_b_share FROM table_206419_3 WHERE percent_of_votes = "2.12";
```
This will give you the... | 20,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_206419_3 (s_b_share INTEGER, percent_of_votes VARCHAR)\n\n Question: What is the s B share for the shareholder that has 2.12... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)
Question: What is the s B share for Handelsbanken funds incl XACT?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question regarding the s B share for Handelsbanken funds incl XACT:
```
SELECT s_b_share FROM table_206419_3 WHERE shareholder = 'Handelsbanken funds incl XACT';
``` | 20,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_206419_3 (s_b_share VARCHAR, shareholder VARCHAR)\n\n Question: What is the s B share for Handelsbanken funds incl XACT?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20668268_1 (name VARCHAR, starting_price VARCHAR, jockey VARCHAR)
Question: What was the name that had a starting price of 11/1 and a jockey named Garrett Cotter?
... | Here is the SQLite query to answer the question:
```
SELECT name FROM table_20668268_1 WHERE starting_price = "11/1" AND jockey = "Garrett Cotter"
``` | 20,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_20668268_1 (name VARCHAR, starting_price VARCHAR, jockey VARCHAR)\n\n Question: What was the name that had a starting price ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20668268_1 (name VARCHAR, owner VARCHAR)
Question: What was the name of the entrant with an owner named David Johnson?
Here is the SQLite query to answer to the qu... | Here's the SQLite query to find the name of the entrant with an owner named David Johnson:
```
SELECT name FROM table_20668268_1 WHERE owner = "David Johnson";
``` | 20,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_20668268_1 (name VARCHAR, owner VARCHAR)\n\n Question: What was the name of the entrant with an owner named David Johnson?\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)
Question: What percentage was the others vote when McCain had 52.9% and les... | Here is the SQLite query to answer the question regarding the percentage of others' votes when McCain had 52.9% and less than 45205.0 voters:
```
SELECT others_percentage FROM table_20693870_1 WHERE mccain_percentage = "52.9%" AND mccain_number < '45205.0'
``` | 20,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_20693870_1 (others_percentage VARCHAR, mccain_percentage VARCHAR, mccain_number VARCHAR)\n\n Question: What percentage was t... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (obama_number VARCHAR, obama_percentage VARCHAR)
Question: How many numbers were recorded under Obama when he had 29.9% voters?
Here is the SQLite query... | Your SQLite query is correctly structured to count the number of records under Obama with a voter percentage of 29.9%. Here’s the query wrapped in the appropriate format:
```
SELECT COUNT(obama_number) FROM table_20693870_1 WHERE obama_percentage = "29.9%"
```
This query will return the total count of `obama_number`... | 20,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_20693870_1 (obama_number VARCHAR, obama_percentage VARCHAR)\n\n Question: How many numbers were recorded under Obama when he... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
Question: How many numbers were recorded under McCain when Obama had 27.2% voters?
Here is the SQLite ... | Here is the SQLite query to answer the question about how many numbers were recorded under McCain when Obama had 27.2% voters:
```
SELECT COUNT(mccain_number) FROM table_20693870_1 WHERE obama_percentage = '27.2%';
``` | 20,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_20693870_1 (mccain_number VARCHAR, obama_percentage VARCHAR)\n\n Question: How many numbers were recorded under McCain when ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)
Question: What were the number of voters McCain had when Obama had 895?
Here is the SQLite query to answer... | Your provided SQLite query contains a small mistake: the value for `obama_number` should be enclosed in quotes since it is a `VARCHAR` type in your schema. Here is the corrected query:
```
SELECT mccain_number FROM table_20693870_1 WHERE obama_number = '895'
```
This query will retrieve the `mccain_number` correspon... | 20,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_20693870_1 (mccain_number VARCHAR, obama_number VARCHAR)\n\n Question: What were the number of voters McCain had when Obama ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20693870_1 (others_number INTEGER, county VARCHAR)
Question: What was the number of others votes in Columbia county?
Here is the SQLite query to answer to the ques... | The SQLite query you provided is not quite correct for determining the number of others votes in Columbia county. Instead of using `MIN`, which retrieves the minimum value, you should use `SUM` to calculate the total number of others votes.
Here is the corrected query:
```sql
SELECT SUM(others_number) FROM table_2069... | 20,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_20693870_1 (others_number INTEGER, county VARCHAR)\n\n Question: What was the number of others votes in Columbia county?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20684390_1 (obama_percentage VARCHAR, county VARCHAR)
Question: For Gem County, what was the Obama vote percentage?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer the question regarding the Obama vote percentage for Gem County:
```
SELECT obama_percentage FROM table_20684390_1 WHERE county = "Gem County";
``` | 20,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_20684390_1 (obama_percentage VARCHAR, county VARCHAR)\n\n Question: For Gem County, what was the Obama vote percentage?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20684390_1 (mccain_number INTEGER)
Question: What is the maximum McCain population turnout number?
Here is the SQLite query to answer to the question: What is the ... | Your SQLite query to find the maximum McCain population turnout number is correct. Here it is wrapped in code format:
```
SELECT MAX(mccain_number) FROM table_20684390_1;
```
This query will return the highest value of the `mccain_number` from the `table_20684390_1` table. | 20,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_20684390_1 (mccain_number INTEGER)\n\n Question: What is the maximum McCain population turnout number?\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_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR)
Question: What is the total number of McCain vote totals where Obama percentages was 17.34%?
Here is t... | Your SQLite query to find the total number of McCain vote totals where the Obama percentage is 17.34% is correct. However, please ensure the percentage is represented in the database as a string with or without the % sign. If it is stored as a decimal or a plain number, you might need to adjust the query accordingly. H... | 20,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_20684390_1 (mccain_number VARCHAR, obama_percentage VARCHAR)\n\n Question: What is the total number of McCain vote totals wh... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20684390_1 (mccain_percentage VARCHAR, county VARCHAR)
Question: What is the McCain vote percentage in Jerome county?
Here is the SQLite query to answer to the que... | Your SQLite query to retrieve the McCain vote percentage in Jerome county is correct. Here it is wrapped in code formatting:
```
SELECT mccain_percentage FROM table_20684390_1 WHERE county = "Jerome";
``` | 20,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_20684390_1 (mccain_percentage VARCHAR, county VARCHAR)\n\n Question: What is the McCain vote percentage in Jerome county?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20823568_2 (third_place_s_ VARCHAR, total_placing_s_ VARCHAR)
Question: What is the total number of 3rd place entries that have exactly 8 total placings?
Here is t... | The provided SQL query has a small issue with the condition for `total_placing_s_`. The value should be checked for string format given the schema, as `total_placing_s_` is a VARCHAR type. It should match the string '8' instead of the integer 8. Here is the corrected SQL query:
```
SELECT COUNT(third_place_s_) FROM ta... | 20,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_20823568_2 (third_place_s_ VARCHAR, total_placing_s_ VARCHAR)\n\n Question: What is the total number of 3rd place entries th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20823568_2 (second_place_s_ VARCHAR, sporting_profession VARCHAR)
Question: How many second place showings does snooker have?
Here is the SQLite query to answer to... | To count the number of second place showings for snooker in your database, you can use the following SQL query with the `COUNT` function. Here is the corrected query:
```
SELECT COUNT(second_place_s_) FROM table_20823568_2 WHERE sporting_profession = 'Snooker';
``` | 20,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_20823568_2 (second_place_s_ VARCHAR, sporting_profession VARCHAR)\n\n Question: How many second place showings does snooker ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20850527_1 (game VARCHAR, opponent VARCHAR)
Question: What game number did the Wildcats play Purdue?
Here is the SQLite query to answer to the question: What game ... | Here is the SQLite query to answer the question regarding the game number the Wildcats played against Purdue, wrapped in code formatting:
```
SELECT game FROM table_20850527_1 WHERE opponent = "Purdue" AND game LIKE "Wildcats%"
```
This assumes that the game identifier includes "Wildcats" as part of its name. If "Wi... | 20,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_20850527_1 (game VARCHAR, opponent VARCHAR)\n\n Question: What game number did the Wildcats play Purdue?\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_20850527_1 (result VARCHAR, record VARCHAR)
Question: How many wins or losses were there when the record was 3-0?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to determine how many wins or losses there were when the record was 3-0:
```
SELECT COUNT(result) FROM table_20850527_1 WHERE record = "3-0"
``` | 20,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_20850527_1 (result VARCHAR, record VARCHAR)\n\n Question: How many wins or losses were there when the record was 3-0?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20850527_1 (wildcats_points INTEGER, record VARCHAR)
Question: What is the lowest points scored by the Wildcats when the record was 5-1?
Here is the SQLite query t... | Here is the SQLite query to answer the question about the lowest points scored by the Wildcats when the record was 5-1:
```
SELECT MIN(wildcats_points) FROM table_20850527_1 WHERE record = "5-1";
``` | 20,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_20850527_1 (wildcats_points INTEGER, record VARCHAR)\n\n Question: What is the lowest points scored by the Wildcats when the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20867295_2 (winner VARCHAR, third_place VARCHAR, runner_up VARCHAR)
Question: When az is the runner up nad feyenoord came in third place how many overall winners ar... | Here is the SQLite query to answer the question:
```sql
SELECT COUNT(winner) FROM table_20867295_2 WHERE third_place = "Feyenoord" AND runner_up = "AZ";
``` | 20,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_20867295_2 (winner VARCHAR, third_place VARCHAR, runner_up VARCHAR)\n\n Question: When az is the runner up nad feyenoord cam... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)
Question: When twente came in third place and ajax was the winner what are the seasons?
Here is th... | Here is the SQLite query to answer the question regarding the seasons when Twente came in third place and Ajax was the winner:
```
SELECT season FROM table_20867295_2 WHERE winner = "Ajax" AND third_place = "Twente"
``` | 20,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_20867295_2 (season VARCHAR, winner VARCHAR, third_place VARCHAR)\n\n Question: When twente came in third place and ajax was ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR)
Question: When nac breda came in third place and psv eindhoven was the winner who is the top sc... | Here is the SQLite query to answer the question about the top scorer when NAC Breda came in third place and PSV Eindhoven was the winner:
```
SELECT top_scorer FROM table_20867295_2 WHERE winner = "PSV Eindhoven" AND third_place = "NAC Breda"
``` | 20,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_20867295_2 (top_scorer VARCHAR, winner VARCHAR, third_place VARCHAR)\n\n Question: When nac breda came in third place and ps... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR)
Question: Name the naming for fluent and poor comprehension
Here is the SQLite query to an... | Here is the SQLite query to answer the question, wrapped as requested:
```
SELECT naming FROM table_2088_1 WHERE fluency = "fluent" AND auditory_comprehension = "poor"
``` | 20,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_2088_1 (naming VARCHAR, fluency VARCHAR, auditory_comprehension VARCHAR)\n\n Question: Name the naming for fluent and poor c... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2088_1 (naming VARCHAR, type_of_aphasia VARCHAR)
Question: Name the number of naming for anomic aphasia
Here is the SQLite query to answer to the question: Name th... | Here is the SQLite query to answer the question about the number of naming for anomic aphasia:
```
SELECT COUNT(naming) FROM table_2088_1 WHERE type_of_aphasia = "Anomic aphasia";
``` | 20,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_2088_1 (naming VARCHAR, type_of_aphasia VARCHAR)\n\n Question: Name the number of naming for anomic aphasia\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_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR)
Question: Name the comprehension for non-fluent, effortful, slow
Here is the SQLite query to answer to the... | Here is the SQLite query to answer the question about naming the comprehension for non-fluent, effortful, slow:
```sql
SELECT auditory_comprehension FROM table_2088_1 WHERE fluency = "non-fluent, effortful, slow";
``` | 20,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_2088_1 (auditory_comprehension VARCHAR, fluency VARCHAR)\n\n Question: Name the comprehension for non-fluent, effortful, slo... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2088_1 (fluency VARCHAR, type_of_aphasia VARCHAR)
Question: Name the fluency for transcortical sensory aphasia
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question: Name the fluency for transcortical sensory aphasia:
```
SELECT fluency FROM table_2088_1 WHERE type_of_aphasia = "Transcortical sensory aphasia";
``` | 20,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_2088_1 (fluency VARCHAR, type_of_aphasia VARCHAR)\n\n Question: Name the fluency for transcortical sensory aphasia\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_20925393_3 (english VARCHAR, cardinal_direction VARCHAR)
Question: state the name of day in english where cardinal direction is east
Here is the SQLite query to an... | Here is the SQLite query to answer the question: state the name of day in English where the cardinal direction is east:
```sql
SELECT english FROM table_20925393_3 WHERE cardinal_direction = "East";
``` | 20,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_20925393_3 (english VARCHAR, cardinal_direction VARCHAR)\n\n Question: state the name of day in english where cardinal direc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2092557_12 (us_open INTEGER, player VARCHAR)
Question: When did Shirley Fry Irvin win the US Open?
Here is the SQLite query to answer to the question: When did Shi... | Your SQLite query is correctly formulated to find the earliest year that Shirley Fry Irvin won the US Open. Here it is wrapped in code format:
```
SELECT MIN(us_open) FROM table_2092557_12 WHERE player = "Shirley Fry Irvin";
```
This query will return the minimum year in which Shirley Fry Irvin appears as a winner i... | 20,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_2092557_12 (us_open INTEGER, player VARCHAR)\n\n Question: When did Shirley Fry Irvin win the US Open?\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_2092557_12 (wimbledon VARCHAR, player VARCHAR)
Question: What year did Martina Navratilova win Wimbledon?
Here is the SQLite query to answer to the question: What ... | Here is the SQLite query to answer the question regarding the year Martina Navratilova won Wimbledon:
```
SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova";
``` | 20,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_2092557_12 (wimbledon VARCHAR, player VARCHAR)\n\n Question: What year did Martina Navratilova win Wimbledon?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20996923_25 (round__number INTEGER, player VARCHAR)
Question: What was Sherrick McManis's earliest round?
Here is the SQLite query to answer to the question: What ... | Your SQLite query looks correct for finding Sherrick McManis's earliest round. Here it is wrapped in code formatting:
```
SELECT MIN(round__number) FROM table_20996923_25 WHERE player = "Sherrick McManis";
``` | 20,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_20996923_25 (round__number INTEGER, player VARCHAR)\n\n Question: What was Sherrick McManis's earliest round?\n\nHere is the... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_20996923_25 (nfl_team VARCHAR, player VARCHAR)
Question: How many NFL teams does Stevie Brown play for?
Here is the SQLite query to answer to the question: How man... | Here is the SQLite query to answer the question regarding how many NFL teams Stevie Brown plays for:
```
SELECT COUNT(DISTINCT nfl_team) FROM table_20996923_25 WHERE player = "Stevie Brown";
``` | 20,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_20996923_25 (nfl_team VARCHAR, player VARCHAR)\n\n Question: How many NFL teams does Stevie Brown play for?\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_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR)
Question: What NFL team was the player with pick number 28 drafted to?
Here is the SQLite query to answer to t... | Here is the SQLite query to answer the question of which NFL team the player with pick number 28 was drafted to:
```
SELECT nfl_team FROM table_20996923_25 WHERE pick__number = '28'
``` | 20,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_20996923_25 (nfl_team VARCHAR, pick__number VARCHAR)\n\n Question: What NFL team was the player with pick number 28 drafted ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_210279_2 (area__km_2__ VARCHAR, barangay VARCHAR)
Question: what is the area where barangay is guadalupe viejo?
Here is the SQLite query to answer to the question:... | Here is the SQLite query to answer the question about the area where barangay is "Guadalupe Viejo":
```
SELECT area__km_2__ FROM table_210279_2 WHERE barangay = "Guadalupe Viejo"
``` | 20,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_210279_2 (area__km_2__ VARCHAR, barangay VARCHAR)\n\n Question: what is the area where barangay is guadalupe viejo?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)
Question: Who is the regular season winner for the Ivy League conference?
Here is the SQLite query t... | Your SQLite query to find the regular season winner for the Ivy League conference looks good. Here it is wrapped in code formatting:
```
SELECT regular_season_winner FROM table_21091982_3 WHERE conference = "Ivy League";
``` | 20,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_21091982_3 (regular_season_winner VARCHAR, conference VARCHAR)\n\n Question: Who is the regular season winner for the Ivy Le... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)
Question: Where was the Ivy League conference tournament?
Here is the SQLite query to answer to th... | Here is the SQLite query to answer the question: Where was the Ivy League conference tournament?:
```
SELECT tournament_venue__city_ FROM table_21091982_3 WHERE conference = "Ivy League"
``` | 20,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_21091982_3 (tournament_venue__city_ VARCHAR, conference VARCHAR)\n\n Question: Where was the Ivy League conference tournamen... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21093403_1 (locale VARCHAR, shot_pct VARCHAR)
Question: Where was the shot pct 78?
Here is the SQLite query to answer to the question: Where was the shot pct 78?:
... | Your SQL query has a minor issue. The `shot_pct` column is defined as `VARCHAR`, so the value `78` should be wrapped in quotes to ensure it is treated as a string. Here’s the corrected query:
```
SELECT locale FROM table_21093403_1 WHERE shot_pct = '78'
``` | 20,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_21093403_1 (locale VARCHAR, shot_pct VARCHAR)\n\n Question: Where was the shot pct 78?\n\nHere is the SQLite query to answer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21220720_1 (position VARCHAR, name VARCHAR)
Question: Name the position for van den brink, bas
Here is the SQLite query to answer to the question: Name the positio... | Here is the SQLite query to answer the question "Name the position for van den brink, bas":
```sql
SELECT position FROM table_21220720_1 WHERE name = "van den brink, bas";
``` | 20,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_21220720_1 (position VARCHAR, name VARCHAR)\n\n Question: Name the position for van den brink, bas\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_21220720_1 (finals_apps INTEGER)
Question: Name the mosst finals apps
Here is the SQLite query to answer to the question: Name the mosst finals apps:
```
SELECT MA... | To find the most finals apps in the given schema, your query is almost correct, but if you want to retrieve the actual value with a description, you can select both the maximum value and perhaps a label. Here's the revised query:
```sql
SELECT MAX(finals_apps) AS most_finals_apps FROM table_21220720_1;
```
If you jus... | 20,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_21220720_1 (finals_apps INTEGER)\n\n Question: Name the mosst finals apps\n\nHere is the SQLite query to answer to the quest... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21220720_1 (to VARCHAR, league_apps VARCHAR)
Question: Name the to for 19 league apps
Here is the SQLite query to answer to the question: Name the to for 19 league... | Your SQLite query is almost correct, but you should make sure to treat `league_apps` as an integer, since it's typically more appropriate to store numerical values as such. Below is the corrected query that checks for a numeric value of 19:
```
SELECT to FROM table_21220720_1 WHERE league_apps = '19'
```
However, if ... | 20,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_21220720_1 (to VARCHAR, league_apps VARCHAR)\n\n Question: Name the to for 19 league apps\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_21313327_1 (no_in_series INTEGER, written_by VARCHAR)
Question: what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?
Here is... | The following SQLite query can be used to find the "No in series" for entries written by Rob Wright, Debra J. Fisher, and Erica Messer. However, since the names are likely to be listed as separate entries in the database rather than a single concatenated string, you will need to find records where all those writers con... | 20,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_21313327_1 (no_in_series INTEGER, written_by VARCHAR)\n\n Question: what is the No in series when Rob wright & Debra j. Fish... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: what was the name of the episode that got 3.3 (millions) of u.s viewers?
Here is the SQLite que... | Here is the SQLite query to find the name of the episode that got 3.3 millions of U.S. viewers:
```
SELECT title FROM table_21313327_1 WHERE us_viewers__millions_ = "3.3"
``` | 20,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_21313327_1 (title VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: what was the name of the episode that got 3.3 (milli... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_21313327_1 (written_by VARCHAR, no_in_season VARCHAR)
Question: In season number 3, who were the writers?
Here is the SQLite query to answer to the question: In s... | Your SQL query is almost correct, but since `no_in_season` is defined as a `VARCHAR`, you should treat the number as a string for comparison in the WHERE clause. You need to wrap the number in quotes to match its type. Here’s the corrected query:
```
SELECT written_by FROM table_21313327_1 WHERE no_in_season = '3'
``` | 20,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_21313327_1 (written_by VARCHAR, no_in_season VARCHAR)\n\n Question: In season number 3, who were the writers?\n\nHere is th... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.