[database-devel] Esquleto : 'ORDER BY random()'?
Torsten Grust
torsten.grust at uni-tuebingen.de
Fri Jul 12 14:27:26 CEST 2013
On 12 Jul 2013, at 14:25, Erik de Castro Lopo wrote (with possible deletions):
> Felipe Almeida Lessa wrote:
>
>> I'm on my phone and didn't test it, but can't you use
>>
>> orderBy [asc random_]
>>
>> ? On your SQL the ASC is implicit.
What's nice about the relational model is that it gives you
"ORDER BY random()" *anytime* you access the rows of a table. :-)
> Not quite! Too tired to chase this now. Time for bed :-).
Sleep well,
--Torsten
--
| Prof. Dr. Torsten Grust
| Database Systems — Universität Tübingen (Germany)
| torsten.grust at uni-tuebingen.de
| db.inf.uni-tuebingen.de
More information about the database-devel
mailing list