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 32 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
- 73,987
- 13
- 62
- 116