In Sqlite, can I know how to delete last 10 records? I\'ve wrote following coding but seems not working at all.
delete from tb_news where newsid = (SELECT ne
You can use
delete from tb_news where newsid IN (SELECT newsid from tb_news order by newsid desc limit 10)