Question: If I'm pursuing studies at/in the XYZ department, what is the correct preposition for the following sentence?
I'm a student [at / in / from / of] the XYZ department
There are related questions here on ELL, but they are mostly about whether I'm studying "at" an university, not a department from an university. Googling I could find all of these prepositions being used by students in leading English speaking universities.
Related:
https://ell.stackexchange.com/a/100972/67575
https://ell.stackexchange.com/a/15027/67575
https://english.stackexchange.com/a/7408/229087