CASCADE in SQL is used to simultaneously delete or update an entry from both the child and parent table.
SQL에서 케스케이드는 자식과 부모 테이블의 엔트리를 동시에 지우거나 업데이트한다.
묶음처리한다. => 효율성 🤟
The keyword CASCADE is used as a conjunction while writing the query of ON DELETE or ON UPDATE. If the cascade keyword is added to a query written for the parent table, then both the parent and child tables change accordingly on the execution of the query.
It can be executed in a single query.