Error SQL:
QUERY:
select distinct colors.* from osln_ru_collection_catalog colect
left join osln_ru_catalog_pcolors goods ON colect.text_name = goods.parent
left join osln_ru_pcolors colors ON goods.text_name = colors.id
where colect.parent = 21181 and .colors.img_img != ""
MYSQL Error:You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '.colors.img_img != ""' at line 4