我有这个 SQL 语句:
SELECT *
FROM history
WHERE (fk_person = 2119) AND (action = 2) AND (date =
(SELECT MAX(day) AS maxDay
FROM history AS hist
WHERE (fk_person = 2119)))
据我所知 SQL Server CE 不支持子查询。
我该如何更换它?
感谢您的回答!