Hi I need help with the max function.
How do I get the max of the queries result in sql?
my query is:
select val from table where id in(3,4);
It will give me two values. From this what should I add so that it will give me only 1 value and that value is the max of the two? Thanks.
How do I get the max of the queries result in sql?
my query is:
select val from table where id in(3,4);
It will give me two values. From this what should I add so that it will give me only 1 value and that value is the max of the two? Thanks.