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
Popup window inside update panel
What is the right way to clone a Windows Server 2003 server, using imaging software?
Default Date Format - Visual Studio 2005 Parameters
Locking a Row in Excel
Saving A Word Document opened from a template in MS Access with a specific name
Microsodft system center virtual machine manager 2008
Can Sharepoint access
Local delivery queue in retry mode
Delete whole line in word doc
C# VS2008 Win App - HOw can I create nice form skins - can I download them?