Skip to content
Advertisement

How to select last one week data from last date

I want sum of price in my table depended by ‘CorpCode’ from other table where ‘InvoiceDate’ between last week from Max(InvoiceDate)LastInvoiceDate

My table design is:

Advertisement

Answer

You can do that in multiple ways. ie:

User contributions licensed under: CC BY-SA
9 People found this is helpful
Advertisement