Error: Table 'yanecouk_db.product_to_category' doesn't exist
Error No: 1146
SELECT pcat.category_ID FROM (SELECT product_to_category.* FROM product_to_category WHERE product_to_category.product_id=9727) pcat LEFT JOIN product_to_store p2s ON (pcat.product_id = p2s.product_id) LEFT JOIN category_to_store c2s ON (c2s.category_id = pcat.category_id) WHERE p2s.store_id = 10 AND c2s.store_id = 10