× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



Hi Martijn,

Am 03.09.2024 um 16:06 schrieb Martijn van Breden <m.vanbreden@xxxxxxxxxxxxxxxxxxxxxxxxxx>:

Thank you for thinking with me. This indeed works!

Your very welcome.

In previous preparation I already read about the difference between the case statement and the case expression. I guess the applicability in order-by clauses is one example where these differences surface.

Well - also in the SELECT, WHERE or GROUP BY clauses the case expression in completely evaluated and effectively "vanishes" from the statement.

One has to wrap its mind around the CASE - as it is something very useful.

Next step - please teach the window functions like COUNT(..) OVER(..) and SUM(CASE ...) - they give so much power.

Glad to help
Daniel

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-2024 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.