first off let me explain what is going on. i am creating a site that uses a shared DB and every customer that we have will have there own table. they can have other login's which will within there company table (employee logins).
How would you go about and check against every single table and see who is with what company so i can grab there information for that company.