SelectWithUnionQuery (children 1) ExpressionList (children 1) SelectQuery (children 1) ExpressionList (children 2) Function midpoint (alias result) (children 1) ExpressionList (children 2) Function toDate (children 1) ExpressionList (children 1) Literal \'2025-01-01\' Function toDate (children 1) ExpressionList (children 1) Literal \'2025-01-05\' Function toTypeName (alias type) (children 1) ExpressionList (children 1) Identifier result