I have the following database design:
Employee Table: EmployeeID, Name, OrgCode
Department Table: OrgCode, DepartName
CompleteSurvey Table: ID, RespondentID
Now, since I have some employees in the Employee Table with Null Values in the OrgCode column, I want to replace the NULL values with ‘Others’ value since I have ‘Others’ in the Department Table with the (OrgCode = 4). So is there any query to do this for me?
Use this query: