SelectWithUnionQuery (children 1)
 ExpressionList (children 1)
  SelectQuery (children 2)
   ExpressionList (children 3)
    Function tupleElement (alias cnt) (children 1)
     ExpressionList (children 2)
      Identifier t
      Literal UInt64_1
    Function tupleElement (alias name) (children 1)
     ExpressionList (children 2)
      Identifier t
      Literal UInt64_2
    Function tupleElement (alias percent) (children 1)
     ExpressionList (children 2)
      Identifier t
      Literal UInt64_3
   TablesInSelectQuery (children 1)
    TablesInSelectQueryElement (children 1)
     TableExpression (children 1)
      Subquery (children 1)
       SelectWithUnionQuery (children 1)
        ExpressionList (children 1)
         SelectQuery (children 2)
          ExpressionList (children 1)
           Function arrayJoin (alias t) (children 1)
            ExpressionList (children 1)
             Identifier result
          TablesInSelectQuery (children 1)
           TablesInSelectQueryElement (children 1)
            TableExpression (children 1)
             Subquery (children 1)
              SelectWithUnionQuery (children 1)
               ExpressionList (children 1)
                SelectQuery (children 1)
                 ExpressionList (children 3)
                  Function array (alias data) (children 1)
                   ExpressionList (children 3)
                    Literal Tuple_(UInt64_79, \'name1\')
                    Literal Tuple_(UInt64_62, \'name2\')
                    Literal Tuple_(UInt64_44, \'name3\')
                  Function arraySum (alias total) (children 1)
                   ExpressionList (children 1)
                    Function arrayMap (children 1)
                     ExpressionList (children 2)
                      Function lambda (children 1)
                       ExpressionList (children 2)
                        Function tuple (children 1)
                         ExpressionList (children 1)
                          Identifier t
                        Function tupleElement (children 1)
                         ExpressionList (children 2)
                          Identifier t
                          Literal UInt64_1
                      Identifier data
                  Function arrayMap (alias result) (children 1)
                   ExpressionList (children 2)
                    Function lambda (children 1)
                     ExpressionList (children 2)
                      Function tuple (children 1)
                       ExpressionList (children 1)
                        Identifier t
                      Function tuple (children 1)
                       ExpressionList (children 3)
                        Function tupleElement (children 1)
                         ExpressionList (children 2)
                          Identifier t
                          Literal UInt64_1
                        Function tupleElement (children 1)
                         ExpressionList (children 2)
                          Identifier t
                          Literal UInt64_2
                        Function multiIf (children 1)
                         ExpressionList (children 5)
                          Function equals (children 1)
                           ExpressionList (children 2)
                            Identifier total
                            Literal UInt64_0
                          Literal UInt64_0
                          Function and (children 1)
                           ExpressionList (children 2)
                            Function greater (children 1)
                             ExpressionList (children 2)
                              Function tupleElement (children 1)
                               ExpressionList (children 2)
                                Identifier t
                                Literal UInt64_1
                              Literal UInt64_0
                            Function less (children 1)
                             ExpressionList (children 2)
                              Function tupleElement (children 1)
                               ExpressionList (children 2)
                                Identifier t
                                Literal UInt64_1
                              Literal UInt64_10
                          Literal Float64_-1
                          Function multiply (children 1)
                           ExpressionList (children 2)
                            Function divide (children 1)
                             ExpressionList (children 2)
                              Function toFloat32 (children 1)
                               ExpressionList (children 1)
                                Function tupleElement (children 1)
                                 ExpressionList (children 2)
                                  Identifier t
                                  Literal UInt64_1
                              Function toFloat32 (children 1)
                               ExpressionList (children 1)
                                Identifier total
                            Literal UInt64_100
                    Identifier data
