Skip to content

Instantly share code, notes, and snippets.

@kakha13
Created January 23, 2014 13:48
Show Gist options
  • Save kakha13/8578681 to your computer and use it in GitHub Desktop.
Save kakha13/8578681 to your computer and use it in GitHub Desktop.
Delete duplicate rows from table, removing duplicate rows
-- BY Kakha Giorgashvili
-- First you are creating new table "new_table" or what you want than choose columns from table where is your duplicate columnes and then GROUP BY this Column
CREATE TABLE new_table as SELECT * FROM arafinansuri GROUP BY tel;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment