SELECT  id,memberPrice,price,sku,title,type    FROM catalogItem  INNER JOIN catalogItemCatalogCategory ON catalogItem.id=catalogItemId    WHERE ( catalogItem.permissions LIKE 'r__' )  AND ( catalogCategoryId=8 ) AND (  catalogItem.active = 1 )       ORDER BY sortOrder,title ASC    LIMIT 0, 9