SQL> select ''''||nvl(sql_id,prev_sql_id)||'''' sql_id , ',' ||nvl(sql_child_number,prev_child_number) sql_child_number from v$session where sid=159;
SQL_ID SQL_CHILD_NUMBER
--------------- -----------------------------------------
'62d7qphq2zx20' ,0
select object_name from test where object_name like 'I/_%' escape'/';