SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Function count (children 1)
     ExpressionList
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Function remote (children 1)
       ExpressionList (children 3)
        Literal \'127.0.0.1,127.0.0.2\'
        Function currentDatabase (children 1)
         ExpressionList
        Identifier test_local
   Function globalIn (children 1)
    ExpressionList (children 2)
     Literal \'XXX\'
     Subquery (children 1)
      SelectWithUnionQuery (children 1)
       ExpressionList (children 1)
        SelectQuery (children 1)
         ExpressionList (children 1)
          Literal \'XXX\'
