SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Function sumIf (children 1)
     ExpressionList (children 2)
      Literal UInt64_1
      Function greater (children 1)
       ExpressionList (children 2)
        Function if (children 1)
         ExpressionList (children 3)
          Literal UInt64_1
          Function toDateTime (children 1)
           ExpressionList (children 2)
            Literal \'2020-01-01 00:00:00\'
            Literal \'UTC\'
          Function toDateTime (children 1)
           ExpressionList (children 2)
            Literal \'1970-01-01 00:00:00\'
            Literal \'UTC\'
        Identifier t
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier e
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias da) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 1)
          ExpressionList (children 1)
           Literal UInt64_1 (alias joinKey)
     TableJoin (children 1)
      Function equals (children 1)
       ExpressionList (children 2)
        Identifier joinKey
        Identifier a
   Function and (children 1)
    ExpressionList (children 2)
     Function greaterOrEquals (children 1)
      ExpressionList (children 2)
       Identifier t
       Function toDateTime (children 1)
        ExpressionList (children 2)
         Literal \'2021-07-19T13:00:00\'
         Literal \'UTC\'
     Function lessOrEquals (children 1)
      ExpressionList (children 2)
       Identifier t
       Function toDateTime (children 1)
        ExpressionList (children 2)
         Literal \'2021-07-19T13:59:59\'
         Literal \'UTC\'
