Query to Find whether a person has more than one supervisor record
Hi
Could you please provide me a query to see whether a user has more than one Supervisor record details in PER_ALL_ASSIGNMENTS_F
SELECT b.person_id,b.supervisor_idFROM apps.per_all_assignments_f b, apps.per_all_people_f aWHERE a.person_id = b.person_idAND TRUNC (SYSDATE) BETWEEN a.effective_start_dateAND a.effective_end_dateAND TRUNC (SYSDATE) BETWEEN b.effective_start_dateAND b.effective_end_dateAND a.suffix inRegards
Harish
Tagged:
0