We help IT Professionals succeed at work.

MySql Deletion of Row Data Where Count > 1

Ridgejp
Ridgejp asked
on
85 Views
Last Modified: 2018-10-05
Hi,

Just to want an easy way to thin out duplication in a table. I have column1, column2 and column3 - where the count of column1 is greater than 1 then I need a select statement to perform a delete query that limits the deletion to 1.

Any thoughts?

J
Comment
Watch Question

CERTIFIED EXPERT

Commented:
Why would you have duplicate content, could you elaborate...
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019
Commented:
This problem has been solved!
(Unlock this solution with a 7-day Free Trial)
UNLOCK SOLUTION

Author

Commented:
Thanks Julian. Exactly what I needed.

J
CERTIFIED EXPERT
Most Valuable Expert 2017
Distinguished Expert 2019

Commented:
You are welcom