Answer the question
In order to leave comments, you need to log in
Duplicate record in a query with LEFT JOIN, how to fix it?
Upon request
SELECT CONCAT(maintb.name, ', ', country1.country, ', ', region.region,', ', house.house)
AS ADDRESS FROM maintb
LEFT JOIN country1
ON country1.id = {0}
LEFT JOIN region
ON region.id ={1}
LEFT JOIN house
ON house.id ={2}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question