Why not store them in order instead of forever having to sort them and aggregate them just to see which is lower? What a waste of resources. Much easier to just insure, with a trigger, that the values go in ( smaller, larger ) order.
Why not store them in order instead of forever having to sort them and aggregate them just to see which is lower? What a waste of resources. Much easier to just insure, with a trigger, that the values go in ( smaller, larger ) order.