Answers for "doublon sql"

SQL
2

doublon sql

-- exemple
-- recherche doublon sur la table demande pour les champs : 
-- nom_demandeur, prenom_demandeur, actif

SELECT   COUNT(*) AS nbr_doublon, nom_demandeur, prenom_demandeur, actif
FROM     demandes
GROUP BY nom_demandeur,prenom_demandeur,actif
HAVING   COUNT(*) > 1
Posted by: Guest on May-26-2020
7

doublon sql

SELECT _column, COUNT(*) 
FROM _table
GROUP BY _column
HAVING COUNT(*) > 1
Posted by: Guest on January-20-2021

Code answers related to "SQL"

Browse Popular Code Answers by Language