052-236(新增70题2018)

本文探讨了在数据库中使用视图来简化涉及客户和订单表的复杂查询的方法。视图作为数据字典的一部分,通过连接和WHERE子句将底层表数据转换为更易于理解的信息,如用户或表名。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

The customer and order tables are often used in joins, thereby resulting in complex queries. You created views to simplify the writing of queries.

These views are stored in _____.

A. user tables

B. view segment

C. table segment

D. data dictionary

E. object segment

F. performance tables

Answer: D

The data dictionary consists of the following types of objects:

  • Base tables

    These underlying tables store information about the database. Only Oracle Database should write to and read these tables. Users rarely access the base tables directly because they are normalized and most data is stored in a cryptic format.

  • Views

    These views decode the base table data into useful information, such as user or table names, using joins and WHERE clauses to simplify the information. These views contain the names and description of all objects in the data dictionary. Some views are accessible to all database users, whereas others are intended for administrators only.

Typically, data dictionary views are grouped in sets. In many cases, a set consists of three views containing similar information and distinguished from each other by their prefixes, as shown in Table 6-1. By querying the appropriate views, you can access only the information relevant for you.

转载于:https://www.cnblogs.com/Babylon/p/8622535.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值