NRR is easy to inflate by accident. Runnable SQL for net and gross revenue retention, the retention bridge, a monthly trend, and two common mistakes to avoid.