Add an alias for the subquery pattern