MySQL - using GROUP BY and DESC

前端 未结 5 1803
慢半拍i
慢半拍i 2020-12-31 08:03

In my SQL query I am selecting data with GROUP BY and ORDER BY clauses. The table has the same numbers across multiple rows wi

5条回答
  •  情话喂你
    2020-12-31 08:34

    SELECT * FROM TABLE GROUP BY numbers DESC;
    

    This will give you last record from group.

    Thanks

提交回复
热议问题