>...but it would be nice if it would have realized it was a field 

Would have been, I agree. However, the problem is that the query
analyzer selects the rows to "feed" into the select clause long before
it applies the select clause. IIRC, 'where' goes first, 'group by'
second, 'having' third, 'select' fourth and 'order by' last, and
actually 'join' goes before all of that.

As for the having clause, it wouldn't help you here since you don't have
a group by. Think of having as the where clause for a group by.

-Walden

------------
Walden H Leverich III
Tech Software
(516) 627-3800 x3051
WaldenL@xxxxxxxxxxxxxxx
http://www.TechSoftInc.com

Quiquid latine dictum sit altum viditur.
(Whatever is said in Latin seems profound.)



As an Amazon Associate we earn from qualifying purchases.

This thread ...


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.