DELETE年,月,日,时间,温度,计数(*)FROM天气GROUP BY年,月,日,时间,临时有COUNT(*)> 1;

时间:2017-08-04 18:50:14

标签: duplicates

我需要帮助更改语法以删除数据中的重复项。我尝试了以下查询:

DELETE year, month, day, time, temp, COUNT(*)
FROM Weather
GROUP BY year, month, day, time, temp
HAVING COUNT(*) > 1;

0 个答案:

没有答案