Setting up Metadata

I have a question concerning metadata. I am trying to create a database to manage music so typically am storing information on the song and the artist etc. I was wondering how to store information (metadata) to be able to create a recommendations on different tracks. What that means is if one track is selected I want some metadata about it to recommend a similar track based on meta data entered in the database.

Any clues as to how this can be done?