orientechnologies/orientdb — pull request #2645 by fabriziofortino (2014-08-01 19:49:33+00:00)
Title: stats: percentile and median impl + minor refactoring to mode

example:

***select percentile(score, 0.25) as firstq, median(score), percentile(score, 0.75) as thirdq from events***

see #2624