I was thinking if its possible to make automated insertion in foreign key column depends on other column in the same table
Ex. TABLE A
id course orgId 1