You can also declare the cursor explicitly and then reference that in the FOR loop. You can then use that same cursor in another context, such as another FOR loop.
Some results have been hidden because they may be inaccessible to you
Show inaccessible results