πŸ“Š MySQL
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?
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) {-3, -2, -1, 1, 2, 3}

Explanation: This question is about sorting data in a MySQL database. Let's break it down:

Explanation by: Ravi Shankar
This question is about sorting data in a MySQL database. Let's break it down:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
114
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
90%
Success Rate