Sample Header Ad - 728x90

How to get last N rows of each group from group by in MySQL

1 vote
1 answer
370 views
I have a table with isin (test), date (Date), and amount (int). I am trying to get the amount of the last 2 dates per isin. Someone can tell me the trick please?
Asked by Nicolas Rey (113 rep)
Apr 10, 2024, 08:36 PM
Last activity: Apr 27, 2024, 04:29 AM