Mysql helper function, racer profiles