0 votes
in Oracle by
Write an Oracle SQL query to get the date and time of the last 10 logins for a specific user.

1 Answer

0 votes
by
SELECT login_time

FROM UserLogins

WHERE user_id = 'specific_user_id'

ORDER BY login_time DESC

FETCH FIRST 10 ROWS ONLY;

Related questions

0 votes
asked Jan 23 in Oracle by SakshiSharma
0 votes
asked Jan 26, 2021 in Sql by SakshiSharma
...