Delete duplicate records in the emp table.
Answer Posted / ch. nageswar subudhi
For delete the DUPLICATE RECORD from Table by using this
Query:
DELETE FROM EMP E
WHERE E.ROWID <>(SELECT MIN(ROWID) FROM EMP E2 WHERE
E.EMP_NO=E2.EMPNO);
Is This Answer Correct ? | 4 Yes | 3 No |
Post New Answer View All Answers
Can we have two clustered index on a table?
How many commands are in sql?
What are sql*plus environment variables?
What is compound trigger?
How many subqueries can be nested in a statement?
When sql appeared?
Explain some predefined exceptions.
Why do we need databases?
Can we use pl sql in sql server?
Explain unique key in sql.
What problem one might face while writing log information to a data-base table in pl/sql?
how do you know the version of your mysql server? : Sql dba
What is hibernate and its relation to sql?
column A column b | output 10 7 | 10 5 8 | 8 7 -9 | 7 3 5 | 5 0 6 | 6 Write a sql query to print such output.
What is numeric function sql?