Fixed #23758

- intentional breakage with recursion limit
- extents the alphabet ( to use multi letter ) for get alias prefix

executed from `test_subquery_condition` (queries.tests.Queries1Tests)