one of the column in my table contains the data like
SAL
----
1000
1000
2000
3000
3000
So my requirement is i want output like
SAL
---
1000
2000
3000
it mean i want to delete duplicate rows in the table
permanently and i want output in the above formatow should u
write query?
Answer Posted / destiny
create table salary2 as select distinct * from salary1
drop table salary1
rename salary2 to salary1
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can we use delete in merge statement?
Is sql sequential or random?
What will you get by the cursor attribute sql%rowcount?
What is sql indexing?
how to get help information from the server? : Sql dba
How many clustered indexes can be created on a table?
How do I view tables in mysql?
What are the different types of sql commands?
What is crud stand for?
What is raw datatype in sql?
how many tables will create when we create table, what are they? : Sql dba
What is full join in sql?
What does where 1 1 mean in sql?
How can you select unique records from a table?
Mention what are the benefits of pl/sql packages?