
Applications Manager requires every Database Query Monitor to have an Identifier (Primary Key) that uniquely identifies each result row.
If your query returns only aggregate values (such as COUNT, SUM, MIN, MAX, or AVG), there is no identifier available, resulting in the "without an identifier" error.
A dummy identifier is required only if your query does not already return a unique column.
| Query Result | Action |
|---|---|
| Only aggregate function(s) | Add a dummy identifier. |
| Returns a unique column (Primary Key, ID, Session ID, etc.) | Use that column as the Primary Key. No dummy identifier is required. |
| Returns a non-unique column (Status, Category, Type, etc.) | Add a dummy identifier or use a unique column instead. |
SELECT 'Number of Pending Tasks', COUNT(*) AS TotalCount FROM app_pending_tasks
Use 'Number of Pending Tasks' as the Primary Key.
SELECT 'Number of Pending Tasks' AS TaskName, COUNT(*) AS TotalCount FROM app_pending_tasks
Use TaskName as the Primary Key.
❌ Incorrect
SELECT COUNT(*) FROM app_pending_tasks
✅ Correct
SELECT 'Number of Pending Tasks' AS TaskName, COUNT(*) AS TotalCount FROM app_pending_tasks
Verify that:
GROUP BY, ensure the identifier column is included in the GROUP BY clause.If the issue persists after following the above guidelines, contact Applications Manager Support with: