I'm trying to insert into a temp table with a query that uses a join:
SELECT c.value1, s.value1,c.value2,s.value2
FROM table1 c
JOIN table2 s
ON c.value1 = s.value1
WHERE c.value2 = s.value2
if I put my insert into my temp table at the top, its says invalid object name