Enunciado
¿Cuántos empleados han pasado por más de un cargo en la compañía?
SQL
SELECT e.FIRST_NAME || ' ' || e.LAST_NAME AS nombre_completo,
COUNT(*) AS cantidad_trabajos
FROM HR.JOB_HISTORY jh
JOIN HR.EMPLOYEES e
ON e.EMPLOYEE_ID = jh.EMPLOYEE_ID
GROUP BY e.EMPLOYEE_ID, e.FIRST_NAME, e.LAST_NAME
HAVING COUNT(*) >= 2;
Porque
Es un JOIN porque necesitas combinar filas de JOB_HISTORY con la tabla EMPLOYEES usando la clave EMPLOYEE_ID, para obtener el nombre del empleado y contar cuántos registros de historial de cargos tiene.