Phpmyadmin – How to find the average of two columns but if one value is null, then only show me the other value?
I have a table where I want to find the average value of column1 and column2, but in some cases there may be null values in either columns. In that case, I just want to be shown the value that…