MySQL根据生日获取年龄 作者: yuanjun 时间: December 31, 2011 分类: db PV: 514 评论 SELECT birthday,CURDATE(),(YEAR(CURDATE())-YEAR(birthday))-(RIGHT(CURDATE(),5)