-- 6. Find the five mostpopular hashtags

SELECTtags.tag_name,
Count(*)AStotal
FROMphoto_tags
JOINtags
ONphoto_tags.tag_id=tags.id
GROUPBYtags.id
ORDERBYtotalDESC
LIMIT5;