Tag archive
Commands grouped around the same concept, pattern, or recurring problem.
Audit a table for `NULL` values by counting how many rows have no value in each column of interest.
Flag values that fall outside the interquartile fence `[Q1 − 1.5 × IQR, Q3 + 1.5 × IQR]` using `PERCENTILE_CONT` in PostgreSQL, MariaDB, and SQL Server.
Generate the expected numbers and left join to the existing table to find missing ids or sequence values.
Use a `WHERE` predicate to list rows that already break a business or constraint rule.