Suppose a table has the following records:
+--------------+-------------+----------------+
| Item | Price | Brand |
+--------------+-------------+----------------+
| Watch | 100 | abc | | Watch | 200 | xyz |
| Glasses | 300 | bcd | | Watch | 500 | def |
| Glasses | 600 | fgh |
+--------------+-------------+----------------+
Which of the following will select the highest-priced record per item?
Correct Answer: select item, brand, max(price) from items group by item
Explanation:
Note: This Question is unanswered, help us to find answer for this one
More MySQL MCQ Questions