//截取下划线后的字符串select substr('GY_272',instr('GY_272', '_', -1, 1)+1) from dualselect substr('GY_272',instr('GY_56', '_', -1, 1)+1) from dual