Database Gets the specified number of days in the month

SELECT DAY(LAST_DAY(CONCAT('2019-4','-01')))

 

Guess you like

Origin blog.csdn.net/qq_36161345/article/details/92609174