In SQL Server Management Studio, I have created two tables like
- Employee,
- Department,
I have set the relation between department and employee as a one-many relation. but when I delete a row from the Employee table, I got this error
The DELETE statement conflicted with the REFERENCE constraint

I am a beginner, started learning the database concepts, and I need help to fix this error?