测试coolcode插件

select * from v$session where status=’HAPPY’ and owner=’LIU’
and sid not in (1900,2012) order by sid asc

good luck!