A query optimization technique that determines whether a query includes a
self join that is transitively derived through table expressions having
UNION operators. If so, the query is simplified to eliminate the table
expressions and to reduce the query to an equivalent query over tables.