→ 🚀What's New? Join Us for the Fall Product Launch! Register Now !
07-03-2012 09:24 PM
07-05-2012 10:10 PM
07-04-2012 12:43 PM
Select tblSoftwareHist.softwareName, tblSoftwareHist.softwareVersion,
tblSoftwareHist.SoftwarePublisher, tblSoftwareHist.Lastchanged
From tblSoftwareHist Inner Join
(Select tblSoftwareHist.softwareName, tblSoftwareHist.softwareVersion,
tblSoftwareHist.SoftwarePublisher, Count(tblSoftwareHist.Action)
As [Actions Count]
From tblSoftwareHist
Group By tblSoftwareHist.softwareName, tblSoftwareHist.softwareVersion,
tblSoftwareHist.SoftwarePublisher
Having Count(tblSoftwareHist.Action) = 1) NewSoftware On
NewSoftware.softwareName = tblSoftwareHist.softwareName And
NewSoftware.softwareVersion = tblSoftwareHist.softwareVersion And
NewSoftware.SoftwarePublisher = tblSoftwareHist.SoftwarePublisher
Where tblSoftwareHist.Action = 1 And tblSoftwareHist.Lastchanged > GetDate() - 14
Order By tblSoftwareHist.softwareName, tblSoftwareHist.softwareVersion
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now