I have these three table to store tags for photo albums. Here is the schema
table 1: Albums
Album_ID
Album_Name
table 2: AlbumTags
Tag_ID
Tag_Name
table 3: AlbumTagBridge
ID
Tag_ID
Album_ID
What is the most efficient SQL to be able to come up with a result set that looks like this:
Tag_Name | Count
Tag 1 | 19
Tag 2 | 3
Tag 3 | 17