select username from dba_users where INHERITED='NO';
SELECT username,account_status from dba_users where account_status = 'OPEN' and username not like '%SYS%' and username not like 'C##%' and username not like 'PDBADMIN' and username not like 'DBSNMP';
标签:username,status,like,查询,Oracle12C,自带 From: https://www.cnblogs.com/aspirant/p/16983608.html