Sei sulla pagina 1di 1

Delete from Pilote where N_pil=3

create trigger T_supp_pil


On Pilote
For Delete
as begin
Delete from Vol where N_pil in (select N_pil from Deleted)
end
Delete from Pilote where N_pil=3
delete from Vol where N_pil=3
select * from Vol

Potrebbero piacerti anche