在MySQL中,可以使用以下方法去除重復數據:
SELECT DISTINCT column1, column2 FROM table_name;
SELECT column1, column2 FROM table_name GROUP BY column1, column2;
SELECT column1, column2 FROM (SELECT DISTINCT column1, column2 FROM table_name) AS subquery;
CREATE TEMPORARY TABLE temp_table AS SELECT DISTINCT column1, column2 FROM table_name;
SELECT * FROM temp_table;
以上是一些常用的方法,可以根據具體情況選擇合適的方法去除重復數據。