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 only how should u
write query?
Answer Posted / yaswanth
select distinct(SAL) as SAL from table_name;
| Is This Answer Correct ? | 17 Yes | 2 No |
Post New Answer View All Answers
What are the types of records?
How do I view stored procedures?
how to decrement dates by 1 in mysql? : Sql dba
What is a sql statement?
What is write ahead logging in sql server?
What do you think about pl/sql?
Can we use join in subquery?
What do you mean by query optimization?
what is cursor. write example of it. What are the attributes of cursor.
Can we declare a column having number data type and its scale is larger than pricesionex: column_name number(10,100),column_name numbaer(10,-84)
What is record type in pl sql?
What is clustered index in sql?
Are stored procedures faster than queries?
What is pl sql quora?
How to read/write files from pl/sql?