Thousands of duplicate tickets :(

Hi List…

I have a few thousand duplicate tickets in my RT3. They all have the same
subject like and requestor, just different ticket numbers. I am very good
with SQL, so I am thinking there must be a way to glag them all as
"deleted" quickly? Is there a better way to deal with this?