Wells Fargo Interview Question

Analytics Oracle function