SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 5)
   ExpressionList (children 2)
    Identifier type
    Function sum (children 1)
     ExpressionList (children 1)
      Identifier eventcnt
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier tp
   ExpressionList (children 1)
    Identifier type
   ExpressionList (children 1)
    OrderByElement (children 1)
     Identifier type
   Set
