I need to get the information from DB in such a way, the limit should be 3 rows and out of which i want to sort by descending order. I used
select * from table where coloumn = 'Myfilter' order by serialNumber desc limit 3
after the execution I am not getting the latest three records rather the first three records ordered by descending.