自增字段的类型:integer  此类型为int 64类型,所以代码时,需要注意转换

取最后一次插入是自增的id: last_insert_rowid(),功能与sql的@@identity 一样

top功能的语句:select  *  FROM B_Issue  order by  issue desc , rowid limit 0,10

 

相关文章: