Compute ad revenue metrics by geography in SQL | Meta Interview Question