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 / ajit

DELETE FROM EMP WHERE EMPID= 5 AND ROWNUM < 2;

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Are left and right joins the same?

529


How many tables can you join in sql?

524


What are the events on which a database trigger can be based?

590


What is a procedure in pl sql?

543


What are the disadvantages of not performing database normalization?

593






What are character functions?

627


Are sql database names case sensitive?

495


Can 2 queries be executed simultaneously in a distributed database system?

638


how to drop an existing index in mysql? : Sql dba

533


How can we link a sql database to an existing android app?

546


explain the options of myisamchk to improve the performance of a table. : Sql dba

543


What are the different operators available in sql?

570


Is sql microsoft?

541


What is data control language (dcl)?

599


How is data stored on a disk?

536