select distinct upper(substr(last_name,1,1)) from $table_and_group select node_id from site_nodes where object_id = :package_id select g.group_id, g.group_name from groups g, application_groups a where a.package_id = :subsite_id and a.group_id = g.group_id select node_id from site_nodes where object_id = :package_id dir_all_users m where 1=1 dir_group_members m where group_id = :group_id