select unique owner
from all_tables
where sysdate-50 < (select last_analyzed from dual);
上記のコードを書いたばかりですが、下のコードで結果が異なるのは奇妙です。
select unique owner from all_tables;
ただし、( select last_analyzed from dual
) を個別に実行すると、エラーがポップアップします。
結果がどのように生成されるか混乱しています。