How can I put the results of a query into a table which is NOT created?
For example, put the following query results into a new table EmployeeDetail which IS NOT CREATED. Create the table and put the results at the same time.
select a.Name, b.Id
from Database1 a left join
Database2 b
ON a.Id = b.Id
How can this be done?
You didn’t specify your RDBMS system, but in SQL Server it would be like this