Sql check if record exists in multiple tables using. Calling the EXISTS Function.