Mysql中substring 处理日期的时候 是从 1开始的而不是 从0开始的。。
- SELECT * FROM crm_company_user c where 1=1 and SUBSTRING(personBirth,6,10)>='03-31' and SUBSTRING(personBirth,6,10)<='04-10'
转载于:https://blog.51cto.com/2197028/1175196
Mysql中substring 处理日期的时候 是从 1开始的而不是 从0开始的。。
转载于:https://blog.51cto.com/2197028/1175196