79314882

Date: 2024-12-29 02:42:52
Score: 1
Natty:
Report link

If anyone is still looking for it and the accepted answer doesn't fit (query planner shenanigans) MariaDB has LAST_VALUE() function specifically for this.

https://mariadb.com/kb/en/last_value/

Reasons:
  • Low length (1):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: yurish