Fix SQL syntax in service alert check
Fix SQL syntax in service alert check