UPDATE 表名 SET age = timestampdiff(year, substring(sfzh, 7, 8), now())
mysql 根据身份证号更新年龄
最新推荐文章于 2024-02-28 21:15:35 发布
UPDATE 表名 SET age = timestampdiff(year, substring(sfzh, 7, 8), now())