Use triggers anywhere in the query