Counting non-empty values in each column of a table
问题 I am looking for missing data in a data migration project, and this report will help me immensely. Given a MySQL table, I would like to count all the empty (NULL or '') values in each row of that table. The output would be a list of column names and a count of empty or non-empty rows for each column. This data is something I would manually compare to the source tables - manually because I expect few counts to match up exactly and column names are completely different between the source and