Skip to content
Advertisement

Remove duplicate left outer join

I need help to merge 2 duplicate rows from the below result from my sql query.

Result

Query Output

Query

If you can see there are 2 rows with LocationId 3057, one with Role Admin and One with NULL. I want to merge them and want to show only one row with Role Admin.

Thank you for looking in to this.

Advertisement

Answer

Try this:

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