It is necessary to take the value of X from the table Y X in the format 12345_пример . At the output you need to get the value of "пример" . The number of characters is arbitrary, only the separator "_" is known.
Could give birth only:
select case instr(NAME,'_') when 0 then NAME else substr(NAME,0,instr(NAME,'_') -1) end from AONAME What returns a part to a separator "_" . How to get part after separator?
substr(NAME, instr(NAME,'_'))orsubstr(NAME, instr(NAME,'_') + 1). - Visman