projects
/
oweals
/
gnunet.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
82830a13a89247e45ba2334dc0047e14ee5ebd7e
[oweals/gnunet.git]
/
selectrandom.sql
1
select *
2
from (select random() as v from (values(1))) t1,
3
(select max(repl) as m from data) t2,
4
(select * from data
5
where repl=t2.m and
6
rnd>=t.v
7
order by rnd
8
limit 1)
9