I am a fresher and i am not able to represent in coding format for the previous week logic. The requirement is i have a date field called funding date.I have to fetch the records where this date field have previous week's date. For example,
SELECT fund__c,amount__c where funding_Date__c=previous week.
In the query,in the place of previous week i dont know what logic i have to use so that i can fetch when that date field has previous week dates.