select a.sid, a.event, a.total_waits, a.time_waited, a.average_wait, b.username, b.osuser, b.machine, b.program from v$session_event a, v$session b where time_waited > 0 and a.sid = b.sid and a.sid = 283 order by time_waited;
© 2005 tiplib.com