I joined a new company and they are using DBVisualizer. For the last 5 years, I used SQL Server and I am now appreciating SQL Server for its intelligent execution of queries.
One of the problems I am facing is executing multiple temp tables at a time. For example, trying to execute the following throws me an error saying #abc is not available. This was not a problem in SQL Server as it used to execute it smartly.
drop table if exists #abc;
create table #abc as
select a.ID, a.EMP
from sandbox.table1 as a
drop table if exists #cde;
create table #cde as
select a2.ID, sum(a1.sum) as Rev
from sandbox.table2 as a1
join #abc as a2 on a1.ID = a2.ID
group by a2.ID