http://bizadmin.tistory.com/entry/MySQL-Fetch-Cursor-문-사용방법