Skip to main contentSkip to solution

The query given below will:

SELECT Ename as Name FROM Employee;

Solution

✅ Correct Option: 1

The keyword AS creates an alias. It gives the column 'Ename' a temporary name, 'Name', only in the output of this query. The stored table 'Employee' is not changed.


Option 2: renaming a column permanently needs ALTER TABLE ... RENAME COLUMN (or CHANGE), not SELECT.

Options 3 and 4: SELECT only reads data. Adding or dropping columns needs ALTER TABLE.

Keyboard Shortcuts

  • Left arrow: Previous question
  • Right arrow: Next question
  • S key: Jump to solution
  • Q key: Jump to question