mysql - de-duplicate a list of strings -


I usually go to the point:

  • I have a list with a The CSV file is
  • I need to remove the duplicate (or, sometimes, find duplicated values)

    csv this is easy Bring in Excel , but I can not find a good method to find / delete / count duplicate values ​​(or, never remember).

    I can export data to a database and run some simple SQL queries to do all this, but then the database goes on the way with many other tasks and I can export the data layer To achieve excellence in the work of cell level.

    Is not there any device that can work with Excel as easy as Excel, but could include more powerful features of a SQL query language? VBA

    Use PowerShow

    Directly , Or less efficiently code>

    Update: I think that it believes that your csv contains the first and < There are two columns with code> final . Code> - It should be clear in the examples below where you must update it

      sub-better () x = shell ("PowerShell. Exe import-csv C: \ temp \ test.csv | sort first, last-annex-export-csv C: \ temp \ test2.csv -NoTypeInformation ", 1) ending sub   

    Import- Csv C: \ temp \ test.csv | Sort first, last -inik | Export-Csv C: \ temp \ test2.csv- Any type information

Comments

Popular posts from this blog

ios - Adding an SKSpriteNode to SKScene from a child SKSpriteNode -

Matlab transpose a table vector -

c# - Textbox not clickable but editable -