‎03-02-2012 07:03 AM
SELECT TOP (50) dbo.tblComputers.Computername, dbo.tblComputers.ComputerUnique, dbo.tblCPlogoninfo.Username, dbo.tblCPlogoninfo.Ipaddress,
dbo.tblCPlogoninfo.logontime
FROM dbo.tblComputers INNER JOIN
dbo.tblCPlogoninfo ON dbo.tblComputers.Computername = dbo.tblCPlogoninfo.Computername
WHERE (dbo.tblCPlogoninfo.Username = N'a_pbg00121')
ORDER BY dbo.tblCPlogoninfo.logontime DESC
‎03-06-2012 01:25 AM
‎03-02-2012 10:46 AM
Select Distinct tblCPlogoninfo.Username, tblComputers.Computername,
tblComputers.ComputerUnique
From tblComputers Inner Join
tblCPlogoninfo On tblComputers.Computername = tblCPlogoninfo.Computername
Where tblCPlogoninfo.Username = 'YourUser'
Order By tblComputers.ComputerUnique
Experience Lansweeper with your own data. Sign up now for a 14-day free trial.
Try Now