fixed postgres dialect visitCase to not break visitColumn. added 'join' method to subQuery() return object