SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 4)
   ExpressionList (children 5)
    Identifier id
    Function finalizeAggregation (alias current_latest_login_time) (children 1)
     ExpressionList (children 1)
      Identifier latest_login_time
    Function finalizeAggregation (alias current_latest_checkout_time) (children 1)
     ExpressionList (children 1)
      Identifier latest_checkout_time
    Function finalizeAggregation (alias current_fastest_session) (children 1)
     ExpressionList (children 1)
      Identifier fastest_session
    Function finalizeAggregation (alias current_biggest_inactivity_period) (children 1)
     ExpressionList (children 1)
      Identifier biggest_inactivity_period
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier target_table
   Function in (children 1)
    ExpressionList (children 2)
     Identifier id
     Literal Tuple_(UInt64_1, UInt64_2)
   ExpressionList (children 3)
    OrderByElement (children 1)
     Identifier id
    OrderByElement (children 1)
     Identifier current_latest_login_time
    OrderByElement (children 1)
     Identifier current_latest_checkout_time
