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

Answer Posted / shekharjchandra

I think people here just answering the questions just for sake of answering. First of all the framing of question is not correct, anyone who knows oracle will know how to delete records from table, just by using Delete from tablename...etc etc

By looking into the question and example by Sophia it looks like she wants to delete the duplicate rows from the table.

Some of you answered correctly like Pratap.

But others are just telling the difference between Delete and Truncate, which is not required in this context at all, I am sure if we answer like this in interviews the interviewer will decide what he wants.

Please don't mind my words, and take it serious and give to the prompt answers, even if u dont know correct answer try to get from other sites, so that when someone looks for such questions they should get correct answer rather they should read all answers for getting correct reply.

Regards
J

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is tuple in sql?

541


Are null values same as that of zero or a blank space?

531


What are views in sql?

543


How can we avoid duplicating records in a query?

562


Does sql*plus have a pl/sql engine?

569






What are the two parts of design view?

579


Why coalesce is used in sql?

469


what is normalization? : Sql dba

559


What is the difference between null value, zero, and blank space?

556


How do I quit sql?

495


What packages(if any) has oracle provided for use by developers?

5026


Differentiate between syntax and runtime errors.

640


How to avoid using cursors?

593


What are predefined functions in sql?

531


Why is sql better than hql?

504