Shoppaa brändejä
Manufacturers
Sesongin hitit
    1064 - 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 ') AND bh.date > DATE_SUB(NOW(), INTERVAL 2 DAY) GROUP BY bh.product_id ORDER BY ' at line 1

    SELECT count(*) as view_count, bh.product_id, bh.manufacturers_id, p2c.categories_id, p.products_status from browse_history bh, products_to_categories p2c, products p WHERE p.products_id = bh.product_id AND bh.product_id = p2c.products_id AND (p2c.categories_id = '17' OR p2c.categories_id = '24') AND p.products_status = '1' AND bh.top_picks = '0' AND bh.product_id NOT IN () AND bh.date > DATE_SUB(NOW(), INTERVAL 2 DAY) GROUP BY bh.product_id ORDER BY view_count DESC LIMIT 1

    [TEP STOP]