oracle - How to get max value out of two max values -


how can find maximum value similar fields in different tables?

select max(select max(col) table1,select max(col) table2...) dual 

doesn't work! suggestions?

you can union:

select max(cols) from(     select max(col) cols table1     union     select max(col) cols table2) 

Comments

Popular posts from this blog

java - Run spring boot application error: Cannot instantiate interface org.springframework.context.ApplicationListener -

python - pip wont install .WHL files -

Excel VBA "Microsoft Windows Common Controls 6.0 (SP6)" Location Changes -