-1

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

enter image description here

Rahul
  • 76,197
  • 13
  • 71
  • 125

1 Answers1

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