So if I had a table in my database with the values
1
2
3
4
NULL
And I executed the query
SELECT MAX(col1) FROM <table>
I’d get 4. Is there any way to change this so Null would be treated as the maximum as oppose to the minimum?
Thanks!
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
[2147483647 = 2^31 – 1]