How does MySQL get data from each room every two days?

how do I get the data for the first 30 days, every two days?

clipboard.png

Feb.28,2021

written at an interval of 2 days:

SELECT * FROM `dates` WHERE DATEDIFF(`date`, '2018-01-01') % 2 = 0;

the first 30 days should be able to write by yourself ^ _ ^

Menu