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
What is the difference between microsoft sql and mysql?
Does postgresql run on the cloud?
what is cross join? : Sql dba
Why indexing is needed?
What are all the common sql functions?
What is an implicit commit?
How do I pipe the output of one isql to another?
What are the operators in sql?
What is sql resultset?
What is trigger and types?
Why cross join is used?
Mention what problem one might face while writing log information to a data-base table in pl/sql?
What is your daily office routine?
What is mutating error?
How to create a menu in sqlplus or pl/sql?