From: Albrecht Berger <berger1517@gmx.ch>
To: pgsql <pgsql-sql@postgresql.org>
Subject: DISTINCT ON ... without distinct null values ?
Date: Thu, 18 Apr 2002 16:43:25 +0200
Message-ID: <015d01c1e6e7$6abe3a10$a57ba8c0@wxp> (raw)
Hello,
I've got a table which I query with something like " SELECT DISTINCT ON("c")
FROM table ... " .
Not every row in the column "c" does have a value, some are null.
My problem is, that I want to eliminate double values in "c" only if they
are not null !
Does anybody has an idea ?
Thx
Albrecht
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-sql@postgresql.org
Cc: berger1517@gmx.ch
Subject: Re: DISTINCT ON ... without distinct null values ?
In-Reply-To: <015d01c1e6e7$6abe3a10$a57ba8c0@wxp>
* 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