SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 3)
   ExpressionList (children 1)
    Function max (children 1)
     ExpressionList (children 1)
      Identifier key
   TablesInSelectQuery (children 2)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      TableIdentifier tab_00612
    TablesInSelectQueryElement (children 2)
     TableExpression (children 1)
      Subquery (alias js2) (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 2)
           Identifier key
           Function arrayJoin (alias val) (children 1)
            ExpressionList (children 1)
             Identifier n.x
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             TableIdentifier tab_00612
     TableJoin (children 1)
      ExpressionList (children 1)
       Identifier key
   Function in (children 1)
    ExpressionList (children 2)
     Function tuple (children 1)
      ExpressionList (children 2)
       Identifier key
       Identifier val
     Literal Tuple_(Tuple_(UInt64_1, UInt64_1), Tuple_(UInt64_2, UInt64_2))
