Q1
True / FalseIn ORACLE, a view is a virtual table that is based on the result of a SELECT query.
A view is a virtual table in ORACLE that is defined by a SELECT query. It does not store data itself but retrieves data from the underlying tables.
Q2
True / FalseIn ORACLE, views can be used to simplify complex queries.
Views can encapsulate complex queries, making it easier for users to access and work with the data without having to understand the underlying complexity.
Q3
True / FalseIn ORACLE, you can insert, update, and delete data through a view.
In many cases, you can perform DML operations (INSERT, UPDATE, DELETE) on views, although there are restrictions, especially if the view includes joins, group by, or distinct clauses.
Q4
True / FalseIn ORACLE, a view can be created using a SELECT statement that includes a JOIN.
Views can be created using SELECT statements that include joins, allowing you to combine data from multiple tables in a single view.
Q5
True / FalseIn ORACLE, views can have indexes created on them.
Views themselves cannot have indexes. However, you can create indexed views by indexing the underlying tables.
Q6
True / FalseIn ORACLE, views can be used to enforce security by restricting access to specific columns or rows.
Views can provide a way to restrict access to sensitive data by exposing only specific columns or rows to the users.
Q7
True / FalseIn ORACLE, a materialized view stores the result of the query physically.
A materialized view is a type of view that stores the result of the query physically, which can improve performance for complex queries at the cost of storage.
Q8
True / FalseIn ORACLE, changes to the underlying tables are automatically reflected in a materialized view without any additional steps.
Changes to the underlying tables are not automatically reflected in a materialized view. The materialized view needs to be refreshed to reflect the changes.
Q9
True / FalseIn ORACLE, views can include a WHERE clause to filter data.
Views can include a WHERE clause in their SELECT statement to filter the data that is presented to the user.
Q10
True / FalseIn ORACLE, a view can be created with the WITH CHECK OPTION clause to ensure that all DML operations on the view conform to the view's WHERE clause.
The WITH CHECK OPTION clause ensures that any DML operations performed through the view adhere to the constraints defined by the view's WHERE clause, maintaining data integrity.