Home » MYSQL » MySQL Views » Question
  1. What is xyz in the following statement?
    CREATE VIEW xyz AS SELECT a, b FROM t;
    1. column
    2. database
    3. table
    4. view
    5. None of these
Correct Option: D

A ‘View’ is created in MySQL by writing the clause ‘CREATE VIEW’ followed by the view name. Then follows the list of column names of the table that are to be presented as the view.



Your comments will be displayed only after manual approval.