SQL Server LAST_VALUE Window Function with Examples