To find duplicate record in table
Query :
SELECT mff_id,
COUNT(mff_id) AS NumOccurrences
FROM SmartMap
GROUP BY mff_id
HAVING ( COUNT(mff_id) > 1 )
Thanks
Query :
SELECT mff_id,
COUNT(mff_id) AS NumOccurrences
FROM SmartMap
GROUP BY mff_id
HAVING ( COUNT(mff_id) > 1 )
Thanks
No comments:
Post a Comment