I'm having a problem that I didn't envision and need someone to help me out with this to see what I am doing wrong.
I have two views (People and Address). The People view has a Household ID record that is NOT unique as it is referenced for each person that lives in a specific household based upon a certain criteria. Address is a list of residential addresses where the HHID is unique to each record.
I am trying to combine the two tables into a view where each persons address is also shown.
I have tried a hhid = hhid, inner join and a right join (people to address) but each one is coming up with a problem that renders it unusable. Please let me know if you have any suggestions.
Thanks,
http://www.w3schools.com/sql/sql_union.asp