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
What is tuple in sql?
Are null values same as that of zero or a blank space?
What are views in sql?
How can we avoid duplicating records in a query?
Does sql*plus have a pl/sql engine?
What are the two parts of design view?
Why coalesce is used in sql?
what is normalization? : Sql dba
What is the difference between null value, zero, and blank space?
How do I quit sql?
What packages(if any) has oracle provided for use by developers?
Differentiate between syntax and runtime errors.
How to avoid using cursors?
What are predefined functions in sql?
Why is sql better than hql?