SOQL на прошлой неделе
Select * from case where WHERE CreatedDate = LAST_N_DAYS:30
Wicked Willet
Select * from case where WHERE CreatedDate = LAST_N_DAYS:30