Re: All hail Neo!
Date: 26 Apr 2006 00:55:22 -0700
Frank Hamersley wrote:
> I can cope with that - I would have no problem being forced to write
> "select avg(age) from table where age is not null"
> to get the crappy statistic that it is if the user demanded it.
I dunno. If you have a whole lot of people and most of them have their ages filled in and a few don't, are you ever going to want to ask, "what is the average age", since the answer will always be "unknown." Doesn't seem much use to me. If you want to know if any of them are unknown, you could ask that specifically. But if you want to know the average age, then you want to know the average of the data you have; you're not asking about the data you don't have because you don't have it. The only useful query in there is "give me the average age for the data I have"; why should we make the way you ask for that longer winded than other, never-useful queries?
Marshall Received on Wed Apr 26 2006 - 09:55:22 CEST