/ Published in: SQL
Saber el numero de registro duplicados en una tabla
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
SELECT * , COUNT( * ) AS num FROM INTImportaExcel GROUP BY CV_INVENTARIO, DES_ACTIVO, MARCA, MODELO, SERIE, CS_JURISDICCIONES, CS_CUUM ORDER BY num DESC