Sail E0 Webinar
Question
What will be the result of the query given below?SELECT emp_id,'ACTIVE' AS STATUS,emp_id * 3.14 AS emp_pi,UPPER (lname) AS last_nameFROM employee;
Options:
A .  emp_id, ACTIVE, emp_id * 314, UPPER(lname)
B .  emp_id, Status, emp_pi, last_name
C .  Error
D .  None of the mentioned
Answer: Option B


Status, emp_pi, last_name are "column aliases and Keyword "AS is optional.



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers