Here is all about PLSQL blocks. You need to have a clear understanding of how to use them. Here is the tutorial for you.

PLSQL Tutorial