let me make two comments
first, about your assignment -- if you do not know what the self-join should do for you, then you are going to have trouble with sql forever, and maybe you should take up carpentry or something else instead
second, about your self-join -- it is correct, although not very useful
good luck