How do these two relate to each other in the database?
I see grade_grades and grade_letter, but I can't find the relation between the two.
I believe who this relation is made by code.
I found these links:
https://moodle.org/mod/forum/discuss.php?d=208704