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

Explain character-manipulation functions?

622


What are sql objects?

538


What is the command used to fetch the first 5 characters of a string?

704


what is the syntax used for partition in tsql? : Transact sql

533


What are stored procedures in mysql?

555






What are the types of triggers in sql?

493


Which join is default?

516


What is sql query optimization?

541


What is query execution plan in sql?

563


What is autocommit sql?

538


In what condition is it good to disable a trigger?

549


What is the difference between view and stored procedure?

490


What is error ora-12154: tns:could not resolve the connect identifier specified?

585


Why do we use view in sql?

530


What is the use of <> sql?

548