Compute and rank top bad advertisers | ByteDance SQL Question