Answer:
The output will be 2.
Because even though we have three rows but a single row does not contain managerId which means it contains NULL value.
Since the COUNT statement does not allow NULLS, the output is 2.
Asked In: Many Interviews |
Alert Moderator