How will you delete a particular row from a Table?

Answer Posted / rakesh

delete from emp e1
where n = (select count(distinct rowid)
from emp e2
where e2.rowid <= e1.rowid)


Note:Here "n" means Nth row..

Is This Answer Correct ?    9 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a loop in sql?

572


Do we need commit after truncate?

617


What are the query optimization techniques?

538


What port does sql server use?

512


What is sql and db2?

538






What is pl sql in oracle?

585


what are all the different normalizations? : Sql dba

511


What is pivot query?

598


What is the most common sql injection tool?

547


What is indexes?

548


what are all the different types of indexes? : Sql dba

536


What is a data manipulation language?

573


What does sql stand for?

548


Is it possible to include an insert statement on the same table to which the trigger is assigned?

563


What are different types of triggers?

565