How to Find the Database for a Blog ID

How do you find which database is used for a particular blog id?