Hi @R_S_I_F,
What do you mean by
During the session, the user can now run SQL queries on this temporary table
You want both READ and WRITE actions to be made by user to that data?
If so, I'm not sure about the temporary table, however you can use a variable to replicate that data and read/make changes to that dataset.
There is a previous example here
Hope this helps!