I have a multi-site Drupal installation that's misconfigured. The settings information has been confused, and I need to map databases to particular sites. I am tasked with cleaning up the mess.
For any given database from a Drupal installation, what tables can I look at to see which site was using it?