Add mysql formula