I have a query that runs correctly on my Docker instance of SQL Server 2019, however won\'t run on SQL Server 2017, and I\'m hoping that it\'s something that can be modified