I have this table emp and i want to remove the duplicate record and here empno is not the primary key and original record must be there in table,only duplicate will remove
Asked
Active
Viewed 36 times
1 Answers
0
Per your posted table data you can use distinct
while selecting from table
select distinct empno, ename, esal
from employee;

Rahul
- 76,197
- 13
- 71
- 125