Good point - another post also pointed this out - result would be a non-unique result, which can't be done with this.

A challenge for the OP, right?

On 4/11/2014 1:11 AM, D*B wrote:
... what should happen, if more than 1 (or even all!) would have the same,
minimal number of orders? All fetch first row solutions would pick up one of
them (by random). All select into versions would have an error situation,
fetching nothing!

D*B



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.