0

在视图或基础表上运行查询之间是否存在性能或其他方面的差异。

查询中可能涉及聚合、排序。

欢迎任何涉及此主题的资源。

4

1 回答 1

1

Ideally a View is just a projection on the underlying tables with optional criteria, generally used to hide certain columns or simplify the complexity involved in joining multiple tables to achieve a particular task etc., and wouldn't have any physical existence in the database. So, a query that is run on the view and a query same as the previous one run on the underlying tables perform in the same way.

于 2012-10-09T04:35:46.220 回答