Hi,
select min(col1),max(col1) from
(
select min(col1),max(col1) from table1
union all
select min(col1),max(col1) from table2
)
This query shows some syntax error while execute
Let me know what I have missed with !
Thanks
Sathish

Suraj KumarRank #353 · 7.1K reputationPosted May 8, 2019, 3:22 AM EDT
sathishRank #4,713 · 329 reputationPosted May 8, 2019, 3:16 AM EDT
sathishRank #4,713 · 329 reputationPosted May 8, 2019, 4:29 AM EDT
Suraj KumarRank #353 · 7.1K reputationPosted May 8, 2019, 2:59 AM EDT