You can use a JOIN
:
select * from Household
JOIN UserProfile
ON UserProfile.HouseholdID=Household.HouseholdID
Or with an EXISTS
:
select * from Household
WHERE EXISTS
(
SELECT NULL
FROM UserProfile
WHERE UserProfile.HouseholdID=Household.HouseholdID
)
Or with an IN
:
select * from Household
WHERE Household.HouseholdID IN
(
SELECT UserProfile.HouseholdID
FROM UserProfile
)
Or the old way with the from statement
select * from Household, UserProfile
WHERE UserProfile.HouseholdID=Household.HouseholdID
It kinda depends on what data you want