产品
商城演示
案例演示
功能
致开发者
致商店所有者
工业
时尚
健康与美容
食品与饮料
汽车
工业和科学
家具
B2B 电子商务
国际
下载
下载nopCommerce
市场
翻译
版权删除密钥
移动应用程序
Web API
支持 & 服务
训练
文档
社区论坛
高级支持服务
请求报价
联系我们
合作伙伴
简体中文
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
马上开始
Shopping cart
我的帐户
登录
注册
首页
>
论坛管理
>
General
>
General Support
>
Search for duplicate products in a database
Search for duplicate products in a database
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
toadman
回帖总数:
264
业力:
1432
注册日期:
2016/11/1
位置:
United Kingdom
发表于:
4 年 前
hi there
im testing my new site and found i entered a few duplicate products while browsing the website.
is there anything i can run via sql that would show me any more duplicates?
im running version 4.2
Thanks !
mhsjaber
MVP
认证开发者
回帖总数:
668
业力:
6076
注册日期:
2018/3/30
位置:
Bangladesh
发表于:
4 年 前
If product names are are exactly same then you can find using
GROUP BY
query.
Select count(Id), [Name] from Product group by [Name] order by count(Id) desc
sangeetshah
认证开发者
回帖总数:
334
业力:
3370
注册日期:
2016/12/28
位置:
India
发表于:
4 年 前
SELECT username, email, COUNT(*)
FROM users
GROUP BY username, email
HAVING COUNT(*) > 1
Reference link for detail about this : https://stackoverflow.com/questions/2594829/finding-duplicate-values-in-a-sql-table
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
仍然有问题或需要帮助?
.
高级支持服务
.
获得nopCommerce团队的专门支持,并在24小时内保证得到答复。
.
开发者在线课程
.
获得运行和自定义nopCommerce网站所需的实用技术技能。