SQL - LEFT and RIGHT JOIN
Given tables:
authors(id, name), books(id, author_id, title), reviews(id, book_id, rating)
How to write a query to show each author's name, book title, and average rating, including authors without books or reviews?
authors(id, name), books(id, author_id, title), reviews(id, book_id, rating)
How to write a query to show each author's name, book title, and average rating, including authors without books or reviews?
