The first part of the query is straightforward (as I'm sure you have figured out). If it were simple a case of returning records where the locations do not match, your SQL might look something like this:
SELECT IHead.ProductID, IHead.ProductName, IDet.LocationID, iPhone.Location
FROM...