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;
精彩评论