T-SQL Window functions : for data analysis and beyond - Ben-Gan, Itzik (Microsoft : Pearson Education, 2020)