Most of entities in CRM DB has two tables, for example, [ContactBase] and [ContactExtensionBase]. So, you can check it in one of them - column ContactId.
To find correct name of ID column that you are searching, check entity metadata page - example for contact entity - and search for Uniqueidentifier.
Hope it helps.