FMDB删除前50条数据的写法

删除前50条数据web delete from tab where (select count(Id) from tab)> 50 and Id in (select Id from tab order by Id ASC limit 50); 换成相应的数量便可,若想删除50条以后的数据,用这个:sql delete from tab where (select count(Id) from t
相关文章
相关标签/搜索