Comments - FIRST_VALUE

4 years, 9 months ago Dean Trower

It would be nice if this were also be usable in non-window form as

FIRST_VALUE(expr,[expr,...])

where it would evaluate all arguments in order, and return the first one. This is for symmetry with LAST_VALUE, but also because sometimes it's more natural to write the expression you want to return first.

 
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.