1053 Server shutdown in progress
in:
[SELECT DISTINCT products_sx_id FROM products_to_categories ptc, products_description pd,
(SELECT DISTINCT p.products_id, p.products_sx_id, COUNT(DISTINCT products_sx_id),IF(s.status = 1, s.specials_new_products_price, NULL) as specials_new_products_price, IF(s.status =1, s.specials_new_products_price, p.products_price) as final_price FROM products_color pc, products p left join specials s on p.products_id = s.products_id where p.products_gender_id = '2 ��ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�ɜ�ܝ[��\�X�QT�
�
�
�
�
�
�
�
�
�
�
�
�
�
�' and pc.products_color like '%Brown%' and p.products_color_id = pc.products_color_id GROUP BY products_sx_id) psx where ptc.products_id = psx.products_id
and ptc.products_id = pd.products_id
and ptc.categories_id IN (15) ORDER BY pd.products_viewed DESC, pd.products_id DESC limit 0,12;]