Plsql Conditional And Iterative Statements