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 normalization sql?
How to look at the current sql*plus system settings?
Mention what plvcmt and plvrb does in pl/sql?
Can there be 2 primary keys in a table?
Write a query to display the current date in sql?
What is loop in pl sql?
Whis is not false in primary key?
What is a left join?
What is structural independence and why is it important?
What is sql select statement?
What are the various restrictions imposed on view in terms of dml?
What is the use of stored procedures?
How many indexes can be created on a table in sql?
What does inner join mean?
What types of commands can be executed in sql*plus?