分类: SQLite/嵌入式数据库
2012-07-25 15:46:44
随机查询
SELECT * FROM 表名 ORDER BY RANDOM() limit 1
SELECT code,value FROM table1 ORDER BY RANDOM(code) LIMIT 1
随机查询
随机查询
Select top 100 * from TableName order by NewId()参考文档:
http://blog.sina.com.cn/s/blog_6f97247e01011bhd.html
(未完待续)