需求:删除所有的0和元音字母。
select ename,
replace(
replace(
replace(
replace(
replace(ename,'A',''),'E',''),'I',''),'O',''),'U','') as stripped1,
sal,
replace(sal,0,'') stripped2
from emp;
需求:删除所有的0和元音字母。
select ename,
replace(
replace(
replace(
replace(
replace(ename,'A',''),'E',''),'I',''),'O',''),'U','') as stripped1,
sal,
replace(sal,0,'') stripped2
from emp;