Oracle 从 SQL 和 VIEW 中选择之间的差异



我有以下SQL将在Oracle 11g上运行。

想知道直接或通过视图执行SQL是否有任何差异以及任何性能差异

select a.*, b.*, c.* 
from TABLE_A a
join TABLE_B b on b.id = a.id
join TABLE_C c on c.taskid = b.taskid
where (b.taskid  in (1,2,3)) 
or (b.taskid  in (4,5) and a.creation_date > (sysdate-10) );

下面的问答是否满足您的好奇心,我发现它非常相似:

Oracle视图与在 Oracle 中连接表

最新更新