By writing *efficient* SQL and PL/SQL code inside triggers....