timestamp(3) 表示秒后3位小数,注意最多为6位。
create table test_timestamp(
t1 timestamp(3) default now(3),
t2 timestamp(4) default now(4),
t3 timestamp(5) default now(5),
t4 timestamp(6) default now(6)
);
insert into test_timestamp values();
select *from test_timestamp ;