Pañuelos

Lamentamos las molestias.

Realice una nueva búsqueda sobre su interés

SELECT product_id, COUNT(product_id) AS sales FROM `ps_order_detail` WHERE product_id IN (SELECT id_product FROM `ps_category_product` LEFT JOIN ps_product USING (id_product) WHERE id_category = 30 AND active = 1) GROUP BY product_id ORDER BY sales DESC LIMIT 10