|
Many thanks to everyone who responded to my question, it really is
appreciated.
I totally missed the HAVING clause in the SQL book I was looking at, and
the AS clause wasn't listed. Time to get a more up to date book I
guess.
I tried both methods and noticed that over a file with 4,000,000+
records the HAVING returned the first page of results in approximately
24 seconds whilst the AS only took around 2 seconds.
All the best and thanks again
Jonathan
As an Amazon Associate we earn from qualifying purchases.
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.