【mysql 計算星座】根據身份證計算用戶所屬星座

某一用戶身份證是:mysql 522225199507153253 計算此用戶的星座爲:web 星座 巨蟹座 mysql 代碼片斷:sql SELECT case when SUBSTRING(person_card,11,4) between '0120' and '0218' then '水瓶座' when SUBSTRING(person_card,11,4) between '0219'
相關文章
相關標籤/搜索