Hi All,
I am trying to run the query from Site admin, however getting the below error:
Query:
select sh.USER_NAME as "User Name", PROJECT_NAME as "Project",
MAX(START_TIME) as "Last Login Date and Time",
Count (sh.USER_NAME) as "Total Login Count"
FROM QCSITEADMIN_DB.td.SESSIONS_HISTORY sh LEFT OUTER JOIN
QCSITEADMIN_DB.td.USERS on sh.USER_NAME =
QCSITEADMIN_DB.td.USERS.USER_NAME
where START_TIME < to_date('2014-11-26','yyyy-mm-dd')
GROUP BY sh.USER_NAME, PROJECT_NAME
ORDER BY sh.USER_NAME
Error:
ORA-00933: SQL command not properly ended.
If i try to run in Oracle Client same error and showing the error at line 5.
Please help me where am I wrong??
Thank you for your help.
Regards,
Kanchan