Ah, i see. That's because the SQL Standard stinks. Methinks some people on the standards committee have never actually used the language.

Anyway, the ANSI 99 standard is pretty well supported, and can do just about anything, though perhaps not in the fastest method.

Ultimately, the best methods are specific to the RDBMS, do to what they were aiming for.

In reply to Re^5: poll ideas quest 2017 [The most hated language] by chacham
in thread poll ideas quest 2017 by pollsters

Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post; it's "PerlMonks-approved HTML":