当前位置:网站首页>SQL statement -- enter the month, query the date (month, year, day), and output the month

SQL statement -- enter the month, query the date (month, year, day), and output the month

2022-06-11 00:12:00 Mr. No

***sql sentence – Input month Check date ( Specific date ), Output month ***

SELECT DATE_FORMAT(creationtime,’%m’) creationtime FROM
sab_b_persplit where DATE_FORMAT(creationtime,’%m’) = ‘08’

原网站

版权声明
本文为[Mr. No]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/162/202206102252108276.html