I have a project in which i have to calculate amount submitted through transactions in last three months. I have to check the date of all transactions in past 90 days and add the total amount submitted. What query can i use to get all the transactions in past 3 months starting from 20th of this month. If today is not twentieth then no result set should be given. Transactions from 20th of current month to 90 days back only.