1. Mr. A entered employee categories into a database table, but 5 rows were missing categories. He incorrectly entered "0" as the category for those rows.
2. The exercise tested different scenarios querying the category column with and without statistics, histograms, and NULL values instead of the "0" placeholder.
3. With statistics but no histogram, the cardinality calculation was worst, estimating over 9,000 matches instead of the actual 5. Histograms improved the calculation by breaking the column into buckets. Replacing the "0" with NULL also helped avoid a skewed distribution.