SELECCIONAR DeviceSummary.AssetName, DeviceSummary.Username, UserDetails. [Nombre],
UserDetails. [Apellido], UserDetails. [Centro de coste], DeviceSummary.LastUsed
De UserDetails INTERNO ENSAMBLAR DeviceSummary EN UserDetails.Username = DeviceSummary.Username
DONDE DeviceSummary.LastUsed = DMax (“último usado”, “DeviceSummary”, “AssetName='" y DeviceSummary.AssetName y “'")
ORDEN POR DeviceSummary.LastUsed DESC;