SQL中CONVERT()函数用法详解

https://www.cnblogs.com/alibai/p/3553657.html

 

以年月为条件查询,select * from table where year(q_date)='2024'  and month(kq_date)='02'

posted @ 2024-01-04 18:02  请叫我七哥  阅读(41)  评论(0编辑  收藏  举报