Customer Lifetime Value - Medium SQL Joins Interview Problem | Unnested