Write SQL queries to demonstrate the use of ROW_NUMBER(), RANK(), and DENSE_RANK() window functions on an employee dataset. The queries should assign rankings to employees within their department based on salary, highlighting the differences between these functions in handling duplicate values.
SELECT
name,
salary,
ROW_NUMBER() OVER (ORDER BY salary ASC) AS row_num,
RANK() OVER (ORDER BY salary ASC) AS rank,
DENSE_RANK() OVER (ORDER BY salary ASC) AS dense_rank
FROM Employees;
Write a DAX formula to calculate the cumulative (running) total of the Budget column in a table. The running total should sum all budget values up to the current row’s date, allowing analysis of budget accumulation over time.

Here's your problem of the day
Solving this problem will increase your chance to get selected in this company
What is recursion?