A Database Error Occurred

Error Number: 1054

Unknown column 'nocompany' in 'where clause'

SELECT COUNT(*) AS `numrows` FROM (`product`) LEFT JOIN `productcategory` ON `product`.`id` = `productcategory`.`productcategory_productid` WHERE `product`.`id` != 35795 and product_publishstatusid = 1 and product_companyid = nocompany