SELECT usr.user_id,
usr.user_name,
res.RESPONSIBILITY_ID,
res.RESPONSIBILITY_NAME
FROM apps.FND_USER usr,
apps.FND_RESPONSIBILITY_TL res,
apps.FND_USER_RESP_GROUPS grp
WHERE ( UPPER (res.RESPONSIBILITY_NAME) LIKE '%SUZ%'
OR UPPER (res.RESPONSIBILITY_NAME) LIKE '%NANJING%'
OR UPPER (res.RESPONSIBILITY_NAME) LIKE '%SZ%')
AND grp.responsibility_id = res.responsibility_id
AND grp.user_id = usr.user_id
ORDER BY 2
usr.user_name,
res.RESPONSIBILITY_ID,
res.RESPONSIBILITY_NAME
FROM apps.FND_USER usr,
apps.FND_RESPONSIBILITY_TL res,
apps.FND_USER_RESP_GROUPS grp
WHERE ( UPPER (res.RESPONSIBILITY_NAME) LIKE '%SUZ%'
OR UPPER (res.RESPONSIBILITY_NAME) LIKE '%NANJING%'
OR UPPER (res.RESPONSIBILITY_NAME) LIKE '%SZ%')
AND grp.responsibility_id = res.responsibility_id
AND grp.user_id = usr.user_id
ORDER BY 2
No comments:
Post a Comment