SET @i=1; SELECT DATE_FORMAT(NOW(),'%Y-%m-%d') AS CUR_DT, DATE_FORMAT(DATE_ADD(DATE('2020-12-01'),INTERVAL @i DAY),'%Y%m%d') ADD_DT; SET @i=@i+1;