Tuesday, October 8, 2013

menghapus duplicate row di sql menggunakan excel

expor dulu table ke dalam format xls(ada di menu export phpmyadmin)
lalu buka file export dngn excel.
lakukan tips ini :
  1. Select all the rows, including the column headers, in the list you want to filter.
Tip
Click the top left cell of the range, and then drag to the bottom right cell.
  1. On the Data menu, point to Filter, and then click Advanced Filter.
  2. In the Advanced Filter dialog box, click Filter the list, in place.
  3. Select the Unique records only check box, and then click OK.
The filtered list is displayed and the duplicate rows are hidden.
  1. On the Edit menu, click Office Clipboard.
The Clipboard task pane is displayed.
  1. Make sure the filtered list is still selected, and then click Copy .
The filtered list is highlighted with bounding outlines and the selection appears as an item at the top of the Clipboard.
  1. On the Data menu, point to Filter, and then click Show All.
The original list is re-displayed.
  1. Press the DELETE key.
The original list is deleted.
  1. In the Clipboard, click on the filtered list item.
The filtered list appears in the same location as the original list.

No comments:

Post a Comment