Microsoft
Software
Hardware
Network
Question : Find Duplicate Query
Hi all,
I have a 'Find Duplicate' query that returns a list of people. The query returns the PersonID, Name and Order Date. The duplicate is based on the PersonID.
What I am wanting is the query to just return a single record for the Person - and I want that record to be the latest Order Date.
Is this possible?
Thanks,
Tom
Answer : Find Duplicate Query
try this query
select * from tableX
where [Order Date] in
(select max([Order Date]) from tableX group by PersonID)
Random Solutions
Cannot use 'convert' and 'case' in MS Access
cherry1691
Setup an event log collector server(Windows Server 2008)
How to delete a replica from the synchronization list?
Error while trying to update a record on a form.
I have an Excel spreadsheet that is too large
vb.net check isIde
Re install activesync on a windows mobile 6.1
Make table Union All query
How do I update a powerpoint userform listbox from excel?