0

As I want to retrieve the LastUpdate , LocReqNo of every location. I mean to say that in the mention table there is 3 locationId , i.e., A1,A2,A3.

enter image description here

I want the output of the above table as follows:

enter image description here

I have gone through How to get latest 2 records of each group , but unable to get my expected result.

Any suggestion or help will be appreciated.

Md Haidar Ali Khan
  • 6,523
  • 9
  • 40
  • 62

0 Answers0