How to delete duplicates in SQL table based on multiple fields

后端 未结 9 517
星月不相逢
星月不相逢 2020-12-04 14:58

I have a table of games, which is described as follows:

+---------------+-------------+------+-----+---------+----------------+
| Field         | Type                


        
9条回答
  •  孤街浪徒
    2020-12-04 15:21

    AS long as you are not getting id (primary key) of the table in your select query and the other data is exact same you can use SELECT DISTINCT to avoid getting duplicate results.

提交回复
热议问题