I have this SQL statement:
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)))
As far as I know SQL Server CE does not support subqueries.
How can I replace it?
Thanks for your answer!
Try