Hey, I need to find the: "Mode - The most common value in a set of data." From a set of results from a mysql table OR an array, does anyone know of any existing functions to help do this? Many Thanks -Dan
That assumes that you are looking at a single table and the field named "value" contains the quantity for which you want to take the mode. If your data structure is more complicated and you are having a hard time adapting the query then it would be helpful to describe your data.