SELECT truncate(123231.123,2); //保留两位小数(不四舍五入)
select LPAD(1,4,'0') ; //不足4位,用0补齐
SELECT ROUND(123231.125,2); //保留2位小数,四舍五入
select * from ( select * from information_schema.tables where TABLE_ROWS > 30000 AND TABLE_SCHEMA='kqgl' order by TABLE_ROWS desc ) a where a.table_name LIKE 'kq%' order by a.table_name asc; // 查看表的信息