計算距離生日多少天(最簡便SQL語句)

select datediff(concat(substring(current_timestamp(6),1,4),substring(hbirth,5)),current_timestamp(6)) day from human where hid=1001 select datediff(concat(substring(current_timestamp(6),1,4)+1,substri
相關文章
相關標籤/搜索