-- 6. Find the five most popular hashtags
SELECT tags.tag_name, Count(*) AS total FROM photo_tags JOIN tags ON photo_tags.tag_id = tags.id GROUP BY tags.id ORDER BY total DESC LIMIT 5;