I'm trying to filter and list information from two linked tables (AlertDefinitions and AlertStatus), but to do that I think I need
an inner join statement or some other SQL stuff but I cannot make that work. Can you please advise?
>>This works fine
Select ObjectName, TriggerTimeStamp, Acknowledged, AcknowledgedBy, Notes
From Orion.AlertStatus
Where Acknowledged = '1'
>>This does not work
Select AlertName, ObjectName, TriggerTimeStamp, Acknowledged, AcknowledgedBy, Notes
From Orion.AlertStatus, Orion.AlertDefinitions
Where Acknowledged = '1'
I also need to list and filter the AlertName field from the AlertDefinitions table. How do I do that please?