Chapter 2 m121 "using cursor like stages

Hi ,
Please help to resolve the problem: