05
Nov
2009

If you are a webmaster you know pretty well how difficult is to constantly optimize, repair and check your website or blog database in order to have a fast, reliable and snappy site. One of the major concerns when it comes to thinking about databases is the issue related to duplicate records. So, let’s see how to delete them safely in your SQL database.
- The first step is to locate duplicate records in the SQL table. In this case the table’s name will be Test while the duplicate content to search for will be Duplicate_Test.
- Let’s access the Cpanel and let’s go to PhPMyAdmin.
- Now, we will select and click the database called Test and from there we will execute the following query:
- This string will show you all the duplicate records in your SQL table.
SELECT Email_Address, COUNT(*) FROM Test
Group BY Duplicate_Test HAVING COUNT(*) > 1
Tags: trick, Web Talk, Wordpress
Related ArticlesLatest Articles
- How to Automatically Login (Access) to Windows 8
- How to See and Read Unread, Archived and Sent Messages on Facebook
- Switch to the New Facebook Profile Layout (Timeline)
- How to Discover and Recover All Stored Passwords in your Windows Computer
.
One Comment to “How to delete duplicate records in your SQL database”
Leave a Comment
Users Important Words
phpmyadmin remove duplicates - php my admin find duplicate content in database - remove duplicates phpmyadmin - sql database browser delete duplicate rows - how to delete duplicates in phpmyadmin - delete duplicates from phpmyadmin - remove duplicates in phpmyadmin - delete duplaiuce records phpmyadmin -13 queries. 0.180 sec.
Best screen resolution 1280x800 or higher.
Web Talk is best viewed in Firefox.
Web Talk is best viewed in Firefox.
October 8th, 2011
Hello,
Topic title says that “How to delete duplicate records in your SQL database” whereas your method stats that how to show Duplicate records in your SQL database”
By using this method, i am able to find the duplicate queries but I am not be able to delete them all. Please tell me that how can i delete those records which shows when i execute the above command.
Have a look on this screenshot.
http://pokit.org/get/?ea881445c565c7c73234d1af1b7421ed.jpg
You can see here that it shows me “4,303″ Rows which needs to be deleted.
Please tell me how can i delete them all.
Thank you