Anonymous Asked in Cars &Transportation · 2 weeks ago

What are the uses of view?

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.


What is the use of view in DBMS?

Views act as a proxy or virtual table created from the original table. Views simplify SQL queries and allow secure access to underlying tables. Views in DBMS can be visualized as virtual tables that are formed by original tables from the database.

What is view and use of view?

In SQL, a view is a virtual table based on the result-set of an SQL statement. A view contains rows and columns, just like a real table. The fields in a view are fields from one or more real tables in the database.

When should a view be used?

Views are acceptable when you want to restrict users to a particular subset of data. For instance, if you do not delete records but only mark the current one as active and the older versions as inactive, you want a view to use to select only the active records.

Related Questions

Relevance
Write us your question, the answer will be received in 24 hours