QIAN-ME/bird_schema_data huggingface dataset:
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    In the Venus and Adonis, what is the description of the last scene listed? Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)

    【Evidence】
    Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.Description FROM works AS T1 RIGHT JOIN chapters AS T2 ON T1.id = T2.work_id WHERE T1.Title = 'Venus and Adonis' ORDER BY T2.Scene DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    In Act 1 Scene 2 of the Twelfth Night, what is the total number of of lines said by Viola? Twelfth Night refers to Title = 'Twelfth Night'; total number of lines said by Viola refers to count(character_id) where CharName = 'Viola'

    【Evidence】
    Twelfth Night refers to Title = 'Twelfth Night'; total number of lines said by Viola refers to count(character_id) where CharName = 'Viola'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T4.id) FROM works AS T1 INNER JOIN chapters AS T2 ON T1.id = T2.work_id INNER JOIN paragraphs AS T3 ON T2.id = T3.chapter_id INNER JOIN characters AS T4 ON T3.character_id = T4.id WHERE T2.Act = 1 AND T2.Scene = 2 AND T4.id = 1238 AND T4.CharName = 'Viola' AND T1.Title = 'Twelfth Night'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    What is the character and work ID of the text "Fear not thou, man, thou shalt lose nothing here."? character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'

    【Evidence】
    character refers to chapter_id; text "Fear not thou, man, thou shalt lose nothing here."  refers to PlainText = 'Fear not thou, man, thou shalt lose nothing here.'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.character_id, T1.work_id FROM chapters AS T1 INNER JOIN paragraphs AS T2 ON T1.id = T2.chapter_id WHERE T2.PlainText = 'Fear not thou, man, thou shalt lose nothing here.'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    What is the chapter description where the paragraph "What, wilt thou hear some music, my sweet love?" belongs? paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'

    【Evidence】
    paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.id, T1.Description FROM chapters AS T1 INNER JOIN paragraphs AS T2 ON T1.id = T2.chapter_id WHERE T2.PlainText = 'What, wilt thou hear some music, my sweet love?'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    List the scene numbers involving the character named Sir Toby Belch in the Twelfth Night. scene numbers refers to Scene; character named Sir Toby Belch refers to CharName = 'Sir Toby Belch'; in the Twelfth Night refers to Title = 'Twelfth Night'

    【Evidence】
    scene numbers refers to Scene; character named Sir Toby Belch refers to CharName = 'Sir Toby Belch'; in the Twelfth Night refers to Title = 'Twelfth Night'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT DISTINCT T2.Scene FROM works AS T1 INNER JOIN chapters AS T2 ON T1.id = T2.work_id INNER JOIN paragraphs AS T3 ON T2.id = T3.chapter_id INNER JOIN characters AS T4 ON T3.character_id = T4.id WHERE T1.Title = 'Twelfth Night' AND T4.CharName = 'Sir Toby Belch'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    In Shakespeare's works before 1600, list down the title of the tragic story he had written that involved a character named "Tybalt". works before 1600 refers to DATE < 1600; tragic story refers to GenreType = 'Tragedy'; character named "Tybalt" refers to CharName = 'Tybalt'

    【Evidence】
    works before 1600 refers to DATE < 1600; tragic story refers to GenreType = 'Tragedy'; character named "Tybalt" refers to CharName = 'Tybalt'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT DISTINCT T1.title FROM works AS T1 INNER JOIN chapters AS T2 ON T1.id = T2.work_id INNER JOIN paragraphs AS T3 ON T2.id = T3.chapter_id INNER JOIN characters AS T4 ON T3.character_id = T4.id WHERE T1.DATE < 1600 AND T1.GenreType = 'Tragedy' AND T4.CharName = 'Tybalt'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    List the chapter ID of the works with a year greater than the 89% of average year of all listed works of Shakespeare. a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)

    【Evidence】
    a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.id FROM works AS T1 INNER JOIN chapters AS T2 ON T1.id = T2.work_id WHERE T1.DATE > ( SELECT AVG(DATE) FROM works ) * 0.89
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 shakespeare
【Schema】
# Table: works
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(Title:TEXT, Examples: [Twelfth Night]),
(LongTitle:TEXT, Examples: [Twelfth Night, Or What You Will]),
(Date:INTEGER, Examples: [1599, 1602, 1606]),
(GenreType:TEXT, Examples: [Comedy, Tragedy, History])
]
# Table: characters
[
(id:INTEGER, Primary Key, Examples: [1, 2, 3]),
(CharName:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Abbrev:TEXT, Examples: [First Apparition, First Citizen, First Conspirator]),
(Description:TEXT, Examples: [A senator of Venice])
]
# Table: paragraphs
[
(id:INTEGER, Primary Key, Examples: [630863, 630864, 630865]),
(ParagraphNum:INTEGER, Examples: [3, 4, 19]),
(PlainText:TEXT),
(character_id:INTEGER, Examples: [1261, 840, 297]),
(chapter_id:INTEGER, Examples: [18704, 18705, 18706])
]
# Table: chapters
[
(id:INTEGER, Primary Key, Examples: [18704, 18705, 18706]),
(Act:INTEGER, Examples: [1, 2, 3]),
(Scene:INTEGER, Examples: [1, 2, 3]),
(Description:TEXT, Examples: [DUKE ORSINO’s palace.]),
(work_id:INTEGER, Examples: [1, 2, 3])
]
【Foreign keys】
paragraphs.chapter_id=chapters.id
paragraphs.character_id=characters.id
chapters.work_id=works.id

    【Question】
    Among the comedy works of Shakespeare, what is the percentage of his works with a character named "antonio"? comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage

    【Evidence】
    comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT CAST(SUM(IIF(T4.CharName = 'antonio', 1, 0)) AS REAL) * 100 / COUNT(T1.id) FROM works AS T1 INNER JOIN chapters AS T2 ON T1.id = T2.work_id INNER JOIN paragraphs AS T3 ON T2.id = T3.chapter_id INNER JOIN characters AS T4 ON T3.character_id = T4.id WHERE T1.GenreType = 'Comedy'
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cars
【Schema】
# Table: data
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(mpg:REAL, Examples: [18.0, 15.0, 16.0]),
(cylinders:INTEGER, Examples: [8, 4, 6]),
(displacement:REAL, Examples: [307.0, 350.0, 318.0]),
(horsepower:INTEGER, Examples: [130, 165, 150]),
(weight:INTEGER, Examples: [3504, 3693, 3436]),
(acceleration:REAL, Examples: [12.0, 11.5, 11.0]),
(model:INTEGER, Examples: [70, 71, 72]),
(car_name:TEXT, Examples: [chevrolet chevelle malibu])
]
# Table: country
[
(origin:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country:TEXT, Examples: [USA, Europe, Japan])
]
# Table: price
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(price:REAL, Examples: [25561.59078, 24221.42273, 27240.84373])
]
# Table: production
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(model_year:INTEGER, Primary Key, Examples: [1970, 1971, 1972]),
(country:INTEGER, Examples: [1, 3, 2])
]
【Foreign keys】
data.ID=price.ID
production.country=country.origin
production.ID=data.ID
production.ID=price.ID

    【Question】
    Among the cars with 8 cylinders, what is the name of the one that's the most expensive? with 8 cylinders refers to cylinders = 8; name of the car refers to car_name; the most expensive refers to max(price)

    【Evidence】
    with 8 cylinders refers to cylinders = 8; name of the car refers to car_name; the most expensive refers to max(price)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.car_name FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.cylinders = 8 ORDER BY T2.price DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cars
【Schema】
# Table: data
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(mpg:REAL, Examples: [18.0, 15.0, 16.0]),
(cylinders:INTEGER, Examples: [8, 4, 6]),
(displacement:REAL, Examples: [307.0, 350.0, 318.0]),
(horsepower:INTEGER, Examples: [130, 165, 150]),
(weight:INTEGER, Examples: [3504, 3693, 3436]),
(acceleration:REAL, Examples: [12.0, 11.5, 11.0]),
(model:INTEGER, Examples: [70, 71, 72]),
(car_name:TEXT, Examples: [chevrolet chevelle malibu])
]
# Table: country
[
(origin:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country:TEXT, Examples: [USA, Europe, Japan])
]
# Table: price
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(price:REAL, Examples: [25561.59078, 24221.42273, 27240.84373])
]
# Table: production
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(model_year:INTEGER, Primary Key, Examples: [1970, 1971, 1972]),
(country:INTEGER, Examples: [1, 3, 2])
]
【Foreign keys】
data.ID=price.ID
production.country=country.origin
production.ID=data.ID
production.ID=price.ID

    【Question】
    Among the cars over 3000lbs, how many of them cost less than $30000? over 3000lbs refers to weight > 3000; cost less than $30000 refers to price < 30000

    【Evidence】
    over 3000lbs refers to weight > 3000; cost less than $30000 refers to price < 30000

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT COUNT(T1.car_name) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.weight > 3000 AND T2.price < 30000
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cars
【Schema】
# Table: data
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(mpg:REAL, Examples: [18.0, 15.0, 16.0]),
(cylinders:INTEGER, Examples: [8, 4, 6]),
(displacement:REAL, Examples: [307.0, 350.0, 318.0]),
(horsepower:INTEGER, Examples: [130, 165, 150]),
(weight:INTEGER, Examples: [3504, 3693, 3436]),
(acceleration:REAL, Examples: [12.0, 11.5, 11.0]),
(model:INTEGER, Examples: [70, 71, 72]),
(car_name:TEXT, Examples: [chevrolet chevelle malibu])
]
# Table: country
[
(origin:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country:TEXT, Examples: [USA, Europe, Japan])
]
# Table: price
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(price:REAL, Examples: [25561.59078, 24221.42273, 27240.84373])
]
# Table: production
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(model_year:INTEGER, Primary Key, Examples: [1970, 1971, 1972]),
(country:INTEGER, Examples: [1, 3, 2])
]
【Foreign keys】
data.ID=price.ID
production.country=country.origin
production.ID=data.ID
production.ID=price.ID

    【Question】
    What is the acceleration of the most expensive car? the most expensive refers to max(price)

    【Evidence】
    the most expensive refers to max(price)

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T1.acceleration FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID ORDER BY T2.price DESC LIMIT 1
You are now a sqlite data analyst, and you are given a database schema as follows:

    【Schema】
    【DB_ID】 cars
【Schema】
# Table: data
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(mpg:REAL, Examples: [18.0, 15.0, 16.0]),
(cylinders:INTEGER, Examples: [8, 4, 6]),
(displacement:REAL, Examples: [307.0, 350.0, 318.0]),
(horsepower:INTEGER, Examples: [130, 165, 150]),
(weight:INTEGER, Examples: [3504, 3693, 3436]),
(acceleration:REAL, Examples: [12.0, 11.5, 11.0]),
(model:INTEGER, Examples: [70, 71, 72]),
(car_name:TEXT, Examples: [chevrolet chevelle malibu])
]
# Table: country
[
(origin:INTEGER, Primary Key, Examples: [1, 2, 3]),
(country:TEXT, Examples: [USA, Europe, Japan])
]
# Table: price
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(price:REAL, Examples: [25561.59078, 24221.42273, 27240.84373])
]
# Table: production
[
(ID:INTEGER, Primary Key, Examples: [1, 2, 3]),
(model_year:INTEGER, Primary Key, Examples: [1970, 1971, 1972]),
(country:INTEGER, Examples: [1, 3, 2])
]
【Foreign keys】
data.ID=price.ID
production.country=country.origin
production.ID=data.ID
production.ID=price.ID

    【Question】
    How much US dollars does a Ford Torino cost? cost refers to price; Ford Torino refers to car_name = 'ford torino'

    【Evidence】
    cost refers to price; Ford Torino refers to car_name = 'ford torino'

    Please read and understand the database schema carefully, and generate an executable SQL based on the user's question and evidence. 

SQL: SELECT T2.price FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.car_name = 'ford torino'