I saw a lot of examples online, but I'm still unsure on how to create a temporary table. The following example is how I create a temporary table in SQL Server:
if object_id('tempdb.dbo.#processid') is not null truncate table #processid
if object_id('tempdb.dbo.#processid') is not null drop table #processid
select distinct
lot_id,
ssr.run_oid,
process_id
into #processid
from sigma.sigma_run ssr
inner join sigma.sigma_lot ssl on ssl.run_oid = ssr.run_oid
How can I create a temporary table just like this in Oracle SQL?