select substr (lpad(' ', level-1) || operation ||
     ' (' || options || ')',1,30 ) as "Operation",
  object_name as "Object",
  cost, bytes, cardinality as "Rows", time
from plan_table
start with id = 0
connect by prior id=parent_id;
