Delete repeated results from MySQL query

后端 未结 5 1832
故里飘歌
故里飘歌 2021-01-21 13:53

A MySQL query retrieves:

totalpoints --  name 
55 -- John Doe
55 -- John Doe
55 -- John Doe
55 -- John Doe
55 -- John Doe
21 -- Jean London
21 -- Jean London
13         


        
5条回答
  •  别那么骄傲
    2021-01-21 14:41

    What about using DISTINCT? Seems pretty easy... But you actually tried to google it? ou would have found it in no time.

提交回复
热议问题