CodePudding user response:
The system has LAST_VALUE functionCodePudding user response:
No list, the SQL Server is table, if you are using table, then directly with built-in last_valueIf you are expressed in other ways the list, then see you specific use what way to represent (string, XML, json, or other)