Попробуйте это
;WITH CTE (eid, aid , eDate , lastUpdated)
AS
(
SELECT 8963, 3493689,'2018-03-29 00:00:00.000','2018-03-29 09:53:03.080' UNION ALL
SELECT 8964, 3493689,'2018-03-29 00:00:00.000','2018-03-30 08:44:04.087' UNION ALL
SELECT 9127, 3493689,'2018-04-06 00:00:00.000','2018-03-30 11:00:47.450' UNION ALL
SELECT 9008, 3493689,'2018-04-06 00:00:00.000','2018-03-29 11:56:51.900'
)
SELECT *
FROM
(
select eid,
aid,
eDate as eDate,
lastUpdated,
ROW_NUMBER()OVER(PARTITION BY eDate ORDER BY lastUpdated DESC) AS ltst
from CTE
)dt WHERE ltst =1
AND aid = '3493689'