I want to understand file table in moodle to write sql to find number of each file type uploaded in moodle
I didn't find this in the Resource table
in file there is context and many numbers
I read context 50 is course, so the instanceid would be course id
but this is not the case in this table
how to know which file uploaded in which course
thanks