Oracle Trigger Before Insert Or Update Example, But if the condition met in IF statement, I want to record data only into Purchases table.