engineering computer science MCQ #722

What is the purpose of the CREATE VIEW statement in SQL?

engineering computer science MCQ #722

  1. Question 1

    Q1. What is the purpose of the CREATE VIEW statement in SQL?

    • A) To create a new table
    • B) To create a new index
    • C) To create a new view
    • D) To create a new stored procedure

    Answer: To create a new view

    Explanation: The CREATE VIEW statement creates a new view, which is a virtual table based on the result of a SELECT statement.