1sf/bird-sql-train-with-schema huggingface dataset:
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Count the number of books written by Orson Scott Card.
Evidence: "Orson Scott Card" is the author_name
SQL: SELECT COUNT(*) FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id WHERE T3.author_name = 'Orson Scott Card'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Provide the authors and titles of the books which have more than 3000 pages.
Evidence: authors refers to author_name; more than 3000 pages refers to num_pages > 3000
SQL: SELECT T3.author_name, T1.title FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id WHERE T1.num_pages > 3000
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Who wrote "The Prophet"?
Evidence: "The Prophet" is the title of the book: who wrote refers to author_name
SQL: SELECT T3.author_name FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id WHERE T1.title = 'The Prophet'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many books were published by Ace Hardcover?
Evidence: "Ace Hardcover" is the publisher_name
SQL: SELECT COUNT(*) FROM book AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.publisher_id WHERE T2.publisher_name = 'Ace Hardcover'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Which publisher published Barry Eisler's book?
Evidence: "Barry Eisler" is the author_name; publisher refers to publisher_name
SQL: SELECT T4.publisher_name FROM book AS T1 INNER JOIN book_author AS T2 ON T1.book_id = T2.book_id INNER JOIN author AS T3 ON T3.author_id = T2.author_id INNER JOIN publisher AS T4 ON T4.publisher_id = T1.publisher_id WHERE T3.author_name = 'Barry Eisler'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many books were published in Japanese?
Evidence: published in Japanese refers to language_name = 'Japanese'
SQL: SELECT COUNT(T2.book_id) FROM book_language AS T1 INNER JOIN book AS T2 ON T1.language_id = T2.language_id WHERE T1.language_name = 'Japanese'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Sum the total price of the orders for The Prophet book.
Evidence: "The Prophet" is the title of the book: total price refers to Sum(price)
SQL: SELECT SUM(T1.price) FROM order_line AS T1 INNER JOIN book AS T2 ON T1.book_id = T2.book_id WHERE T2.title = 'The Prophet'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Provide the number of orders by Daisey Lamball in 2021.
Evidence: in 2021 refers to order_date LIKE '2021%'
SQL: SELECT COUNT(*) FROM cust_order AS T1 INNER JOIN customer AS T2 ON T1.customer_id = T2.customer_id WHERE T2.first_name = 'Daisey' AND T2.last_name = 'Lamball' AND STRFTIME('%Y', T1.order_date) = '2021'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many customers are from Australia?
Evidence: "Australia" is the country_name;
SQL: SELECT COUNT(*) FROM customer_address AS T1 INNER JOIN address AS T2 ON T2.address_id = T1.address_id INNER JOIN country AS T3 ON T3.country_id = T2.country_id WHERE T3.country_name = 'Australia'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many orders were delivered in December 2019?
Evidence: delivered refers to status_value = 'Delivered'; in December 2019 refers to status_date LIKE '2019-12%'
SQL: SELECT COUNT(*) FROM order_status AS T1 INNER JOIN order_history AS T2 ON T1.status_id = T2.status_id WHERE T1.status_value = 'Delivered' AND STRFTIME('%Y', T2.status_date) = '2019'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Provide the customers' names who ordered the Fantasmas.
Evidence: "Fantasmas" is the title of the book; customer names refers to first_name, last_name
SQL: SELECT T4.first_name, T4.last_name FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id INNER JOIN cust_order AS T3 ON T3.order_id = T2.order_id INNER JOIN customer AS T4 ON T4.customer_id = T3.customer_id WHERE T1.title = 'Fantasmas'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many percent of orders in 2020 used international shipping?
Evidence: international shipping refers to method_name = 'International'; orders in 2020 refers to order_date = '2020%'; percentage = Divide (Sum(method_name = 'International'), Count(order_id)) * 100
SQL: SELECT CAST(SUM(CASE WHEN T2.method_name = 'International' THEN 1 ELSE 0 END) AS REAL) * 100 / COUNT(*) FROM cust_order AS T1 INNER JOIN shipping_method AS T2 ON T1.shipping_method_id = T2.method_id WHERE STRFTIME('%Y', T1.order_date) = '2020'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: List all the authors named "George".
Evidence: author named 'George' refers to author_name = 'George%'
SQL: SELECT author_name FROM author WHERE author_name LIKE 'George%'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: Which year has the most customer orders?
Evidence: year with the most customer orders refers to Max(count(order_id))
SQL: SELECT strftime('%Y', order_date) FROM cust_order GROUP BY strftime('%Y', order_date) ORDER BY COUNT(strftime('%Y', order_date)) DESC LIMIT 1
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: What is the average price for the order line?
Evidence: average price refers to AVG(price)
SQL: SELECT AVG(price) FROM order_line
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: List all of the books that were published in 1995.
Evidence: published in 1995 refers to publication_date LIKE '1995%'; ; list of book refers to title
SQL: SELECT title FROM book WHERE STRFTIME('%Y', publication_date) = '1995'
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: What is the most common domain for the email address among all the customers?
Evidence: most common domain for the email refers to Max(Count(SUBSTR(email, CHARINDEX('@', email) + 1, length(email) - charindex('@', email))))
SQL: SELECT SUBSTR(email, INSTR(email, '@') + 1, LENGTH(email) - INSTR(email, '@')) AS ym FROM customer GROUP BY SUBSTR(email, INSTR(email, '@') + 1, LENGTH(email) - INSTR(email, '@')) ORDER BY COUNT(*) DESC LIMIT 1
Database: books
Tables: address_status, author, book_language, country, address, customer, customer_address, order_status, publisher, book, book_author, shipping_method, cust_order, order_history, order_line
Columns (table index, column name): -1, *, 0, status_id, 0, address_status, 1, author_id, 1, author_name, 2, language_id, 2, language_code, 2, language_name, 3, country_id, 3, country_name, 4, address_id, 4, street_number, 4, street_name, 4, city, 4, country_id, 5, customer_id, 5, first_name, 5, last_name, 5, email, 6, customer_id, 6, address_id, 6, status_id, 7, status_id, 7, status_value, 8, publisher_id, 8, publisher_name, 9, book_id, 9, title, 9, isbn13, 9, language_id, 9, num_pages, 9, publication_date, 9, publisher_id, 10, book_id, 10, author_id, 11, method_id, 11, method_name, 11, cost, 12, order_id, 12, order_date, 12, customer_id, 12, shipping_method_id, 12, dest_address_id, 13, history_id, 13, order_id, 13, status_id, 13, status_date, 14, line_id, 14, order_id, 14, book_id, 14, price
Question: How many publishers have the word "book" in their name?
Evidence: publisher have the word 'book' refers to publisher_name LIKE '%book%'
SQL: SELECT COUNT(*) FROM publisher WHERE publisher_name LIKE '%book%'