📜  oracle 用户上次连接日期 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:17.729000             🧑  作者: Mango

代码示例1
SELECT max(TIMESTAMP), A.USERNAME
FROM DBA_AUDIT_TRAIL A
WHERE ACTION_NAME = 'LOGON'
GROUP BY USERNAME
ORDER BY 1 DESC;