Created
January 30, 2015 12:23
-
-
Save StaniTr/37e8b555d5cd6096afed to your computer and use it in GitHub Desktop.
Basic Queries - Records Insight (cnt logon, logoff, id...)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--all records: 17403 | |
Select count(actionname) as allLogs | |
from puzzSessions; | |
--logOFF: 8687 | |
Select count(ActionName) as cntLOFF | |
from puzzSessions | |
where ActionName='LOGOFF'; | |
--logON: 8716 | |
Select count(ActionName) as cntLOFF | |
from puzzSessions | |
where ActionName='LOGON'; | |
--uniqueID=8717 | |
Select count(distinct Session_ID) as allUniqueIDs | |
from puzzSessions; | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment