Check out example codes for "no data found oracle". It will help you in understanding the concepts better.

Code Example 1

BEGIN

select... into...

EXCEPTION WHEN NO_DATA_FOUND
do_something
END;

Learn ReactJs, React Native from akashmittal.com