Is it possible to return the MAX of a SUM in a stored function? MYSQL
I am working with a database for an animal sanctuary where people can make donations to specific animals. I am trying to create a function that would return which animal a donor has donated to the most. The table I…