Due to a death in our organization we have temporarily changed our ordering procedures. We are now allowing phone in orders for in-stock items only, paid with a credit card. We are not currently accepting purchase orders. Existing orders will be processed. Thank you for your understanding.
select DISTINCTROW top 10 p.CatalogId,p.ccode from products p, prodcategories cc, categories c where cc.intCatalogId=p.CatalogId and cc.intcategoryid=c.categoryid and cc.intcategoryid = 504 and p.hide = 0 and (p.customermatch is null or p.customermatch = '') and (p.loggedin = false or p.loggedin is null) and (c.customermatch is null or c.customermatch = '') and (c.loggedin = false or c.loggedin is null) AND (higherCatalogId is null) order by p.ccode