adspace


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

what are the advantages of sql ? : Sql dba

1142


what are all the common sql function? : Sql dba

1131


What is the best sql course?

1050


what is bcp? When does it used? : Sql dba

1056


Can we rollback truncate?

1074


Do we need to rebuild index after truncate?

1138


Does group by remove duplicates?

1112


how to escape special characters in sql statements? : Sql dba

1114


Can we use distinct and group by together?

1133


Hi am new to PLSQL & facing problems in writing code like in SP, Functions, so any one having some SP coding with in depth explanation please share with me my Email ID suvarnaatsuvarna@rediffmail.com Or taking tanning on this please do contact me

2091


what are aggregate and scalar functions? : Sql dba

1129


how to start mysql server? : Sql dba

1267


how many tables will create when we create table, what are they? : Sql dba

1144


how to use regular expression in pattern match conditions? : Sql dba

1113


what is dbms? : Sql dba

1061