Random order by but first 3 - Mailing list pgsql-general

From Arup Rakshit
Subject Random order by but first 3
Date
Msg-id 36431696.812292.1434040516904.JavaMail.yahoo@mail.yahoo.com
Whole thread Raw
Responses Re: Random order by but first 3  ("David G. Johnston" <david.g.johnston@gmail.com>)
List pgsql-general
Hi,

Suppose I have a column t1 for a table. Now t1 holds some numerice value for each row. Say R1 to R5 records has values
forthe column t1 as : 

t1(2,5,8,10,32)

I want the result to be printed as (10, 32, 8, 2, 5) means - Big, Biggest, small , <then any random order>
 Regards,
Arup Rakshit


pgsql-general by date:

Previous
From: Robert DiFalco
Date:
Subject: SET LOCAL synchronous_commit TO OFF
Next
From: Thom Brown
Date:
Subject: Re: SET LOCAL synchronous_commit TO OFF