左补0函数:lpad() select lpad(‘538’, 6, ‘0’) //解释:538不满6位数时,左变补0,让其达到6位长度 右补0函数:rpad() select rpad(‘538’, 6, ‘0’)//解释:538不满6位数时,右边补0,让其达到6位长度