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
How many primary keys can a table have?
What is triggering circuit?
what is user defined functions? : Sql dba
Are subqueries faster than joins?
Why is %isopen always false for an implicit cursor?
How to change a value of the field ‘salary’ as 7500 for an employee_name ‘john’ in a table employee_details?
what is the difference between mysql_fetch_object and mysql_fetch_array? : Sql dba
Can we commit inside a trigger?
What is sql mysql pl sql oracle?
What is the use of %rowtype?
How to read/write files from pl/sql?
What is dynamic query?
What is dba in sql? : SQL DBA
Is foreign key mandatory?
explain commit and rollback in mysql : sql dba