Q. What does this query do?

Code:
SELECT MAX(price) FROM products;
  • (A) Selects all prices
  • (B) Selects the maximum price
  • (C) Selects the average price
  • (D) Selects the minimum price
πŸ’¬ Discuss
βœ… Correct Answer: (B) Selects the maximum price
Explanation: `MAX()` returns the highest value in the specified column.
Explanation by: Mr. Dubey
`MAX()` returns the highest value in the specified column.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
75
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
86%
Success Rate