HomeForum
Welcome, Guest

Whats the best way to remove duplicated rows (one field is different)
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: Whats the best way to remove duplicated rows (one field is different)

Whats the best way to remove duplicated rows (one field is different) 1 year, 2 months ago #1988

  • Ronaldo
  • OFFLINE
  • Fresh Boarder
  • Posts: 1
  • Karma: 0
Hello,

Finally I am working on my first "real" data transformation, meaning I've done a lots of practising with dummy data and I have watched all online tutorials.

I have extracted data from a text file - each row is a 'snapshot' of a support ticket at a given time. I need to toss the older snapshots and retain the newest.

for example; 'ticket_number' is my problem ticket field; and 'page' is the snapshot.
ticket_number is a text field, page is a number. 'page' does NOT contain duplicates, ticket_number may have some duplicates. so

For example:

ticket_number,page
TN760162,001
TN760162,002

I want to get rid of the first row, but I can't really figure out how.

Any assistance is appreciated!

Ron

Re: Whats the best way to remove duplicated rows (one field is different) 1 year, 2 months ago #1989

  • admin
  • NOW ONLINE
  • Moderator
  • Posts: 2182
  • Karma: 12
Ok

What you need to do is sort your data first.
Than use data grouper as on the picture attached.
This should give you the desired result.

Best regards,
Mike
Attachments:
  • Page:
  • 1
Time to create page: 0.15 seconds

Testimonials

"Advanced ETL Processor it is the only software which treats our POP3 server as a database server."

Tom Barker,
Director of Information Technology

User Login

You only need to log in or register to use our support forum



Our customers

BP

BBC

HSBC


Databases we work with

Go to top