SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Asterisk
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 2)
         SelectQuery (children 4)
          ExpressionList (children 1)
           Identifier CounterID
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function remote (children 1)
              ExpressionList (children 3)
               Literal \'127.0.0.2\'
               Function currentDatabase (children 1)
                ExpressionList
               Literal \'globalin\'
          Function globalIn (children 1)
           ExpressionList (children 2)
            Identifier CounterID
            Subquery (children 1)
             SelectWithUnionQuery (children 1)
              ExpressionList (children 1)
               SelectQuery (children 1)
                ExpressionList (children 1)
                 Function toUInt32 (children 1)
                  ExpressionList (children 1)
                   Literal UInt64_34
          ExpressionList (children 1)
           Identifier CounterID
         SelectQuery (children 4)
          ExpressionList (children 1)
           Identifier CounterID
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function remote (children 1)
              ExpressionList (children 3)
               Literal \'127.0.0.2\'
               Function currentDatabase (children 1)
                ExpressionList
               Literal \'globalin\'
          Function globalIn (children 1)
           ExpressionList (children 2)
            Identifier CounterID
            Subquery (children 1)
             SelectWithUnionQuery (children 1)
              ExpressionList (children 1)
               SelectQuery (children 1)
                ExpressionList (children 1)
                 Function toUInt32 (children 1)
                  ExpressionList (children 1)
                   Literal UInt64_34
          ExpressionList (children 1)
           Identifier CounterID
