DBMS · Question 18 · Easy

In a relational database, what is a view?

  1. A physical copy of a table kept for backup
  2. A virtual table defined by a stored query, whose rows are derived from base tables
  3. An index that speeds up searches
  4. A user account with read-only access
Answer and explanation

Answer: B. A virtual table defined by a stored query, whose rows are derived from base tables

Explanation: A view stores only its defining SELECT query. Its rows are computed from the underlying base tables when the view is queried (unless it is a materialized view).

Previous: Which ACID property guarantees that once a transaction has committed, its… · Next: In an ER diagram (Chen notation), how is a multivalued attribute such as a…

Practise dbms

Try a fresh set of dbms questions with an explanation after every answer, free and without signing up: DBMS practice. Or sit a full placement mock test.

More dbms questions

More technical & programming practice

SQL · Operating Systems · Computer Networks · Software Engineering · Cloud & DevOps · GenAI Basics · Pseudo-code · C Programming

LogicWiz Exams home · All practice topics · Placement mock tests · Daily 10 challenge