adplus-dvertising
frame-decoration

Question

If emp_id contain the following set {-1, -2, 2, 3, -3, 1}, what will be the output on execution of the following MySQL statement?
SELECT emp_id
FROM person
ORDER BY emp_id;

a.

{-3, -2, -1, 1, 2, 3}

b.

{-1, 1, -2, 2, -3, 3}

c.

{1, 2, 3, -1, -2, -3}

d.

None of the mentioned

Answer: (a).{-3, -2, -1, 1, 2, 3}

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. If emp_id contain the following set {-1, -2, 2, 3, -3, 1}, what will be the output on execution of the following MySQL statement?

Similar Questions

Discover Related MCQs

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

Q. Is “GROUP BY” clause is similar to “ORDER BY” clause?

Q. Which clause is used with an “aggregate functions”?

Q. Which of the following belongs to an “aggregate function”?

Q. Which among the following belongs to an “aggregate function”?

Q. “COUNT” keyword belongs to which categories in Mysql?

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

Q. Which clause is similar to “HAVING” clause in Mysql?

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

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

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

“NOT (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?

“false OR 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?

“Null 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?

“true AND Null”

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

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

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