πŸ“Š MySQL
Q. If emp_id contain the following set {9, 7, 6, 4, 3, 1, 2}, what will be the output on execution of the following MySQL statement?
SELECT emp_id
FROM person
ORDER BY emp_id;
  • (A) {1, 2, 3, 4, 6, 7, 9}
  • (B) INSERT
  • (C) {9, 7, 6, 4, 3, 1, 2}
  • (D) None of the mentioned
πŸ’¬ Discuss
βœ… Correct Answer: (A) {1, 2, 3, 4, 6, 7, 9}

Explanation: This question is about understanding how the ORDER BY clause works in MySQL. Let's break it down:

Explanation by: Ravi Shankar
This question is about understanding how the ORDER BY clause works in MySQL. Let's break it down:

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
90
Total Visits
πŸ“½οΈ
12 mo ago
Published
πŸŽ–οΈ
Ravi Shankar
Publisher
πŸ“ˆ
89%
Success Rate