Take a look at this SWQL query to return all acknowledged alerts that shows the JOINs with alertstatus table.
It has the SWQL, but all the DB table name should be identical. So, you should be able to convert this to an SQL query easily
Take a look at this SWQL query to return all acknowledged alerts that shows the JOINs with alertstatus table.
It has the SWQL, but all the DB table name should be identical. So, you should be able to convert this to an SQL query easily