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
DateTime Comparison in Access 2000
Printer Server Shares
SQL 2008 Express and Classic ASP
How to create a domain-wide slideshow screensaver GPO by using pictures on each local machine ?
OLE registration error occurred
Mask URL ASP .net
Extract data all in one line
"Previous session of OneNote still exiting"
telnet not sending mail content?
Network path not found or acess denied to Windows 2003 SBS while logged in as a domain admin on a client computer.