Soql w zeszłym tygodniu

Select * from case where WHERE CreatedDate = LAST_N_DAYS:30
Wicked Willet