Still don't know

There are several type of object_type, I just group by object_type instead of object_name. Why it say object_name not a group by expression?