自动更新修改时间:
mysql> create table z(a int ,b timestamp on update current_timestamp);
b timestamp on update current_timestamp : 该字段自动更新修改时间
记录首次插入时间:
mysql> create table x (a int, b timestamp default current_timestamp);
b timestamp default current_timestamp : 该字段记录首次插入时间