定义:通过视图来插入、删除和修改数据
由于视图时虚表,对视图的更新最终转换成对基本表的更新
update is_student
set sname='zzp'
where sno='20200512039';
转换成
update is_student
set sname='zzp'
where sno='20200512039' and sdept='is';
一般地行列子集视图是可更新的,其他不一定
定义:通过视图来插入、删除和修改数据
由于视图时虚表,对视图的更新最终转换成对基本表的更新
update is_student
set sname='zzp'
where sno='20200512039';
转换成
update is_student
set sname='zzp'
where sno='20200512039' and sdept='is';
一般地行列子集视图是可更新的,其他不一定