1.create view時(shí) 在select語(yǔ)句中有兩個(gè)約束:
1).不能使用union操作。
2).不能使用order by子句,但可以使用group by里的order by。
2 在操作view時(shí):
1).多表視圖不能使用delete
2).除非底層表的非空列都在view里出現(xiàn),否則不能使用insert(用distinct不能用)
3).update只能更新同一個(gè)虛表的列