INSERT INTO book (id, author_id, title, publish_year, publishing_house, rating)
VALUES (1, 1, '1984', 1949, 'Secker & Warburg', 4.8), (2, 2, 'Harry Potter and the Philosopher\'s Stone', 1997, 'Bloomsbury', 4.7), (3, 3, 'The Hobbit', 1937, 'George Allen & Unwin', 4.6);
INSERT INTO adaptation (book_id, type, title, release_year, rating) VALUES
(1, 'Movie', '1984', 1984, 4.2), (2, 'Movie', 'Harry Potter and the Philosopher\'s Stone', 2001, 4.5), (3, 'Movie', 'The Hobbit', 2012, 3.9);
INSERT INTO book_review (book_id, review, author) VALUES
(1, 'A dystopian novel that remains relevant today.', 'John Doe'), (2, 'A magical journey that captivated readers worldwide.', 'Jane Smith'), (3, 'An epic fantasy adventure that defines the genre.', 'Sam Brown'); SELECT a.name AS Author, b.title AS Book_Title, b.publish_year AS Publish_Year FROM author a JOIN book b ON a.id = b.author_id;
SELECT a.name AS Author, b.title AS Book_Title, b.publish_year AS Publish_Year
FROM author a JOIN book b ON a.id = b.author_id WHERE b.publish_year > 2005;
SELECT b.title AS Book_Title, a.title AS Adaptation_Title, a.release_year AS
Adaptation_Year, b.publish_year AS Publish_Year FROM book b LEFT JOIN adaptation a ON b.id = a.book_id;
SELECT b.title AS Book_Title, a.title AS Adaptation_Title, a.release_year AS
Release_Year FROM book b LEFT JOIN adaptation a ON b.id = a.book_id;