Question
SELECT emp_id
FROM person
ORDER BY emp_id;
a.
{1, 1, 2, 2, 3, 3}
b.
{1, 2, 3, 3, 2, 1}
c.
{2, 2, 1, 1, 3, 3}
d.
None of the mentioned
Posted under MySQL Database
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?
View solution
Q. Is “GROUP BY” clause is similar to “ORDER BY” clause?
View solution
Q. Which clause is used with an “aggregate functions”?
View solution
Q. Which of the following belongs to an “aggregate function”?
View solution
Q. Which among the following belongs to an “aggregate function”?
View solution
Q. “COUNT” keyword belongs to which categories in Mysql?
View solution
Q. What is the meaning of “HAVING” clause in Mysql?
View solution
Q. Which clause is similar to “HAVING” clause in Mysql?
View solution
Q. What is the meaning of “GROUP BY” clause in Mysql?
View solution
Q. What is the meaning of the “WHERE” clause in Mysql?
View solution
Q. What will be the output of the following MySQL statement?
“NOT (Null)”
View solution
Q. What will be the output of the following MySQL statement?
“Null OR Null”
View solution
Q. What will be the output of the following MySQL statement?
“false OR Null”
View solution
Q. What will be the output of the following MySQL statement?
“true OR Null”
View solution
Q. What will be the output of the following MySQL statement?
“Null AND Null”?
View solution
Q. What will be the output of the following MySQL statement ?
“false AND Null”?
View solution
Q. What will be the output of the following MySQL statement?
“true AND Null”
View solution
Q. What is the use of “VIEW” in Mysql?
View solution
Q. Which command is used to create “Temporary tables” in MySQL?
View solution
Q. Which of the following statements is/are correct with respect to “VIEW”?
View solution
Suggested Topics
Are you eager to expand your knowledge beyond MySQL Database? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!