SELECT  id,displays,parent,title    FROM catalogCategory     WHERE ( catalogCategory.permissions LIKE 'r__' )  AND (  catalogCategory.active = 1 ) AND (  catalogCategory.parent = 3 )       ORDER BY sortOrder,title ASC    LIMIT 0, 8