$ 0 0 Hi Jesus Gallego, It can be done by using Window Functions.. Below is the exampleRegards,Srihari.