1sf/bird-sql-train-with-schema huggingface dataset:
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: Give the title and the characters name of the most recent work of Shakespeare.
Evidence: characters name refers to CharName; most recent work refers to max(Date)
SQL: SELECT T1.Title, T4.CharName 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 ORDER BY T1.Date DESC LIMIT 1
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: Among paragraphs with paragraph number between 1900 to 1950, list the texts said by a character described as a sea captain, friend to Sebatian.
Evidence: paragraph number between 1900 to 1950 refers to ParagraphNum > = 1500 AND ParagraphNum < = 1950; texts refers to PlainText; a character described as a sea captain, friend to Sebatian refers to characters.Description = 'a sea captain, friend to Sebastian'
SQL: SELECT T1.description FROM characters AS T1 INNER JOIN paragraphs AS T2 ON T1.id = T2.character_id WHERE T2.PlainText = 'a sea captain, friend to Sebastian' AND T2.ParagraphNum BETWEEN 1500 AND 1950
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: What is the long title of the Shakespeare's work with Act 4 Scene 5 described as "Mytilene. A street before the brothel."?
Evidence: described as "Mytilene. A street before the brothel." refers to chapters.Description = 'Mytilene. A street before the brothel.'
SQL: SELECT T1.LongTitle FROM works AS T1 RIGHT JOIN chapters AS T2 ON T1.id = T2.work_id WHERE T2.Description = 'Mytilene. A street before the brothel.'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: Who is the character that said "This is Illyria, lady."?
Evidence: character refers to CharName; "This is Illyria, lady." refers to PlainText = 'This is Illyria, lady.'
SQL: SELECT T1.CharName FROM characters AS T1 INNER JOIN paragraphs AS T2 ON T1.id = T2.character_id WHERE T2.PlainText = 'This is Illyria, lady.'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: In Shakespeare's works between 1600 to 1610, how many of these have a character as a "Third Servingman"?
Evidence: between 1600 to 1610 refers to DATE > = 1600 AND DATE < = 1610; "Third Servingman" refers to CharName = 'Third Servingman'
SQL: SELECT COUNT(DISTINCT T2.work_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.DATE BETWEEN 1600 AND 1610 AND T4.CharName = 'Third Servingman'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: In the Venus and Adonis, what is the description of the last scene listed?
Evidence: Venus and Adonis refers to Title = 'Venus and Adonis'; last scene refers to max(Scene)
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
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: In Act 1 Scene 2 of the Twelfth Night, what is the total number of of lines said by Viola?
Evidence: Twelfth Night refers to Title = 'Twelfth Night'; total number of lines said by Viola refers to count(character_id) where CharName = 'Viola'
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'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: What is the character and work ID of the text "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.'
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.'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: What is the chapter description where the paragraph "What, wilt thou hear some music, my sweet love?" belongs?
Evidence: paragraph "What, wilt thou hear some music, my sweet love?" refers to  PlainText = 'What, wilt thou hear some music, my sweet love?'
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?'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: List the scene numbers involving the character named Sir Toby Belch in the 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'
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'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: In Shakespeare's works before 1600, list down the title of the tragic story he had written that involved a character named "Tybalt".
Evidence: works before 1600 refers to DATE < 1600; tragic story refers to GenreType = 'Tragedy'; character named "Tybalt" refers to CharName = 'Tybalt'
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'
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: List the chapter ID of the works with a year greater than the 89% of average year of all listed works of Shakespeare.
Evidence: a year greater than the 89% of average year refers to DATE > multiply(divide(SUM(DATE) , COUNT(DATE)), 0.89)
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
Database: shakespeare
Tables: chapters, characters, paragraphs, works
Columns (table index, column name): -1, *, 0, id, 0, Act, 0, Scene, 0, Description, 0, work_id, 1, id, 1, CharName, 1, Abbrev, 1, Description, 2, id, 2, ParagraphNum, 2, PlainText, 2, character_id, 2, chapter_id, 3, id, 3, Title, 3, LongTitle, 3, Date, 3, GenreType
Question: Among the comedy works of Shakespeare, what is the percentage of his works with a character named "antonio"?
Evidence: comedy works refers to GenreType = 'Comedy'; a character named "antonio" refers to CharName = 'antonio'; percentage = divide(sum(CharName = 'Antonio'), count(CharName)) as percentage
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'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Among the cars with 8 cylinders, what is the name of the one that's the most expensive?
Evidence: with 8 cylinders refers to cylinders = 8; name of the car refers to car_name; the most expensive refers to max(price)
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
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Among the cars over 3000lbs, how many of them cost less than $30000?
Evidence: over 3000lbs refers to weight > 3000; cost less than $30000 refers to price < 30000
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
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What is the acceleration of the most expensive car?
Evidence: the most expensive refers to max(price)
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
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: How much US dollars does a Ford Torino cost?
Evidence: cost refers to price; Ford Torino refers to car_name = 'ford torino'
SQL: SELECT T2.price FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.car_name = 'ford torino'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What was the origin country of the car model ford torino produced in 1970?
Evidence: origin country refers to country; Ford Torino refers to car_name = 'ford torino'; produced in 1970 refers to model_year = 1970
SQL: SELECT T3.country FROM data AS T1 INNER JOIN production AS T2 ON T1.ID = T2.ID INNER JOIN country AS T3 ON T3.origin = T2.country WHERE T1.car_name = 'ford torino' AND T2.model_year = 1970
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Among the car models introduced in the market in 1970, how many of them have the USA as their origin country?
Evidence: introduced in the market in 1970 refers to model_year = 1970; have the USA as origin country refers to country = 'USA'
SQL: SELECT COUNT(*) FROM production AS T1 INNER JOIN country AS T2 ON T1.country = T2.origin WHERE T1.model_year = 1970 AND T2.country = 'USA'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Please list the names of all the car models whose origin country is the USA.
Evidence: name of car model refers to car_name; origin country is the USA refers to country = 'USA'
SQL: SELECT DISTINCT T1.car_name FROM data AS T1 INNER JOIN production AS T2 ON T1.ID = T2.ID INNER JOIN country AS T3 ON T2.country = T3.origin WHERE T3.country = 'USA'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Please list the names of the top 3 most expensive cars.
Evidence: name of the car refers to car_name; the most expensive refers to max(price)
SQL: SELECT T1.car_name FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID ORDER BY T2.price DESC LIMIT 3
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Please list all the years in which the car model Chevrolet Impala was introduced in the market.
Evidence: year refers to model_year; Chevrolet Impala refers to car_name = 'chevrolet impala'
SQL: SELECT DISTINCT T1.model_year FROM production AS T1 INNER JOIN data AS T2 ON T1.ID = T2.ID WHERE T2.car_name = 'chevrolet impala'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Among the cars with an acceleration of over 10 miles per squared hour, how many of them cost more than $20000 and less than $30000?
Evidence: an acceleration of over 10 miles per squared hour refers to acceleration > 10; cost more than $20000 and less than $30000 refers to price < 30000 AND price > 20000
SQL: SELECT COUNT(*) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.acceleration > 10 AND T2.price BETWEEN 20000 AND 30000
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Please list the weights of all the cars with the price over $40000.
Evidence: price over $40000 refers to price > 40000
SQL: SELECT T1.weight FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T2.price > 40000
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What is the maximum acceleration of a car with price over $40000?
Evidence: the maximum acceleration refers to max(acceleration); price over $40000 refers to price > 40000
SQL: SELECT MAX(T1.acceleration) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T2.price > 40000
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What is the average price of cars with 8 cylinders?
Evidence: with 8 cylinders refers to cylinders = 8; average price = avg(price) where cylinders = 8
SQL: SELECT AVG(T2.price) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.cylinders = 8
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What is the maximum sweep volume of a car that costs less than $30000?
Evidence: cost less than $30000 refers to price < 30000; the maximum sweep volume = max(divide(displacement, cylinders)) where price < 30000
SQL: SELECT MAX(T1.displacement / T1.cylinders) FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T2.price < 30000
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: How many cars in the database are originated from Europe?
Evidence: originated from Europe refers to country = 'Europe'
SQL: SELECT COUNT(*) FROM production AS T1 INNER JOIN country AS T2 ON T1.country = T2.origin WHERE T2.country = 'Europe'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Show the origin country of Chevrolet Malibu.
Evidence: origin country refers to country; Chevrolet Malibu refers to car_name = 'chevrolet malibu'
SQL: SELECT T3.country FROM data AS T1 INNER JOIN production AS T2 ON T1.ID = T2.ID INNER JOIN country AS T3 ON T3.origin = T2.country WHERE T1.car_name = 'chevrolet malibu'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: What are the miles per gallon of the most expensive car?
Evidence: miles per gallon refers to mpg; the most expensive refers to max(price)
SQL: SELECT T1.mpg FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID ORDER BY T2.price DESC LIMIT 1
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Tell the origin country of car no.382.
Evidence: origin country refers to country; car no.382 refers to ID = 382
SQL: SELECT DISTINCT T2.country FROM production AS T1 INNER JOIN country AS T2 ON T1.country = T2.origin WHERE T1.ID = 382
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Which is the origin country of the $44274.40748 car?
Evidence: origin country refers to country; the $44274.40748 car refers to price = 44274.40748
SQL: SELECT T3.country FROM price AS T1 INNER JOIN production AS T2 ON T1.ID = T2.ID INNER JOIN country AS T3 ON T3.origin = T2.country WHERE T1.price = 44274.40748
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: How much is the Volkswagen Dasher with 14.1 mph acceleration?
Evidence: cost refers to price; Volkswagen Dasher refers to car_name = 'volkswagen dasher'; 14.1 mph acceleration refers to acceleration = 14.1
SQL: SELECT T2.price FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.car_name = 'volkswagen dasher' AND T1.acceleration = '14.1'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Provide the engine displacement status of the $37443.85589 car.
Evidence: engine displacement status refers to displacement; the $37443.85589 car refers to price = 37443.85589
SQL: SELECT T1.displacement FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T2.price = '37443.85589'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: When was the $32650.65157 car introduced to the market? State the year.
Evidence: the $32650.65157 car refers to price = 32650.65157; year refers to model
SQL: SELECT T1.model FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T2.price = '32650.65157'
Database: cars
Tables: country, price, data, production
Columns (table index, column name): -1, *, 0, origin, 0, country, 1, ID, 1, price, 2, ID, 2, mpg, 2, cylinders, 2, displacement, 2, horsepower, 2, weight, 2, acceleration, 2, model, 2, car_name, 3, ID, 3, model_year, 3, country
Question: Provide the price of the only Toyota Corona hardtop in the database.
Evidence: Toyota Corona hardtop refers to car_name = 'toyota corona hardtop'
SQL: SELECT T2.price FROM data AS T1 INNER JOIN price AS T2 ON T1.ID = T2.ID WHERE T1.car_name = 'toyota corona hardtop'