Ver originalselect curdate(),concat(year(curdate()),if(month(curdate())<10,concat('0',month(curdate())),month(curdate()))),PERIOD_ADD(concat(year(curdate()),if(month(curdate())<10,concat('0',month(curdate())),month(curdate()))),-7)