select s.* from v$sql s, v$sql_plan pl where s.PLAN_HASH_VALUE = pl.HASH_VALUE
select s.* from v$sql s, v$sql_plan pl where s.HASH_VALUE = pl.HASH_VALUE