How to determin which sites are placed in which DB

How do I know which sites are stored in which DB?

In case I would like to reference it.