I am trying to pull the two most recent levels of care scores for each client. However, when I run this below, it returns two records total each from a different client. I would like it to return two records for each client that has two scores. Any ideas? Thank you!
SELECT LOCUSdates.[CLIENT #], LOCUSdates.[Date Completed], LOCUSdates.[Level Of Care]
FROM LOCUSdates
WHERE (((LOCUSdates.[Date Completed]) In (SELECT TOP 2 LOCUSdates.[Date Completed] FROM LOCUSdates WHERE (LOCUSdates.[CLIENT #]) = (LOCUSdates.[CLIENT #]) ORDER BY LOCUSdates.[Date Completed] Desc)) AND ((LOCUSdates.[Level Of Care]) Like "*"));