I have a table where I need to find and update the status id if the specific columns are empty or NULL.
I need to check columns Like Phone and Email if its value is empty or NULL, the Status should be updated to 2.
I tried this query:
select * from UserTbl where NULL in(Email, Phone)
As the column values are empty, I am not getting any result.