Do views only perform the joins that they need to, or all joins always?

Posted by Nate on Stack Overflow See other posts from Stack Overflow or by Nate
Published on 2010-04-26T19:15:07Z Indexed on 2010/04/26 23:23 UTC
Read the original article Hit count: 158

Filed under:
|
|

I am on an oracle DB. Lets say I have one view that joins to three tables. The view has two fields each. Each field only needs data from two of the three tables.

If I query the view and return only one field, does the view still join to three tables or just to the two tables that it needs to calculate the field?

© Stack Overflow or respective owner

Related posts about Oracle

Related posts about view