SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 2)
    Identifier a
    Identifier value
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 4)
          ExpressionList (children 2)
           Identifier a
           Function tupleElement (alias value) (children 1)
            ExpressionList (children 2)
             Function max (children 1)
              ExpressionList (children 1)
               Function tuple (children 1)
                ExpressionList (children 2)
                 Identifier d
                 Identifier b
             Literal UInt64_2
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier test
          ExpressionList (children 1)
           Identifier a
          Function notEquals (children 1)
           ExpressionList (children 2)
            Identifier a
            Literal \'\'
   Function notEquals (children 1)
    ExpressionList (children 2)
     Identifier a
     Literal \'\'
