Triggers SQL beautified