In Rick's case it was a PICNIC - Problem In Chair Not In Computer (sorry
Rick :)

You're right as far as NULL comparison is concerned though.
Even comparing a field that's NULL against itself or another field that's
NULL will evaluate to NULL.  Why?  Because if something's void of value, how
can you compare it with anything?

Elvis

Celebrating 10-Years of SQL Performance Excellence

-----Original Message-----
Subject: RE: Omit record from SQL AVG based on field value

I believe the reason for this problem is that just about any operation
that includes a NULL returns the value NULL. For example

3 + NULL Returns NULL
Field = NULL Returns NULL
Average(3,5,10, NULL) Returns NULL




As an Amazon Associate we earn from qualifying purchases.

This thread ...

Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2025 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.