Jump to content

Finding children with no parents


bulrush

Recommended Posts

I have a parent table called "group" where the key is an auto increment field called "grid". It is linked to child tables "parts" and "features", which both store the "grid" value in a field called "grid", linking them to the "group" table.

 

How do I find records in the "parts" and "features" tables where the record in "group" (the grid value) no longer exists? (Due to a possible bug, perhaps.)

 

 

Link to comment
https://forums.phpfreaks.com/topic/202278-finding-children-with-no-parents/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.