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

Code Example 1

CREATE FUNCTION nome_funzione … RETURN BOOLEAN IS
	Definizioni;
BEGIN
	Corpo procedura;
	RETURN Variabile;
END;

Learn ReactJs, React Native from akashmittal.com