mysql 根據生日計算出年齡信息

select IFNULL(TIMESTAMPDIFF(YEAR, birthday, CURDATE()),0) AS age from user
相關文章
相關標籤/搜索