Join elimination not working in Oracle with sub queries
问题 I am able to get join elimination to work for simple cases such as one-to-one relations, but not for slightly more complicated scenarios. Ultimately I want to try anchor modelling, but first I need to find a way around this problem. I'm using Oracle 12c Enterprise Edition Release 12.1.0.2.0. DDL for my test case: drop view product_5nf; drop table product_color cascade constraints; drop table product_price cascade constraints; drop table product cascade constraints; create table product(