An aggregate function error in SQL occurs when you try to use an aggregate function in a way unsupported by the SQL language. You may experience the error if you do ...
Some results have been hidden because they may be inaccessible to you
Show inaccessible results