delete all but first n row
bishuJun 6 2013 — edited Jun 7 2013how can i delete all the rows keeping only first n row.
ie if i have ant table test with one field
select * from test returns
ron
mickey
hanes
mighty
ripper
lobo
axe
i want to write a query which will keep first 3 record and delete rest from 'mighty' to 'axe'.