SELECT * FROM TABLE(SELECT DBMS_XPLAN.DISPLAY_CURSOR(sql_id,sql_child_number,'ALLSTATS LAST') FROM v$session WHERE sid IN (&1));