What is the easiest method to do this?

First I thought I'd have only one database, but on second thought I desided to use several of them, and I already have scanned most of my CDs to main database.