SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 1)
    Function any (alias total_distinct_avg) (children 1)
     ExpressionList (children 1)
      Identifier total
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 2)
           Identifier number
           Function avgDistinct (alias total) (children 1)
            ExpressionList (children 1)
             Identifier number
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Function remote (children 1)
              ExpressionList (children 2)
               Literal \'127.0.0.{1,2,3}\'
               Function numbers_mt (children 1)
                ExpressionList (children 1)
                 Literal UInt64_100000
