根据生日计算年龄


FLOOR(DATEDIFF(NOW(),p.birthday)/365.25) as age

 

posted @ 2020-06-09 18:00  Tangjt  阅读(127)  评论(0编辑  收藏  举报