a guest Jan 21st, 2019 84 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- SELECT Genres.genre, MIN(publication_year) AS oldest FROM Genres
- RIGHT JOIN Books ON Genres.id = Books.genre_id
- GROUP BY Genres.genre
- ORDER BY Genres.genre;
RAW Paste Data