SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 7)
    Identifier uid
    Identifier name
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier age
    Function count (children 1)
     ExpressionList
    Function arrayUniq (children 1)
     ExpressionList (children 1)
      Function groupArray (children 1)
       ExpressionList (children 1)
        Identifier ts
    Function max (children 1)
     ExpressionList (children 1)
      Identifier age
    Function max (children 1)
     ExpressionList (children 1)
      Identifier ts
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier users
   ExpressionList (children 2)
    ExpressionList (children 1)
     Asterisk
    ExpressionList
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier ALL
