by Bob Puffer.
I'm assuming you mean grade item when you refer to applying an aggregation type to an "assignment". Grade categories (including the course category) are the only thing that can have an aggregation type applied. If the aggregation were Weighted mean of grades then all the grade items (including assignments) contained in the category would have a weight associated with them known in the grade_items table as the aggregationcoef.