結果 : how to create cursor in sql with example