gradebook MDL-25769 Fixed SQL syntax formatting