Skip to content
Advertisement

How to overcome the problem. If manager is not available then display manager name ‘NA’. If phone number is not available then display as ‘NA’

I have written the query like:

Problem is, I’m not getting the output containing null values

Advertisement

Answer

A regular (inner) join will only return rows that match the join condition. You’re looking for a left join:

User contributions licensed under: CC BY-SA
4 People found this is helpful
Advertisement