Código SQL:
Ver originalCREATE TABLE #temp
(
nombre VARCHAR(200)
)
 
CREATE TABLE #temp2
(
nombre VARCHAR(200)
)
 
INSERT INTO #temp VALUES ('Empleado 1')
INSERT INTO #temp VALUES ('Empleado 2')
INSERT INTO #temp VALUES ('Empleado 3')
INSERT INTO #temp VALUES ('Empleado 4')
INSERT INTO #temp VALUES ('Empleado 5')
 
 
INSERT INTO #temp2 VALUES ('Empleado 1')
INSERT INTO #temp2 VALUES ('Empleado 2')
INSERT INTO #temp2 VALUES ('Empleado 3')
 
SELECT * FROM #temp AS t1
WHERE NOT EXISTS (SELECT nombre FROM #temp2 AS t2 WHERE t1.nombre=t2.nombre)