Home » MYSQL » MySQL Views » Question
  1. What is abc in the following statement?
    CREATE VIEW xyz (abc) AS SELECT a FROM t;
    1. view
    2. database
    3. column name
    4. row name
    5. None of these
Correct Option: C

Column names for a view can be explicitly provided in the ‘CREATE VIEW’ clause itself. It presents the table view with the aliased column names instead of the original column names.



Your comments will be displayed only after manual approval.