how to remove records from table?
no name
1 a
2 b
1 a
2 b
3 c

Answer Posted / pratap

Delete from table name where row_id not in (select min(no)
from table_name group by no)

Is This Answer Correct ?    2 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

difference between anonymous blocks and sub-programs.

620


What is a function in oracle pl sql?

538


What is implicit cursor in pl sql?

537


Is primary key always clustered index?

533


What is inner join in sql?

584






What is natural join in sql?

535


Are stored procedures compiled?

522


How to sort the rows in sql.

600


How do I clear the screen in sql plus?

546


what is a record in a database ? : Sql dba

566


How to get each name only once from an employee table?

606


What is pessimistic concurrency control? : Transact sql

584


What is minus?

541


List different type of expressions with the example.

546


Does access use sql?

556