我使用了视图 建立了USER视图,想用他进行身份验证
creat view user
as
select username,password from student
union
select username,password from teacher
进行身份验证时更新登陆信息,出错
不符合更新视图的条件,那我如何来做呢,能够做到更新
...全文
192回复打赏收藏
除了用union还有什么办法联合多个表的数据
我使用了视图 建立了USER视图,想用他进行身份验证 creat view user as select username,password from student union select username,password from teacher 进行身份验证时更新登陆信息,出错 不符合更新视图的条件,那我如何来做呢,能够做到更新