ERROR 1452 (23000): Cannot add or update a child row: a foreign key constraint fails (`project`.`#sql-1 a60_a`, CONSTRAINT `fk_desc` FOREIGN KEY (`pkg_desc`) REFERENCES `services` (`Pkg_desc`)) code example
Example: mysql error 1452
SELECT child_table.*
FROM child_table
LEFT JOIN parent_table
ON parent_table.referenced_column = child_table.referencing_column
WHERE parent_table.referenced_column IS NULL
-- Delete all data from output of that query