How to delete a row (column) which have a dependency in another table in postgresql ??
suppose one table name is student and another one is transaction both tables having patron_id column, In that I am trying to delete a row in patron table of patron_id column,but it shows having dependency in transaction table so it shows cant update,
Even I am trying to delete that row in transaction again it shows same having dependency in patron table again.
Please tell me the solution how to delete rows if having dependencies?