Remove Duplicate Rows From a Table MySQL

 



Delete Duplicate Rows form a table can do by using  INNER JOIN 

Method-1

Here If a student’s email Id is duplicated, it will keep the first record of the rows and remove other Same Email ID rows for any students.

If you want to remove the rows from last then we have to change the Query like below



Method-2