Check out example codes for "for cursor plsql". It will help you in understanding the concepts better.

Code Example 1

FOR record_name IN cursor_name
LOOP 
	statement1; 
	statement2; 
	. . . 
END LOOP;

Learn ReactJs, React Native from akashmittal.com