1066 - Not unique table/alias: 'pa_meret'
select count(*) as total
from products_attributes pa left join products_attributes pa_fazon using(products_id) left join products_attributes pa_meret using(products_id) left join products_attributes pa_meret using(products_id)
left join products_to_categories ptc on pa.products_id = ptc.products_id
left join products p ON pa.products_id = p.products_id
where pa_fazon.options_id = '13' and pa_fazon.options_values_id = '268' and pa_meret.options_id = '6' and pa_meret.options_values_id = '57' and pa_meret.options_id = '6' and pa_meret.options_values_id = '322' and pa.options_id = '12' and pa.options_values_id = '257' and
ptc.categories_id = '77' AND p.products_status = 1
[TEP STOP]
|