Query to select count of qualifying products failed: Table 'www_siteproductdb.SiteProductWWF' doesn't exist
SELECT COUNT(DISTINCT P.ProductID) AS NProds FROM Product P INNER JOIN www_siteproductdb.SiteProductWWF SP ON P.ProductID = SP.ProductID INNER JOIN AttributeGroupSearch GS0 ON P.ProductID = GS0.ProductID WHERE P.Discontinue=0 && GS0.AttributeNVID =0