程式碼
SELECT FF.USER_FORM_NAME
, A.TIME
FROM (SELECT FORM_ID
, TIME
FROM FND_SIGNON_AUDIT_VIEW
WHERE RESPONSIBILITY_ID = &RESPONSIBILITY_ID
AND USER_ID = &USER_ID
) A
, FND_FORM_TL FF
WHERE A.FORM_ID = FF.FORM_ID(+)
ORDER BY FF.USER_FORM_NAME;
SELECT FF.USER_FORM_NAME
, A.TIME
FROM (SELECT FORM_ID
, TIME
FROM FND_SIGNON_AUDIT_VIEW
WHERE RESPONSIBILITY_ID = &RESPONSIBILITY_ID
AND USER_ID = &USER_ID
) A
, FND_FORM_TL FF
WHERE A.FORM_ID = FF.FORM_ID(+)
ORDER BY FF.USER_FORM_NAME;