Small project for replace code mysql to sql