ERROR: select p.products_id from products_to_categories ptc, products p where ptc.categories_id = and ptc.products_id = p.products_id and p.products_status > '0' and p.products_id!=1270 and p.discontinued=0 order by rand() limit 3