1054 - Unknown column 'p.products_id' in 'on clause'
select distinct p.products_id, p.products_image, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from products p left join specials s on p.products_id = s.products_id, products_to_categories p2c, categories c LEFT JOIN featured AS f ON p.products_id = f.products_id WHERE f.status = '1' and p.products_id = p2c.products_id and p2c.categories_id = c.categories_id and c.parent_id = '152' and p.products_status = '1' order by p.products_date_added desc