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_23453931_8 (score VARCHAR, points VARCHAR)
Question: What was the score when they had 62 points?
Here is the SQLite query to answer to the question: What was the s... | It looks like you would like to retrieve the score associated with 62 points from the database. However, since the points column is defined as a VARCHAR, you should wrap the value 62 in quotes in your query to match the data type. Here is the corrected SQLite query:
```
SELECT score FROM table_23453931_8 WHERE points ... | 36,300 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23453931_8 (score VARCHAR, points VARCHAR)\n\n Question: What was the score when they had 62 points?\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_23453931_4 (opponent VARCHAR, points VARCHAR)
Question: What team did the Maple Leafs score 9 points against?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question of which team the Maple Leafs scored 9 points against:
```
SELECT opponent FROM table_23453931_4 WHERE opponent = 'Maple Leafs' AND points = '9';
``` | 36,301 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23453931_4 (opponent VARCHAR, points VARCHAR)\n\n Question: What team did the Maple Leafs score 9 points against?\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_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesd... | Here is the SQLite query to answer the question regarding the time achieved on Saturday, 29th August by the rider who recorded 23' 18.82 97.102mph on Tuesday, 25th August:
```
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "23' 18.82 97.102mph";
``` | 36,302 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)\n\n Question: What time was achieved on Saturday 29th August by the rid... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 24' 17.26 93.208mph on Monday... | Here is the SQLite query wrapped in the appropriate code format:
```
SELECT sat_29_aug FROM table_23465864_4 WHERE mon_24_aug = "24' 17.26 93.208mph";
``` | 36,303 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, mon_24_aug VARCHAR)\n\n Question: What time was achieved on Saturday 29th August by the ride... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 22' 54.20 98.842mph on Tuesd... | Here is the SQLite query to answer the question:
```
SELECT sat_29_aug FROM table_23465864_4 WHERE tues_25_aug = "22' 54.20 98.842mph"
``` | 36,304 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, tues_25_aug VARCHAR)\n\n Question: What time was achieved on Saturday 29th August by the rid... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR)
Question: What time was achieved on Saturday 29th August by the rider who recorded 25' 01.89 90.438mph on Friday... | Here is the SQLite query to answer the question:
```
SELECT sat_29_aug FROM table_23465864_4 WHERE fri_28_aug = "25' 01.89 90.438mph"
``` | 36,305 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_4 (sat_29_aug VARCHAR, fri_28_aug VARCHAR)\n\n Question: What time was achieved on Saturday 29th August by the ride... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR)
Question: What was the event on Wed 26 Aug where rider is Andrew Farrell 400cc Kawasaki?
Here is the SQLite query to... | Your SQLite query is correct. Here it is wrapped in the required code block:
```
SELECT wed_26_aug FROM table_23465864_6 WHERE rider = "Andrew Farrell 400cc Kawasaki"
```
This query will retrieve the event that occurred on Wednesday, 26 August, for the rider named Andrew Farrell on a 400cc Kawasaki. | 36,306 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_6 (wed_26_aug VARCHAR, rider VARCHAR)\n\n Question: What was the event on Wed 26 Aug where rider is Andrew Farrell ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_6 (thurs_27_aug VARCHAR, tues_25_aug VARCHAR)
Question: What was the event on Thurs 27 Aug when Tues 25 Aug was 23' 00.59 98.384mph?
Here is the SQLite qu... | Here is the SQLite query to answer the question about the event on Thursday, 27 August, when Tuesday, 25 August was "23' 00.59 98.384mph":
```
SELECT thurs_27_aug FROM table_23465864_6 WHERE tues_25_aug = "23' 00.59 98.384mph"
``` | 36,307 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_6 (thurs_27_aug VARCHAR, tues_25_aug VARCHAR)\n\n Question: What was the event on Thurs 27 Aug when Tues 25 Aug was... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_6 (tues_25_aug VARCHAR, mon_24_aug VARCHAR)
Question: What was the Tues 25 Aug time and speed when Mon 24 Aug was 22' 24.56 101.021mph?
Here is the SQLite... | Here is the SQLite query to answer the question regarding the Tuesday, 25 Aug time and speed based on the condition for Monday, 24 Aug:
```
SELECT tues_25_aug FROM table_23465864_6 WHERE mon_24_aug = "22' 24.56 101.021mph"
``` | 36,308 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_6 (tues_25_aug VARCHAR, mon_24_aug VARCHAR)\n\n Question: What was the Tues 25 Aug time and speed when Mon 24 Aug w... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23465864_6 (rider VARCHAR, fri_28_aug VARCHAR)
Question: Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph?
Here is the SQLite query to answer to the quest... | Here is the SQLite query to answer your question:
```
SELECT rider FROM table_23465864_6 WHERE fri_28_aug = "24' 23.36 92.820mph"
``` | 36,309 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23465864_6 (rider VARCHAR, fri_28_aug VARCHAR)\n\n Question: Who was the rider when Fri 28 Aug was 24' 23.36 92.820mph?\n\nH... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has 32194 as the attendance?
Here is the SQLite query to answer to the question: Which o... | Here's the correct SQLite query to answer the question regarding which opponent has an attendance of 32194:
```
SELECT opponent FROM table_23466021_4 WHERE attendance = '32194'
```
(Note: Since `attendance` is defined as a VARCHAR in the schema, attendance should be enclosed in quotes.) | 36,310 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Which opponent has 32194 as the attendance?\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_23466021_4 (opponent VARCHAR, attendance VARCHAR)
Question: Which opponent has 36102 is the attendance?
Here is the SQLite query to answer to the question: Which o... | Here is the SQLite query to answer the question "Which opponent has 36102 as the attendance?":
```
SELECT opponent FROM table_23466021_4 WHERE attendance = '36102'
```
Note that attendance is defined as a VARCHAR in the schema, so the value should be enclosed in quotes. | 36,311 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23466021_4 (opponent VARCHAR, attendance VARCHAR)\n\n Question: Which opponent has 36102 is the attendance?\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_23466021_4 (attendance INTEGER)
Question: What is the attendance?
Here is the SQLite query to answer to the question: What is the attendance?:
```
SELECT MAX(atten... | To retrieve the attendance from the given table schema, you can use the following SQLite query:
```
SELECT attendance FROM table_23466021_4;
```
This query will return all attendance records stored in the `table_23466021_4`. If you are specifically looking for a summary, such as the maximum attendance, then your ori... | 36,312 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23466021_4 (attendance INTEGER)\n\n Question: What is the attendance?\n\nHere is the SQLite query to answer to the question:... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23476629_2 (hometown VARCHAR, province VARCHAR)
Question: What is the hometown of contestants who are from the province of Huesca?
Here is the SQLite query to answ... | ```sql
SELECT hometown FROM table_23476629_2 WHERE province = "Huesca";
``` | 36,313 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23476629_2 (hometown VARCHAR, province VARCHAR)\n\n Question: What is the hometown of contestants who are from the province ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23476629_2 (height__in_ VARCHAR, province VARCHAR)
Question: What is the height in inches of contestants who are from the province of La Rioja?
Here is the SQLite ... | Here is the SQLite query to answer the question regarding the height in inches of contestants from the province of La Rioja:
```
SELECT height__in_ FROM table_23476629_2 WHERE province = "La Rioja";
``` | 36,314 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23476629_2 (height__in_ VARCHAR, province VARCHAR)\n\n Question: What is the height in inches of contestants who are from th... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR)
Question: How many contestants of whatever age are there whose hometown of Andujar?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question regarding the number of contestants of any age whose hometown is Andujar:
```sql
SELECT COUNT(age) FROM table_23476629_2 WHERE hometown = 'Andujar';
``` | 36,315 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23476629_2 (age VARCHAR, hometown VARCHAR)\n\n Question: How many contestants of whatever age are there whose hometown of An... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR)
Question: What's the service number of the Jammu Duronto train?
Here is the SQLite query to answer to the questio... | Your provided query looks good for retrieving the service number of the "Jammu Duronto" train. Here is the same query wrapped in code formatting:
```
SELECT service FROM table_23477312_1 WHERE train_name = "Jammu Duronto";
```
This query will give you the service number(s) associated with the "Jammu Duronto" train d... | 36,316 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23477312_1 (service INTEGER, train_name VARCHAR)\n\n Question: What's the service number of the Jammu Duronto train? \n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR)
Question: What's the name of the train to Madurai Junction?
Here is the SQLite query to answer to the question... | Here is the SQLite query to answer the question: What's the name of the train to Madurai Junction?:
```
SELECT train_name FROM table_23477312_1 WHERE destination = "Madurai Junction";
``` | 36,317 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR)\n\n Question: What's the name of the train to Madurai Junction?\n\nHere... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR)
Question: What's the service number of the Pune Duronto train that departures at 21:35?
Here is... | Here is the SQLite query to answer the question about the service number of the Pune Duronto train that departs at 21:35:
```
SELECT service FROM table_23477312_1 WHERE train_name = "Pune Duronto" AND departure = "21:35"
``` | 36,318 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23477312_1 (service VARCHAR, train_name VARCHAR, departure VARCHAR)\n\n Question: What's the service number of the Pune Duro... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR)
Question: What's the name of the train that goes to Bhubaneswar?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question about the train that goes to Bhubaneswar:
```
SELECT train_name FROM table_23477312_1 WHERE destination = "Bhubaneswar";
``` | 36,319 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23477312_1 (train_name VARCHAR, destination VARCHAR)\n\n Question: What's the name of the train that goes to Bhubaneswar?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_6 (record VARCHAR, opponent VARCHAR)
Question: What is the record when the opposing team was the Pittsburgh Penguins?
Here is the SQLite query to answer t... | ```sql
SELECT record FROM table_23486853_6 WHERE opponent = "Pittsburgh Penguins";
``` | 36,320 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_6 (record VARCHAR, opponent VARCHAR)\n\n Question: What is the record when the opposing team was the Pittsburgh Pen... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR)
Question: What was the game number when the opposing team was the Buffalo Sabres?
Here is the SQLite query to answer to... | Here is the SQLite query to find the game number when the opposing team was the Buffalo Sabres:
```sql
SELECT game FROM table_23486853_6 WHERE opponent = "Buffalo Sabres";
``` | 36,321 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_6 (game INTEGER, opponent VARCHAR)\n\n Question: What was the game number when the opposing team was the Buffalo Sa... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)
Question: Who directed episode no. 44 in the series?
Here is the SQLite query to answer to the question: Who d... | Your provided SQL query is almost correct, but you need to ensure that the episode number in the WHERE clause is treated as a string since the `no_in_series` column is defined as `VARCHAR`. Here's the correct version of the query wrapped in code blocks:
```
SELECT directed_by FROM table_234886_3 WHERE no_in_series = '... | 36,322 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_234886_3 (directed_by VARCHAR, no_in_series VARCHAR)\n\n Question: Who directed episode no. 44 in the series?\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_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)
Question: What is the number in the season of the episode with a production code of 2-05?
Here is the SQLite que... | The query you provided seems to count the number of entries in the `no_in_season` column for the production code "2-05". However, if you're specifically looking to retrieve the season number for that production code, a `SELECT` statement should be used without `COUNT`.
Here’s the corrected query to retrieve the seaso... | 36,323 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_234886_3 (no_in_season VARCHAR, prod_code VARCHAR)\n\n Question: What is the number in the season of the episode with a prod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)
Question: What is the title of the episode with the production code 2-19?
Here is the SQLite query to answer to the que... | Your SQLite query to find the title of the episode with the production code "2-19" is correct. Here it is wrapped in code format as you requested:
```
SELECT title FROM table_234886_3 WHERE prod_code = "2-19";
``` | 36,324 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_234886_3 (title VARCHAR, prod_code VARCHAR)\n\n Question: What is the title of the episode with the production code 2-19?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR)
Question: What is the total number of titles for the episode numbered 29 in the series?
Here is the SQLite query to ... | Here is the SQLite query to answer the question regarding the total number of titles for the episode numbered 29 in the series:
```
SELECT COUNT(title) FROM table_234886_3 WHERE no_in_series = '29'
```
Note that the condition for `no_in_series` values should be wrapped in quotes if it's stored as a VARCHAR type, to ... | 36,325 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_234886_3 (title VARCHAR, no_in_series VARCHAR)\n\n Question: What is the total number of titles for the episode numbered 29 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)
Question: What was the name of the episode directed by Jessica Yu?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer your question:
```
SELECT title FROM table_23492454_1 WHERE directed_by = "Jessica Yu"
``` | 36,326 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23492454_1 (title VARCHAR, directed_by VARCHAR)\n\n Question: What was the name of the episode directed by Jessica Yu?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)
Question: who directed the episode written by Shonda Rhimes?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question "who directed the episode written by Shonda Rhimes?":
```
SELECT directed_by FROM table_23492454_1 WHERE written_by = "Shonda Rhimes"
``` | 36,327 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23492454_1 (directed_by VARCHAR, written_by VARCHAR)\n\n Question: who directed the episode written by Shonda Rhimes?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)
Question: How many episodes in the series are also episode 18 in the season?
Here is the SQLite query to an... | Your provided SQL query is almost correct, but since `no_in_season` is specified as a `VARCHAR` type, we should make sure to compare it with a string instead of an integer. Here is the corrected version of the query wrapped in triple backticks:
```
SELECT COUNT(no_in_series) FROM table_23492454_1 WHERE no_in_season = ... | 36,328 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23492454_1 (no_in_series VARCHAR, no_in_season VARCHAR)\n\n Question: How many episodes in the series are also episode 18 in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)
Question: Who is every opponent on the date of March 16?
Here is the SQLite query to answer to the question: Who is eve... | Here is the SQLite query to answer the question "Who is every opponent on the date of March 16?":
```
SELECT opponent FROM table_23486853_8 WHERE date = "March 16"
``` | 36,329 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_8 (opponent VARCHAR, date VARCHAR)\n\n Question: Who is every opponent on the date of March 16?\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_23486853_8 (score VARCHAR, opponent VARCHAR)
Question: What is every score for the opponent of Atlanta Thrashers?
Here is the SQLite query to answer to the questio... | Here is the SQLite query to answer the question:
```
SELECT score FROM table_23486853_8 WHERE opponent = "Atlanta Thrashers"
``` | 36,330 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_8 (score VARCHAR, opponent VARCHAR)\n\n Question: What is every score for the opponent of Atlanta Thrashers?\n\nHer... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR)
Question: What is every location for the date of March 20?
Here is the SQLite query to answer to the question: What is ... | Here is the SQLite query to answer the question regarding every location for the date of March 20:
```
SELECT location FROM table_23486853_8 WHERE date = "March 20";
``` | 36,331 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_8 (location VARCHAR, date VARCHAR)\n\n Question: What is every location for the date of March 20?\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_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)
Question: What is every score at the location of Verizon Center and points of 68?
Here is the SQLite q... | Here is the SQLite query to answer the question about every score at the location of Verizon Center with points of 68:
```sql
SELECT score FROM table_23486853_8 WHERE location = "Verizon Center" AND points = "68";
``` | 36,332 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_8 (score VARCHAR, location VARCHAR, points VARCHAR)\n\n Question: What is every score at the location of Verizon Ce... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)
Question: What is every date with a record of 30–34–12?
Here is the SQLite query to answer to the question: What is every... | Here is the SQLite query to answer the question about every date with a record of 30–34–12:
```
SELECT date FROM table_23486853_8 WHERE record = "30–34–12";
``` | 36,333 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23486853_8 (date VARCHAR, record VARCHAR)\n\n Question: What is every date with a record of 30–34–12?\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_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)
Question: How many officers o/s were there on the day when the number of USAAF was 2373882?
Here is the SQLi... | Here is the SQLite query to answer the question about the number of officers o/s when the total number of USAAF was 2373882:
```
SELECT officers_o_s FROM table_23508196_2 WHERE total_usaaf = '2373882'
``` | 36,334 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_2 (officers_o_s INTEGER, total_usaaf VARCHAR)\n\n Question: How many officers o/s were there on the day when the nu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)
Question: How many different numbers of Tot enlisted are there on the dates when the number of Enlisted o/s ... | To count the distinct numbers of `tot_enlisted` on dates when the number of `enlisted_o_s` was 801471, you should use the `DISTINCT` keyword in your query. Here is the correct SQLite query to achieve that:
```sql
SELECT COUNT(DISTINCT tot_enlisted)
FROM table_23508196_2
WHERE enlisted_o_s = '801471';
```
This quer... | 36,335 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_2 (tot_enlisted VARCHAR, enlisted_o_s VARCHAR)\n\n Question: How many different numbers of Tot enlisted are there o... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)
Question: How many tot officers were there on the date when the number of tot enlisted was 329640?
Here is ... | Here's the SQLite query to answer the question:
```
SELECT tot_officers FROM table_23508196_2 WHERE tot_enlisted = '329640'
```
Note: Ensure that the `tot_enlisted` value is treated as a string if it is defined as `VARCHAR`. | 36,336 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_2 (tot_officers VARCHAR, tot_enlisted VARCHAR)\n\n Question: How many tot officers were there on the date when the ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)
Question: How many Tot enlisted were there on the day when the number of total USAAF was 2329534?
Here is th... | Here is the corrected SQLite query to answer the question regarding the number of Tot enlisted when the total USAAF was 2329534:
```sql
SELECT tot_enlisted FROM table_23508196_2 WHERE total_usaaf = '2329534';
```
This assumes that `total_usaaf` is stored as a VARCHAR in the table, and thus it should be compared as a ... | 36,337 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_2 (tot_enlisted INTEGER, total_usaaf VARCHAR)\n\n Question: How many Tot enlisted were there on the day when the nu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)
Question: How many contestants where from mitteldeutschland?
Here is the SQLite query to answer to the question: How ma... | Your SQL query is almost correct, but it is better to count the distinct values or just use `COUNT(*)` to count all rows that match the criteria. Here’s the adjusted query encapsulated in code formatting:
```
SELECT COUNT(*) FROM table_23495048_2 WHERE represent = 'Mitteldeutschland';
```
This will provide you with ... | 36,338 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23495048_2 (age VARCHAR, represent VARCHAR)\n\n Question: How many contestants where from mitteldeutschland?\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_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)
Question: How many meters tall is Ulrike Wolful?
Here is the SQLite query to answer to the question: How many... | Here is the SQLite query to answer the question about how many meters tall Ulrike Wolful is:
```
SELECT height__mtr_ FROM table_23495048_2 WHERE contestant = "Ulrike Wolful";
``` | 36,339 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23495048_2 (height__mtr_ VARCHAR, contestant VARCHAR)\n\n Question: How many meters tall is Ulrike Wolful?\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_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
Question: Which country had a contestant that was 1.76 meters tall?
Here is the SQLite query to answer to the ... | Here is the SQLite query to answer the question of which country had a contestant that was 1.76 meters tall:
```
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = "1.76"
``` | 36,340 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)\n\n Question: Which country had a contestant that was 1.76 meters tall?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)
Question: What country had a contestant that was 1.70 meters tall?
Here is the SQLite query to answer to the q... | Here is the SQLite query to answer the question about what country had a contestant that was 1.70 meters tall:
```
SELECT represent FROM table_23495048_2 WHERE height__mtr_ = '1.70';
``` | 36,341 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23495048_2 (represent VARCHAR, height__mtr_ VARCHAR)\n\n Question: What country had a contestant that was 1.70 meters tall?\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR)
Question: If seed number is 2, what is the maximum amount of points?
Here is the SQLite query to answer to the question:... | Here is the corrected SQLite query to answer the question about finding the maximum amount of points for seed number 2:
```
SELECT MAX(points) FROM table_23501776_18 WHERE seed = '2'
```
Make sure to treat the seed as a string since it is defined as a VARCHAR in the schema. | 36,342 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23501776_18 (points INTEGER, seed VARCHAR)\n\n Question: If seed number is 2, what is the maximum amount of points?\n\nHere ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)
Question: If new points is 1720, what is the status?
Here is the SQLite query to answer to the question: If new po... | Here is the SQLite query to answer the question: If new points is 1720, what is the status?:
```
SELECT status FROM table_23501776_18 WHERE new_points = '1720'
``` | 36,343 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23501776_18 (status VARCHAR, new_points VARCHAR)\n\n Question: If new points is 1720, what is the status?\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_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)
Question: Who is the winning party/coalition name in election year 1980?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the winning party/coalition name in election year 1980:
```
SELECT winning_party_coalition FROM table_23512864_4 WHERE election_year = '1980'
```
Make sure to use single quotes for the year since it is defined as a VARCHAR in the table schema. | 36,344 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23512864_4 (winning_party_coalition VARCHAR, election_year VARCHAR)\n\n Question: Who is the winning party/coalition name in... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
Question: If the speaker is Munu Adhi (2) K. Rajaram, what is the election year maximum?
Here is the SQLite que... | Here is the SQLite query to answer the question regarding the maximum election year for the speaker Munu Adhi (2) K. Rajaram:
```
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "Munu Adhi (2) K. Rajaram";
``` | 36,345 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)\n\n Question: If the speaker is Munu Adhi (2) K. Rajaram, what is the el... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
Question: If the speaker is R. Muthiah, what is the election year maximum?
Here is the SQLite query to answer t... | Here is the SQLite query to answer the question:
```
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"
``` | 36,346 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)\n\n Question: If the speaker is R. Muthiah, what is the election year ma... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)
Question: What is the name of the speaker if the chief minister is M.G. Ramachandran?
Here is the SQLite query... | Here's the SQLite query that answers the specified question:
```
SELECT speaker FROM table_23512864_4 WHERE chief_minister = "M.G. Ramachandran"
``` | 36,347 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23512864_4 (speaker VARCHAR, chief_minister VARCHAR)\n\n Question: What is the name of the speaker if the chief minister is ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)
Question: If the assembly is the sixth assembly, what is the maximum election year?
Here is the SQLite query t... | Here is the SQLite query you can use to find the maximum election year for the sixth assembly:
```
SELECT MAX(election_year) FROM table_23512864_4 WHERE assembly = 'Sixth assembly';
``` | 36,348 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23512864_4 (election_year INTEGER, assembly VARCHAR)\n\n Question: If the assembly is the sixth assembly, what is the maximu... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR)
Question: Name the number of crews for light bombardment group
Here is the SQLite query to answer to the... | ```sql
SELECT number_of_crews FROM table_23508196_5 WHERE type_of_unit = "Light bombardment group";
``` | 36,349 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_5 (number_of_crews VARCHAR, type_of_unit VARCHAR)\n\n Question: Name the number of crews for light bombardment grou... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR)
Question: What is the aircraft for 21 crews?
Here is the SQLite query to answer to the question: Wha... | Here is the SQLite query to answer the question regarding the aircraft for 21 crews:
```
SELECT type_of_aircraft FROM table_23508196_5 WHERE number_of_crews = "21"
``` | 36,350 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_5 (type_of_aircraft VARCHAR, number_of_crews VARCHAR)\n\n Question: What is the aircraft for 21 crews?\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_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR)
Question: Nam ethe enlisted for troop carrier group
Here is the SQLite query to answer to the question: Nam eth... | Here is the SQLite query to answer the question regarding the enlisted for troop carrier group:
```
SELECT enlisted FROM table_23508196_5 WHERE type_of_unit = "Troop carrier group";
``` | 36,351 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23508196_5 (enlisted VARCHAR, type_of_unit VARCHAR)\n\n Question: Nam ethe enlisted for troop carrier group\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_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)
Question: What was the title when 1.121 million US people watched it?
Here is the SQLite query to answer ... | Here is the SQLite query that answers the question about the title when 1.121 million US people watched it:
```
SELECT title FROM table_23513241_5 WHERE us_viewers__millions_ = "1.121"
``` | 36,352 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23513241_5 (title VARCHAR, us_viewers__millions_ VARCHAR)\n\n Question: What was the title when 1.121 million US people watc... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)
Question: What is the lowest series episode with a production code of 406?
Here is the SQLite query to answe... | Here is the SQLite query to find the lowest series episode with a production code of 406:
```
SELECT MIN(series_episode) FROM table_23513241_5 WHERE prod_code = '406';
```
Note that I have wrapped the production code '406' in single quotes because it is defined as a VARCHAR in the schema. | 36,353 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23513241_5 (series_episode INTEGER, prod_code VARCHAR)\n\n Question: What is the lowest series episode with a production cod... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR)
Question: List the title of series episode 38.
Here is the SQLite query to answer to the question: List the titl... | Here is the correct SQLite query to list the title of series episode 38:
```sql
SELECT title FROM table_23513241_5 WHERE series_episode = '38'
```
Note: In the query, I've enclosed '38' in single quotes as it is likely that it is stored as a string in the table. If it is stored as an integer, your original query wou... | 36,354 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23513241_5 (title VARCHAR, series_episode VARCHAR)\n\n Question: List the title of series episode 38.\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_23548160_1 (formula VARCHAR, driver VARCHAR)
Question: What type of formula did Stirling Moss drive?
Here is the SQLite query to answer to the question: What type ... | Here is the SQLite query to answer the question regarding the type of formula that Stirling Moss drove:
```sql
SELECT formula FROM table_23548160_1 WHERE driver = "Stirling Moss";
``` | 36,355 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23548160_1 (formula VARCHAR, driver VARCHAR)\n\n Question: What type of formula did Stirling Moss drive?\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_23548160_1 (year VARCHAR, driver VARCHAR)
Question: What year did Randy Lewis drive?
Here is the SQLite query to answer to the question: What year did Randy Lewis ... | Here is the SQLite query to answer the question "What year did Randy Lewis drive?":
```
SELECT year FROM table_23548160_1 WHERE driver = "Randy Lewis"
``` | 36,356 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23548160_1 (year VARCHAR, driver VARCHAR)\n\n Question: What year did Randy Lewis drive?\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_23548160_1 (constructor VARCHAR, year VARCHAR)
Question: What was the constructor in 1975?
Here is the SQLite query to answer to the question: What was the constru... | Here is the SQLite query to answer the question about the constructor in 1975:
```
SELECT constructor FROM table_23548160_1 WHERE year = '1975'
``` | 36,357 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23548160_1 (constructor VARCHAR, year VARCHAR)\n\n Question: What was the constructor in 1975?\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 (weight VARCHAR, market_name VARCHAR)
Question: If the market name is Xperia U, what is the weight?
Here is the SQLite query to answer to the question: If the mark... | Here is the SQLite query to answer the question regarding the weight for the market name "Xperia U":
```
SELECT weight FROM table WHERE market_name = "Xperia U"
``` | 36,358 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table (weight VARCHAR, market_name VARCHAR)\n\n Question: If the market name is Xperia U, what is the weight?\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 (release_date VARCHAR, code_name VARCHAR)
Question: What is the release date if the code name is Aoba?
Here is the SQLite query to answer to the question: What is ... | Your SQLite query to retrieve the release date for the code name "Aoba" is correct. Here it is wrapped in the specified code block:
```
SELECT release_date FROM table WHERE code_name = "Aoba";
``` | 36,359 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table (release_date VARCHAR, code_name VARCHAR)\n\n Question: What is the release date if the code name is Aoba?\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 (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)
Question: If the weight is 126g and the NFC is yes, what is the battery (MAH)?
Here is the SQLite query to a... | Here is the SQLite query to answer the question:
```
SELECT battery___mah__ FROM table WHERE nfc = "yes" AND weight = "126g"
``` | 36,360 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table (battery___mah__ VARCHAR, nfc VARCHAR, weight VARCHAR)\n\n Question: If the weight is 126g and the NFC is yes, what is the b... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table (platform VARCHAR, weight VARCHAR)
Question: What is the platform if the weight is 131.5g?
Here is the SQLite query to answer to the question: What is the platform... | Here is the SQLite query to answer the question about the platform with a weight of 131.5g:
```
SELECT platform FROM table WHERE weight = "131.5g";
``` | 36,361 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table (platform VARCHAR, weight VARCHAR)\n\n Question: What is the platform if the weight is 131.5g?\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 (android_version VARCHAR, code_name VARCHAR)
Question: What is the Android version is the code name is Lotus?
Here is the SQLite query to answer to the question: W... | Here is the SQLite query to answer the question about the Android version with the code name "Lotus":
```
SELECT android_version FROM table WHERE code_name = "Lotus"
``` | 36,362 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table (android_version VARCHAR, code_name VARCHAR)\n\n Question: What is the Android version is the code name is Lotus?\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_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
Question: When middle assyrian empire is the ubaid period in mesopotamia what is the copper age... | Here is the SQLite query to answer the question regarding the copper age when the ubaid period in Mesopotamia is the Middle Assyrian Empire:
```sql
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Middle Assyrian Empire";
``` | 36,363 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)\n\n Question: When middle assyrian empire is the ubaid ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
Question: When hittite old kingdom , minoan eruption is the ubaid period in mesopotamia what i... | Here is the SQLite query based on the provided schema and question:
```
SELECT copper_age FROM table_23537091_1 WHERE ubaid_period_in_mesopotamia = "Hittite Old Kingdom , Minoan eruption";
``` | 36,364 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23537091_1 (copper_age VARCHAR, ubaid_period_in_mesopotamia VARCHAR)\n\n Question: When hittite old kingdom , minoan eruptio... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
Question: When hittite middle kingdom , new kingdom of egypt is the ubaid period in mes... | It looks like there's a small mistake in the provided SQLite query regarding the condition for the `ubaid_period_in_mesopotamia`. The question is asking for data related to the Ubaid period specifically.
An accurate query would ensure that we are checking for occurrences where `ubaid_period_in_mesopotamia` is indeed ... | 36,365 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)\n\n Question: When hittite middle kingdom , new... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)
Question: When the second intermediate period of egypt is the ubaid period in mesopota... | Here is the SQLite query to answer the question:
```
SELECT COUNT(early_chalcolithic)
FROM table_23537091_1
WHERE ubaid_period_in_mesopotamia = "Second Intermediate Period of Egypt";
``` | 36,366 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23537091_1 (early_chalcolithic VARCHAR, ubaid_period_in_mesopotamia VARCHAR)\n\n Question: When the second intermediate peri... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR)
Question: What was the score against Loic Didavi?
Here is the SQLite query to answer to the question: What was the s... | Here is the SQLite query to answer the question about the score against Loic Didavi:
```
SELECT result FROM table_23563375_11 WHERE opponent = "Loic Didavi"
``` | 36,367 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23563375_11 (result VARCHAR, opponent VARCHAR)\n\n Question: What was the score against Loic Didavi?\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_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR)
Question: Who was played against when there was a loss and in the gi po round?
Here is the SQLite query t... | Here is the SQLite query to answer the question about who was played against when there was a loss and in the GI PO round:
```
SELECT against FROM table_23563375_11 WHERE w_l = "Loss" AND round = "GI PO"
``` | 36,368 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23563375_11 (against VARCHAR, w_l VARCHAR, round VARCHAR)\n\n Question: Who was played against when there was a loss and in ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR)
Question: What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–6?
Here is the SQLite query to answer to th... | To retrieve the w/l (win/loss) entries for the specified final scores in SQLite, you want to check for each score individually in the results. Here’s how you can write the query:
```sql
SELECT w_l
FROM table_23563375_11
WHERE result IN ('2–6', '5–7', '7–6 (11–9)', '1–6');
```
This query will return the w/l values ... | 36,369 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23563375_11 (w_l VARCHAR, result VARCHAR)\n\n Question: What were the w/l when the final score was 2–6, 5–7, 7–6 (11–9) , 1–... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)
Question: When Cleveland was 2nd, great lakes in the regular season what did they get to in the playoffs?
Here... | Your SQLite query is almost correct, but it is missing a condition to specify the team (Cleveland). Here’s the revised query to ensure it checks for both the team and the regular season status:
```sql
SELECT playoffs FROM table_2357201_1 WHERE regular_season = "2nd, Great Lakes" AND playoffs IS NOT NULL;
```
This que... | 36,370 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2357201_1 (playoffs VARCHAR, regular_season VARCHAR)\n\n Question: When Cleveland was 2nd, great lakes in the regular season... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_2357201_1 (division INTEGER)
Question: What is the lowest numbered division Cleveland played in?
Here is the SQLite query to answer to the question: What is the l... | Here is the SQLite query to answer the question about the lowest numbered division Cleveland played in, formatted as you requested:
```
SELECT MIN(division) FROM table_2357201_1;
``` | 36,371 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2357201_1 (division INTEGER)\n\n Question: What is the lowest numbered division Cleveland played in? \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_2357201_1 (regular_season VARCHAR, year VARCHAR)
Question: How did Cleveland do in the regular season in 2006?
Here is the SQLite query to answer to the question: ... | Here is the SQLite query to answer the question about how Cleveland did in the regular season in 2006:
```
SELECT regular_season FROM table_2357201_1 WHERE year = '2006' AND regular_season LIKE '%Cleveland%'
``` | 36,372 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2357201_1 (regular_season VARCHAR, year VARCHAR)\n\n Question: How did Cleveland do in the regular season in 2006?\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_2357201_1 (open_cup VARCHAR, year VARCHAR)
Question: How did Cleveland do in the Open Cup in 2009?
Here is the SQLite query to answer to the question: How did Clev... | Here is the SQLite query to answer the question about how Cleveland did in the Open Cup in 2009:
```
SELECT open_cup FROM table_2357201_1 WHERE year = '2009' AND open_cup LIKE '%Cleveland%'
```
This query retrieves the `open_cup` results for the year 2009 specifically for Cleveland. | 36,373 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_2357201_1 (open_cup VARCHAR, year VARCHAR)\n\n Question: How did Cleveland do in the Open Cup in 2009?\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_23575917_6 (scores VARCHAR, lees_team VARCHAR)
Question: When victoria coren and rhod gilbert are both on the lees team what is the score?
Here is the SQLite query... | Here's the correct SQLite query to find the score when both Victoria Coren and Rhod Gilbert are on the same team in the `lees_team` column. Since it's likely that the `lees_team` column would not have the exact phrase "Victoria Coren and Rhod Gilbert" but instead have them listed in some way, we should consider using a... | 36,374 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)\n\n Question: When victoria coren and rhod gilbert are both on the lees team ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)
Question: When david o'doherty and katherine parkinson are both on the davids team when is the first broad... | The provided query seems to assume that there is a specific value combining "David O'Doherty and Katherine Parkinson" in the `davids_team` column. However, if you are looking for cases where both individuals are present separately in the `davids_team`, the query needs to reflect that.
If you are looking for the earli... | 36,375 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23575917_6 (first_broadcast VARCHAR, davids_team VARCHAR)\n\n Question: When david o'doherty and katherine parkinson are bot... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR)
Question: When bill oddie and frank skinner are both on the davids team what is the episode?
Here is the SQLite q... | The provided query is on the right track but assumes that the combined team name is exactly "Bill Oddie and Frank Skinner". To ensure that both Bill Oddie and Frank Skinner are indeed participants on David's team in any episode, a more robust approach is to check the presence of both names. Here is a suggestion for the... | 36,376 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23575917_6 (episode VARCHAR, davids_team VARCHAR)\n\n Question: When bill oddie and frank skinner are both on the davids tea... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)
Question: When kevin bridges and katy wix are both on the less team what is the score?
Here is the SQLite query to ... | It seems like there might be a misunderstanding regarding how the `lees_team` column is being used in the query. If "Kevin Bridges and Katy Wix" are considered individual team members and there is a need to check if both are on the same team together, you would typically need to group or aggregate the data to identify ... | 36,377 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23575917_6 (scores VARCHAR, lees_team VARCHAR)\n\n Question: When kevin bridges and katy wix are both on the less team what... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR)
Question: How many shows did team David consist of vernon kay and dara ó briain
Here is the SQLite query to answe... | Here's the SQLite query to answer the question of how many shows team David consisted of with Vernon Kay and Dara Ó Briain:
```
SELECT COUNT(episode) FROM table_23575917_8 WHERE davids_team = "Vernon Kay and Dara Ó Briain";
``` | 36,378 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23575917_8 (episode VARCHAR, davids_team VARCHAR)\n\n Question: How many shows did team David consist of vernon kay and dara... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR)
Question: If the hometown is Windhoek, what is the represented?
Here is the SQLite query to answer to the questi... | Here is the SQLite query to answer the question:
```
SELECT represented FROM table_23576576_2 WHERE hometown = "Windhoek"
``` | 36,379 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23576576_2 (represented VARCHAR, hometown VARCHAR)\n\n Question: If the hometown is Windhoek, what is the represented?\n\nHe... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR)
Question: If the hometown is Omuthiya, what is the contestant name?
Here is the SQLite query to answer to the que... | Here is the SQLite query to answer the question:
```
SELECT contestant FROM table_23576576_2 WHERE hometown = "Omuthiya"
``` | 36,380 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23576576_2 (contestant VARCHAR, hometown VARCHAR)\n\n Question: If the hometown is Omuthiya, what is the contestant name?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)
Question: What is the height in inches if the represented is Erongo?
Here is the SQLite query to answer to th... | Here is the SQLite query to find the height in inches for the represented value "Erongo":
```
SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo";
``` | 36,381 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)\n\n Question: What is the height in inches if the represented is Erong... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)
Question: What week did September 29 fall in?
Here is the SQLite query to answer to the question: What week did September 2... | The SQL query provided does not correctly answer the question about what week September 29 falls in. Instead, you should be selecting the week associated with that date. Here's the correct query:
```sql
SELECT week FROM table_23601267_2 WHERE date = 'September 29';
```
This query will return the week that correspond... | 36,382 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23601267_2 (week VARCHAR, date VARCHAR)\n\n Question: What week did September 29 fall in?\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_23601267_2 (final_score VARCHAR, date VARCHAR)
Question: What was the score on the October 28 game?
Here is the SQLite query to answer to the question: What was th... | Here is the SQLite query to answer the question about the score on the October 28 game:
```sql
SELECT final_score FROM table_23601267_2 WHERE date = "October 28";
``` | 36,383 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)\n\n Question: What was the score on the October 28 game?\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_23601267_2 (final_score VARCHAR, date VARCHAR)
Question: What was the score on September 20?
Here is the SQLite query to answer to the question: What was the score... | Here is the SQLite query to answer the question about the score on September 20:
```
SELECT final_score FROM table_23601267_2 WHERE date = 'September 20';
``` | 36,384 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23601267_2 (final_score VARCHAR, date VARCHAR)\n\n Question: What was the score on September 20?\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_23614702_1 (main_artillery VARCHAR, warship VARCHAR)
Question: What's Blanco Encalada's main artillery?
Here is the SQLite query to answer to the question: What's ... | Here is the SQLite query to answer the question "What's Blanco Encalada's main artillery?":
```sql
SELECT main_artillery FROM table_23614702_1 WHERE warship = "Blanco Encalada";
``` | 36,385 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_1 (main_artillery VARCHAR, warship VARCHAR)\n\n Question: What's Blanco Encalada's main artillery?\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_23614702_1 (horse__power VARCHAR, warship VARCHAR)
Question: How many different horse-powers does the Cochrane have?
Here is the SQLite query to answer to the ques... | To count the number of different horse-power values for the warship "Cochrane", you should use the `DISTINCT` keyword in your query. Here is the correct SQLite query:
```
SELECT COUNT(DISTINCT horse__power) FROM table_23614702_1 WHERE warship = "Cochrane";
``` | 36,386 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_1 (horse__power VARCHAR, warship VARCHAR)\n\n Question: How many different horse-powers does the Cochrane have?\n\n... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)
Question: What warship has horse-power of 1500?
Here is the SQLite query to answer to the question: What warship... | Here is the corrected SQLite query to find the warship that has a horse-power of 1500. Since horse_power is a VARCHAR type, we should compare it with the string value '1500':
```
SELECT warship FROM table_23614702_1 WHERE horse__power = '1500'
``` | 36,387 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_1 (warship VARCHAR, horse__power VARCHAR)\n\n Question: What warship has horse-power of 1500?\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_23614702_1 (tons___lton__ INTEGER, warship VARCHAR)
Question: How much does the Independencia weight?
Here is the SQLite query to answer to the question: How much ... | Here is the SQLite query to answer the question about how much the Independencia weighs:
```
SELECT MIN(tons___lton__) FROM table_23614702_1 WHERE warship = "Independencia";
``` | 36,388 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_1 (tons___lton__ INTEGER, warship VARCHAR)\n\n Question: How much does the Independencia weight?\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_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)
Question: In how many different years was the warship that weights 1130 tons built?
Here is the SQLite query... | It looks like the current SQLite query incorrectly counts the occurrences of the built year instead of counting the distinct years. To find the number of different years in which the warship weighing 1130 tons was built, you should use `COUNT(DISTINCT built_year)`. Here is the corrected SQL query wrapped in code format... | 36,389 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_1 (built_year VARCHAR, tons___lton__ VARCHAR)\n\n Question: In how many different years was the warship that weight... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)
Question: What is every value for % 20-39 if % 60-74 is 10,46%?
Here is the SQLite query to answ... | Here is the SQLite query to answer the question regarding the values for `% 20-39` when `% 60-74` is `10,46%`:
```
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_60_74 = '10,46%'
``` | 36,390 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_60_74 VARCHAR)\n\n Question: What is every value for % 20-39 if % 60-74 ... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
Question: What is every value for % 40-59 if % 60-74 is 12,42%?
Here is the SQLite query to an... | Here is the SQLite query to answer the question about obtaining every value for % 40-59 when % 60-74 is 12,42%:
```
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = "12,42%"
``` | 36,391 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)\n\n Question: What is every value for % 40-59 if % 60-7... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)
Question: What is every value for % 20-39 if % 0-19 is 21,11%?
Here is the SQLite query to answer... | Here is the correct SQLite query to answer the specified question, wrapped in the required format:
```
SELECT _percentage_20_39 FROM table_23606500_4 WHERE _percentage_0_19 = '21,11%'
``` | 36,392 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23606500_4 (_percentage_20_39 VARCHAR, _percentage_0_19 VARCHAR)\n\n Question: What is every value for % 20-39 if % 0-19 is... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)
Question: What is every value for % 40-59 if % 60-74 is 12,40%?
Here is the SQLite query to ans... | Here is the SQLite query that answers your question:
```
SELECT _percentage_40_59 FROM table_23606500_4 WHERE _percentage_60_74 = '12,40%'
``` | 36,393 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23606500_4 (_percentage_40_59 VARCHAR, _percentage_60_74 VARCHAR)\n\n Question: What is every value for % 40-59 if % 60-74... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)
Question: How man horse power did the ship covadonga have?
Here is the SQLite query to answer to the question: H... | Here is the SQLite query to answer the question about how much horse power the ship "Covadonga" has:
```
SELECT horse__power FROM table_23614702_2 WHERE warship = "Covadonga"
``` | 36,394 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_2 (horse__power VARCHAR, warship VARCHAR)\n\n Question: How man horse power did the ship covadonga have?\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_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)
Question: What is the primary artillery for the 1,051 ships?
Here is the SQLite query to answer to the ... | Your SQLite query to find the primary artillery for the 1,051 ships looks correct. Here it is wrapped in the appropriate code block:
```
SELECT main_artillery FROM table_23614702_2 WHERE tons___lton__ = "1,051";
```
Make sure that in your actual database, the entry for `tons___lton__` matches the string "1,051" exac... | 36,395 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_2 (main_artillery VARCHAR, tons___lton__ VARCHAR)\n\n Question: What is the primary artillery for the 1,051 ships?... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)
Question: List the maximum speed for the 1.150 ton ships?
Here is the SQLite query to answer to the que... | To find the maximum speed for the 1.150 ton ships, you would need to use the `MAX` function in your SQL query. Here is the corrected version of your SQLite query:
```
SELECT MAX(speed___knots__) FROM table_23614702_2 WHERE tons___lton__ = "1.150"
```
This query will return the maximum speed recorded for ships that w... | 36,396 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_2 (speed___knots__ VARCHAR, tons___lton__ VARCHAR)\n\n Question: List the maximum speed for the 1.150 ton ships?\n\... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)
Question: List the ship with 1x115-2x70-2x12-pounders for primary artillery.
Here is the SQLite query to answe... | Here is the SQLite query to answer the question about listing the ship with 1x115-2x70-2x12-pounders for primary artillery:
```
SELECT warship FROM table_23614702_2 WHERE main_artillery = "1x115-2x70-2x12-pounders";
``` | 36,397 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23614702_2 (warship VARCHAR, main_artillery VARCHAR)\n\n Question: List the ship with 1x115-2x70-2x12-pounders for primary a... | |
Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:
Schema: CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)
Question: Which location has the date of October 28?
Here is the SQLite query to answer to the question: Which location... | Your SQLite query to find which location has the date of October 28 is correctly formulated. Here it is wrapped in the appropriate markdown:
```
SELECT location FROM table_23612439_2 WHERE date = "October 28";
``` | 36,398 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (location VARCHAR, date VARCHAR)\n\n Question: Which location has the date of October 28?\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_23612439_2 (final_score VARCHAR, attendance VARCHAR)
Question: What is the final score when 22210 is the attendance?
Here is the SQLite query to answer to the ques... | Here is the SQLite query to answer the question about the final score when the attendance is 22210:
```sql
SELECT final_score FROM table_23612439_2 WHERE attendance = '22210'
``` | 36,399 | [
{
"from": "human",
"value": " Write SQLite query to answer the following question given the database schema. Please wrap your code answer using ```:\n Schema: CREATE TABLE table_23612439_2 (final_score VARCHAR, attendance VARCHAR)\n\n Question: What is the final score when 22210 is the attendance?\n\n... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.