mysql 根据出生日期计算年龄

SELECT TIMESTAMPDIFF(YEAR,'1997-03-05', CURDATE())

posted @ 2021-05-11 10:56  DiligentCoder  阅读(226)  评论(0编辑  收藏  举报