Usually you would write something like DELETE FROM MyTable WHERE XYZ ORDER BY Col *LIMIT 5*;
Unfortunately SQLite does not support the LIMIT clause in DELETE statements<http://www.sqlite.org/lang_delete.html>. But I think you could get around with something else: DELETE FROM MyTable WHERE _id IN (SELECT _id FROM MyTable WHERE XYZ ORDER BY Col LIMIT 5); I did not try that, though... -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

