new feature: calculated_in_sql_field (a combination of aggregate field and calculated field); let's call the aggregate strategy :strategy, and accept :type for backward compatibility (but only in the specification of an aggregate field)