Analytical Functions in oracle explained with real examples