开发者

Sqlite Android Quick Question

开发者 https://www.devze.com 2023-03-05 20:11 出处:网络
I wanna pull a random entry in my开发者_如何转开发 database that has downloaded value as 0. How can I do this?SELECT * FROM table WHERE downloaded=0 ORDER BY RANDOM() LIMIT 1;

I wanna pull a random entry in my开发者_如何转开发 database that has downloaded value as 0. How can I do this?


SELECT * FROM table WHERE downloaded=0 ORDER BY RANDOM() LIMIT 1;
0

精彩评论

暂无评论...
验证码 换一张
取 消