if i have 3 insert statements in my plsql code. lets assume them as insert_1, insert_2, insert_3. my conditions be like : if insert_1 statement successfully executed then automatically insert_3 should be executed as well as if insert_3 executed successfully then insert_1 also should be executed automatically.
if both insert_1 and insert_3 fails then only insert_2 should be executed. please write plsql code for this requirement.