How to find tables all relation in MySQL. whether it references some table, or some other table will take its reference.
For example, suppose student is a table which contains id (primary key), name, class(Foreign key refers class table id field) element. And class is an another table which contains id(primary key), name. and another table student_account is an another table which contains id(primary key), student_id(Foreign key refers student table id field),due.
Now how may I find all relation of table student.