Execution strategies for SQL subqueries
Outerjoin simplification and reordering for query optimization