set linesize 256 col machine format a50 select machine, username, count(*) cnt FROM v$session WHERE 1 = 1 group by machine, username order by username, cnt desc ;
Output:
MACHINE USERNAME CNT
-------------------------------------------------- ------------------------------ ----------
...
...
Комментариев нет:
Отправить комментарий