MySQL 季度区间天数
MySQL 季度区间天数
SELECT
DATEDIFF (
MAKEDATE( YEAR ( NOW( ) ), 1 ) + INTERVAL QUARTER ( NOW( ) ) QUARTER - INTERVAL 1 DAY,
MAKEDATE( YEAR ( NOW( ) ), 1 ) + INTERVAL QUARTER ( NOW( ) ) QUARTER - INTERVAL 1 QUARTER
)
原创
2021-01-23 17:04:12 ·
511 阅读 ·
0 评论