pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jackson, DeJuan <djackson@cpsgroup.com>
To: Mauro Bartolomeoli <mbarto@novacomp.it>
To: pgsql-sql@postgreSQL.org
Subject: RE: [SQL] random tuple
Date: Wed, 7 Oct 1998 11:38:19 -0500
Message-ID: <F10BB1FAF801D111829B0060971D839F45B71F@cpsmail> (raw)

> Is there any way to select a random row from a table using an SQL
> query?
> I'm using Postgresql 6.3.2.
> 
I'd look at using cursors and random().
	-DEJ



view thread (5+ messages)  latest in thread

Message-ID: <F10BB1FAF801D111829B0060971D839F45B71F@cpsmail>
Permalink:  ../F10BB1FAF801D111829B0060971D839F45B71F@cpsmail/
Also on:    postgresql.org/message-id/F10BB1FAF801D111829B0060971D839F45B71F@cpsmail

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-sql@postgresql.org
  Cc: djackson@cpsgroup.com, mbarto@novacomp.it
  Subject: Re: [SQL] random tuple
  In-Reply-To: <F10BB1FAF801D111829B0060971D839F45B71F@cpsmail>
  References: <F10BB1FAF801D111829B0060971D839F45B71F@cpsmail>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox