Use Joins to Detect Orphaned Data in Postgres

InstructorBrett Cassette

Share this video with your friends

Send Tweet

Unfortunately, sometimes we don’t add the right constraints to our data. A user gets deleted and old data doesn’t get cleaned up. Primary information is deleted, but its audit trail isn’t. With left and right joins, we can flag anomalous data for deletion.