freeuser
Apr 25, 2013
sqlite用法
取随机记录
select namestring from namelist order by RANDOM() limit 2
自动增量id的插入
如果在建表时已设定了id为自动增量,则插入记录时这样写,该字段为null就会自动插入相应的id
insert into [trading24-7] values(null,1,1,1,1);
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment