Currently, I have a table with the album name, artist and title in it (for Mp3). On my webpage on the left, all album names are currently displayed using:
SELEC DISTINCT `album` FROM `mp3`
But I would like to display the number of each album next to it, for example:
A Very Good Album (3)
Indicating that there is 3 in this entry. Can I do this using SQL? Select "Distinct", but also find out how many of them are associated with this album?
source share