Created deviation-value query