SELECT
Asset.AssetId,
Asset.SerialNo,
MachineType.MachineTypeId,
MachineType.Description AS TypeDesc,
MachineModel.MachineModelId,
MachineModel.Description AS ModelDesc,
x.MovementDate, x.StoreName
FROM Asset
INNER JOIN Machine ON Asset.MachineId = Machine.MachineId
INNER JOIN MachineModel ON Machine.MachineModelId = MachineModel.MachineModelId
INNER JOIN MachineType ON Machine.MachineTypeId = MachineType.MachineTypeId
CROSS APPLY
(
SELECT MAX(MovementDate) MovementDate, MAX(StoreName) StoreName
FROM Store s
JOIN Movement m ON s.StoreID = m.StoreID
WHERE Asset.AssetID = m.AssetID
)x
WHERE Asset.Active = 1