Mysql gets all months of the quarter

as mentioned in the question, how does mysql get all the months of the current quarter.

Mar.15,2021

? The description of the problem is clear. Posting the table


can set which quarter the month belongs to according to type, or use the correlation model, so it is very easy to get

.
Menu