Group By, Aggregate Functions and NULL

From: Brendon Gleeson <brendon(at)gleesonprop(dot)co(dot)za>
To: pgsql-novice(at)postgresql(dot)org
Subject: Group By, Aggregate Functions and NULL
Date: 2006-07-27 17:25:10
Message-ID: 44C8F6F6.9000300@gleesonprop.co.za
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

I need to Group By a date column that may contain a NULL value. Min() only
gives me the lowest date and not NULL if it exists. How do I get a Group By
clause to give me NULL if it exists?

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Andrew Hammond 2006-07-27 18:12:03 Re: Group By, Aggregate Functions and NULL
Previous Message Sue Fitt 2006-07-27 16:25:58 Re: pg_dump ordering in 8.1.3