I created a table which contains both primary as well as foreign keys. Now i wants to know what are the tables which refers my table element as foreign key.
For example, student
is a table which contains id (primary key), name
element. And standard
is an another table which contains class_id (primary key), and stud_id (Foreign key refers student table id field)
. When i give student table and id field as input, it returns standard table as output. Please suggest me how can i achieve this???