从sqlite表中选择随机行 [英] Select random row from a sqlite table
本文介绍了从sqlite表中选择随机行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我有一个具有以下架构的sqlite
表:
I have a sqlite
table with the following schema:
CREATE TABLE foo (bar VARCHAR)
我正在使用此表存储字符串列表.
I'm using this table as storage for a list of strings.
如何从此表中选择随机行?
How do I select a random row from this table?
推荐答案
看看 查看全文