. . "But I am sure other readers would have other preferences.If most of a team is less comfortable with SQL, then he is a reason to keep domain logic away from SQL. (it is also a reason to consider training more people in SQL - at least to an intermediate level.) This is one of those situations where you have to take into account the make up of your team - people do affect architectural decisions.Avoid" . .