SELECT * FROM ITEMS LEFT JOIN ITEMS_LNG ON ITEMS.Id=ITEMS_LNG.Id AND ITEMS_LNG.LangId=5, Websites LEFT JOIN Websites_LNG ON Websites.Id=Websites_LNG.Id AND Websites_LNG.LangId=ITEMS_LNG.LangId WHERE ITEMS.Id=Websites.Id && ITEMS.ItemId in (1,10,5290) && (ITEMS.StatusId=0 || ITEMS.StatusId=1)
Unknown column 'ITEMS_LNG.LangId' in 'on clause'