use `test`;
drop table if exists test.num1;
create table num1 (f1 DECIMAL(18,4), f2 float(53));
insert into num1 select 12345678901234567890.123456789, 12345678901234567890.123456789;
select * from num1;
-- 结果如下
-- 99999999999999.9999, 1.23456789012346e+19
为什么 f2列,查询不出现 12345678901234567890.123456789呢?
drop table if exists test.num1;
create table num1 (f1 DECIMAL(18,4), f2 float(53));
insert into num1 select 12345678901234567890.123456789, 12345678901234567890.123456789;
select * from num1;
-- 结果如下
-- 99999999999999.9999, 1.23456789012346e+19
为什么 f2列,查询不出现 12345678901234567890.123456789呢?
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货