Index: openacs-4/packages/dotlrn/www/admin/users-oracle.xql =================================================================== RCS file: /usr/local/cvsroot/openacs-4/packages/dotlrn/www/admin/Attic/users-oracle.xql,v diff -u -r1.4 -r1.5 --- openacs-4/packages/dotlrn/www/admin/users-oracle.xql 30 Jan 2002 23:32:41 -0000 1.4 +++ openacs-4/packages/dotlrn/www/admin/users-oracle.xql 6 Mar 2002 00:08:02 -0000 1.5 @@ -1,24 +1,33 @@ - oracle8.1.6 + oracle8.1.6 - - select count(*) - from dotlrn_users - where dotlrn_users.type = :type - + + select count(*) + from dotlrn_users + where dotlrn_users.type = :type + - - select count(*) - from persons - where not exists (select 1 - from dotlrn_users - where dotlrn_users.user_id = persons.person_id) - + + select count(*) + from cc_users + where not exists (select 1 + from dotlrn_users + where dotlrn_users.user_id = cc_users.user_id) + and member_state = 'approved' + + + + select count(*) + from cc_users + where member_state = 'banned' + + +