Loading...
Most Recent Token Usage
A easy SQL interview practice problem on DataDriven. Write and execute real sql code with instant grading.
- Domain
- SQL
- Difficulty
- easy
- Seniority
- mid
Problem
The security team is auditing API token activity. For each token owner, pull only the single most recently used record. Include all token fields (ID, owner, scope, status, issued date, expiration, last used date, request count) and a row indicator.
Practice This Problem
Solve this SQL problem with real code execution. DataDriven runs your SQL queries against a live PostgreSQL database and grades it instantly.