Refactor code with cursor - different results

Printable View