I found this question ( How to get the max of two values in MySQL? ) while looking for ways to compare discrete set of values.
I want to be able to get the minimum of few selected values where some of them may be null
because they are optional but the MySQL docs says:
If any argument is NULL, the result is NULL.