我最需要知道的 - 观点及其目的? - 它们会提高应用程序的性能吗? - 在什么样的情况下我需要使用 View ?
最佳答案
由于这是家庭作业,您可能应该进行研究。
快速 Google 会产生大量链接,其中之一是 http://www.techotopia.com/index.php/An_Introduction_to_MySQL_Views .
MySQL views are essentially a way to package up SELECT statements into re-usable virtual tables whereby the data can be retrieved simply by referencing the view, rather than having to repeat the associated SELECT statement.
官方站点文档也提供了丰富的信息和可读性。
关于SQL View 。我需要用它来提高性能吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/3178044/