How would you use window functions like RANK, LEAD, and LAG to perform time-series analysis or comparative reporting at Repsol?