视图的作用:
和数据库相对应,每次进行查询工作,都需要编写查询代码进行查询;而视图的作用就是不必每次都重新编写查询的SQL代码,而是通过视图直接查询即可
参考链接:https://blog.csdn.net/wuqianjing/article/details/81358740