Q:

soql last year

Select * from case where WHERE CreatedDate = LAST_N_DAYS:30
0
delete [SELECT Id FROM Opportunity WHERE CreatedDate = LAST_YEAR];
0

Tags

Related

New to Communities?

Join the community