Tips to find tables affected by MySQL ON DELETE CASCADE action
Sometimes, it is useful to know which table is affect by the MySQL ON DELETE CASCADE referential action when you delete data from the parent table. You can query this data from the referential_constraints in the information_schema database as follows