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

select p2c.categories_id from products p, products_to_categories p2c where p.products_id = '10226' and p.products_status = '1' and p.products_id = p2c.products_id limit 1

[TEP STOP]