How would I go about getting a value from a column in a table and compare it to a column in another table and return the greater of the two in a single query?
I have two different queries for getting those values, I just don’t know how to compare:
select level from cmh where user = 'blah'
select level from cons where user = 'blah'
I need to compare the above two levels and get the greater of the two.
thanks
Something like (off the top of my head)