Compute multi-account activity and unread percentages in SQL | Meta Interview Question