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: What are the city addresses of the customers located in the United States of America?
Evidence: "United States of America" is the country_name
SQL: SELECT DISTINCT T2.city FROM country AS T1 INNER JOIN address AS T2 ON T1.country_id = T2.country_id WHERE T1.country_name = 'United States of America'
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 did Marcelia Goering place in 2021 that uses the Priority Shipping method?
Evidence: in 2021 refers to substr(order_date, 1, 4) = '2021'; priority shipping method refers to method_name = 'Priority'
SQL: SELECT COUNT(*) FROM customer AS T1 INNER JOIN cust_order AS T2 ON T1.customer_id = T2.customer_id INNER JOIN shipping_method AS T3 ON T3.method_id = T2.shipping_method_id WHERE T1.first_name = 'Marcelia' AND T1.last_name = 'Goering' AND STRFTIME('%Y', T2.order_date) = '2021' AND T3.method_name = 'Priority'
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 books have the most expensive price?
Evidence: most expensive book refers to Max(price)
SQL: SELECT T2.title FROM order_line AS T1 INNER JOIN book AS T2 ON T1.book_id = T2.book_id ORDER BY T1.price 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 customers ordered the book titled "Anleitung zum Zickigsein"
Evidence: "Anleitung zum Zickigsein" is the title of the book
SQL: SELECT COUNT(*) FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id WHERE T1.title = 'Anleitung zum Zickigsein'
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 expensive price paid by a customer for the book "Bite Me If You Can (Argeneau #6)"?
Evidence: "Bite Me If You Can (Argeneau #6)" is the title of the book; most expensive price refers to Max(price)
SQL: SELECT MAX(T2.price) FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id WHERE T1.title = 'Bite Me If You Can (Argeneau #6)'
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 ordered the oldest book?
Evidence: oldest book refers to Min(publiation_date)
SQL: SELECT COUNT(*) FROM book AS T1 INNER JOIN order_line AS T2 ON T1.book_id = T2.book_id GROUP BY T1.publication_date ORDER BY T1.publication_date ASC 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: List all the titles of the Spanish books published by Alfaguara.
Evidence: "Spanish" is the language_name; 'Alfaguara' is the publisher_name
SQL: SELECT T2.title FROM book_language AS T1 INNER JOIN book AS T2 ON T2.language_id = T1.language_id INNER JOIN publisher AS T3 ON T3.publisher_id = T2.publisher_id WHERE T1.language_name = 'Spanish' AND T3.publisher_name = 'Alfaguara' GROUP BY T2.title
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 ordered Stephen King's first book?
Evidence: "Stephen King" is the author_name; first book refers to Min(publication_date)
SQL: SELECT COUNT(T1.publication_date) 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 order_line AS T4 ON T4.book_id = T1.book_id WHERE T3.author_name = 'Stephen King' ORDER BY T1.publication_date ASC 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 are the languages of the first two published books?
Evidence: first two published book refers to Min(publication_date); language refers to language_name
SQL: SELECT T2.language_name FROM book AS T1 INNER JOIN book_language AS T2 ON T1.language_id = T2.language_id ORDER BY T1.publication_date ASC LIMIT 2
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 published the book "The Secret Garden"?
Evidence: "The Secret Garden" is the title of the book; who published the book refers to publisher_name
SQL: SELECT DISTINCT T2.publisher_name FROM book AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.publisher_id WHERE T1.title = 'The Secret Garden'
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: Among the books that were published by Scholastic, how many were written by J.K Rowling?
Evidence: "J.K Rowling" is the author_name; 'Scholastic' is the publisher_name
SQL: SELECT COUNT(*) FROM book AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.publisher_id INNER JOIN book_author AS T3 ON T3.book_id = T1.book_id INNER JOIN author AS T4 ON T4.author_id = T3.author_id WHERE T2.publisher_name = 'Scholastic' AND T4.author_name = 'J.K. Rowling'
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 are the names of all the publishers who have published at least 30 books?
Evidence: published at least 30 books refers to Count(book_id) > = 30
SQL: SELECT T2.publisher_name FROM book AS T1 INNER JOIN publisher AS T2 ON T1.publisher_id = T2.publisher_id GROUP BY T2.publisher_name HAVING COUNT(T2.publisher_name) >= 30
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: Indicate the last number of each street.
Evidence: street refers to street_name; last number of each street refers to Substr (street_number, -1)
SQL: SELECT street_number FROM address
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: Indicate the complete address of customers located in Lazaro Cardenas.
Evidence: complete address refers to street_number, street_name, city, country; "Lazaro Cardenas" is the city
SQL: SELECT street_number, street_name, city, country_id FROM address WHERE city = 'Lazaro Cardenas'
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: Indicate the ISBN13 of all the books that have less than 140 pages and more than 135.
Evidence: ISBN13 refers to isbn13; less than 140 pages and more than 135 refers to num_pages > 135 AND num_pages < 140;
SQL: SELECT isbn13 FROM book WHERE num_pages < 140 AND num_pages > 135
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: Indicate the title of the six books with the greatest potential value as collectibles.
Evidence: greatest potential value refers to Min(publication_date)
SQL: SELECT title FROM book ORDER BY publication_date ASC LIMIT 6
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 ordered in the last month of the year 2020?
Evidence: ordered in last month of the year 2020 refers to Substr(order_date, 1, 7) = '2020-12'
SQL: SELECT COUNT(*) FROM cust_order WHERE order_date LIKE '2020-12%'
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: Indicate the full name of all customers whose last name begins with the letter K.
Evidence: full name refers to first_name, last_name; last name begin with the letter 'K' refers to last_name LIKE 'K%'
SQL: SELECT first_name, last_name FROM customer WHERE last_name LIKE 'K%'