Prodotto
Store Demo
Vetrina
Caratteristiche
Per gli sviluppatori
Per i proprietari di negozi
Industrie
Moda
Salute & bellezza
Cibi & bevande
Automazione
Industriale & Scientifico
Mobili
eCommerce B2B
Internazionale
Download
Scarica nopCommerce
Marketplace
Traduzioni
Rimozione del copyright
Applicazione mobile
Web API
Assistenza & Servizi
Formazione
Documentazione
Forum della community
Servizi di supporto premium
Richiedi un preventivo
Contattaci
Partner
Italiano
English
Español
Deutsch
Russian
Français
Italiano
Português
Türkçe
简体中文
日本語
Tiếng Việt
Iniziamo
Shopping cart
Profilo
Accesso
Registrati
Home
>
Forum
>
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
Messaggi totali:
264
Karma:
1432
Sottoscritto:
01/11/2016
Località:
United Kingdom
Inviato:
4 anni tempo fa
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
Sviluppatori certificati
Messaggi totali:
668
Karma:
6076
Sottoscritto:
30/03/2018
Località:
Bangladesh
Inviato:
4 anni tempo fa
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
Sviluppatori certificati
Messaggi totali:
334
Karma:
3370
Sottoscritto:
28/12/2016
Località:
India
Inviato:
4 anni tempo fa
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.
Hai ancora qualche domanda o hai bisogno di aiuto?
.
Servizi di supporto premium
.
Ottieni supporto dedicato dal team di nopCommerce con una risposta garantita entro 24 ore.
.
Corso online per sviluppatori
.
Ottieni le competenze pratiche e tecniche necessarie per gestire e personalizzare i siti web realizzati con nopCommerce.