With the below query, I am creating a new table.
select * from TableA, tableB, (another query to make new table)TableC
where condition
This makes my query look long and awful. I don't know if there is a way to make a temporary table to query later.
For example based on the above query:
tableC = another query to make new table
select * from tableA, tableB, tableC
where condition