Skip to content
Advertisement

Count of non-null columns in each row

I have a table that contains 4 columns and in the 5th column I want to store the count of how many non-null columns there are out of the previous 4. For example:

Where X is any value:

Advertisement

Answer

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