Login
Remember
Register
Ask a Question
Write an Oracle SQL query to get the date and time of the last 10 logins for a specific user.
0
votes
asked
Jan 21, 2024
in
Oracle
by
rajeshsharma
Write an Oracle SQL query to get the date and time of the last 10 logins for a specific user.
oraclesqlquery
Please
log in
or
register
to answer this question.
1
Answer
0
votes
answered
Jan 21, 2024
by
rajeshsharma
SELECT login_time
FROM UserLogins
WHERE user_id = 'specific_user_id'
ORDER BY login_time DESC
FETCH FIRST 10 ROWS ONLY;
...