Como obter 30 dias de data anterior em Mysql
SELECT * from customers where lastLedgerCreated<=CURDATE() - INTERVAL 30 DAY
Different Deer
SELECT * from customers where lastLedgerCreated<=CURDATE() - INTERVAL 30 DAY