adplus-dvertising
frame-decoration

Question

What will be the result of the following MySQL command?
SELECT emp_id,
‘ACTIVE’ STATUS,
emp_id * 3.14 emp_pi,
UPPER (lname) last_name
FROM employee;

a.

emp_id, ACTIVE, emp_id * 314, UPPER(lname)

b.

emp_id, Status, emp_pi, last_name

c.

Error

d.

None of the mentioned

Posted under MySQL Database

Answer: (b).emp_id, Status, emp_pi, last_name

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. What will be the result of the following MySQL command?

Similar Questions

Discover Related MCQs

Q. Which Keyword is used to remove duplicate rows in the result set?

Q. Which among the following is an optional Keyword?

Q. How can we define the clause “FROM” in Mysql?

Q. Which of the following table exist in Mysql?

Q. “CREATE TABLE …” command is used to create which type of table in Mysql?

Q. “CREATE VIEW …” command is used to create which type of table in Mysql?

Q. What is the meaning of “Temporary Tables” in Mysql?

Q. “SELECT” clause cannot be used without which clause in Mysql?

Q. Which of the following statements is/are correct with respect to “VIEW”?

Q. Which command is used to create “Temporary tables” in MySQL?

Q. What is the use of “VIEW” in Mysql?

Q. What will be the output of the following MySQL statement?

“true AND Null”

Q. What will be the output of the following MySQL statement ?

“false AND Null”?

Q. What will be the output of the following MySQL statement?

“Null AND Null”?

Q. What will be the output of the following MySQL statement?

“true OR Null”

Q. What will be the output of the following MySQL statement?

“false OR Null”

Q. What will be the output of the following MySQL statement?

“Null OR Null”

Q. What will be the output of the following MySQL statement?

“NOT (Null)”

Q. What is the meaning of the “WHERE” clause in Mysql?

Q. What is the meaning of “GROUP BY” clause in Mysql?