Help...subquery problem
I have an issue wherein SQL won't return a result from a Select statement when there is only one result from a subquery.
The SQL statement in question is as follows;
SELECT * FROM Incidents WHERE (IncidentID IN SELECT IncidentID FROM Mitigation WHERE Mitigation_Activity = 'System/network configuration update')) ORDER BY IncidentID
If there is a more than one record in the Mitigation_Table, it works fine. However, if there is only one record in the Mitigation_Table, nothing is returned.
|