SQL - Calculating the MODE

Associate
Joined
23 Mar 2005
Posts
969
Location
Colchester, Essex
Ok.. Calculating the average value (MODE) (Most common) in a column (part of a larger query)

Code:
STATS_MODE

Was nice, but turns out the stupid legacy DB doesn't support this argument.

Anyone know of a nice way to do it?
 
Back
Top Bottom