pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Kenneth Suralta <ksuralta@ntsp.nec.co.jp>
To: pgsql-interfaces@postgresql.org
Subject: help on SQL
Date: Wed, 21 Apr 2004 15:07:07 +0800
Message-ID: <40861D9B.10403@hq.ntsp.nec.co.jp> (raw)


hello everyone,

is it possible to get every other row in the table?
like for example:
data
-----
1
2
3
4
5
6
7

Is it possible to have this result (interval of 3)?

result
------
1
4
7

thanks,
kenneth

-- 





view thread (8+ messages)  latest in thread

Message-ID: <40861D9B.10403@hq.ntsp.nec.co.jp>
Permalink:  ../40861D9B.10403@hq.ntsp.nec.co.jp/
Also on:    postgresql.org/message-id/40861D9B.10403@hq.ntsp.nec.co.jp

 · 

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 using the --to and --cc options:
  reply via email

  To: pgsql-interfaces@postgresql.org
  Cc: ksuralta@ntsp.nec.co.jp
  Subject: Re: help on SQL
  In-Reply-To: <40861D9B.10403@hq.ntsp.nec.co.jp>

* 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