次のクエリをお勧めします:
select
id,name,baseid,member_card_type,membercard_num,last_draw,counter
from details_dest
where basedate > (curdate() - INTERVAL 100 DAY);
次のクエリをお勧めします:
select
id,name,baseid,member_card_type,membercard_num,last_draw,counter
from details_dest
where basedate > (curdate() - INTERVAL 100 DAY);