fix views with column subqueries using table or subquery aliases