Which SQL statement is used to delete an existing view from the database catalog? MCQ with Answer and Explanation

Which SQL statement is used to delete an existing view from the database catalog?
A. DELETE VIEW
B. REMOVE VIEW
C. CLEAR VIEW
D. DROP VIEW
Answer: Option D
Solution (By JKSSB Mock Tests)
Because a View is a database structural object, it is removed from the database schema using the DDL command 'DROP VIEW'.

Discuss this Question (0)

No comments yet. Be the first to start the discussion!

Practice More Database Management System (DBMS) Questions

Question #1
What is a view in a database?
A. An index on a table
B. A virtual table based on the result of a SELECT query
C. A physical table stored on disk
D. A backup of a table

Correct Answer: Option B


Explanation:
A view is a logical representation of data, derived from one or more tables, but does not store data physically.

This question belongs to: Computer Database Management System (DBMS)
Question #2
In an Entity-Relationship (ER) diagram, what geometric shape is used to represent an entity type?
A. Rectangle
B. Diamond
C. Ellipse
D. Triangle

Correct Answer: Option A


Explanation:
In standard ER modeling notation, rectangles are used to represent entity sets or entity types.

This question belongs to: Computer Database Management System (DBMS)
Question #3
Which SQL command deletes all rows from a table without deleting the structural schema, cannot be rolled back easily in some systems, and does not fire delete triggers?
A. DELETE
B. REMOVE
C. DROP
D. TRUNCATE

Correct Answer: Option D


Explanation:
TRUNCATE is a DDL command that quickly removes all records from a table by deallocating the data pages, bypassing row-level logging and triggers while leaving the table structure intact.

This question belongs to: Computer Database Management System (DBMS)