1054 - Unknown column 'p.products_id' in 'on clause'

select p.products_id, p.products_image, pd.products_head_desc_tag, p.products_tax_class_id, if(s.status, s.specials_new_products_price, p.products_price) as products_price from products p, products_description pd left join specials s on p.products_id = s.products_id , products_to_categories p2c where p.products_id = pd.products_id AND p.products_id = p2c.products_id and products_status = '1' and p2c.categories_id = '39' order by rand() limit 9

[TEP STOP]