Hi all Trying to do a count joining a couple of tables. |---------------| | user_library | |---------------| |userid | |ablbumid | |---------------| |---------------| |artists | |---------------| |artistid | |artist_name | |---------------| |---------------| | albums | |---------------| |albumid | |artistid | |ablbum_name | |---------------| Want to return a query listing all albums a user has according to the "user_library" table, including the fields albmum_name, artist_name. That part is easy. However i also want to include a count field for each row showing the number of albums a user has by that particular artist. Something like: |--------------------------------------------------------------------------------| | userid | album_name | artist_name | albums_by_this_artist_in_this_query | |--------------------------------------------------------------------------------| | 1 | Album1 | Artist1 | 2 | |--------------------------------------------------------------------------------| | 1 | Album2 | Artist1 | 2 | |--------------------------------------------------------------------------------| | 1 | Album3 | Artist2 | 1 | |--------------------------------------------------------------------------------| I'm sure its simple, but i've never done this. thank you.