As stated above you should only have one table tblUsers.
In this table include FName, MName, LName, Gender, Type, Username, Password.
Type field should be used with a dropdown as Admin, Teacher, Pupil.
You no longer need tblTeachers, tblAdmins, and tblPupils. Anytime you only need one or the...