Get Parent_ID by list of Child_Id in SQL – Mysql
I have a mapping table of Parent_Node and Child_Node- Parent_Child A PARENT can have multiple CHILDs, and a CHILD can be a part of multiple PARENTs. create table Parent_Child(Parent_Id int,Child_Id int); INSERT INTO Parent_Child VALUES( 219,217); INSERT INTO Parent_Child VALUES(…