This is the following error I am getting:
Error: An expression of non-boolean type specified in a context where a condition is expected, near 'and'.
select p.BusinessEntityID, p.FirstName, p.LastName, bea.BusinessEntityID, bea.AddressID
from Person.Person as p
left join
Person.BusinessEntityAddress as bea on
p.BusinessEntityID = bea.BusinessEntityID
where bea.BusinessEntityID and bea.AddressID is NOT NULL