put a group by in there.
SELECT album, artist, max(date_added) as 'date_added' FROM samdb.songlist group by album,artist ORDER BY date_added DESC LIMIT 10")
Not sure how there can be blank entires though.
That's a badly un-normalised data structure.
artist_table
artist_id name birthdate favourite_color
album_table
artist_id album_id album_name other_album_data
track table
album_id track_name track_length
|