Considere os seguintes comandos SQL foram executados em um ...
CREATE TABLE Setor (idSetor INT PRIMARY KEY, nomeSetor VARCHAR(50)); CREATE TABLE Funcionario (idFunc INT PRIMARY KEY, nome VARCHAR(255), setor INT, FOREIGN KEY (setor) REFERENCES Setor(idSetor) );
O que acontece ao tentar remover uma tupla na tabela setor, caso exista uma tupla na tabela Funcionário cujo valor da coluna setor seja igual ao atributo idSetor, que foi removido?