added SQLCommands method to get gradeHistory from the db