select p.products_fsk18,
p.products_shippingtime,
p.products_model,
p.products_ean,
pd.products_name,
pd.products_name2,
p.products_quantity,
p.products_quantity_self,
p.products_image,
p.products_weight,
p.products_id,
p.manufacturers_id,
p.products_price,
p.products_vpe,
p.products_page_url,
p.hit,
p.id1c,
p.free_shipping,
p.raiting,
p.products_vpe_status,
p.products_vpe_value,
p.products_discount_allowed,
p.products_tax_class_id
from categories c, products_description pd, products_to_categories p2c, products p
where p.products_status = '1' and p.parent = '0'
and p.products_id = p2c.products_id
and pd.products_id = p2c.products_id
and pd.language_id = '1' and ( p2c.categories_id = c.categories_id and p2c.categories_id in (19,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189) ) and m.manufacturers_id in (5) ORDER BY p.products_quantity+p.products_quantity_self desc, pd.products_name
Интернет-магазин закрыт на техническое обслуживание, заходите позже!
Проблема с MySQL. Как узнать причину ошибки.