I have below table in "ORDCOMPLETE" is duplicate with same order ID #11310, so I need to remove this duplicate id with the same prefix.
#11309 ORDCOMPLETE7104671693208650 $30
#11310 ORDCOMPLETE4335631693207733 $30
#11310 ORDCOMPLETE4335631693207744 $30
#11310 DISCOUNT4335631693207733 $3
I need result like below:
#11309 ORDCOMPLETE7104671693208650 $30
#11310 ORDCOMPLETE4335631693207744 $30
#11310 DISCOUNT4335631693207733 $3