![Sqlitestudio foreign key](https://loka.nahovitsyn.com/92.jpg)
![sqlitestudio foreign key sqlitestudio foreign key](https://powerbidocs.com/wp-content/uploads/2019/12/Foreign-Key.png)
Restrict: if reference rows is updated from parent table then related rows from child table is restricted.
![sqlitestudio foreign key sqlitestudio foreign key](https://i.ytimg.com/vi/38rsZMPJCmg/maxresdefault.jpg)
![sqlitestudio foreign key sqlitestudio foreign key](https://2.bp.blogspot.com/-5z1sWVwv2iU/V2570FhNRUI/AAAAAAAABkY/1AOhDNKPi0goJB1m7bSI9j813g1dh-EIQCLcB/s1600/cetri.png)
Set Null: When we delete reference rows from parent table then related rows from child table are null.
#Sqlitestudio foreign key update
![Sqlitestudio foreign key](https://loka.nahovitsyn.com/92.jpg)
Restrict: if reference rows is updated from parent table then related rows from child table is restricted.
Set Null: When we delete reference rows from parent table then related rows from child table are null.