mysql check if any foreign keys entries in other tables are pointing to an entry in a table
lets say i have a table called employee that stores employee data emp_id emp_data 1 xxx 2 xxx Now lets say i want to delete an employee, if there exists any other entries of this employee's Id pointing to this…