Loading…
Using the security_logs and inventory_logs tables, identify staff members (security_logs.role = Staff) who appear in a Vault security log (location = Vault, any action, including access_denied) within 15 minutes before or after (inclusive) an artifact was checked_out in inventory_logs (which may indicate suspicious activity during potential theft timelines). Return the following columns from the security logs: person_id, role, and the access timestamp (labeled as access_timestamp), one row per matching security log entry, ordered by access_timestamp ascending.
Create a free account to save your progress and reveal the worked answer for this free exercise. The complete practice library is available with Practice Pass or Mastery.