select sql_text from v$session ses, v$sqltext st where st.address = ses.sql_address and st.hash_value=ses.sql_hash_value order by piece;