SELECT  id,displays,parent,title    FROM catalogCategory     WHERE ( catalogCategory.permissions LIKE 'r__' )  AND ( id<>3 AND parent IS NOT NULL ) AND (  catalogCategory.active = 1 )       ORDER BY sortOrder,title ASC   