Book1 (id, title, authors, pubyear, pubmonth, pubday, edition, publisher, isbn13, language, series, pages) Book2 (id,_bo
Posted: Thu Jun 02, 2022 8:23 am
Question 1: [2 marks] Given four datasets that are stored in one relational database as separate relations. (1) Write an SQL query "Find the top 5 books that have the highest ratings and 5 books that have the lowest ratings, return their SalesRank (sorted in descending order), titles, publishers, and number of pages". (2) Which table schema(s) is/are used to answer the above query?