This error results when a subquery used in a scalar expression returns multiple rows, thereby making it ambiguous as to which value should be returned.
The SQL query is terminated.
Respecify the subquery (for example, using the WHERE clause) so that the subquery returns at most one row.