Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-novice by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group