gunakan my_foreign;
buat jadual myforeign2(
id int primary key auto_increment,
name varchar(20) not null,
c_id int,
my reference.myclass my_class)reference(c_set my_class) null on update cascade
);
use my_class;
update myclass set id =4 di mana id = 3;
select * from myclass;
use my_foreign;
select * dari my tidak dikemas kini