SQL Select Data de la semaine dernière
select id from tbname
where date between date_sub(now(),INTERVAL 1 WEEK) and now();
Pro___coder$
select id from tbname
where date between date_sub(now(),INTERVAL 1 WEEK) and now();
select id from tbname
where date between date_sub(now(),INTERVAL 1 WEEK) and now();
select * from dt_table where `date` >= DATE_SUB(CURDATE(), INTERVAL 7 DAY)