my records in table LOCATION
id area
1 bangalore
2 mysore
3 bangalore
etc...,
I need to query in the table where I should get the last 15 records of each area and I'm not knowing upfront about the areas available in the table.
tried grouping but that didn't work.