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 range partitioning?
What are the two virtual tables available at the time of database trigger execution?
How to start oracle sql developer?
What is error ora-01000: maximum open cursors exceeded
What are analytic functions in sql?
What are the types of functions in sql?
What is Histogram?
What is a sql trace file?
What is sql procedures and functions?
describe transaction-safe table types in mysql : sql dba
Explain what is a field in a database and record in a database?
What does dml mean?
What are the types of join in sql?
Which language is used in sql?
Which column in the user.triggers data dictionary view shows that the trigger is a pl/sql trigger?