I want to show all rows except the last two id. I have tried:
SELECT f.* FROM Failed_Order_EmailIds f WHERE id NOT IN
(SELECT id FROM Failed_Order_EmailIds ORDER BY id DESC LIMIT 2)
This is giving the following error:
This version of MySQL doesn't yet support 'LIMIT & IN/ALL/ANY/SOME subquery'
You could also use this: