I want to be able to execute avg () in a column after deleting the 5 highest values in it and see that stddev does not exceed a certain number. This needs to be done completely as a PL / SQL query.
EDIT: To clarify, I have a dataset that contains values in a specific range and tracks the delay. I want to know if the AVG () of these values is the result of an overall increase in latency or because of several values with a very high stddev level. Ie - (1, 2, 1, 3, 12311) in contrast to (122, 124, 111, 212). I also have to achieve this with an SQL query due to the limitations of the monitoring software.
source
share