The difference between simple and complex views in Oracle ____oracle

Source: Internet
Author: User

A view is a logical table that is based on a table or multiple tables or views, and does not contain data, which allows you to query and modify the data in the table. The table on which the view is based is called the base table, and Oracle's database objects are grouped into five categories: tables, views, sequences, indexes, and synonyms.

A view is a SELECT statement stored in a data dictionary. You can extract a logical collection or combination of data by creating a view.

Benefits of view:

1. Access to the database because the view can selectively select a portion of the database.

2. Users can get results from complex queries through simple queries.

3. Maintaining the independence of the data, attempting to retrieve data from multiple tables.

4. Different views can be generated for the same data.

views are divided into simple views and complex views:

1, simple view from the single table to obtain data, complex view from multiple tables;

2, the simple view does not contain functions and data sets, complex view contains;

3. A simple view can implement DML operations, and complex views are not available.

Note:


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.