run query if row count = 0

I have created 3 tables: playlist, tracklist, & xmlexport, which I use for storing my playlists. To keep from duplicating any of the items in the playlist, I use a tracklist that I insert from the …