视图--bai
2017-01-08 15:06
127 查看
/*视图的必要性 create view population_all_view as select xxxx 详细信息 from qgck where rownum<500 -- sql语句不易读懂 create view population_all_view as select * from qgck where rownum<500;-- sql语句超出负载。 */ select * from scott.emp; --视图的创建 查询员工编号、员工名及所在部门的名称 create or replace view emp_basic_info_view as select scott.emp.empno as 员工编号,scott.emp.ename as 员工名, scott.dept.dname as 部门名 from scott.emp ,scott.dept where scott.emp.deptno = scott.dept.deptno --查询视图 select * from emp_basic_info_view delete from system.emp_basic_info_view where 员工编号='8000'; --练习1
相关文章推荐
- 只在必要时保存服务器控件视图状态
- Revit二次开发之“显示或隐藏视图中选中的元素”
- View Programming Guide for iOS ---- iOS 视图编程指南(一)
- Oracle的数据字典和动态性能视图
- iOS学习笔记——滚动视图(scrollView)
- 视图
- 强大的视图拖拽助手--ViewDragHelper
- 应用程序结构:概念视图-6状态(企业结构)
- 视图和视图控制器
- ASP.NET MVC 视图引擎
- ASP.NET MVC 入门3:路由设置及视图入门
- 10 View engines 视图引擎(Nancy 官方文档翻译)
- 基于BaseAdapter扩展的服务器数据与本地视图绑定适配器
- 软件架构的5种视图
- 把OU中的用户信息当作数据视图使用
- 利用Razor在ASP.NET MVC中的实现,自定义视图引擎框架(1)
- CodeIgniter tips:视图中的参数传递
- MVC 用扩展方法执行自定义视图,替代 UIHint
- iOS:UIMapView地图视图控件的简单使用
- 打开Android Studio 2.2的视图检查器时遇到的问题