![]() |
|
Archives of the TeradataForumMessage Posted: Thu, 21 Jul 2011 @ 08:17:46 GMT
Hi, You can also use below query to get the required results.
sel username,event,max(logdate),max(logtime)
from DBC .LogOnOff
group by 1,2 having event='logon'
Regards, Kalyan Yadav.
| ||||||||||||||||||||||||||||||||||||||||||||||||
| | ||||||||||||||||||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||||||||||||||||||
|
| ||||||||||||||||||||||||||||||||||||||||||||||||
| Copyright 2016 - All Rights Reserved | ||||||||||||||||||||||||||||||||||||||||||||||||
| Last Modified: 15 Jun 2023 | ||||||||||||||||||||||||||||||||||||||||||||||||