1109 - Unknown table 'p' in field list

    select count(p.products_id) as total

    [TEP STOP]