What is view? why do we have view?


Posted in 面试题 onJune 22, 2012
Views can represent a subset of the data contained in a table
Views can join and simplify multiple tables into a single virtual table
Views can act as aggregated tables, where the database engine aggregates data (sum, average etc) and presents the calculated results as part of the data
Views can hide the complexity of data; for example a view could appear as Sales2000 or Sales2001, transparently partitioning the actual underlying table
Views take very little space to store; the database contains only the definition of a view, not a copy of all the data it presents
Depending on the SQL engine used, views can provide extra security
Views can limit the degree of exposure of a table or tables to the outer world

Tags in this post...

面试题 相关文章推荐
PHP如何防止SQL注入
May 03 面试题
联想C++笔试题
Jun 13 面试题
介绍一下.net和Java的特点和区别
Sep 26 面试题
杭州联环马网络笔试题面试题
Aug 04 面试题
什么是索引指示器
Aug 20 面试题
几个Shell Script面试题
Apr 18 面试题
什么是虚拟内存?虚拟内存有什么优势?
Feb 09 面试题
介绍一下Prototype的$()函数,$F()函数,$A()函数都是什么作用?
Mar 05 面试题
如果有两个类A,B,怎么样才能使A在发生一个事件的时候通知B
Mar 12 面试题
Java Servlet API中forward() 与redirect()的区别
Apr 20 面试题
简单的JAVA编程面试题
Mar 19 面试题
创联软件面试题笔试题
Oct 07 面试题
说一下mysql, oracle等常见数据库的分页实现方案
Sep 29 #面试题
天游软件面试
Nov 23 #面试题
介绍一下内联、左联、右联
Dec 31 #面试题
如何用SQL语句进行模糊查找
Sep 25 #面试题
存储过程的优缺点是什么
Jan 10 #面试题
DBA数据库管理员JAVA程序员架构师必看
Feb 07 #面试题
介绍一下SQL Server里面的索引视图
Jul 31 #面试题
You might like
PHP生成指定长度随机数最简洁的方法
2014/07/14 PHP
PHP计算指定日期所在周的开始和结束日期的方法
2015/03/24 PHP
php redis setnx分布式锁简单原理解析
2020/10/23 PHP
转一个日期输入控件,支持FF
2007/04/27 Javascript
理解JavaScript中的对象 推荐
2011/01/09 Javascript
JS基础之undefined与null的区别分析
2011/08/08 Javascript
当前页禁止复制粘贴截屏代码小集
2013/07/24 Javascript
javascript生成不重复的随机数
2015/07/17 Javascript
jquery点击切换背景色的简单实例
2016/08/25 Javascript
js style.display=block显示布局错乱问题的解决方法
2016/09/21 Javascript
JavaScript中的普通函数和箭头函数的区别和用法详解
2017/03/21 Javascript
Angular 2父子组件数据传递之@ViewChild获取子组件详解
2017/07/04 Javascript
Vue cli 引入第三方JS和CSS的常用方法分享
2018/01/20 Javascript
使用JS判断移动端手机横竖屏状态
2018/07/30 Javascript
JS实现点击拉拽轮播图pc端移动端适配
2018/09/05 Javascript
vue实现的双向数据绑定操作示例
2018/12/04 Javascript
详解vue项目接入微信JSSDK的坑
2018/12/14 Javascript
微信小程序拍照和摄像功能实现方法示例
2019/02/01 Javascript
将Vue组件库更换为按需加载的方法步骤
2020/05/06 Javascript
微信小程序清空输入框信息与实现屏幕往上滚动的示例代码
2020/06/23 Javascript
[01:43]倾听DOTA2英雄之声 魅惑魔女国服配音鉴赏
2013/06/06 DOTA
Python 匹配任意字符(包括换行符)的正则表达式写法
2009/10/29 Python
用Python的pandas框架操作Excel文件中的数据教程
2015/03/31 Python
python中根据字符串调用函数的实现方法
2016/06/12 Python
windows下python 3.6.4安装配置图文教程
2018/08/21 Python
Python Django Vue 项目创建过程详解
2019/07/29 Python
Python中输入和输出(打印)数据实例方法
2019/10/13 Python
Python操作Jira库常用方法解析
2020/04/10 Python
基于Django集成CAS实现流程详解
2020/11/28 Python
Html5在手机端调用相机的方法实现
2020/05/13 HTML / CSS
Dillard’s百货官网:Dillards.com
2018/05/26 全球购物
圣诞树世界:Christmas Tree World
2019/12/10 全球购物
最畅销的视频游戏享受高达90%的折扣:CDKeys
2020/02/10 全球购物
2014年客房服务员工作总结
2014/11/18 职场文书
上学路上观后感
2015/06/16 职场文书
Javascript设计模式之原型模式详细
2021/10/05 Javascript