PK Tutorials
Home
Core Java
Advance java
SUB TAB 1.2
SUB TAB 1.3
SUB TAB 1.4
Struts
SUB TAB 2.1
SUB TAB 2.2
SUB TAB 2.3
SUB TAB 2.4
SUB TAB 2.5
Hibernate
SUB TAB 3.1
SUB TAB 3.2
SUB TAB 3.3
SUB TAB 3.4
Spring
SUB TAB 4.1
SUB TAB 4.2
SUB TAB 4.3
SUB TAB 4.4
SUB TAB 4.5
SUB TAB 4.6
SUB TAB 4.7
Web
SUB TAB 5.1
SUB TAB 5.2
SUB TAB 5.3
SUB TAB 5.4
SUB TAB 5.5
.Net
Php
database
tips and tricks
Sunday, 15 June 2014
How to delete duplicate value from table in mysql?
Here is a siple query to delete duplicate value from table :
DELETE e1 FROM employee e1, employee e2 WHERE e1.name = e2.name AND e1.id > e2.id;
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment