Sorry, this page has moved or has been updated, please use the search option on the top right.
1242 - Subquery returns more than 1 row

select distinct p.products_id, p.products_image, p.products_tax_class_id, pd.products_name, if(s.status, s.specials_new_products_price, p.products_price) as products_price, p.supplier from products p left join specials s on p.products_id = s.products_id, products_description pd, products_to_categories p2c, categories c where p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and p.products_status = '1' and p.products_id = pd.products_id and pd.language_id = '1' and p2c.categories_id = (select sub_p2c.categories_id from products_to_categories as sub_p2c where sub_p2c.products_id = 758043) order by p.products_date_added desc limit 9