Considere uma tabela T com a seguinte instância.        &nbs...

Questão da banca FGV aplicada no concurso DPE RJ (2014). Confira a resolução completa abaixo:

Considere uma tabela T com a seguinte instância.

                              f     g    h
                              5    2    1
                              3    2    2
                              4    5    1
                              2    3    2

O comando

          delete from t 
          where exists  
                   (select * from t t2 
                    where t2.f   
remove