I want a list of albums, ordered alphabetically by the artists that are associated with the album.
If I just use the join table and order the result alphabetically, such as:
SELECT * FROM Artists, Albums, ArtistAlbums WHERE artist_id = artistalbum_artist_id AND album_id = artistalbum_album_id
and there are for example 3 artists on an album, I will get 3 rows returned for that one album which means I have to parse through the results before I can display anything since the results won't just be on one line. I don't want to list the same album 3 times.