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

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35bb2-2bfc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35bb2-2bfc4.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?