Query v$session table
SQL> SQL> SELECT username, sid, serial#, module, action 2 FROM v$session 3 WHERE row < 50; WHERE row < 50 * ERROR at line 3: ORA-00936: missing expression SQL>