Hi,
Looks like you have a flawed database design..
What happens if a person has 2 houses and 3 hotels? You will end up with empty cells in your record.
You probably want a table like this for properties:
person_to_property
UserNr | PropertyNr
property
PropertyID | PName | Type
Then proceed as before joiining the three tables on userID = UserNr and PropertyNr = PropertyID, group by user.name, property.type