思路:
- 通过字符串截取第一个字母,使用upper函数成大写
- 再截取后面的字母,使用lower函数成小写
- 最后通过concat函数拼接
selec concat(upper(SUBSTRING(value,1,1)), lower(SUBSTRING(value,2,length(value)))) from test
思路:
selec concat(upper(SUBSTRING(value,1,1)), lower(SUBSTRING(value,2,length(value)))) from test