Compute ads revenue by geography in SQL | Meta Interview Question