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

Hi,

You can use the below mentioned query ....

SELECT ROWID( Emp_id ) FROM EMP WHERE Emp_id = 5;

Praj

Is This Answer Correct ?    1 Yes 5 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why is sql better than hql?

685


What is the best partition size for windows 10?

704


What if we write return in procedure?

972


What is the trigger in sql?

700


What is raw datatype in sql?

725






Write a sql query to get the third highest salary of an employee from employee_table?

829


What is trigger and stored procedure in sql?

752


what are the limitations of identity column? : Transact sql

822


What is blind sql injection?

755


Is primary key is clustered index?

724


What are primary key and foreign key and how they work?

741


How do I remove sql plus from windows 10?

765


How can you get sql*loader to commit only at the end of the load file? : aql loader

744


Which command is used to delete a trigger?

953


What are crud methods?

732