easy5 pts · first answer countssqlsorting
Top seller with ORDER BY and LIMIT
Sales per rep are: Ravi 500, Sara 900, Omar 700. What does this query return?
SELECT rep FROM sales ORDER BY amount DESC LIMIT 1;
Sales per rep are: Ravi 500, Sara 900, Omar 700. What does this query return?
SELECT rep FROM sales ORDER BY amount DESC LIMIT 1;