Suppose I have Sharepoint List A and Sharepoint List B.
Sharepoint List A (main list)
| Name | ID | Profession | Age | Gender |
| John Doe | 1 | Engineer | 36 | Male |
Sharepoint List B
| ID | Company | Company ID |
| 1 | ABC industries | 123 |
The ID column in Sharepoint List A is the built in ID column of Sharepoint and I'm using that ID as reference in my Sharepoint List B.
Now my question is, let's say I delete the record in Sharepoint List B, how do I make it so that the related record in Sharepoint List A would be deleted as well?