查看:
SQL> select * from (
2 select username, account_status from dba_users order by created desc)
3 where rownum <7; USERNAME ACCOUNT_STATUS
------------------------------ --------------------------------
SCOTT EXPIRED & LOCKED
BI EXPIRED & LOCKED
SH EXPIRED & LOCKED
IX EXPIRED & LOCKED
PM EXPIRED & LOCKED
OE EXPIRED & LOCKED 6 rows selected. SQL>