Database: book_2

Question: List the publisher of the publication with the highest price.
SQL: SELECT Publisher FROM publication ORDER BY Price DESC LIMIT 1

Question: List the publication dates of publications with 3 lowest prices.
SQL: SELECT Publication_Date FROM publication ORDER BY Price ASC LIMIT 3

Question: Show writers who have published a book with price more than 4000000.
SQL: SELECT T1.Writer FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID  =  T2.Book_ID WHERE T2.Price  >  4000000

Question: Show the titles of books in descending order of publication price.
SQL: SELECT T1.Title FROM book AS T1 JOIN publication AS T2 ON T1.Book_ID  =  T2.Book_ID ORDER BY T2.Price DESC

Question: Show publishers that have more than one publication.
SQL: SELECT Publisher FROM publication GROUP BY Publisher HAVING COUNT(*)  >  1

Question: Please show the most common publication date.
SQL: SELECT Publication_Date FROM publication GROUP BY Publication_Date ORDER BY COUNT(*) DESC LIMIT 1

Question: List the writers who have written more than one book.
SQL: SELECT Writer FROM book GROUP BY Writer HAVING COUNT(*)  >  1

Question: List the titles of books that are not published.
SQL: SELECT Title FROM book WHERE Book_ID NOT IN (SELECT Book_ID FROM publication)

Question: Show the publishers that have publications with price higher than 10000000 and publications with price lower than 5000000.
SQL: SELECT Publisher FROM publication WHERE Price  >  10000000 INTERSECT SELECT Publisher FROM publication WHERE Price  <  5000000