Example of Table :
Table name : Ex1
Number
2
5
6
7
1
5
10
How to find the minimum value by using ALL or ANY in SQL ?
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.
I believe you must rewrite your question describing a little bit more your answer, if possible in which database you would like to do this.
I don’t know why would you like to do that instead of using MIN function.
In Oracle you could do this
But this will have the same result as:
You could also do this:
You can find more information here.