Find bad values, duplicates and outliers, then clean them with SQL.
Data in a company database is rarely clean. Emails are typed in capitals, cities have old names, ages are stored as text with values like NA, and some numbers are far too big to be true. This topic does the checks and fixes inside the database: TRIM, LOWER, NULLIF and TRY_CAST for bad values, ROW_NUMBER for duplicates, and quantiles, window averages and the median absolute deviation for outliers.
Interviewers like these questions because they show whether you look at the data before reporting on it. A single wrong payment can change a store's average many times over, and finding outliers per group, not over the whole table, is a common follow-up.
Every question uses the same two small tables, signups and payments, so you can compare methods: the IQR rule, z-scores and the modified z-score often flag different rows.