oracle 隐式转换
字符串拼接:
select LATEFEE||'-'||REALACCOUNT from VIEW_HOUSE_CHARGE
--字符串拼接,在oracle中 ||'?'|| 其中?可为任意字符串
数字转换:
①去余
select trunc((to_number(LATEFEE)+to_number(REALACCOUNT)),2) REALACCOUNT from VIEW_HOUSE_CHARGE
②四舍五入
select round((to_number(LATEFEE)+to_number(REALACCOUNT)),2) REALACCOUNT from VIEW_HOUSE_CHARGE