提问人:Kadakoti Ritesh 提问时间:1/8/2023 最后编辑:PM 77-1Kadakoti Ritesh 更新时间:1/8/2023 访问量:35
如何解决此sql错误以删除重复数据[duplicate]
How can i solve this sql error to delete duplicate data [duplicate]
问:
with CTE as
(select s.*,row_number() over(partition by store_id order by store_id ) as rank from stores s)
DELETE FROM cte where cte.rank>1;
我正在尝试删除具有多个store_id的行,并出现以下错误:missing select keyword is the output
删除重复数据
答: 暂无答案
评论
CTE
SELECT