How to delete same emp id in sql query for exmaple in emp
table emp id, empname, emp address. for example emp id =5,
repeated in two times in rows same id how to delete same
empid please any one of the write query send in my id
Answer Posted / mail2sentha
DELETE FROM EMP WHERE ROWID NOT IN(SELECT MIN(ROWID)FROM
EMP GROUP BY EMPID);
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What is the difference between microsoft access and sql?
Which is faster subquery or join?
What are the different types of constraints?
How do you rename a table in sql?
how to get a list of all tables in a database? : Sql dba
What is a record in pl/sql?
What is rtm in testing?
Is primary key always clustered index?
Is primary key an index?
How to call shell script from pl sql procedure?
How is indexing done in search engines?
what are rollup and cube in t-sql? : Transact sql
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What is date functions?
what is rdbms? : Sql dba